What is the Subquery?
Answers were Sorted based on User's Feedback
Answer / suresh kumar somayajula
SELECT Statement which is embedded in another class of
SELECT statement is nothing but "Sub-Query".
In this ..Inner query will execute first.based on that
result outer query will execute.
Thank you,
Suresh
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / anil_abbireddy
Runs first,executed once,returns values to be used by the
MAIN Query
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / ramesh
A sub query is a query and it is deepened main query on the another query is called as a sub-query.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rashmi
Query inside a query is called sub query. Always to execute successfully the outer query depends on the output of inner query.
it is if 4 types.
>Scalar sub query
>Corelated sub query
>Nested sub query
>Inline view
Is This Answer Correct ? | 0 Yes | 0 No |
What is cold data?
how to get the third quarter of employee details from emp?
Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)
how to return query output in html format? : Sql dba
What is sql injection owasp?
what are ddl statements in mysql? : Sql dba
How many joins in sql?
What is the difference between clustered and non-clustered indexes?
how to saw triggers output in pl/sql database?
What is forward declaration in pl sql?
What is optimistic concurrency control? : Transact sql
Can We write bulk collect statement in triggers?