Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select quotes.name,products.name,products.quantity,products.cost_price,
- products.discount_price from quotes
- join product_bundle_quote on product_bundle_quote.quote_id = quotes.id
- join product_bundles on product_bundles.id = product_bundle_quote.bundle_id
- join product_bundle_product on product_bundle_product.bundle_id = product_bundles.id
- join products on products.id = product_bundle_product.product_id
- join products_cstm on products.id = products_cstm.id_c
- where quotes.id = '53bf915a-365f-b137-2304-510be4d8e764';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement