I want to count the number of saturdays and sundays in a certain year. Is there any way that I can do that in sql?
Asked
Active
Viewed 145 times
0
-
What does this have to do with sql? – Strawberry Aug 01 '18 at 04:43
1 Answers
0
As alternative solution you could have a look at the answer in this post right here. It shows how to calculate the weekdays between to dates and can be easily adjusted to calculate Saturdays/Sundays.

C. Raffick
- 30
- 6