About 109,000 results
Open links in new tab
  1. SQL | Subquery - GeeksforGeeks

    Jun 11, 2025 · What is SQL Subquery? In SQL, a subquery can be defined as a query embedded within another query. It is often used in the WHERE, HAVING, or FROM clauses of a …

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

  3. SQL Subquery

    A subquery is an SQL query nested inside another query. The query that contains a subquery is known as an outer query. To write a subquery, you need to have a deep understanding of the …

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

    Nov 22, 2024 · 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 …

  5. 5 SQL Subquery Examples - LearnSQL.com

    Nov 18, 2021 · Here are 5 SQL subquery examples demonstrating how to use scalar, multirow, and correlated subqueries in the WHERE, FROM, JOIN, and SELECT clauses.

  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. SQL Subqueries: The Complete Guide | Database Star: Home

    Oct 22, 2018 · A subquery is a SELECT query inside another query. It’s also called a nested query in SQL. A subquery is often used inside SELECT queries but can also be used in other …

  8. SQL - Sub Queries - Advanced SQL - W3schools

    In SQL terms, a subquery is a query nested inside another query. It's like asking a question within a question, allowing you to perform complex operations that might not be possible with a …

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

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