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...

What is the difference between join and union.

Answer Posted / sompalli krishna

Join: joins are used to combine the columns from one or
more tables(join using one table is possible for self
join).output should B more than one column.
It is constraint based.Columns r joined based on similar
column names and datatypes also on both the tables.

union: union is used to combine the columns from one or
more tables.Output should B one column.
It is not constraint based.Any no. of columns can be
combined without using any condition.But the data types
should be same immaterial to column names.
Contact me for any queries on 09885790989

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is input buffer in sql*plus?

1219


What is string join?

974


How many joins can you have in sql?

935


How many disk partitions should I have?

984


What is a primary key example?

956


How do I kill a query in postgresql?

1114


How to rename a column in the output of sql query?

1072


Is sql open source?

970


What packages(if any) has oracle provided for use by developers?

5807


Is sql workbench free?

992


What are different types of sql commands?

1114


what is self join and what is the requirement of self join? : Sql dba

1142


What is triggering circuit?

1062


What is scope and visibility in PL/SQL?

1202


how to create a new table by selecting rows from another table in mysql? : Sql dba

1087