full outer join syntax

Answers were Sorted based on User's Feedback



full outer join syntax..

Answer / thiyagarajan

select table1.columnname1,table2.columnname2
from
table1 full outer join table2
on
table1.colname=table2.colname

Is This Answer Correct ?    13 Yes 1 No

full outer join syntax..

Answer / madhav

Full outer join

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

Is This Answer Correct ?    0 Yes 0 No

full outer join syntax..

Answer / avi007

full outer join -

select * from table1,table2 where
table1.columnname(+)=table2.colunmname;
union
select * from table1,table2 where
table1.columnname =table2.colunmname(+);

Is This Answer Correct ?    0 Yes 2 No

full outer join syntax..

Answer / naresh

select * from table full outer join tablename2;

or

select * from table1,table2 where
table1.columnname(+)=table2.colunmname(+);

Is This Answer Correct ?    1 Yes 4 No

full outer join syntax..

Answer / ambedkar

At first Full outer join is never not possible.

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More SQL PLSQL Interview Questions

write a query to display diference between two dates in sql server

2 Answers  


What is pl sql block in dbms?

0 Answers  


I want to execute a piece of code before calling a procedure. How to achieve it?

1 Answers   Oracle,


Given two tables Student(SID, Name, Course) and Level(SID, level) write the SQL statement to get the name and SID of the student who are taking course = 3 and at freshman level.

9 Answers   Oracle,


How many database objects (trigger, packages, sequence etc) uses a particular field in a given table. For ex: I want to know how many database object uses the ATTRIBUTE1 in the PO_VENDORS table. What query will give me the result showing the database object name(package, trigger etc), field_name used (in this case ATTRIBUTE1) and table_name (in this case PO_VENDORS).

2 Answers   IBM,






How to avoid using cursors? What to use instead of cursor and in what cases to do so?

0 Answers  


wht is the difference between sqlaserver2000 and 2005

1 Answers   ABC, IBM,


Is sql a backend language?

0 Answers  


Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)

0 Answers  


Does inner join return duplicate rows?

0 Answers  


Is it possible for a table to have more than one foreign key?

0 Answers  


How many commands are in sql?

0 Answers  


Categories