0
我有mysql的一個查詢在那裏我取多少已經銷售總額不見了,MySQL查詢Select語句幫助需要
,但它顯示previous dates [Date] => 2014-01-22
[TotalSales] => 7
,
它顯示了這種方式,我怎樣才能使它,因此,它顯示當天的日期,並顯示銷售到現在
SELECT DATE(order_time) AS Date, SUM(Quantity) AS TotalSales
FROM ss_orders,ss_ordered_carts
GROUP BY date;
感謝:D,你讓我的日子:D乾杯! – user3234335
沒問題,歡迎:) – RicardoE