Use of SQL DISTINCT: Example of Getting Specific Data from Tables