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

What is oracle thin client?

1076


Query to retrieve record for a many to many relationship ?

2574


What are the different types of modules in oracle forms?

1047


What is materialized view in Oracle?

1114


What do you mean by merge in oracle?

1029


How to increment dates by 1 in oracle?

1136


How to define a procedure inside another procedure?

1066


How to see the table columns used in an index?

1070


What is the difference between primary key and unique key and foreign key in oracle?

1033


How do I manually create a database in oracle?

1068


How to fetch the row which has the max value for a column?

1044


How to update values in a table in oracle?

1077


How to connect to oracle using service name instead of sid?

1067


How do I call oracle stored procedures that take no parameters?

1200


what is the scripts in data base?

2219