wht is d/f between union and joins ?
Answers were Sorted based on User's Feedback
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 |
i hav created a program and moved to production but failed to create the table which is been used in the program. the program shows error as soon as it is moved or installed in production or shows error during its runtime. what is the sqlcode for this error
what is the role of the cursor in db2?
How does DB2 use multiple table indexes?
Can we declare cursor in Procudere division or open the cursor in the Working storage section. Is there any particular rules in the usage of cursors lifecycle
what is the name of the default db2 catalog database?
how can u understand the end of the table ?
When would you prefer to use VARCHAR?
What is a db2 collection?
What's the maximum number of volumes that can be added to a STOGROUP?
Explain about rct in db2?
what is the use of cursors?
What is a collection?