wht is d/f between union and joins ?

Answers were Sorted based on User's Feedback



wht is d/f between union and joins ?..

Answer / lu

union for the row...
joins for a column...

Is This Answer Correct ?    6 Yes 2 No

wht is d/f between union and joins ?..

Answer / amarnath reddy

use unions, merge the rows from morethan one table.
Ex: select accno.,accname from bank1;
union
select accno.,accname from bank2;

use Joins, merge the columns from morethan one table.
Ex: select i.accno., d.bcode from banktab i, dtlstab d
where i.bcode=d.bcode;

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More DB2 Interview Questions

How do you filter out the rows retrieved from a Db2 table ?

1 Answers  


In terms of DB2 indexing, what is the root page?

1 Answers  


What is an alias?

3 Answers  


Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?

0 Answers  


how to fetch first 100 rows in db2

2 Answers   IBM,


What is the purpose of rollback and commit?

0 Answers  


What is collection in db2 bind?

0 Answers  


Why do we bind in db2?

0 Answers  


What is an instance database?

0 Answers  


how can you save the query in QMF?IS IT POSSIBLE OR NOT.IF POSSIBLW HOW?

1 Answers   Hewitt,


What's The Error Code For Unique Index Voilation?

0 Answers   IBM,


What is db2 plan table?

0 Answers  


Categories