What is the difference between join and union.

Answer Posted / mohan

join is used to combine two different tables where as in union

union also perform the same operation but the difference is
union will return distinct(unique) values.we can eliminate
the duplicate records while using union

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the basic techniques of indexing?

563


How do I install sql?

517


What is sqlcommand?

546


Does group by remove duplicates?

544


What are different types of functions in sql?

506






What is database sql?

537


How can we make an if statement within a select statement?

531


Which language is used in sql?

514


what is union, minus and interact commands? : Sql dba

650


What is sql partition?

546


how many sql ddl commands are supported by 'mysql'? : Sql dba

518


What is clustered and nonclustered index in sql?

493


What are the operators in sql?

521


Explain about various levels of constraint.

517


Why do we use joins?

560