A Guide to SQL
A Guide to SQL
9th Edition
ISBN: 9781111527273
Author: Philip J. Pratt
Publisher: Course Technology Ptr
bartleby

Concept explainers

Question
Book Icon
Chapter 5, Problem 10RQ
Program Plan Intro

Subquery:

Any SQL query can be written in the sub query approach.

  • The SQL subquery returns one or more column as the result.
    • Most SQL systems return a pair wise joining of one and only one column in an inner query with one column of an outer query.
    • The data displayed form the table referenced in outer query only.
    • It is a “SELECT” statement that is nested within another “SELECT” statement.

Blurred answer
Students have asked these similar questions
What kind of situation necessitates the use of a subquery?
What is the function of a column qualifier? When do you have to use one?
Which operator should you employ in order to locate NULL values?
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
  • Text book image
    Oracle 12c: SQL
    Computer Science
    ISBN:9781305251038
    Author:Joan Casteel
    Publisher:Cengage Learning
    Text book image
    A Guide to SQL
    Computer Science
    ISBN:9781111527273
    Author:Philip J. Pratt
    Publisher:Course Technology Ptr
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr