SELECT dt.id FROM (
SELECT MIN(id) AS id FROM tabkle WHERE typeid=51 GROUP BY title HAVING COUNT(title)>1 #条件是数量大于1的重复数据
) dt
11-03
890
10-30
1155
SELECT dt.id FROM (
SELECT MIN(id) AS id FROM tabkle WHERE typeid=51 GROUP BY title HAVING COUNT(title)>1 #条件是数量大于1的重复数据
) dt