About 84,300 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. 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 …

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

    Nov 18, 2025 · Look at an example of a subquery, which is a query that is nested in a SELECT, INSERT, UPDATE, or DELETE statement, or inside another subquery in SQL Server.

  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. 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.

  6. How to Use the SQL Subquery: A Detailed Guide - Codecademy

    A SQL subquery, otherwise known as a nested SQL query, is a query within another query that helps filter, transform, or aggregate data before passing the results to the main query.

  7. SQL Subquery

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

  8. How to Use a Subquery in a SELECT Statement - GeeksforGeeks

    Jul 23, 2025 · A subquery (also known as a nested query or inner query) is a query placed inside another query. The subquery is executed first, and its result is used by the outer query for …

  9. SQL Subqueries Complete Tutorial (2026) - sql-practice.online

    What is a Subquery? A subquery, also known as an inner query or nested query, is a SELECT statement embedded within another SQL statement. Subqueries provide a powerful way to …

  10. SQL Subqueries - LearnSQL.com

    Nov 18, 2016 · A SQL subquery is a query within another query; this structure allows complex data retrieval across multiple tables in a single command. Subqueries are used in WHERE, …