Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

MySQL:SELECIONE VALOR ÚNICO


Tente usar DISTINCT assim:
SELECT DISTINCT mycolumn FROM mytable

EDITAR:

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