DISTINCT and ORDER BY
401855Jul 16 2004 — edited Oct 31 2008SELECT DISTINCT fname, lname
FROM employee
ORDER BY job_id;
For this to work job_id has to be part of the SELECT expression, but i'd like to know why since i readily can't see any reason.
Regards
Fergus