Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you get all records from 2 tables. Which join do you use?

Answer Posted / gvmahesh

full outer join.

select ename,sal,dname,loc,e.deptno from emp e
full outer join dept d on e.deptno=d.deptno;

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is %s in sql?

1009


Is sql a microsoft product?

946


How can you get sql*loader to commit only at the end of the load file? : aql loader

1009


What is substitution variable?

1049


What type of join is sql join?

979


Does truncate table reset auto increment?

991


Can we rollback delete command?

981


How do I save a stored procedure?

1003


What is posting?

1034


Why is stored procedure faster than query?

959


Why are sql stored procedures used?

1053


What is the difference between null value, zero, and blank space?

1199


how can we know the number of days between two given dates using mysql? : Sql dba

1046


What is package in pl sql with an examples?

1035


Is ms sql traffic encrypted?

921