如果最新一条记录是最大的id 的话,可以这样查 select column from user_table where 条件=(select 条件列 from record_table order by id desc limit 1 )
mysql 怎样查询所有用户在记录里面最新的并满足一定条件的一条信息呢?
如果最新一条记录是最大的id 的话,可以这样查
select column from user_table where 条件=(
select 条件列 from record_table order by id desc limit 1
)2016-08-24