GROUP BY kullanarak yapabilirsin.

"SELECT id,name FROM urunler GROUP BY name"