What is the difference between join and union.

Answer Posted / nafisul haque

Join returns matching/non matching records as per condition
where as union returns union of recordsets. Join is used
within single select statement while union is used among
two or more select statements.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by rowid?

535


How does a self join work?

512


What is an emotional trigger?

510


Why join is faster than subquery?

595


What is dialect in sql?

520






How many joins can you have in sql?

508


Explain the working of foreign key?

540


What is crud diagram?

507


What is difference between left and right outer join?

511


How do I count duplicates in sql?

541


What is the purpose of the primary key?

561


Why truncate is used in sql?

526


How do I debug a stored procedure?

621


What is trigger types in sql?

529


What is meant by <> in sql?

500