In this page, we will explore the useful Data Manipulation Language (DML) commands such as Insert, Update along with examples.
Add Column
Aggregate Functions
ALL
AND
ANY
Approx_Count_Distinct
BETWEEN
CASE
- CASE statement in SQL
- Querying data using the SQL Case statement
- Understanding the SQL Server CASE statement
CAST
CHARINDEX
COALESCE
Column & Table Aliases
Common Table Expressions (CTE)
- CTE SQL Deletes; Considerations when Deleting Data with Common Table Expressions in SQL Server
- CTEs in SQL Server; Querying Common Table Expressions
- CTEs in SQL Server; Using Common Table Expressions To Solve Rebasing an Identifier Column
- Inserts and Updates with CTEs in SQL Server (Common Table Expressions)
Convert
- SQL CAST and SQL CONVERT function overview
- SQL Convert Date Functions and Formats
- SQL Convert Function
Correlated Subquery
Count
CROSS APPLY
CROSS JOIN
CUBE
DATEADD
- DATEADD SQL function introduction and overview
- SQL date format Overview; DateDiff SQL function, DateAdd SQL function and more
DATEDIFF
- New date objects in SQL Server 2016 – DATEDIFF_BIG and AT TIME ZONE
- SQL date format Overview; DateDiff SQL function, DateAdd SQL function and more
DATEPART
DELETE
EXCEPT
EXISTS
FULL OUTER JOIN
GROUP BY
GROUPING SETS
HAVING
IF
IN
INNER JOIN
- A SQL join on multiple tables: overview and implementation
- A step-by-step walkthrough of SQL Inner Join
- Learn SQL: Join multiple tables
- SQL JOIN TABLES: Working with Queries in SQL Server
INSERT
- Methods to Insert Data into SQL Server
- Overview of the SQL Insert statement
- Learn SQL: INSERT INTO TABLE
INSERT INTO SELECT
INSERT Multiple Rows
INTERSECT
ISNULL
JOIN
- Introduction to Nested Loop Joins in SQL Server
- SQL Join clause introduction and overview
- SQL Join types overview and tutorial
- Understanding cursors and replacing them with JOINs in SQL Server
- SQL JOIN TABLES: Working with Queries in SQL Server
LEFT JOIN
- A SQL join on multiple tables: overview and implementation
- Learn SQL: Join multiple tables
- SQL JOIN TABLES: Working with Queries in SQL Server
LIKE
MERGE
Not NULL
NULL
OFFSET FETCH
OR
ORDER BY
OUTER Join
PARTITION BY
PIVOT
Ranking Functions
Recursive CTE
Replace
RIGHT JOIN
- A SQL join on multiple tables: overview and implementation
- SQL JOIN TABLES: Working with Queries in SQL Server
ROLLUP
ROW_NUMBER
SELECT
- CRUD operations in SQL Server
- Learn SQL: How to Write a Complex SELECT Query
- Learn SQL: SELECT statement
- SQL examples for beginners: SQL SELECT statement usage
SELECT DISTINCT
SELECT INTO
SELECT TOP
Self Join
STRING_SPLIT
Subquery
Triggers
TRIM
TRY_Convert
TRY_PARSE
Union
Union All
UPDATE
UPDATE JOIN
Where
Latest posts by SQLShack (see all)
- Best author award in 2021 - January 3, 2022
- Best author award in 2020 - January 5, 2021
- Best author award in 2019 - January 3, 2020