SQL Exercises with Questions and Solutions

HKN MZ
Towards Dev
Published in
8 min readDec 29, 2022

--

Hi everyone, with this article we will do some Sql, T-Sql exercises.

Question 1)

I have a current table with date and count column. I want to get desired table as shown below picture. To clarify desired table, I want to get total counts for each mount except 2022–12–01 this date.

--

--

I am writing about Sql Server, Elasticsearch and Python. İ am an Database Administrator on SQL Server and Elasticsearch more than 5+ years.