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

What is meant by explain?

1194


What is buffer pool and list some of them?

1096


What is access path in db2?

1043


What is meant by union and union all?

1054


What is difference between isnull and coalesce?

1107


What is database alias db2?

1180


What is the picture clause of null indicator variable?

1183


What is sqlca?

1133


Can one database have multiple instances?

1097


What is db2 look?

1078


How to check last update on table in db2?

1100


What do you mean by between and in? Is between inclusive of specified range values?

1140


What is the default page size of buffer pools?

1171


What type of database is db2?

1019


What is dclgen in db2?

1199