About 1,820,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. 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 …

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

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

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

  8. Step by Step Guide for Writing Subqueries in MS SQL Server | MoldStud

    Oct 27, 2025 · Practically speaking, subqueries aren’t limited to the WHERE clause. They perform equally well inside FROM and SELECT sections, allowing intermediate result sets or inline calculations.

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

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

    Jun 26, 2023 · When a SELECT statement is embedded within another statement it is known as a subquery. There are two types of subqueries: basic subquery and correlated subquery. In this article …