- 15
- 9 059
Data Bytes
Приєднався 24 кві 2021
Data Bytes :- A complete learning hub for learning enthusiasts.
SQL Coding Interview Questions| Binary Tree Nodes HackerRank full solution with various approaches
In this video we will discuss SQL Coding Interview Questions asked in Live Interviews by various companies during their hiring process and we will also see the approach to solve them.
HackerRank Problem Link :- www.hackerrank.com/challenges/binary-search-tree-1/problem?isFullScreen=true
👉 SQL Coding Interview Question Series 👇:-
ua-cam.com/play/PLYbo7AarINx8IusMobxcKrPQquRJHcu_8.html
👉 Window Functions(Ranking Functions) video 👇:-
ua-cam.com/video/uW5WyvvY6m0/v-deo.html
👉 Window Functions(Ranking Functions) free notes 👇:-
windowfunctionsql.blogspot.com/2022/01/functions-in-sql-window-functions-are.html
👉 Importing excel data as table to ms sql server 👇:-
ua-cam.com/video/BimTV1u4Jd0/v-deo.html
👉 Please do like and share the video if it is helpful for you. Also please subscribe the channel and press the bell button to get notified about any new video.
👉 To get updates on more such videos and various SQL Interview experiences join the community of all SQL coders, developers, Analysts, data scientists, Data Engineers here :-
t.me/Join_Data_Bytes
Please give your valuable feedback about the Video and do subscribe my channel and share it with all needed ones.
Thank You !
#SQLinterviewQuestions #SQL #Data_Engineering
#SQLforInterview
#DataAnalyst #DataScientist
#DataEngineer #Amazon
#Dunzo #Flipkart #Hotstar #Myntra #WindowFunctions
#RANK #DENSE_RANK #LEAD #LAG #ROW_NUMBER
#SQLDBAInterview #SQLServerInterView
#DataEngineerInterView #DEInterview #DataScientistInterView
#amazonSQlInterviewQuestions
#SQLAmazonInterviewQuestions
#Data #Bytes
#data #bytes #Databytes
HackerRank Problem Link :- www.hackerrank.com/challenges/binary-search-tree-1/problem?isFullScreen=true
👉 SQL Coding Interview Question Series 👇:-
ua-cam.com/play/PLYbo7AarINx8IusMobxcKrPQquRJHcu_8.html
👉 Window Functions(Ranking Functions) video 👇:-
ua-cam.com/video/uW5WyvvY6m0/v-deo.html
👉 Window Functions(Ranking Functions) free notes 👇:-
windowfunctionsql.blogspot.com/2022/01/functions-in-sql-window-functions-are.html
👉 Importing excel data as table to ms sql server 👇:-
ua-cam.com/video/BimTV1u4Jd0/v-deo.html
👉 Please do like and share the video if it is helpful for you. Also please subscribe the channel and press the bell button to get notified about any new video.
👉 To get updates on more such videos and various SQL Interview experiences join the community of all SQL coders, developers, Analysts, data scientists, Data Engineers here :-
t.me/Join_Data_Bytes
Please give your valuable feedback about the Video and do subscribe my channel and share it with all needed ones.
Thank You !
#SQLinterviewQuestions #SQL #Data_Engineering
#SQLforInterview
#DataAnalyst #DataScientist
#DataEngineer #Amazon
#Dunzo #Flipkart #Hotstar #Myntra #WindowFunctions
#RANK #DENSE_RANK #LEAD #LAG #ROW_NUMBER
#SQLDBAInterview #SQLServerInterView
#DataEngineerInterView #DEInterview #DataScientistInterView
#amazonSQlInterviewQuestions
#SQLAmazonInterviewQuestions
#Data #Bytes
#data #bytes #Databytes
Переглядів: 576
Відео
SQL Coding Interview Questions #8| Most commonly asked SQL interview Questions | Data Bytes |
Переглядів 51111 місяців тому
This is a logical scenario based SQL question asked in one of the reputed MNC. We just need to apply basic SQL concepts and solve this. 🚀 In this challenge, we dive into the world of employee data, where we'll be analyzing user login and logout activities for a specific day. And finally we have to calculate the total work duration for each employee in minutes. 🕒💻 👉 Upcoming Videos:- - Python in...
SQL Coding Interview Questions #7| Finding Nth(1st, 2nd, 3rd... N) Highest Salaried Employees in SQL
Переглядів 5382 роки тому
In this video we will discuss SQL Coding Interview Questions asked in Live Interviews by various companies during their hiring process and we will also see the approach to solve them. Given Data 👉:- You are given a table named as Employee Problem 1 👉:- Finding Nth highest Salaried Employees Problem 2 👉:- Finding Nth highest Salaried Employees in every department. 👉 Concepts Covered :- ✍️Writing...
SQL Coding Interview Questions #6| Mastering SQL Interview| All Service and Product based companies
Переглядів 3893 роки тому
In this video we will discuss SQL Coding Interview Questions asked in Live Interviews by various companies during their hiring process and we will also see the approach to solve them. Given Data 👉:- You are given a table named as TEAMS having two columns 'Team_Code' and 'Status' Problem 1 👉:- Write a query to output name of the teams (Team_code) who has status as 'WON' as well as 'LOSS'. Proble...
SQL Window Functions | Query Writing using Window Functions for Interviews| Data Bytes
Переглядів 3903 роки тому
This video contains detailed explanation of various Window Functions available in SQL. The SQL Window Functions explained in this video are same in all the RDBMS's like MS SQL Server, MySQL, DB2, PostgreSQL etc. The time stamps are as follows:- Introduction:- 00:00 Ranking Functions Overview:- 01:30 Row_Number( ):- 03:00 Partition by :- 05:55 Rank( ):-07:47 Dense_Rank( ):- 13:40 Summary/Compari...
SQL Coding Interview Questions #5| Mastering SQL Interview| All Service and Product based companies
Переглядів 3843 роки тому
Given Data:- You are given two tables named as "Regular_Customer" and "Premium_Customer" as shown below. Problem Statement:- Write a query to output Customer Names who are Regular Customer but not Premium Customer. But you can use only "Joins" to solve this and you can not use any "subquery" or "not in" expression. Import excel data as Table to SQL-Server:- ua-cam.com/video/BimTV1u4Jd0/v-deo.ht...
SQL Coding interview Questions | SQL for interview| Amazon|Myntra|Flipkart|Accenture|TCS| Data Bytes
Переглядів 6283 роки тому
Given Data:- You are given Employee data having Start and End Date of every employee in organization. Problem:- Write a query to output Number of Employees in the organization for every Month for the given data. Employee data and date data excel files:- docs.google.com/spreadsheets/d/1Z5XCaO_JN8PUznsTvsvqbWRO9NOomPxh/edit?usp=sharing&ouid=111419140250683420215&rtpof=true&sd=true Import excel da...
Import Excel data as table | Import data from Excel to SQL Table | Excel data to MySql | Data Bytes
Переглядів 1113 роки тому
In this video we will see how to import excel sheet/sheets as table/tables to MS SQL server so that we can write queries on it and do various analysis. 👉 SQL Coding Interview Question Series 👇:- ua-cam.com/play/PLYbo7AarINx8IusMobxcKrPQquRJHcu_8.html 👉 Window Functions(Ranking Functions) 👇:- ua-cam.com/video/uW5WyvvY6m0/v-deo.html 👉 Window Functions(Ranking Functions) free notes 👇:- windowfunct...
SQL Coding interview Questions | SQL for interview| Amazon|Myntra|Flipkart|Accenture|TCS| Data Bytes
Переглядів 8003 роки тому
This is a logical scenario based SQL question where you just need to apply basic SQL concepts and solve this. This type of questions are commonly asked in almost all companies SQL interviews. So it's better to prepare as many questions of this type as you can. for more such questions you can see other Videos on my channel. 👉 SQL Coding Interview Question Series 👇:- ua-cam.com/play/PLYbo7AarINx8...
SQL Coding Interview Questions #2| Symmetric pairs HackerRank full solution | Data Bytes
Переглядів 3,3 тис.3 роки тому
This is a logical scenario based SQL question where you just need to apply basic SQL concepts and solve this. This type of questions are commonly asked in almost all companies SQL interviews. So its better to prepare as many questions of this type as you can. for more such questions you can see other Videos on my channel. 👉 SQL Coding Interview Question Series 👇:- ua-cam.com/play/PLYbo7AarINx8I...
SQL Coding Interview Questions |SQL for Interview | Amazon| Infosys| Accenture|TCS | Data Bytes
Переглядів 8753 роки тому
Given Data:- Table_X and Table_Y having only one column in each Table. Problem:- What will be the result of following joins on above two tables:- a) Inner join. b) Left outer Join. c) Right outer join. d) Full outer join. Hi guys, This is our first video . We have tried to cover the concepts as much as possible. Going forward we will be bringing more videos on coding questions from some of the ...
Hii sir, your explanation is very good...i was stuck in symmetrical pair hackerrank question , saw many videos but after many video i found yours with clear explanation but your channel has very few videos...i am trying to enter into data analytics role...please help me and others to do so...upload more videos regularly and help us reach the goal...i am from non IT so please guide us accordingly...thanks a lot ❤
Hey, can anyone explain why my MYSQL solution is wrong? with Functions_symmetric as ( select Functions.y as x2, Functions.x as y2 from Functions ), Joined_tables as ( select Functions.x, Functions.y, Functions_symmetric.x2, Functions_symmetric.y2 from Functions inner join Functions_symmetric on Functions.x = Functions_symmetric.y2 and Functions.y = Functions_symmetric.x2 ) select distinct x, y from Joined_tables where x <= y order by x asc;
Basically /* root is the one which has no parent, hence P is null leaf is the one which is not a parent, hence N not in (where P is not null) inner has to be the one which is a parent but not root, hence all parents except root */
ua-cam.com/video/qaplI-eU_eQ/v-deo.html
ua-cam.com/video/wkOTreqXUdQ/v-deo.htmlsi=YdydZU3nutF-tAKN
bro do u have any real time data engineer project with the problems faced
You mean project which includes real time data ingestion pipelines? Or any Data Engineering project?
bro i wanted the problems faced in a real life as a working data engineer like all the situation those happen while working, for facing interview it will be a great help @@databytes007
data engineering project with real time situations@@databytes007
data engineering project with real time scenarios in that project like the problems faced doing the project@@databytes007
Find complete solution here. ua-cam.com/video/xx5QQu-yR8A/v-deo.html
Great video.pls provide a create and insert statement if possible for those who wish to try.
Sure will try to add those in upcoming videos. Thanks for the feedback!
How to do this without using windows function? The question on hackerrank is filed under Advanced Joins and not Windows Functions. I am wondering how to solve this without Windows Functions.
Thanks
Great video, thank you sir!
Thank you so much for posting this. I was stuck on Hackerank for trying to figure out the solution. The way you explained it, it really helps. :)
Thanks a lot, buddy. It was really helpful Interesting stuff on the channel
Thanks Rahul, please do subscribe to our channel and share it as well with others if you found this helpful.
Nice video, but whee is lead and Lag
what is " from[Function]" in your row_number statement???
Hi TJ, Function is the name of the table provided to us, since Function is an already defined keyword (like SELECT, FROM, WHERE etc) in MS SQL so we can not directly write our query like:- "Select * from Function" we have to write it like:- "Select * from [Function]" That is why it is used like that in above row number statement. I hope your doubt has been cleared now. If not do let us know, happy to assist more.
Intersect is very smart.
very informative video and nicely explained
Nice video bro I like your videos
Thankyou vikin 🤗🤗
Very nicely explained, Handy during preparing for interviews!!Thanks and keep making such videos.
Thanks for your valuable comment Sagar...!! We will make sure to bring more such videos ASAP..!!
other approach (But almost similar): SELECT r.name FROM dbo.regular r FULL outer join dbo.PREMIUM p ON r.name = p.p_name WHERE p.p_name IS NULL;
Yes Parth this solution will also work and logic wise it is almost similar to what we have used in the video but performance wise it will be slower (if we do this on very large datasets). Anyways here they are only asking for a working solution using joins so it is correct one. Well done !
@@databytes007 yes performance wise it's slower as *Full outer join*
@@parthshinde5966 yes correct..
Things are explained really in a simpler manner..Thanks for informative videos👍👍really helpful
Using Subquery and not in: select * from Regular_Customer rc where rc.name NOT IN (select pc.name from Premium_Customer pc); Note: Since there is only one column 'name' the * will work otherwise we can specify rc.name in the outer select. Please let me know, if this looks good.
Hi Ayushi, that's perfectly fine. This is how we can achieve this using Subquery. Appreciated !!
@@databytes007 Thank you!
Pls explain about recursive CTE. Thanks
Yes sure sir, video for that is in pipeline currently and we will release it as soon as possible.
Very Informative, thanks for the puzzles. One small request bro, Please do videos on Advanced Topics in SQL Server like Tunining, Indexes, Row Level Security , Data Encryption etc., Thanks
Thanks sir..!! Currently the focus is on most commonly asked sql coding interview questions series, we will try to cover these concepts in that sir. And once that is done we will surely tru to bring a separate series for these topics as well...
very good and informative video sir, I had got similar question in one of my sql rounds. I waa not able to answer it at that time. But now I got the concept. Thanks for this video.!!
Thanks sir, we are continuously bringing the questions which are asked most commonly in any interviews where sql round is there. So please be updated with our other videos as well. It will surely help you. Thanks for the appreciation...!!
It was of great help 👍
Helpful 🙏 can u pls put some light on Bigdata ,python and Machine learning interviews as well
Thank you 🤗...sure Ma'am ... Will do that as well in upcoming videos.....stay updated...
Nicely explained. Please share more videos Sir.
Thanks for you valuable feedback Sir . As per your demand a new video has been uploaded so please go and check that out 🤗🤗👍.
Good work...keep it up