Monthly timelines can help us plan the year and keep track of the company progress. If we set a goal to earn 100M this year, it’s better to know that we’re on the wrong track after the first month (in case revenue is far below 8M) rather than in December.
Yearly timelines can help us prepare for raising VC funds or when we’re getting nostalgic
In the previous lesson we’ve learned about
DATE_TRUNC('datepart', timestamp) function. That’s all we need to create monthly or yearly timelines, we just need to specify ‘month’ or ‘year’ as datepart:
Sign up and check out 36 free lessons and exercises.
About SQL Habit
Hi, it’s Anatoli, the author of SQL Habit.
SQL Habit is a course (or, as some of the students say, “business simulator”). It’s based on a story of a fictional startup called Bindle. You’ll play a role of their Data Analyst and solve real-life challenges from Business, Marketing, and Product Management.
SQL Habit course is made of bite-sized lessons (you’re looking at one atm) and exercises. They always have a real-life setting and detailed explanations. You can immediately apply everything you’ve learned at work.