Skip to main content
Category
Technologies

SQL Tutorials

Keep up to date with the latest techniques and resources for SQL Server. Our tutorials are full of free SQL Server training tips to help you learn, build, & grow.
Other technologies:
SQL

SQL UPDATE with JOIN: How it Works

Learn how UPDATE with JOIN in SQL simplifies cross-table updates in SQL Server. Understand how INNER JOIN and LEFT JOIN differ for specific use cases, and explore alternatives using subqueries or the MERGE statement.
Allan Ouko's photo

Allan Ouko

September 11, 2024

SQL

How to Use a SQL Alias to Simplify Your Queries

Explore how using a SQL alias simplifies both column and table names. Learn why using a SQL alias is key for improving readability and managing complex joins.
Allan Ouko's photo

Allan Ouko

September 6, 2024

SQL

SQL LEFT JOIN vs. LEFT OUTER JOIN: What You Need to Know

LEFT JOIN and LEFT OUTER JOIN in SQL are identical, with no functional difference between them. Keep reading to explore practical examples and discover how to apply these joins effectively in your queries.
Vikash Singh's photo

Vikash Singh

August 30, 2024

SQL

SQL OR Operator: A Guide with Examples

The SQL OR operator allows you to filter data by combining multiple conditions, returning rows where at least one condition is true. Learn how to use OR with INSERT, UPDATE, and DELETE statements to modify records in tables.
Allan Ouko's photo

Allan Ouko

August 27, 2024

SQL

SQL Triggers: A Guide for Developers

Learn how to use SQL triggers to automate tasks, maintain data integrity, and enhance database performance. Try practical examples like the CREATE, ALTER, and DROP commands in MySQL and Oracle.
Oluseye Jeremiah's photo

Oluseye Jeremiah

August 15, 2024

SQL

Understanding the SQL DECODE() Function

Learn how to use DECODE() in Oracle for conditional logic in data transformation. Compare DECODE() to the CASE WHEN statement in performance and behavior.
Allan Ouko's photo

Allan Ouko

August 6, 2024

SQL

How to Use SQL PIVOT

Enhance your SQL skills with the SQL PIVOT operator. Learn to convert rows into columns to create pivot tables in SQL Server and Oracle.
Allan Ouko's photo

Allan Ouko

July 26, 2024

SQL

SQL SUM() Function Explained

Discover the power of the SQL SUM() function for data aggregation. Learn how to implement rolling sums, cumulative sums, and sum multiple columns effectively.
Allan Ouko's photo

Allan Ouko

August 15, 2024

SQL

UNION vs UNION ALL in SQL

Discover the output and performance differences between UNION and UNION ALL: UNION removes duplicates while UNION ALL includes them.
Vikash Singh's photo

Vikash Singh

July 19, 2024

SQL

How to Use the SQL REPLACE() Function

Learn the application of the SQL REPLACE() function in text manipulation. Understand the use of the REPLACE() function in data cleaning and database management.
Allan Ouko's photo

Allan Ouko

July 8, 2024

SQL

How to Use the SQL EXISTS() Operator

Learn how to use the SQL EXISTS() operator for subquery evaluation and filtering, complete with examples, best practices, and tips for optimizing your queries.
Allan Ouko's photo

Allan Ouko

July 8, 2024