LeetCode Medium 1077 Interview SQL Question with Detailed Explanation

preview_player
Показать описание

In this video I solve and explain a medium difficulty leetcode SQL question using MySQL query. This question has been asked in Apple, Facebook, Amazon, Google, Adobe, Microsoft, Adobe interviews or what we popularly call FAANG interviews.
I explain the related concept as well. This question includes points to keep in mind to develop SQL queries.

LeetCode is the best platform to help you enhance your skills, expand your knowledge and prepare for technical interviews.

If you found this helpful, Like and Subscribe to the channel for more content.

#LeetCodeSQL #FAANG #SQLinterviewQuestions
Рекомендации по теме
Комментарии
Автор

SELECT a.project_id, a.employee_id FROM
(
select a.project_id, a.employee_id, rank() over ( partition by project_id order by experience_years desc) as rnk
from Project a inner join Employee b on a.employee_id =b.employee_id
) A
WHERE rnk = 1

expandingourselves
Автор

Great 🙏 explanation
Please add SQL Schema in the description when you get some time.

souradeep.official
welcome to shbcf.ru