保留第一条t1.id>t2.id
保留最后一条t1.id<t2.id
DELETE t1 FROM sp100 t1
INNER JOIN sp100 t2
WHERE
t1.id < t2.id AND t1.brand2 = t2.brand2 AND t1.model=t2.model;
完毕
保留第一条t1.id>t2.id
保留最后一条t1.id<t2.id
DELETE t1 FROM sp100 t1
INNER JOIN sp100 t2
WHERE
t1.id < t2.id AND t1.brand2 = t2.brand2 AND t1.model=t2.model;
完毕