Advertisement
MrViSiOn

Returned Purchase

Nov 27th, 2017
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. FROM de_products_users W
  2. INNER JOIN transactions X1 ON W.U_user_id = X1.user_id
  3. INNER JOIN transaction_user_purchases X2 ON X2.transaction_id = X1.transaction_id
  4. INNER JOIN returned_purchases X3 ON X2.user_purchase_id = X3.user_purchase_id
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement