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

Can a formula column referred to columns in higher group ?

2549


How to delete multiple rows from a table in oracle?

1109


What is a data lock in oracle?

1178


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

1191


How to select all columns of all rows from a table in oracle?

1096


How to pass parameters to procedures?

1084


In the oracle version 9.3.0.5.0, what does each number shows?

1343


Can we protect our pl/sql source code?

1078


What is Reduced List of Values?

2240


material view and view disadvantages?

1116


How to insert a new row into a table in oracle?

1212


Please explain oracle left join with an example?

1086


 How to use an oracle sequence generator in a mapping?

1128


How to define a sub function?

1192


Respected sir, Please send me technical questions related to oracle apps..

1864