1
Well, I have a constant doubt when selecting something in mysql, I have a mysql table that contains a column called Name in it contains the following values
|name |Aline |Alice |Aline |Valdemord |Aline
and another column called ID in it containing
1|1|2|2|3|3|3|
good in them the doubt is the following, as I would select for example, search in them the unique names and print each name only once, however if you have 2 Aline, show only one Aline, and in the case of the values of this second table of ids, show something from the team all id 1 is from TIME 1 all id is from the RED team.
tried to use
distinct
?SELECT DISTINCT nome FROM Tabela
– Ricardo Pontual