About 1,500,000 results
Open links in new tab
  1. 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.

  2. The Ultimate Guide To SQL Server Subquery

    In this tutorial, you will learn about the SQL Server subquery concept and how to use various subquery types to query data.

  3. SQL Server Subquery - GeeksforGeeks

    Jul 23, 2025 · A subquery is a 'Select' query placed inside another query or SQL statement. A subquery can be used with a SELECT, INSERT, UPDATE, or DELETE statement and is generally placed …

  4. SQL Server Subquery Example

    May 13, 2019 · This tutorial section introduces the topic of subqueries by presenting easy-to-follow code samples that demonstrate the use of subqueries in WHERE clauses, SELECT list items, and with …

  5. SQL Subquery

    Summary: In this tutorial, you’ll learn how to use SQL subqueries to form flexible queries for retrieving data from the database. A subquery is an SQL query nested inside another query. The query that …

  6. Using Subqueries Inside SELECT and WHERE

    Aug 14, 2025 · Subqueries make this possible by placing one query inside another. When they’re placed in a SELECT clause, they can return related values as part of the result for each row. When they’re …

  7. SQL Server: Subqueries - TechOnTheNet

    In SQL Server, a subquery is a query within a query. You can create subqueries within your SQL statements. These subqueries can reside in the WHERE clause, the FROM clause, or the SELECT …

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

    We can use subqueries in SELECT, INSERT, UPDATE, and DELETE statements as well as WHERE, FROM, and HAVING clauses. Subqueries allow users to break complex queries into smaller, more …

  9. Using a Subquery in a SELECT statement - Simple Talk

    Jun 26, 2023 · There are two types of subqueries: basic subquery and correlated subquery. In this article I will be discussing both types of subqueries and will be providing examples of how to use a …

  10. SQL Server SUBQUERY - Tutorialsbook

    What is SUBQUERY in SQL Server? A SUBQUERY is a SQL query within a SQL statement. A subquery can be part of a SELECT, INSERT, UPDATE or DELETE statement and is itself always a …