mysql查询如何写
时间:2021-07-01 10:21:17
帮助过:4人阅读
mysql 查询怎么写
我想查询 相同vUserCode里的最新时间,
我自己写的sql 语句,select * from table group by vUserCode order by cDate desc
分享到:
------解决方案--------------------select * from (select * from table order by cDate desc) t group by vUserCode