Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Posts
    3

    Unanswered: Please help with MySQL ver 3.23.51 query

    I have 2 tables: wide and narrow.
    Narrow table has 2 columns: inn, custid
    Wide table has many columts, among them are similar inn, custid.

    I want to set
    wide.custid=narrow.custid
    in those rows of wide, where
    wide.inn=narrow.inn

    MySQL ver 3.23.51

    Thanks.

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    the multi-table update syntax is in version 4.0

    you'll need a scripting language and a loop
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    Sep 2004
    Posts
    3

    Thank you very much!!!

    Thank you very much!!!

Posting Permissions

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