SQL--根據指定字段獲取表中天天最新的一條記錄

table與table本身對比,不存在比本身小的時間則爲時間最大的那條。sql SQL server:函數 select * from table t1 where not exists(select 1 from table t2                  where t1.no=t2.no and t1.name=t2.name and conver
相關文章
相關標籤/搜索