MySQL Forums
Forum List  »  Newbie

Re: fill blanks in one table using another
Posted by: laptop alias
Date: April 20, 2012 09:17AM

;-)

'round here we normally write that kind of thing this way:

SELECT A1.fieldA
     , A2.field1
     , A2.field2 
  FROM table1 A2
  JOIN table2 A1 
    ON A1.key = A2.fieldA;

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.