結果 : distinct sql query with where clause