Answer Posted / 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 View All Answers
Which command is used to remove all rows from a table?
List down the data types in the db2 database.
What is the result of open cursor statement?
What are the two types of logging in the db2 database? Explain them.
Explain about cursor stability?
Explain dclgen.
What is scrollable cursor in db2?
How to check last update on table in db2?
What is precompiler in db2?
How do we specify index to include or not during bind process.
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
What is runstats utility in db2?
Explain correlated sub-queries.
What are union and union all?
What is dbrm? What it contains? When it will be created?