Advertisement
Plepzz

Untitled

Jan 19th, 2012
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.25 KB | None | 0 0
  1. SELECT *
  2. FROM  `mod_products`
  3. WHERE  `mod_products`.`productNumber`
  4. NOT IN (
  5.     SELECT  `productNumber`
  6.     FROM  `mod_bookings_products`
  7.     WHERE  `bID` =  '20'
  8. )
  9. AND  `mod_products`.`userID` =  '1'
  10. AND  `mod_products`.`subProductToID` !=  '0'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement