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
what is the difference between truncate and delete statement? : Transact sql
Can we create clustered index without primary key?
Mention what pl/sql package consists of?
how do you know if your mysql server is alive? : Sql dba
what is an extent ? : Sql dba
how to concatenate two character strings? : Sql dba
Why we use joins in sql?
how can we find the number of rows in a table using mysql? : Sql dba
Is record in pl sql?
Does oracle use sql?
What is pragma in pl sql?
How does sql store data?
Does sql full backup truncate logs?
How long will it take to learn pl sql?
What is fmtonly in sql?