TDCustmerSupportJP Jul 9th, 2017 (edited) 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- SELECT member_id, price, amount, price * amount AS sales
- FROM sales_slip
- WHERE TD_TIME_RANGE(time, '2006-05-01', '2006-06-01','JST')
- ORDER BY sales DESC
- LIMIT 10
RAW Paste Data