MySQL> Selecting from more tables (with same columns) without UNION

Posted by Petr on Stack Overflow See other posts from Stack Overflow or by Petr
Published on 2010-05-26T06:24:52Z Indexed on 2010/05/26 6:31 UTC
Read the original article Hit count: 176

Filed under:
|

Hi, It is probably pretty simple but I cannot figure it out: Say I have tables A and B both with the same columns. I need to do SELECT * FROM A,B without having results merged into one row. I.e. when each table has 2 rows, I need the result to have 4 rows.
EDIT: I know about JOIN but dont know how to join the tables without predicate. I need merge them. Thanks

© Stack Overflow or respective owner

Related posts about mysql

Related posts about select