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 / geeta

select * from tab1
union
select * from tab2;

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What will you get by the cursor attribute sql%found?

540


What is the difference between Union and Union all. Which is faster.

850


How long will it take to learn pl sql?

529


Is t sql a programming language?

543


How can I delete duplicate rows?

569






what are the security recommendations while using mysql? : Sql dba

583


What are the different types of joins in sql?

585


Write a unique difference between a function and a stored procedure.

537


How much does sql cost?

526


How do I make sql search faster?

560


What is sql indexing?

561


When is a declare statement required?

679


what is an alias command? : Sql dba

553


what is a record in a database ? : Sql dba

570


Why do we use subquery?

491