Marex interview question

What does DISTINCT do in a SQL query?