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
What is an example of translating a date into julian format?
What is rtm in testing?
what's the difference between a primary key and a unique key? : Sql dba
How many sql statements are used? Define them.
Do foreign keys improve performance?
what is myisam? : Sql dba
When do we use triggers?
Is pl sql and postgresql same?
What is where clause in sql?
how can you see all indexes defined for a table? : Sql dba
what are date and time data types? : Sql dba
Are pl sql variables case sensitive?
Is sql a microsoft product?
What is sqlca in db2?
hi,i plan to put experience on PLSQL ,can anyone suggest me for any institutes in bangalore or how to prepare for interviews