输入banner图图片脚本导航/分类

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

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