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

where we have to use ON clause and where we have to use USING
clause in JOINS

Answer Posted / saiprasanna

in ansi style the join condn can be given bu using "ON-clause"
or by using "USING-clause".
"USING" clause can be used if common column name is same other
wise "ON" clause is used.
ex:-select e.ename,d.dname from emp e join dept d on e.deptno
=d.deptno;
select e.ename,d.dname from emp e join dept d using(deptno);

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between post-database commit and post-form commit?

1049


From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.

1068


What happens to the data files if a tablespace is dropped?

1061


How will you identify oracle database software release?

1016


What is rich query?

985


How to define an anonymous procedure with variables?

1164


What are the oracle differences between nvl and coalesce

1150


interview questions with answer for cts

2588


How do I decide when to use right joins/left joins or inner joins or how to determine which table is on which side?

1022


What is the difference between count (*), count (expression), count (distinct expression)?

1013


how the indexes are stored in the Oracle Database?

2271


What are joins, explain all types of joins?

2299


How to define and use table alias names in oracle?

945


ABOUT IDENTITY?

2064


How to sort the query output in oracle?

1028