这样的sql语句应该怎么写啊? 是不是这个意思啊:select * from A where B='b' order by c??? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 试试这个....set @rownum:=0;select C,@rownum:=@rownum+1 as rownum, from A where B='b' order by C desc rownum就是 我要在jdbc中写,哪位高人在帮忙看看? lumberjake(伐木工)select * from A where B='b' order by c不行吗? select * from A where B='b' order by c的话你并不知道B='b'的纪录排第几条阿? select count(*) from A a1, A a2where a1.B = "b" and a2.c <= a1.c; mysql的root用户没有任何权限,菜鸟求教 如何写这样的SQL语句? mysql的1067错误(在线等) 关于大量数据更新的性能 PostgreSQL备份与恢复 存储过程中运用游标 多连接情况下的事务处理问题 关于多表查询的问题 各位哥哥,帮帮小妹。。。。 如何效率的把查询结果拼成字符串? 谁有完整的图书馆数据库 我有一个很大的表,我想得到该表的最后几行,如何操作?
select C,@rownum:=@rownum+1 as rownum,
from A where B='b' order by C desc rownum就是
select * from A
where B='b'
order by c
不行吗?
where B='b'
order by c
的话你并不知道B='b'的纪录排第几条阿?
where a1.B = "b" and a2.c <= a1.c;