这个SQL语句如何写? select top 1 * from 表 where a#=2 order by b# desc 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from table where b#=(select max(b#) from table where a#=2) and a#=2 select * from tb_nm t, (select max(B#) b from tb_nm where A#=2) m where t.A#=2 and t.#= m.b; select * from 表where [a#]=2 and [b#]=(select max([b#]) from 表 where a#=2) select A#, max(B#) from 表 where A# = 2 数据库存储过程多列检索 请教简单的模糊查询 关于视图分区的主键问题 sql rowlock WITH (tablockx) 一个关于Sql Server的问题,100求教。 怎么用一个SQL语句将字符串累加.. 为什么总是返回“没有为命令对象设置命令” asp如何连接本地 sql server 数据库??(确实急的问题) 一个综合SQL SERVER,DELPHI,ADO的问题,急切求解 根据某列相同值只取一的SQL语句 请问怎样在应用程序中调用SQLSERVER的导入导出工具DTS,谢谢,急 字段内容不能显示中文,请指教
where [a#]=2 and [b#]=(select max([b#]) from 表 where a#=2)