Mysql
 sql >> Database >  >> RDS >> Mysql

Come posso unire queste istruzioni MySQL

Prova questo.

SELECT *, max(DUP_NUMBER) as dup FROM table1 where  CONTACTS=1 GROUP BY FIELD_A ORDER BY date LIMIT 3