DISTINCT
DISTINCT removes duplicate rows from the result, considering every column you selected.
SELECT DISTINCT country FROM authors gives each country once. SELECT DISTINCT country, name gives distinct pairs, which for unique names removes nothing at all. That surprises people who expect it to apply to the first column.
Reaching for DISTINCT to fix unexpected duplicates usually hides a problem rather than solving it. In module 5 you will see joins multiply rows. DISTINCT will make the row count look right while every SUM in the query stays wrong, which is worse than an obviously broken result.
Mark this lesson complete
Signed in, your progress follows you to every device.