这样的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; mysql5.0 安装程序拆分 mysql中有没有办法将存储过程加密? 将两张表上的个别字段导到另一张表上的相应字段怎么写? 邹建的.乘车线路查询mssql存储进程 转换 mysql 存储进程 postgres如何找回密码? 巨简单问题,在线等~~~ 求救:密码字段的加密怎么解决? mysql不能启动 关于mysql中文字搜索的问题 请问如何将一张表中的数据更新到另一张表中 谁有完整的图书馆数据库 我有一个很大的表,我想得到该表的最后几行,如何操作?
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;