Mysql
 sql >> Base de données >  >> RDS >> Mysql

Modification d'une requête MySQL qui supprime les doublons

SELECT * FROM   
  (SELECT * FROM persons ORDER BY deleted ASC, date DESC) AS p
GROUP BY first_name,last_name,work_phone