+ 2
how to display more than two tables content without using join.?
7 Antworten
+ 2
instead of join we can use ,
for example if we want salary from employees and city from customers where name is same
select employees.salary,customers.city from employees,customers where employees.name=customers.name;
+ 1
By using the union all we can join the two table tables
+ 1
by equating the same field like customers.id=seller.id from both the tables customers and seller
+ 1
Ya you can either use union or enter a subquery as per ur requirements
+ 1
Union or union all
+ 1
Correct @lipi
0
u can use union or union all if the two table has the same number of columns