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

what is a sub query?how will you calculate working days in
a month using sub query?

Answer Posted / ankur akash

A query inside a query is a sub query.
The first query depends for its execution based on the
result provided by the execution of inside query. i.e. subquery.
For ex.
Select last_name, salary, job_id
from employees
where salary >(select last_name, salary
from employees
where last_name = 'Higgins');

Here
Select last_name, salary, job_id
from employees
where salary >
talks about the first query depending for its result based
on the execution of the inner query i.e. sub query
(select last_name, salary
from employees
where last_name = 'Higgins');

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is nosql db?

1012


What is break?

1255


what is oracle database ? : Sql dba

1078


What are the benefits of stored procedures?

1126


What does pl sql developer do?

979


What is full form of rtm?

1051


What are the ways on commenting in a pl/sql code?

1202


What is difference between pls_integer and integer?

1010


what is sql in mysql? : Sql dba

1236


What is the difference between rename and alias?

1387


What are the most important characteristics of pl/sql?

1224


What is primary key sql?

1107


What are the uses of sysdate and user keywords?

1148


Can there be 2 primary keys in a table?

1041


When to use inner join and left join?

1011