Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT ROUND(SUM(sellout),2) AS suma, SUM(sellout) AS sales_cost
- FROM "client_008"."sales_retailers_cost_updated"
- left join "public"."retails" AS "b" ON b.id = sales_retailers_cost_updated.retail_id
- WHERE "sales_retailers_cost_updated"."sellout_date" BETWEEN '2017-01-01' AND '2017-01-31'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement