Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

wht is d/f between union and joins ?

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


Please Help Members By Posting Answers For Below Questions

How do I add a column to a table in db2?

1065


Comment whether dclgen is mandatorily used. If not, then what is the point of using it?

1029


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

1107


What is the use of db2?

1021


What type of database is db2?

923


Where can you declare a cursor in a cobol-db2 program?

1029


What is check constraint. Explain with example.

1060


Explain about rct in db2?

1059


How is the value function used?

1098


What is rct?

1186


Is db2 a database?

928


Can one database have multiple instances?

1021


Why select is not preferred in embedded sql programs?

1255


Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at the time of compilation should plan and package will be created for both A and B or only B? What is the concept?

8178


How to check last update on table in db2?

1020