Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2005
    Posts
    19

    Lightbulb Unanswered: update from moretable

    hi....


    i'm new to oracle i have one doubt . please give the solution for fallowing update query

    UPDATE carts c, prices p
    SET c.format_code = p.format_code
    WHERE c.cart_item_id IN
    (SELECT t.cart_item_id from prices r, carts t
    WHERE r.<price_table_key> = p.<price_table_key>
    AND blah blah blah.....)


    urgent...



    thanks......

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    > AND blah blah blah.....)
    The above line is not valid SQL syntax
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •