Help,104分 select 编号,MAX(时间) from table where 编号='aaa' group by 编号 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Select Max(Date1) From TableTable1.Filter:='ID:='''myid''' and date1='+DateToStr(Query1.Fields[0].AsDateTime); 先用Select Max(Date) From Table来取得最新的时间值,再用Tabel1的Filter来过滤。 select top 1 from table where bh=:mbh and time<=now select top 1 编号,时间 from table where 编号='aaa' order by 时间 desc当然,使用li_zhifu(东北人)的第二个方法也行 我也是: Select 编号,MAX(时间) From Table Where 编号='***' Group By 编号 Select 编号,MAX(时间) From Table Where 编号='***' select * from tablewhere fieldid=constid and fieldtime=( select max(fieldtime) from table) Delphi 开发的一个问题。。。。。 请问如何隐藏任务栏上的得图标,列如QQ ★★★提供大富翁最新离线数据库的浏览和检索★★★ 高手到此一游(Online waiting) 在delphi中有像vc中的system()函数吗? 写了一个简单的Web Service程序,运行时出现500错误,为什么? combobox 一个郁闷与压抑在我心中一年多关于数据库结构的难题!!!!!!!!! 请问如何用delphi显示gif格式的图片呢? why wrong calculation? 请问:对String类型的字符串在指定位置插入一个字串的函数是什么? 怎样制作BitBtn的Glyph位图?
当然,使用li_zhifu(东北人)的第二个方法也行
from table
where fieldid=constid and fieldtime=
(
select max(fieldtime)
from table
)