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:
AI AgentsAI NewsArtificial IntelligenceAWSAzureBusiness IntelligenceChatGPTDatabricksdbtDockerExcelGenerative AIGitGoogle Cloud PlatformHugging FaceJavaJuliaKafkaKubernetesLarge Language ModelsMongoDBMySQLNoSQLOpenAIPostgreSQLPower BIPySparkPythonRScalaSnowflakeSpreadsheetsSQLiteTableau
GroupTraining 2 or more people?Try DataCamp for Business

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

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

How to Best Use the SQL LIMIT Clause

Learn the application of the SQL LIMIT clause to filter data. Master the use of the LIMIT clause in PostgreSQL and MySQL databases.
Allan Ouko's photo

Allan Ouko

July 5, 2024

Understanding the LAG() Function in SQL: A Comprehensive Guide

Explore how the LAG() function allows you to access previous rows in your dataset, enabling time series analysis and comparisons of sequential observations.
Islam Salahuddin's photo

Islam Salahuddin

July 5, 2024

How to Use the SQL BETWEEN Operator

The SQL BETWEEN operator helps filter values within specific ranges, enabling efficient data analysis. Discover its various applications and full potential.
Allan Ouko's photo

Allan Ouko

July 5, 2024

How to Use the SQL IN Operator: A Guide to Efficient Filtering Techniques

The SQL IN operator allows you to filter query results to include only rows that meet specified conditions. Explore its full potential and alternatives.
Allan Ouko's photo

Allan Ouko

July 5, 2024

How to Use SQL OFFSET

Master the SQL OFFSET clause. Discover how to use ORDER BY and LIMIT to return values based on position, with practical examples, including data pagination for web applications.
Allan Ouko's photo

Allan Ouko

June 28, 2024

How to Use SQL MINUS

The SQL MINUS operator subtracts one result set from another. It is simple to use: Just place MINUS between two queries to exclude common records from the first set.
Oluseye Jeremiah's photo

Oluseye Jeremiah

June 28, 2024

Mastering SQL Date Comparisons: How to Query for Dates Greater Than a Specific Date

Learn how to query and filter a date greater than a specific date in SQL. Compare how the date greater than logic differs in MySQL, PostgreSQL, and SQL Server.
Allan Ouko's photo

Allan Ouko

June 28, 2024

Integrity Constraints in SQL: A Guide With Examples

Integrity constraints in SQL are rules enforced on database tables to maintain data accuracy, consistency, and validity, such as ensuring unique primary keys and valid foreign key relationships.
François Aubry's photo

François Aubry

June 19, 2024

ROW_NUMBER SQL Function: How to Display Row Numbers

The ROW_NUMBER() SQL function assigns sequential integers to rows within a result set, optionally partitioning the data and ordering the rows within each partition.

Kevin Babitz

June 12, 2024

How to Create Comments in SQL

Review three methods to add comments in SQL: single-line comments, multiline comments, and inline comments using the following syntax: --, /*, and */.
Laiba Siddiqui's photo

Laiba Siddiqui

May 31, 2024