a guest Jan 18th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. select o.orders_id from orders o
  2. join facturi f on f.orders_id=o.orders_id
  3. join orders_total ot on ot.orders_id=o.orders_id
  4. where f.data_facturii BETWEEN '2018-12-01' AND '2018-12-31'
  5. AND IN ('','', '', '', '')
  6. and o.orders_status in ('1000002', '1000003', '1000005', '1000006','1000030');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand