0

select * from table1 AND table2;

select * from table1 AND table2; Is this show the two tables?

3rd Jan 2017, 1:42 PM
Jan Sher
Jan Sher - avatar
3 Answers
+ 2
eg: select tb1.id,tb2.name from table1 tb1 left join table2 tb2 on tb1.id = tb2.main_id
3rd Jan 2017, 1:57 PM
baiyu
baiyu - avatar
+ 1
you can also use select * from table1 union all select * from table2 buttable fields must ne the same (number and type)
17th Feb 2017, 4:26 PM
Nifriz
Nifriz - avatar
- 1
No, The syntax is wrong....
3rd Jan 2017, 1:43 PM
Jan Sher
Jan Sher - avatar