SQL Interview - Employee Manager Hierarchy - Self Join #sqlinterviewquestions

preview_player
Показать описание
This video is part of the series on scenario based SQL Query Interview Questions.

This video discusses how to fetch employee manager details by implementing self joins on the same table.

For all levels of Employee Manager Hierarchy using recursion, please see the below video

For complete list of SQL Query Interview questions, please watch the below playlist

Please do not forget to like, subscribe and share.

For enrolling and enquiries, please contact us at
Рекомендации по теме
Комментарии
Автор

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!

LearnatKnowstar
Автор

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!

LearnatKnowstar
Автор

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

gagansingh
Автор

very useful. I have been asked this question many times in interviews.

kristyowens
Автор

Thank you... your content is truly informative

surajpatil
Автор

Great video. Please upload this type of queries mam...Thanks

narayanagottipati
Автор

The Boss who's value is Null record not appeared in the output, please check once...

AK-rwzq
Автор

How will you query to identify the circular references in employees and manager relationship?

saradacosta
Автор

If you share SQL query in the description would be so helpful

AbdullahAli-yqwm
Автор

Please make video for full hierarchy like parents, son,
Grand parents, grand children

PujaKiPyaariDuniya
Автор

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?

radhikasinhanwd
Автор

Thanks for the informative video. Also, can you help with the insert code for the data?

lakshaysharma
Автор

kindly share how to print this hierarchy in single column like --> adam->natasha->mark in single column

nikhilkumarchaudhary
Автор

please include source script in description, thanks

koteswaribapatla
Автор

Thanks, if you added table populated script that will very helpful.

suryakanthbhullha
Автор

What is the difference between union and Superlative Union?

harshamuniswamy
Автор

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

KishoreKumarKokkula
Автор

why is it not mentioned as self join in self join and mentioned as inner join?

priyankadevarapalli
Автор

I was asked to find all direct and indirect subordinates with given manager name🤦🏻‍♂️

saileelavamsikrishna
Автор

This is not hirearchy. hirearchy means a particular employee's entire hirearchy

cleversachin
join shbcf.ru