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 not equal in sql?

998


What is the difference between left outer join and left join?

940


What are the types of variables use in pl sql?

964


what is 'mysqladmin' in mysql? : Sql dba

971


Can sql developer connect to db2?

981


Why do we need databases?

981


Is sql port 1433 encrypted?

968


Sql technical questions

1195


What is sqlexception in java?

937


What is the difference between microsoft access and sql?

958


What is native sql query?

968


How consistent is the view of the data between and within multiple sessions, transactions or statements ?

2166


what is a join? : Sql dba

960


What is the difference between inner join and natural join?

950


Is ms sql traffic encrypted?

867