+ 1
Do the keyword "DISTINCT" works only for the immediate next column_name to it or for all column-names in a query?
SELECT DISTINCT name, age FROM people; will this query return records with unique 'name' values only or only those records with unique 'name' and unique 'age' values?
1 Resposta
+ 4
Only the next column. Write separately for every column.