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 iseries database?

987


What is cascading rollback?

1131


What are host variables in db2?

989


In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?

989


Mention some fields that are a part of sqlca.

969


How does cobol compile db2 program?

1005


List out the data types available.

1080


Which component is used to execute the sql statements?

1052


What is the difference between drop table and delete table?

1116


How would the varchar column remarks defined?

1035


What is host variable?

1011


What is plan in cobol db2?

1056


What is netezza database?

956


What is dbrm library?

996


On which levels locks can be applied?

1059