当前位置:Gxlcms > 数据库问题 > [转]Mysql将数据分组后取出时间最近的数据

[转]Mysql将数据分组后取出时间最近的数据

时间:2021-07-01 10:21:17 帮助过:7人阅读

select * from AccountMark as b where not exists(select 1 from AccountMark where AccountId= b.AccountId
and b.CreateTime<CreateTime )

 

人气教程排行