How can I select records from two different tables in one MySQL query?

Posted by Fernando on Stack Overflow See other posts from Stack Overflow or by Fernando
Published on 2010-03-27T14:42:09Z Indexed on 2010/03/27 14:53 UTC
Read the original article Hit count: 249

Filed under:

I have first names stored in one table and last names stored in another. I know this is silly but I am trying out different things as I'm just starting with MySQL. Anyway is it possible to select the first name from one table and the last name from another in one query? And put the result inside a PHP variable?

© Stack Overflow or respective owner

Related posts about mysql