Sql distinct

shape