请问该sql语句怎么写 select * from tablename xwhere b=(select min(b) from tablename where a=x.a) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 需要的话加order by a select a.* from table1 a,(select a, min(b) as b from table1 group by a) b where a.a=b.a and a.b=b.b select * from table1where b = ( select min(b) from table1 group by a ) select * from table1 bwhere b = ( select min(b) from table1 where b.a = a group by a ) 我用select distinct a.* from table1 a ,(select a,min(b) from table1 group by a) bwhere a.a=b.a and a.b=b.b 如何提取文本文件中的部分文字及带分隔符的表格 两台机子互联的问题,谢谢了请大家帮帮 求BH,<BH的数量之和 急救,如何只更新表中你自定义的行数 索引碎片清理时间太长怎么办? 关于sql2005远程连接的问题,求助!! SQL中,Insert操作自增数据的疑问 用变量创建数据库问题,在线等待...... 关于一条搜索的问题...急 用ADO+VC,MOVEFIRST 出错??? 怎樣來創建表A中的ID號等於0001的視圖? 我第一次使用SQL Server2000,有一个很菜的问题想请教
order by a
) b where a.a=b.a and a.b=b.b
where b = ( select min(b) from table1 group by a )
where b = ( select min(b) from table1 where b.a = a group by a )
where a.a=b.a and a.b=b.b