full outer join syntax
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
Answer / ambedkar
At first Full outer join is never not possible.
| Is This Answer Correct ? | 0 Yes | 4 No |
What is the difference between function, procedure and package in pl/sql?
What is dcl in sql?
Lookups are a key component in sql server integration services (ssis). Explain its purpose?
use of IN/ANY/ALL
What is a constraint?
What is sqlerrd?
Interchange the value of a column Gender in a table where values are Male and Female. So, where the value is Male, it should changed to Female and Female to Male.
what is Hash join?how it is different from inner join?what is the sign used for inner join?(eg: like the (+) sign used for outer join)?
how can we destroy the cookie? : Sql dba
What is offset and limit in sql?
What is dynamic SQl and how you will create and execute dynamic sql?
How do you truncate?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)