SELECT SUM( urun_fiyat ) as toplam_fiyat, siparis_no FROM `siparisler` GROUP BY siparis_no
sanırım aradığın şey bu