试试这个可能对你有帮助
DELETe FROM NAMEWHERe NAME.id NOT IN ( SELECt * FROM ( SELECt MIN(id) FROM NAME GROUP BY col1,col2 ) AS p )
欢迎分享,转载请注明来源:内存溢出
试试这个可能对你有帮助
DELETe FROM NAMEWHERe NAME.id NOT IN ( SELECt * FROM ( SELECt MIN(id) FROM NAME GROUP BY col1,col2 ) AS p )
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)