Ohne SQL-Kenntnisse geht das nicht.
Stichwort ist hier "group by" (Gruppierung).
Dies gilt jedoch auf die gesamte Abfrage und nicht nur auf Zeilen.