SQL From Zero to Hero in 30 Days — Day 8 Date Manipulation

Soner Yıldırım
4 min readDec 9, 2021

Learn, practice, master.

(image by author)

The links below will be updated as we progress into the series:

Welcome to day 8 of this series!

As we move forward, the topics become more specific focusing on a particular set of operations. In this part, we will be covering different ways of manipulating dates with SQL.

Note: Although the SQL syntax is mostly the same in different RDBMSs, there are some minor differences. Thus, it is important to emphasize that we will be using Microsoft SQL Server as RDBMS in this series.

I prepared a sales table filled with mock data that we can use for the examples. Let’s first take a look at this table.

10 rows in the sales table (image by author)

--

--

Soner Yıldırım
Soner Yıldırım

Responses (1)