Solving LeetCode Interview SQL Question with Detailed Explanation | Practice SQL | LeetCode 175

preview_player
Показать описание
In this video I solve and explain a 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.

SQL Schema:
Create table If Not Exists Person (personId int, firstName varchar(255), lastName varchar(255))
Create table If Not Exists Address (addressId int, personId int, city varchar(255), state varchar(255))
Truncate table Person
insert into Person (personId, lastName, firstName) values ('1', 'Wang', 'Allen')
insert into Person (personId, lastName, firstName) values ('2', 'Alice', 'Bob')
Truncate table Address
insert into Address (addressId, personId, city, state) values ('1', '2', 'New York City', 'New York')
insert into Address (addressId, personId, city, state) values ('2', '3', 'Leetcode', 'California')

I explain the related concept as well. This question is about combining two tables and also 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
Рекомендации по теме
Комментарии
Автор

I was frustrated with Sql then I found your channel. ❤❤amazing way of explanation .thankyou sir

SatyamKumar-pdqy
Автор

Finally I got a MASTERPIECE...Actually I really needed this playlist..Thanks for this...

supriyabharambe
Автор

Glad to find this channel.... So nice way of explanation. Right pace, right depth of analysis and above all showing us right way of approach in writing a query !!! Thanks :)

Sravanti-ob
Автор

Truly Awesome Way of explanation. Lucky enough to find this channel. Thanks a lot for Beautiful Explanation.

saibabatelagamsetty
Автор

I HAVE STARTED SOLVING 1 DAILY USING YOU

mlvprasadofficial
Автор

sir I really want to support your channel, you are such a excellent teacher to me

chinnigeddi
Автор

This is very helpful. and easy to understand

radhadeshmukh
Автор

please add the problem link in the description

TodayContestSolution
Автор

Amazing video. Requesting you to please add the leetcode question link in the description. Thanks.

krishnachoudhary
Автор

Thanx brother for putting in lots of efforts and making our life easier. thanx again🙏🙏🙏🙏

oftentrain
Автор

This is SOOO HELPFUL ....THANKS FOR SHARING

ADITIPS
Автор

You are fantastic. I can learn a lot from your video.

phanphancharee
Автор

Today i m starting this playlist day 1

poojaprajapati-frty
Автор

Thank you for the wonderful video sir, it is so helpful for me and my team and the giving us the schema is very useful as well sire

pravinprince
Автор

Great video and channel. Just what I was looking for.

yunapodgaezki
Автор

Can we get access to the questions on your blog or something?

yogamayaa
Автор

Starting doing this amazing playlist.
Thank you.

aakashmittal
Автор

Really this video is soothing comfort from confusion :-)

kondrumanasa
Автор

Thanks a lot bro these videos are very helpful 😊

Yaseen-lj
Автор

Please make videos on tableau, powerbi

kadichidu