from the following fiddle http://sqlfiddle.com/#!2/8f1d2/5 I want to sum crossing table as the query below, but i got trouble with duplicate value of sale_event. do you have any idea about it.
SELECT
a.province_id,
SUM(a.sale_event) AS sale_eventTotal,
SUM(d.order_fullpay) AS order_fullpayTotal
FROM
san_activites a
LEFT JOIN
sale_event_detail d
ON
a.san_activity_id = d.san_activity_id
WHERE
a.entry_date BETWEEN '2014-7-1' AND '2014-7-30'
GROUP BY a.province_id