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

MySQL:SELEZIONA VALORE UNICO

Prova a utilizzare DISTINCT così:

SELECT DISTINCT mycolumn FROM mytable

MODIFICA:

Prova

select mycolumn, count(mycolumn) c from mytable
group by mycolumn having c = 1