All Posts

MySQL Aliases

Aliases are nicknames. They give us a shorthand way of...

Count Apples And Oranges Problem

LeetCode 1715. Write an SQL query to count the number...

MySQL OR Operator

The OR operator combines two Boolean expressions and returns true...

MySQL LIMIT Operator

The LIMIT clause is used in the SELECT statement to...

MySQL LIKE Operator

The LIKE operator is used in a WHERE clause to...

MySQL IS NULL Operator

To test whether a value is NULL or not, we...

MySQL IN Clause

The IN operator allows us to determine if a specified...

MySQL BETWEEN Operator

The BETWEEN operator selects values within a given range.


MySQL AND Operator

The AND operator is a logical operator that combines two...

MySQL WHERE Clause

The WHERE clause allows us to choose which rows are...

MySQL DISTINCT Clause

In order to remove duplicate rows, we use the DISTINCT...

Biggest Window Between Visits Problem

LeetCode 1709. Write an SQL query that will, for each...

MySQL ORDER BY Clause

The ORDER BY clause is used to sort the result-set...

MySQL SELECT Statement

The SELECT statement allows us to read data from one...

MySQL Tutorial List

A growing list of MySQL tutorials.

Total Sales Amount By Year Problem

LeetCode 1384. Write an SQL query to report the Total...