encountered a SQL problem, the method to delete the duplicate phone number of id, found on the Internet is as follows.
then I tried to delete the p1 of delete p1, and SQL is invalid. The deletion statement has always been in the way of delete from table, so this is very strange, and I don"t know, can any of the great gods talk about it?
DELETE p1 from person p1 person p2 where p1.tel=p2.tel and p1.id > p2.id;