SQL group by的困惑_sql group by 难学-CSDN博客

网站介绍:文章浏览阅读2.2k次。今天为写一条SQL困扰了很久首先先贴两条sql,大家看看有啥区别select * from all_txt A where id=(SELECT id from all_txt where A.key_value = key_value ORDER BY release_time DESC limit 1);select * from (select *,max(release_time) as_sql group by 难学