About 80,800 results
Open links in new tab
  1. SQL Subquery - GeeksforGeeks

    Nov 22, 2025 · A subquery in SQL is a query nested inside another SQL query. It allows complex filtering, aggregation and data manipulation by using the result of one query inside another.

  2. Subqueries (SQL Server) - SQL Server | Microsoft Learn

    Nov 18, 2025 · A subquery is also called an inner query or inner select, while the statement containing a subquery is also called an outer query or outer select. Many Transact-SQL …

  3. SQL Subqueries - w3resource

    Feb 13, 2025 · A subquery is also called an inner query or inner select, while the statement containing a subquery is also called an outer query or outer select. The inner query executes …

  4. 5 SQL Subquery Examples - LearnSQL.com

    Nov 18, 2021 · A subquery, or nested query, is a query placed within another SQL query. When requesting information from a database, you may find it necessary to include a subquery into …

  5. SQL Subquery: A Comprehensive Guide - DataCamp

    Jan 16, 2025 · A SQL subquery is a nested query within another SQL statement used for complex data retrieval, filtering, and aggregation to enhance database queries.

  6. Subquery – SQL Tutorial

    A subquery in SQL is a query that is nested within another query. It is used to retrieve data that will be used in the main query as a filter condition, or as a source of data for a calculation.

  7. Understanding SQL Subqueries or Nested Queries - Tutorial Republic

    What Is a Subquery? A subquery, also known as a nested query or subselect, is a SELECT query embedded within the WHERE or HAVING clause of another SQL query. The data returned by the …

  8. What is a Subquery? - Database.Guide

    Nov 21, 2025 · Subqueries let you break down complex problems into smaller, more manageable pieces, making your SQL more readable and often more powerful. The outer query relies on the …

  9. Writing Subqueries in SQL | Advanced SQL | ThoughtSpot

    Subqueries (also known as inner queries or nested queries) are a tool for performing operations in multiple steps. For example, if you wanted to take the sums of several columns, then average …

  10. SQL Subquery

    In this tutorial, you'll learn about SQL subquery, a query nested within another query, to form flexible queries.