About 214,000 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 Subquery

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

  3. SQL Subqueries - w3resource

    Feb 13, 2025 · The SQL subquery is a SELECT query that is embedded in the main SELECT statement. The subquery can be nested inside a SELECT, INSERT, UPDATE, or DELETE statement or inside …

  4. 5 SQL Subquery Examples - LearnSQL.com

    Nov 18, 2021 · In this article, I provide five subquery examples demonstrating how to use scalar, multirow, and correlated subqueries in the WHERE, FROM/JOIN, and SELECT clauses. A subquery, …

  5. SQL Subqueries – Dataquest

    In this tutorial, we'll walk through different types of subqueries, starting with scalar subqueries. These are the simplest form, returning a single value that can be used in the main query. Think of them as the …

  6. SubquerySQL Tutorial

    Subqueries are enclosed within parentheses and can be used in various SQL statements such as SELECT, INSERT, UPDATE, and DELETE. Subqueries are used to retrieve data from one or more …

  7. SQL Subquery: A Comprehensive Guide - DataCamp

    Jan 16, 2025 · SQL subqueries are a powerful tool in database management, allowing for more complex and efficient data retrieval. This guide will walk you through the fundamentals of SQL subqueries, …

  8. 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 all of …

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

    When working with SQL, retrieving complex data often requires breaking down queries into smaller, more manageable parts. This is where subqueries come in. In this guide, we’ll explore subqueries in …

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