Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT *
- FROM `mod_products`
- WHERE `mod_products`.`productNumber`
- NOT IN (
- SELECT `productNumber`
- FROM `mod_bookings_products`
- WHERE `bID` = '20'
- )
- AND `mod_products`.`userID` = '1'
- AND `mod_products`.`subProductToID` != '0'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement