MSDN Documentation

SQL Overview

Structured Query Language (SQL) is the standard language for relational database management systems. It enables you to create, read, update, and delete (CRUD) data, as well as manage database structures and control access.

Key Concepts

Basic SELECT Example

SELECT
    FirstName,
    LastName,
    Email
FROM
    Users
WHERE
    IsActive = 1
ORDER BY
    LastName ASC;

Creating a Table

CREATE TABLE Employees (
    EmployeeID INT PRIMARY KEY,
    FirstName NVARCHAR(50) NOT NULL,
    LastName NVARCHAR(50) NOT NULL,
    HireDate DATE,
    Salary DECIMAL(10,2)
);

Resources