No video

LeetCode 1667 Interview SQL Question with Detailed Explanation | Practice SQL

  Рет қаралды 3,585

Everyday Data Science

Everyday Data Science

2 жыл бұрын

Question: leetcode.com/p...
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.
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

Пікірлер: 9
@meenayegan6634
@meenayegan6634 2 жыл бұрын
A simple variation: select user_id, upper(left(name , 1))+ lower(substring(name,2,len(student_name)-1)) from Users order by user_id
@elitebook9473
@elitebook9473 Жыл бұрын
wow sir you are awesome you explain everthing in simple way your teaching manner i love it please keep it up sir we need you
@EverydayDataScience
@EverydayDataScience Жыл бұрын
Glad that you are finding the videos helpful. Thanks for such kind words.
@larissayu8853
@larissayu8853 7 күн бұрын
can we first lower the name column and then upper the first letter? upper(substring(lower(name),1,1))
@shubhamsukum
@shubhamsukum Жыл бұрын
Arigato!!
@bhamjjjjjj
@bhamjjjjjj Жыл бұрын
Why can't we go with regexp in oracle?
@phanphancharee4838
@phanphancharee4838 2 жыл бұрын
Why we Len-1 ? Alice :len = 5 ? Or it counts 0,1,2,3,4?
@EverydayDataScience
@EverydayDataScience 2 жыл бұрын
Because we are starting from 2nd letter. So for Alice, we extracted out the first letter ‘a’ and used upper to make it capital. Now everything after letter ‘a’ needs to be small. So since we are starting from second letter that is ‘l’, what is the remaining number of characters? It is LICE , which is 4. In other words, LENGTH(Alice)-1 I hope this clears your doubt.
@pranavjadhav4671
@pranavjadhav4671 Жыл бұрын
we are staring from 2 so it goes till lenght(name)which is one letter exceed like (alice) from 2 which from l to lenght(name)=5 which is "lice_" one extra space so length(name)-1
LeetCode 1543 Interview SQL Question with Detailed Explanation | Practice SQL
7:26
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 33 МЛН
The Joker saves Harley Quinn from drowning!#joker  #shorts
00:34
Untitled Joker
Рет қаралды 60 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 31 МЛН
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Anton Putra
Рет қаралды 139 М.
Database Indexing for Dumb Developers
15:59
Laith Academy
Рет қаралды 52 М.
SQL Joins: Difference Between Inner/Left/Right/Outer Joins
10:52
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 266 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 352 М.
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 33 МЛН