How do you get all records from 2 tables. Which join do you use?

Answer Posted / selvaraj v , anna univ coe

Use Full Outer Join in Oracle 10g :

SELECT p.part_id,s.supplier_name FROM part p
FULL OUTER JOIN
supplier s ON p.supplier_idv = s.supplier_id;

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How much does a sql dba make? : SQL DBA

666


How to run sql statements through the web interface?

730


Can you sum a count in sql?

735


What is nosql example?

778


What is a sql trace file?

738






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..

2176


What is a recursive join sql?

804


What are the different sql commands?

721


what is csv? : Sql dba

757


What is a heap in sql?

718


Explain the insert into statements in sql?

727


Explain the difference between 'between' & 'and' operators in sql

722


what is a constraint? Tell me about its various levels. : Sql dba

735


Which join condition can be specified using on clause?

702


What is the difference between left join and right join?

670