Solving SQL Interview Query | SQL Problem by Service based company
In this video we solve an SQL Interview query which was asked by one of the biggest IT services company in the world.
We have been given the cumulative sum of distance traveled by a car and we are required to write a SQL query to calculate the actual distance traveled by a car for each day.
In this video, I will not only provide you the solution but will also go through step by step on how to solve such problems, what should the thinking be when solving such SQL problems.
You can download the dataset, scripts and SQL Queries used in this video by clicking below: