I have 2 table A and B. In A 1 lakh record is present. In b 20 thousand data is present. To get the unique data from table A and B which join we should prefer left inner join or right outer join. Please answer.

Answer Posted / vijay_1994

Hi,
I have used left outer join
select
a,
b
from
tab1 ,
tab2
where
tab1.a = tab2.b(+);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I partition a table in sql?

543


Explain isolation levels. : Transact sql

579


What are the set operators in sql?

561


Can function return multiple values in sql?

533


How do you create a db file?

524






What do you understand by pl/sql packages?

573


what is cross join? : Sql dba

576


What is nosql vs sql?

570


what is 'mysqlshow'? : Sql dba

591


what is the difference between mysql_fetch_array and mysql_fetch_object? : Sql dba

559


How do I save the results of sql query in a file?

535


What is a record in a database?

563


How do sql databases work?

533


What does (+) mean in sql joins?

528


column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

6088