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
ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..
what are the security recommendations while using mysql? : Sql dba
How do you update f as m and m as f from the below table testtable?
Are stored procedures faster than queries?
What is parameter substitution in sql?
What are the different operators available in sql?
What is a dynamic query?
Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?
What is oracle and pl sql?
What is the life of an sql statement?
What is the difference between left and left outer join?
Is sql sequential or random?
What is rollback?
how can you see all indexes defined for a table? : Sql dba
Explain character-manipulation functions?