Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. UPDATE product
  2. SET product.product_code = c.product_code
  3. FROM (
  4. SELECT mm.product_id, product.product_code FROM multiplier_modification mm
  5. JOIN product ON product.product_id = mm.base_product_id) c
  6. WHERE product.product_id = c.product_id
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement