Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006

    Unanswered: Inner Query Problem

    hi friends,

    I want to write a query like this

    update organisation
    set tandctext = (Select tandctext from organisation where nodeid=144)
    where nodeid=5555;

    but i am getting an error..please friends can u help regarding this issue in
    Mysql4.0.26 and MySql5.0 versions please.

    waiting for ur replies


  2. #2
    Join Date
    Apr 2002
    Toronto, Canada
    either do it in two steps, or use a multi-table update query with a join (examples on the site under the UPDATE syntax) | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

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