Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UPDATE image SET image_main = 1
- WHERE image_id = 0 AND product_id
- IN (SELECT product_id FROM image where image_main <> 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement