About 1,470,000 results
Open links in new tab
  1. SELECT examples (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 22, 2024 · This article provides examples of using the SELECT statement. The code samples in this article use the AdventureWorks2022 or AdventureWorksDW2022 sample database, …

  2. Queries - SQL Server | Microsoft Learn

    Nov 22, 2024 · Data Manipulation Language (DML) is a vocabulary used to retrieve and work with data in SQL Server and SQL Database. Most also work in Azure Synapse Analytics and …

  3. SQL Server SELECT Examples - MSSQLTips.com

    Apr 12, 2021 · In its most simple form, the SELECT clause has the following SQL syntax for a Microsoft SQL Server database: This SQL query will select all columns and all rows from the …

  4. SELECT (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 22, 2024 · The SELECT statement retrieves rows from the database and enables the selection of rows or columns from tables in the SQL Server Database Engine.

  5. SQL Query Examples - MSSQLTips.com - SQL Server Tips

    Feb 23, 2022 · If you are just getting started with writing SQL queries and looking for an introduction on how to write basic queries for Microsoft SQL Server take a look at this tutorial …

  6. SQL Server SUBQUERY with Examples - SQL Server Tutorial

    We will analyze these tables through SQL queries with the help of appropriate subqueries. The tables are represented below. We will begin with the WHERE subquery which is the simplest …

  7. sql server - How do I perform an IF...THEN in an SQL SELECT?

    Sep 15, 2008 · How do I perform an IF...THEN in an SQL SELECT statement? For example: The CASE statement is the closest to IF in SQL and is supported on all versions of SQL Server. …

  8. 75 Important queries in SQL Server every developer should know

    In this article we will learn about some of the mostly used SQL Server queries every developer should know. These queries can be asked you as an Interview Question or they are handy for …

  9. SQL Server Tutorial

    Query data efficiently from tables in the SQL Server database. Create database objects such as tables, views, indexes, sequences, synonyms, stored procedures, user-defined functions, and …

  10. SQL Server SELECT

    To retrieve data from a table, you use the SELECT statement with the following syntax: select_list. FROM . schema_name.table_name; Code language: SQL (Structured Query Language) (sql) …

  11. Some results have been removed
Refresh