Advertisement
mastonando

Script Esportazione fatture per GFK

Jun 11th, 2016
3,843
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.37 KB | None | 0 0
  1. SELECT a.id_order, a.date_add, c.delivery_date, c.date_add, b.product_reference, b.product_name, b.product_quantity, b.product_price, a.total_products_wt, a.total_paid
  2. FROM ps_orders AS a
  3. INNER JOIN ps_order_detail AS b ON b.id_order = a.id_order
  4. INNER JOIN ps_order_invoice AS c ON c.id_order = b.id_order
  5. WHERE a.date_add BETWEEN "2016-05-31 08:30:00" AND "2016-06-11 18:30:00"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement