I have this SQL statement
SELECT DISTINCT fName, lName, sex FROM Users
But I also want to return the id field corresponding to each row in the Users table.
So something like this
SELECT id, DISTINCT fName, lName, sex FROM Users (which obviously doesnt work)
Is there a way to write an sql statement to do this?