简单的问题 报表 select max(date) from 表 where .... 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select a.* from table a ,(select max(date) from table where date<='20040901') bwhere a.date=b.date --最后一条select top 1 * from 表 where 日期<='2004-9-1' order by 日期 desc--最后一天select * from 表 where 日期=(select max(日期) from 表 where 日期<='2004-9-1') 请问64位SQL SERVER上备份资料怎么在32位SQL SERVER上还原 如何产生这样一个表 我用sa用户登陆sql 2005 怎么提示sa帐户被禁用啊?怎么回事?急啊!! 关于事务的疑问??? 请问企业管理器里面字段的UNIQUE约束在哪设置啊 查询分析器自动生成的插入语句如何使用 sqlserver2000备份问题 top 10为什么不是查询表里最前面那10行呢? 请教 SQL Server2005中截取字符串问题? case 问题!! 急 存储过程取值问题 求一SQL语句(在线等)
(select max(date) from table where date<='20040901') b
where a.date=b.date
select top 1 * from 表 where 日期<='2004-9-1' order by 日期 desc--最后一天
select * from 表 where 日期=(select max(日期) from 表 where 日期<='2004-9-1')