sql查最新日期数据

来源:互联网 发布:网络攻击与防范 编辑:程序博客网 时间:2024/06/14 00:00
select X.*from tableA Xwhere 时间=(select  max(时间)from tableA Ywhere X. 物料=Y.物料)
0 0
原创粉丝点击