How do you get all records from 2 tables. Which join do you use?
Answer Posted / gvmahesh
full outer join.
select ename,sal,dname,loc,e.deptno from emp e
full outer join dept d on e.deptno=d.deptno;
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Can we call stored procedure in function?
how do you tune the slow running queries in oracle db , explain the methodology
What is embedded sql in db2?
Can you inner join the same table?
how many groups of data types? : Sql dba
How show all rows in sql?
What is the difference between sql and mysql?
Are stored procedures faster than queries?
How do I find duplicates in sql?
Explain the difference between cursor declared in procedures and cursors declared in the package specification?
Can dml statements be used in pl/sql?
what is a database transaction? : Sql dba
how to drop an existing table in mysql? : Sql dba
What is scalar function in sql?
How can you fetch first 5 characters of the string?