dear all, numpang nanya query

select * from table_a:

cust_no      jumlah        source

1               100              AA
1               200              BB
1               200             AA
1               300             BB
1               400             BB

jumlah total 1.200

gimana query nya agar spt ini :
yg tampil detil adalah yg source AA, sedang total keseluruhan tetap
ditampilkan


cust_no  jumlah    source   total
1            100         AA
1            200         AA

sum       300                    1.200

terima kasih


[Non-text portions of this message have been removed]

Kirim email ke