MySql按字段分組取最大值記錄 [此博文包含圖片]
阿新 • • 發佈:2017-06-12
from htm 技術 方法 sin gid 最大值 count not
select a.* from table2 as a where exists (select count(*) from
table2 where table1_id=a.table1_id and age>a.age having
count(*)=0)
MySql按字段分組取最大值記錄 [此博文包含圖片]