让红色框中只显示一条时间最大的数据,SQL语句应该怎么写,请大神指导啊
收起
select a.jclsh,a.jcdate,a.evl,a.cph from test a where not exists (select * from test where a.jclsh=jclsh and a.cph=cph and jcdate>a.jcdate)
报告相同问题?