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


Please Help Members By Posting Answers For Below Questions

Write a sql query to convert all character to uppercase after hypen.

1165


Explain how you can copy a file to file content and file to pl/sql table in advance pl/sql?

733


What is a .db file?

720


What is row_number () in sql?

720


Differentiate between % rowtype and type record.

921






What is scalar and vector?

719


What is java sql package?

733


How to assign sql query results to pl sql variables?

672


Can you upgrade sql express to full sql?

707


Is and as keyword in pl sql?

684


What is the use of double ampersand (&&) in sql queries? Give an example

805


What view means?

728


What is form and report?

705


How do I create a sql database?

709


define data blocks ? : Sql dba

731