MySql no output by date -
i dont know how solution table1
table2[][]
the sql
select penjualan.tgl_penjualan, sum(total_jual) totaljual, max(b.total_beli) totalbeli penjualan join (select tgl_pembelian, sum(total_beli) total_beli pembelian group tgl_pembelian) b on penjualan.tgl_penjualan = b.tgl_pembelian group penjualan.tgl_penjualan order penjualan.no_penjualan desc
why 2017-07-26 no output?
the output output sql
please try once last date 2017-07-27
instead of 2017-07-26
.(i don't have valid reputation that's why commenting here.).
Comments
Post a Comment