LeetCode 197 - Rising Temperature | SQL Self-Join Interview FAANG

preview_player
Показать описание
Here is how to solve LeetCode 197 - Rising Temperature using SQL. In this video we will explore and take a look at a SQL interview question problem often used by FAANG (Facebook, Amazon, Apple, Netflix and Google) and similar tech companies, and solve it during this walkthrough/tutorial.

We conduct a self join on a table to connect with and compare a table's current-day values with the preceding day's value. Using a date function is required to do this properly.

Please give the video a THUMBS UP if you found it helpful. Your support to the channel is appreciated.

Contents -
0:00 - Understanding the Problem
2:17 - Solution Walkthrough

Please give the video a THUMBS UP if you found it helpful. Your support to the channel is appreciated.

#leetcode #sqlinterview #faanginterview #faang
Рекомендации по теме
Комментарии
Автор

I don't understand the self join. How does it know which table is yesterday and which table is today?

Lifebeam
Автор

how the computer knows that this table is yesterday, didn't get your logic, why are we using datediff make me understand

kashishlohiya
visit shbcf.ru