Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT *
- FROM website_vraag_antwoord
- INNER JOIN website_products ON website_vraag_antwoord.wva_id = website_products.wva_id
- INNER JOIN producten ON producten.p_id = website_products.p_id
- WHERE wva_titelNL = 'Thuis'
- AND wva_online = 1
- AND
- (
- website_products.p_id IN (SELECT p_id FROM website_products WHERE wva_id = 11)
- AND
- website_products.p_id IN (SELECT p_id FROM website_products WHERE wva_id = 9)
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement