Gambas, Javascript, Mysql, PHP, Ubuntu, Visual Basic
select sum(keranjang.subtotal) as sub_total from (select id_beli_nota, harga_beli, jumlah, (harga_beli * jumlah) as subtotal from tbl_beli where id_beli_nota = 'BLI-000000001') keranjang group by keranjang.id_beli_nota
No comments:
Post a Comment