SQL Interview - Employee Manager Hierarchy - Self Join

  Рет қаралды 46,625

Learn at Knowstar

Learn at Knowstar

Күн бұрын

Пікірлер: 47
@LearnatKnowstar
@LearnatKnowstar 2 жыл бұрын
Register at the below link to get US $100 off for Coursera Plus membership between Sep 8 - Sep 29, 2022. The Coursera Plus membership gets you access to unlimited courses and unlimited certifications! imp.i384100.net/Ke51on
@LearnatKnowstar
@LearnatKnowstar 4 жыл бұрын
Have you been asked a SQL query interview question that you couldn't answer? Let us know in the comments below and we will answer those in our upcoming videos!
@gagansingh3481
@gagansingh3481 2 жыл бұрын
Thank you mam for making such an amazing videos on sql , I have practice most of your videos of playlist 62 videos ..... Keep posting amazing videos
@LearnatKnowstar
@LearnatKnowstar 2 жыл бұрын
Glad it was helpful 🙏
@narayanagottipati5980
@narayanagottipati5980 4 жыл бұрын
Great video. Please upload this type of queries mam...Thanks
@kristyowens2284
@kristyowens2284 4 жыл бұрын
very useful. I have been asked this question many times in interviews.
@LearnatKnowstar
@LearnatKnowstar 4 жыл бұрын
Thank you
@surajpatil3579
@surajpatil3579 3 жыл бұрын
Thank you... your content is truly informative
@ujjwaltarway1438
@ujjwaltarway1438 2 жыл бұрын
WoW simply wonderful😇
@LearnatKnowstar
@LearnatKnowstar 2 жыл бұрын
Thank you
@AK-rw8zq
@AK-rw8zq 4 жыл бұрын
The Boss who's value is Null record not appeared in the output, please check once...
@LearnatKnowstar
@LearnatKnowstar 4 жыл бұрын
It is because of the inner join. You can change it to a Left join to get the record in the output.
@Sumit261990
@Sumit261990 4 жыл бұрын
great video , Thanks
@LearnatKnowstar
@LearnatKnowstar 4 жыл бұрын
Thank you
@ravindrasutar7490
@ravindrasutar7490 4 жыл бұрын
thanks its really helpful
@LearnatKnowstar
@LearnatKnowstar 4 жыл бұрын
Thank you
@saradacosta2543
@saradacosta2543 4 жыл бұрын
How will you query to identify the circular references in employees and manager relationship?
@lakshaysharma5012
@lakshaysharma5012 Жыл бұрын
Thanks for the informative video. Also, can you help with the insert code for the data?
@LearnatKnowstar
@LearnatKnowstar Жыл бұрын
Thank you
@AbdullahAli-yq7wm
@AbdullahAli-yq7wm 2 жыл бұрын
If you share SQL query in the description would be so helpful
@LearnatKnowstar
@LearnatKnowstar 2 жыл бұрын
We are sharing the queries in our most recent videos 👍
@nikhilkumarchaudhary9593
@nikhilkumarchaudhary9593 4 жыл бұрын
kindly share how to print this hierarchy in single column like --> adam->natasha->mark in single column
@LearnatKnowstar
@LearnatKnowstar 4 жыл бұрын
Sure, will cover this in a future video.
@manjeetrawat2351
@manjeetrawat2351 2 жыл бұрын
Use ..... group_concat But I think you have cleared your doubt
@chu1452
@chu1452 2 жыл бұрын
​@@LearnatKnowstar is the video uploaded already mam?
@PujaKiPyaariDuniya
@PujaKiPyaariDuniya 2 жыл бұрын
Please make video for full hierarchy like parents ,son , Grand parents , grand children
@LearnatKnowstar
@LearnatKnowstar 2 жыл бұрын
Thank you for your comment. You can find it here kzbin.info/www/bejne/iJ7PZIiObdOiZq8
@koteswaribapatla8075
@koteswaribapatla8075 9 күн бұрын
please include source script in description, thanks
@radhikasinhanwd
@radhikasinhanwd 2 жыл бұрын
can you help me solving a sql query for a database that contains three tables, AAID,cookies, IDAF Column Headers ● Id_type ○ AAID ○ IDFA ○ Cookie ● Device_id ● Hashed_email (SHA256) ● Timestamp ○ Unix timestamp ● Ip_address ● Opted_out ○ 1, 0 ○ 1 = opted out Querys are ● Where device_id appears more than once AND has ID type IDFA & AAID - Delete all ● IF hashed email matches more than 50 IDs (sum of cookie, idfa, aaid) - Delete all can this be deleted in single query?
@suryakanthbhullha7425
@suryakanthbhullha7425 Жыл бұрын
Thanks, if you added table populated script that will very helpful.
@LearnatKnowstar
@LearnatKnowstar Жыл бұрын
Thank you. We have started adding table scripts to our latest videos.
@kristidumais3458
@kristidumais3458 4 жыл бұрын
Thank you so much!!!
@LearnatKnowstar
@LearnatKnowstar 4 жыл бұрын
Thank you.
@priyankadevarapalli7295
@priyankadevarapalli7295 4 жыл бұрын
why is it not mentioned as self join in self join and mentioned as inner join?
@LearnatKnowstar
@LearnatKnowstar 4 жыл бұрын
Self join is a type of inner join
@hichamsabah31
@hichamsabah31 Жыл бұрын
Table a inner join Table a means you are joining a table to itself, hence self-join.
@harshamuniswamy162
@harshamuniswamy162 3 жыл бұрын
What is the difference between union and Superlative Union?
@gudiatoka
@gudiatoka Жыл бұрын
left join should be better as it skip top manager id with inner join
@KishoreKumarKokkula
@KishoreKumarKokkula 2 жыл бұрын
You did for one level only, you can't get full & complete hierarchy with just one self join, if you can make it plz share
@LearnatKnowstar
@LearnatKnowstar 2 жыл бұрын
You can find the tutorial for all levels here - kzbin.info/www/bejne/iJ7PZIiObdOiZq8
@saileelavamsikrishna
@saileelavamsikrishna 3 жыл бұрын
I was asked to find all direct and indirect subordinates with given manager name🤦🏻‍♂️
@LearnatKnowstar
@LearnatKnowstar 3 жыл бұрын
Thank you. We will be posting a video soon to find the complete employee manager hierarchy.
@cleversachin
@cleversachin 3 жыл бұрын
This is not hirearchy. hirearchy means a particular employee's entire hirearchy
@shadabchoudhary6838
@shadabchoudhary6838 Ай бұрын
Ek point ko smjhane k liye 50 line aap English bolti h aise kaise chalega madam try to speak in Hindi😅
@shadabchoudhary6838
@shadabchoudhary6838 Ай бұрын
Concept dekhe ya english smjhe tumhari😂
SQL | Pivot | Case | Convert data from Rows to Columns
7:14
Learn at Knowstar
Рет қаралды 50 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
SQL "difference between" interview questions (part 1)
8:20
Crack Concepts
Рет қаралды 635 М.
SAP Accruals & Deferrals
14:22
Vikram F, Gaurav Learning Solutions
Рет қаралды 60 М.
SQL Query | How to calculate YTD and MTD totals | Window Functions
16:01
Learn at Knowstar
Рет қаралды 43 М.
Part 1   How to find nth highest salary in sql
11:45
kudvenkat
Рет қаралды 1,9 МЛН