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

How to pass parameters to procedures in oracle?

1024


What is analyze command used for?

1044


Her departmandaki isçilerden empno' su ikinci sirada olan isçilerin empno, deptno, hiredate, sira_no bigilerini döndüren sorguyu yaziniz?

1966


How to initialize variables with default values?

1214


How to invoke the data pump export utility?

1163


Which are the five query types available in oracle?

934


Can we commit inside a function in oracle?

943


How to run queries on external tables?

1025


How to list all indexes in your schema?

1078


Explain cascading triggers.

1058


What is the string concatenation operator in oracle?

1151


Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?

1861


What is an oracle wallet?

926


What is a connect identifier?

1025


Give the advantages and disadvantages of clusters.

1040