Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. SELECT * FROM `products` d
  2. JOIN (select distinct product_id from cs_inventory
  3. WHERE (meta_key="product_image" AND meta_value!="")
  4. AND
  5. (meta_key="product_type" AND meta_value="Soap" )
  6. And
  7. user_id='6' LIMIT 10) t on d.product_id = t.product_id
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement