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

Difference between join and a subquery?

Answer Posted / neo devan

A query inside a query or next level query is called
subquery, a subquery can return 1 or more values to the
main query.
Ex: select * from emptable where deptno=(select deptno from
saltable where rownum=1);

A Join is used to query two tables, or views.
Ex: select * from emptable inner join saltable on
emptable.deptno=saltable.deptno;

Is This Answer Correct ?    18 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to define an external table with a text file?

1018


State all possible different index configurations a table can possibly have?

945


What do you mean by a tablespace?

980


What is a oracle database?

990


What are the logical operations?

1061


What is memory advisor in Oracle?

1021


What is a nvl function?

955


What is sharded cluster?

924


Explain an index segment?

1037


What are ddl statements in oracle?

1011


How to get execution path reports on query statements?

926


Explain do view contain data?

938


What exactly do quotation marks around the table name do?

915


is there a tool to trace queries, like profiler for sql server?

1076


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

963