what is the difference between join and union?

Answer Posted / s

Join returns only rows that are qualified based on the Join
predicate. Whereas UNION retrieves both result sets above
and below the UNION operator and sorts to remove duplicates
before it returns the First row to the pgm

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dbrm? When it will be created?

592


What is the maximum size of a char data type in db2?

582


What is buffer pool?

607


Explain about dbrm.

603


What are the various data types available in db2?

628






What does db2 plan contain?

571


What is reorg?

615


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

618


What is the role of the data page in the db2 database?

583


Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

622


List down the types of triggers in the db2 database?

586


Why select is not preferred in embedded sql programs?

707


How can record locking be achieved in those DB2 versions which do not support it?

619


What is db2 command?

580


How to execute stored procedures?

618