Interviews16 answers
What is sub-query ?
16 Answers
Sub-query is a query which provides result to the outer query.
Sreekanth ReddyPosted Oct 23, 2018, 12:50 AM EDT
A query with in the another query called subquey.
Inner query executed first and the result will pass to the outer query.
Outer query executed based on result given by inner query.
Naresh TottempudiPosted Feb 28, 2018, 10:17 PM EST
A Subquery is a query within another SQL query and embedded within the WHERE clause.
Gajendra JangidPosted Jan 28, 2018, 10:55 PM EST
A select statement return to another select statement is called Subquery
Sanjeev KumarPosted Jul 29, 2016, 1:21 AM EDT
With in the from cluase write a select or update or delete operation perfom that is sub query
with in the query call a another query is nothing but sub query
Khajahaneef ShaikPosted Jun 5, 2016, 8:02 AM EDT
Sub-query is part of main query and first execute sub-query this output going to input of main query.
Thiruppathi RPosted Jun 1, 2016, 6:39 PM EDT
A subquery is a SQL query within a query.Subqueries are nested queries that provide data to the enclosing query.Subqueries can return individual values or a list of records
Subqueries must be enclosed with parenthesis
Keerthi VenkatesanPosted May 22, 2016, 10:57 PM EDT
sub query is also known as nested query. the query within another query using WHERE clause
Keerthi VenkatesanPosted Apr 20, 2016, 1:09 AM EDT
Sub query is the query that is written within another query and its output serves as input to outer query .
like 2 tabal ----emp_mst and emp_d_mast
emp_mst ----emp_id p.key and emp_name
emp_d_mst -----emp_id f.key and emp_salary
then
select emp_salary from emp_d_mst where emp_id = (select emp_id from emp_mst where emp_name = "jay pathak")
Jayesh VaghasiyaPosted Mar 4, 2016, 7:33 PM EST
Sub query is the query that is written within another query and its output serves as input to outer query .
Rajeev PunhaniPosted Jan 27, 2016, 8:35 AM EST
a subquery is also called an INNER QUERY or INNER SELECT. the main query that contains the subquery is also called the OUTER QUERY or OUTER SELECT.
bharat aggarwalPosted Jan 6, 2016, 2:06 AM EST
a subquery is also called an INNER QUERY or INNER SELECT. the main query that contains the subquery is also called the OUTER QUERY or OUTER SELECT.
bharat aggarwalPosted Jan 6, 2016, 2:06 AM EST
a subquery is also called an INNER QUERY or INNER SELECT. the main query that contains the subquery is also called the OUTER QUERY or OUTER SELECT.
bharat aggarwalPosted Jan 6, 2016, 2:06 AM EST
a subquery is also called an INNER QUERY or INNER SELECT. the main query that contains the subquery is also called the OUTER QUERY or OUTER SELECT.
bharat aggarwalPosted Jan 6, 2016, 2:06 AM EST
a subquery is also called an INNER QUERY or INNER SELECT. the main query that contains the subquery is also called the OUTER QUERY or OUTER SELECT.
bharat aggarwalPosted Jan 6, 2016, 2:06 AM EST
Query inside query is known as sub-query.There will be two query inner query and outer query.In which inner query get execute first then outer query get executed
Sandeep KumarPosted Sep 29, 2015, 6:06 AM EDT








