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

Answer Posted / kavithanedigunta

full outer join in 10 g

select a.*,d.dname
from emp a
full outer join
dept d on
a.DEPTNO = d.DEPTNO

full outer join in 9i

select a.* ,d.DNAME
from emp a, dept d
where a.DEPTNO = d.DEPTNO

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is out parameter used for eventhough return statement can also be used in pl/sql?

591


What are the different tcl commands in sql?

627


What is cte?

582


How do you modify a table in sql?

580


What is pl sql in oracle?

591






Determine if oracle date is on a weekend?

564


What is the least restrictive isolation level? : Transact sql

569


what are myisam tables? : Sql dba

556


what is 'mysqlcheck'? : Sql dba

577


Why plvtab is considered as the easiest way to access the pl/sql table?

629


What are the parts of a basic sql query?

523


Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?

586


What is the difference between having and a where in sql?

581


how to convert dates to character strings? : Sql dba

541


How do I quit sql?

508