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

Please let me know if UNION ALL and Natural Join does the
same operation and are same...

Answer Posted / subathra

union all: Joins the 2 selected results based on different
conditions.

Example:
select a.emp_id, b.dept_id from
emp a, dept b
where a.dept_id=b.dept_id
and a.sal < 3000
union all
select a.emp_id, b.dept_id from
emp a, dept b
where a.dept_id=b.dept_id
and a.sal > 6000


Natural Join: Establish the condition between 2 or more
tables.

Example: select a.emp_id, b.dept_id from
emp a, dept b
where a.dept_id=b.dept_id

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the savepoint statement.

1040


What is database migration?

916


explain about mysql and its features. : Sql dba

971


What are the two different parts of the pl/sql packages?

1025


What is pl sql code?

995


How to download oracle sql developer?

1058


how to use 'mysql' to run sql statements? : Sql dba

985


What is the difference between an inner and outer join?

963


How do you explain an index number?

1023


Are stored procedures faster than queries?

900


How would you convert date into julian date format?

949


How do you take the union of two tables in sql?

933


Which command is used to delete a package?

1092


what is a control file ? : Sql dba

991


What is recursive stored procedure?

1048