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 the Tune Query

2242


What are the execution control statements?

1022


What is Redo Log Buffer in Oracle?

1146


22. Display the order number, number of lines in the order, total number of items and total value for all orders that have a total value greater than $100

1963


Please explain compound trigger in oracle?

1005


Explain the use of ignore option in imp command.

988


How to define a data source name (dsn) in odbc manager?

980


Give the different types of rollback segments.

986


What is a static data dictionary in oracle?

1045


WHAT IS THE DEFINITION OF DEFAULT CUSTOMER IN AR?

2160


What is an oracle database?

998


How can we view last record added to a table?

978


What do database buffers contain?

977


Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

1946


Explain the use of indexes option in imp command.

1107