a guest Jul 18th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- SELECT * FROM products
- LEFT JOIN (SELECT * FROM product_images ) as images ON products.id = images.productId
- LEFT JOIN (SELECT * FROM product_shippings ) as shipping ON products.id = shipping.productId
- WHERE products.id = :productID
- GROUP BY products.title
RAW Paste Data