Coba Ini ....
select a.date,sum(b.qty * b.price) As sum from sales As a, product As b where DATE_FORMAT(a.date,'%d-%m-%Y') between '27-05-2014' AND '28-05-2014' and a.id_sale=b.id_sale group by a.date
Coba Ini ....
select a.date,sum(b.qty * b.price) As sum from sales As a, product As b where DATE_FORMAT(a.date,'%d-%m-%Y') between '27-05-2014' AND '28-05-2014' and a.id_sale=b.id_sale group by a.date
Laravel:Bagaimana cara menghapus baris dari beberapa tabel dengan id yang sama dengan hanya 1 kueri?
Pesan dengan DESC unggulan tidak berfungsi untuk variabel khusus
Mengapa jdbcTemplate.batchUpdate() Spring begitu lambat?
Lebih cepat mengacak banyak hasil di Server MySQL atau di PHP
Bagaimana cara mengetahui set karakter server default di mysql?