阅读背景:

SQL语句中加@有什么含义。。

来源:互联网 
我用的SSH2 在数据库中我执行这条语句select count(*) from (select infoid,name,score,correctRate,(@rowNum:=@rowNum+1) as 'rankId' from Userinfo, (Select (@rowNum :=0) ) b order by score desc,correctRate ,infoid limit 0,6) as userinfo where infoid=(select count(*) from userinfo) 完全OK 正是我要的 我用的SSH2 在数据库中我执行这条语句select count(*) f



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: