What is subquery ?

Answers were Sorted based on User's Feedback



What is subquery ?..

Answer / s

Subquery is a SELECT statement used within a WHERE clause
or having CLAUSE of an SQL statment.

Is This Answer Correct ?    26 Yes 5 No

What is subquery ?..

Answer / xx

A query embedded inside another (parent) SQL statement,
returning rows used by the parent.

Is This Answer Correct ?    15 Yes 6 No

What is subquery ?..

Answer / v.chellappa

Usally subquery is executed first then result return to the
main query.
Based on the returned value the main querey is executed

Is This Answer Correct ?    7 Yes 1 No

What is subquery ?..

Answer / kinjal patel

subquery is a slect statement that is embaded in clause of
another sql statement ,called the parent statement.

Is This Answer Correct ?    3 Yes 0 No

What is subquery ?..

Answer / pooja intwala

A subquery is a SELECT statement within another SQL statement. The SQL statement can be SELECT, WHERE clause, FROM clause, JOIN, INSERT, UPDATE, DELETE, SET, DO, or another subquery.

Is This Answer Correct ?    0 Yes 0 No

What is subquery ?..

Answer / navdeep gill

subquery can be define sa a select query that erturns
single or multiple values

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More DB2 Interview Questions

Parm value passed is PARM=(10,20). how do code linkage section and how would you add these two passes values and show result in cobol program.

3 Answers   IBM,


how can i pull up a query which was previously stored in qmf

3 Answers  


For unmatched rows returned from an outer join, the column values in the other table are set to null e.g If A OUTER JOIN B returns some unmatched rows from A, the corresponding column values in B will be set to null. What can be done so that a null value is not displayed for these columns?

3 Answers  


Why select is not preferred in embedded sql programs?

0 Answers  


Explain an outer join?

1 Answers  






Can a array declared with an index be displayed(readable format) in spool?

4 Answers   Syntel, UST,


ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

0 Answers  


Explain package in db2 and its advantages?

0 Answers  


how can you access index

4 Answers   IBM, Tech Mahindra,


how many partitions are possible in partitioned tablespace? dont say 1-64. a)240 b)256 c)512 d)none

8 Answers   Amdocs, HeadStrong,


In my table having 100 Rec. How can I delete the 7th row?? (we don't know what is data inside the table)

9 Answers   IBM,


What is view db2?

0 Answers  


Categories