Added an odd query to select_distinct