bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/SQL

SQL

SQL Tutorial

SQL Tutorial focused on Introduction to SQL and related concepts.

Lesson 1

SQL Tutorial

SQL is a standard language for storing, manipulating and retrieving data in databases.

Read lesson →Loading…
Lesson 2

Introduction to SQL

SQL is a standard language for accessing and manipulating databases.

Read lesson →Loading…
Lesson 3

SQL Syntax

Most of the actions you need to perform on a database are done with SQL statements.

Read lesson →Loading…
Lesson 4

SQL SELECT Statement

The SELECT statement is used to select data from a database.

Read lesson →Loading…
Lesson 5

SQL SELECT DISTINCT Statement

The SELECT DISTINCT statement is used to return only distinct (unique) values.

Read lesson →Loading…
Lesson 6

SQL WHERE Clause

The WHERE clause is used to filter records.

Read lesson →Loading…
Lesson 7

SQL ORDER BY Keyword

The ORDER BY keyword is used to sort the result-set in ascending or descending order.

Read lesson →Loading…
Lesson 8

SQL AND Operator

The WHERE clause can contain one or many AND operators.

Read lesson →Loading…
Lesson 9

SQL OR Operator

The WHERE clause can contain one or more OR operators.

Read lesson →Loading…
Lesson 10

SQL NOT Operator

The NOT operator is used in the WHERE clause to return all records that DO NOT match the specified criteria. It reverses the result of a condition from true to false and vice-versa.

Read lesson →Loading…
Lesson 11

SQL INSERT INTO Statement

The INSERT INTO statement is used to insert new records in a table.

Read lesson →Loading…
Lesson 12

SQL NULL Values

If a field in a table is optional, it is possible to insert or update a record without adding any value to this field. This way, the field will be saved with a NULL value.

Read lesson →Loading…
Lesson 13

SQL UPDATE Statement

The UPDATE statement is used to update or modify one or more records in a table.

Read lesson →Loading…
Lesson 14

SQL DELETE Statement

The DELETE statement is used to delete existing records in a table.

Read lesson →Loading…
Lesson 15

SQL SELECT TOP, LIMIT and FETCH FIRST

The SELECT TOP clause is used to limit the number of records to return.

Read lesson →Loading…
Lesson 16

SQL Aggregate Functions

An aggregate function is a function that performs a calculation on a set of values, and returns a single value.

Read lesson →Loading…
Lesson 17

SQL MIN() F unction

The MIN() function returns the smallest value of the selected column.

Read lesson →Loading…
Lesson 18

SQL MAX() Function

The MAX() function returns the largest value of the selected column.

Read lesson →Loading…
Lesson 19

SQL COUNT() Function

The COUNT() function returns the number of rows that matches a specified criterion.

Read lesson →Loading…
Lesson 20

SQL SUM() Function

The SUM() function is used to calculate the total sum of values within a numeric column.

Read lesson →Loading…
Lesson 21

SQL AVG() Function

The AVG() function returns the average value of a numeric column.

Read lesson →Loading…
Lesson 22

SQL LIKE Operator

The LIKE operator is used in a WHERE clause to search for a specified pattern within a column's text data.

Read lesson →Loading…
Lesson 23

SQL Wildcards

A wildcard character is used to substitute one or more characters in a string.

Read lesson →Loading…
Lesson 24

SQL IN Operator

The IN operator is used in the WHERE clause to check if a specified column's value matches any value within a provided list.

Read lesson →Loading…
Lesson 25

SQL BETWEEN Operator

The BETWEEN operator is used in the WHERE clause to select values within a specified range.

Read lesson →Loading…
Lesson 26

SQL Aliases

An alias is created with the AS keyword, and is often used to make a column name more readable.

Read lesson →Loading…
Lesson 27

SQL Joins

The JOIN clause is used to combine rows from two or more tables, based on a related column between them.

Read lesson →Loading…
Lesson 28

SQL INNER JOIN

The INNER JOIN returns only rows that have matching values in both tables.

Read lesson →Loading…
Lesson 29

SQL LEFT JOIN

The LEFT JOIN returns all rows from the left table (table1), and only the matched rows from the right table (table2).

Read lesson →Loading…
Lesson 30

SQL RIGHT JOIN

The RIGHT JOIN returns all rows from the right table (table2), and only the matched rows from the left table (table1).

Read lesson →Loading…
Lesson 31

SQL FULL JOIN

The FULL JOIN returns all rows when there is a match in either the left or right table.

Read lesson →Loading…
Lesson 32

SQL Self Join

A self join is a regular join, but the table is joined with itself.

Read lesson →Loading…
Lesson 33

SQL UNION Operator

The UNION operator is used to combine the result-set of two or more SELECT statements.

Read lesson →Loading…
Lesson 34

SQL UNION ALL Operator

The UNION ALL operator is used to combine the result-set of two or more SELECT statements.

Read lesson →Loading…
Lesson 35

SQL GROUP BY Statement

The GROUP BY statement is used to group rows that have the same values into summary rows, like "Find the number of customers in each country".

Read lesson →Loading…
Lesson 36

SQL HAVING Clause

The HAVING clause is used to filter the results of a GROUP BY query based on aggregate functions.

Read lesson →Loading…
Lesson 37

SQL EXISTS Operator

The EXISTS operator is used in a WHERE clause to check whether a subquery returns any rows.

Read lesson →Loading…
Lesson 38

SQL ANY Operator

The ANY operator is used to compare a value to every value returned by a subquery.

Read lesson →Loading…
Lesson 39

SQL ALL Operator

The ALL operator is used to compare a value to every value returned by a subquery.

Read lesson →Loading…
Lesson 40

SQL SELECT INTO Statement

The SELECT INTO statement is used to create a new table and fill it with data from an existing table.

Read lesson →Loading…
Lesson 41

SQL INSERT INTO SELECT Statement

The INSERT INTO SELECT statement is used to copy data from an existing table and insert it into another existing table.

Read lesson →Loading…
Lesson 42

SQL CASE Expression

The CASE expression is used to define different results based on specified conditions in an SQL statement.

Read lesson →Loading…
Lesson 43

SQL NULL Functions

Operations involving NULL values can sometimes lead to unexpected results.

Read lesson →Loading…
Lesson 44

SQL Stored Procedures

A stored procedure is a precompiled SQL code that can be saved and reused.

Read lesson →Loading…
Lesson 45

SQL Comments

Comments are used to explain SQL code, or to temporarily prevent execution of SQL code (for debugging).

Read lesson →Loading…
Lesson 46

SQL Operators

SQL operators are keywords and symbols used to perform operations with data values.

Read lesson →Loading…