select distinct sql query