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 recursive stored procedure?

598


What is difference between sql function and stored procedure?

503


Explain table and field in sql?

581


How to find 3rd highest salary of an employee from the employee table in sql?

565


what is sql in mysql? : Sql dba

569






what are the difference between clustered and a non-clustered index? : Sql dba

525


what are the disadvantages of mysql? : Sql dba

570


Is it possible to include an insert statement on the same table to which the trigger is assigned?

557


Mention what are the benefits of pl/sql packages?

534


how many ways to get the current time? : Sql dba

526


what are the features and advantages of object-oriented programming? : Sql dba

540


What is data profiling in sql?

511


What is varchar sql?

615


How do you bind variables in pl sql?

578


Is big data nosql?

512