Top 10 SQL interview Questions and Answers | SQL Interview Questions (Must Watch)

Поделиться
HTML-код
  • Опубликовано: 13 июл 2024
  • Top 10 SQL interview Questions and Answers | SQL Interview Questions (Most Important)
    Want more similar videos- hit like, comment, share and subscribe !
    🔖SQL Interview Q&A PDF: drive.google.com/file/d/1BVq6...
    ❤️Do Like, Share and Comment ❤️
    ❤️ Like Aim 5000 likes! ❤️
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    👍 Subscribe Now: bit.ly/3Fc7Gc6
    Do you want to become a Data Analyst or learn data analytics ? This channel is all about learning data science skills, tips and projects. My goal is to help you learn everything you need to start or switch your career into data science :)
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    ⭐Content⭐
    00:00 Intro
    01:20 Create Table
    03:00 SQL Interview Question-1
    12:18 SQL Interview Question-2
    22:20 SQL Interview Question-3
    29:50 SQL Interview Question-4
    33:21 SQL Interview Question-5
    39:28 SQL Interview Question-6
    46:46 SQL Interview Question-7
    53:09 SQL Interview Question-8
    57:00 SQL Interview Question-9
    59:18 SQL Interview Question-10
    1:02:08 SQL Interview Question Bonus
    1:04:12 Outro
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    More SQL for data science Videos:
    📢Full SQL Tutorial in One Video: • SQL Tutorial for Begin...
    🔖Most Asked SQL Interview Question: • Top SQL interview Ques...
    🔖SQL Tutorial Playlist: • SQL Tutorial In Hindi
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    👉Topics covered in this video:
    SQL SELECT statement
    SQL OPERATORS
    SQL JOINS
    SQL SUB QUERY
    SQL DATE TIME FUNCTIONS
    SQL CTE
    SQL CASE STATEMENT
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    📣Want to connect with me? Check out these links:📣
    👉Instagram: / rishabhnmishra
    👉LinkedIn: / rishabhnmishra
    👉Twitter: / rishabhnmishra
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    More Related Videos:
    📢Full Excel Tutorial in one Video: • Excel Tutorial For Beg...
    🔖Excel Tutorial Playlist: • Excel for Beginners | ...
    🔖Complete Data Analyst Roadmap: • How to Become Data Ana...
    🔖Data Analyst Roadmap, Skills and Jobs: • Data Analyst- Skills, ...
    🔖What Does a Data Analyst Actually Do?: • What Does a Data Analy...
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    Hope you liked this video and learned something new :)
    See you in next video, until then Bye-Bye!
    .
    .
    .
    .
    .
    .
    .
    .
    .
    ⭐Hashtags⭐
    #sql #sqlinterviewquestions #sqlinterviewquestionsandanswers #sqlquestions
    Related keywords
    sql interview questions
    sql interview questions and answers
    sql interview
    sql questions and answers
    top sql questions
    sql rishabh mishra
    sql interview questions for freshers
    sql interview questions for beginners
    sql interview questions for experienced
    intermediate level sql interview questions
    sql queries interview questions and answers
    sql interview preparation
    sql basic questions
    sql questions
    sql query
    interview questions sql
    interview question sql join
    interview questions sql basic
    Advanced SQL Interview Questions Answer
    Top 10 SQL Interview Questions Answer
    SQL Interview Questions in hindi
    SQL Interview Questions and answers for Freshers and Experienced
    Top 10 SQL Interview Questions Answer
    SQL Interview Questions Answer
    SQL Interview hindi
    SQL Interview Questions for freshers
    SQL Interview Questions and answers for freshers
    SQL Roadmap 2023
    SQL Interview Questions 2023
    SQL Interview Experience Interview questions for SQL Experienced
    BEST SQL Interview Questions
    Top 10 SQL interview Questions and Answers | SQL Interview Questions

Комментарии • 526

  • @sanchitkanojia5460
    @sanchitkanojia5460 Год назад +59

    Awesome Bhaiya 🔥🔥🔥
    I learned whole SQL from your videos. Your explanation is another level🔥🔥.

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  Год назад +8

      Glad it was helpful ✅️
      Keep learning n keep growing 🚀

    • @hk0153
      @hk0153 Год назад +11

      Mere job interview mei bhi same questions aye the 👍👍

    • @vrindakunj
      @vrindakunj Год назад +2

      This is best 👍

    • @sanchitkanojia5460
      @sanchitkanojia5460 Год назад +3

      @@RishabhMishraOfficial one request Bhaiya if you have more questions on SQL related to interview please share with us as soon as possible. I almost done with SQL for data analyst interview. Right now I am practicing.
      I loved your content 🔥🔥🔥

    • @ihgamingfun6295
      @ihgamingfun6295 Год назад +1

      @@sanchitkanojia5460 gud luck 🤞

  • @SSS-xm2dh
    @SSS-xm2dh 10 месяцев назад +8

    Your teaching is truly exceptional. Your SQL tutorials have been an immense help to me. I was wondering if you might consider creating a comprehensive video series that covers Power BI, starting from the basics and progressing to advanced topics. Your teaching style is fantastic, and I believe many learners, including myself, would greatly benefit from such a series.

  • @user-dh1ys1di3r
    @user-dh1ys1di3r 5 месяцев назад +2

    Great work Rishabh. You're the best. 100% trust in your work and efforts.

  • @deepakbehara198
    @deepakbehara198 Год назад +12

    for 6th question we can also use simple window function to solve it:
    with cte as(
    select *,dense_rank() over(order by salary desc) as rnk
    from Employee
    )
    select distinct cte.salary from cte
    where cte.rnk = 2 # 2nd highest salary

    • @rohitkumarraghav6307
      @rohitkumarraghav6307 6 месяцев назад

      yes and that is simple too ,i did that way

    • @ashwinkrishnan1287
      @ashwinkrishnan1287 2 месяца назад

      As a general thumb rule we shouldn’t write co related sub queries in practice because of poor performance so better to use window functions

  • @bhagyashreepadme455
    @bhagyashreepadme455 24 дня назад +2

    your's way of explanation is very nice.....

  • @itzreet6792
    @itzreet6792 10 месяцев назад +4

    Hey brother !!
    SQL Server: Since you mentioned SQL Server, focus on learning the specific features and tools provided by SQL Server, such as SQL Server Management Studio (SSMS) for administration, SQL Server Integration Services (SSIS) for data integration, and SQL Server Reporting Services (SSRS) for reporting.
    Please make video on this

  • @kazeenakathoon7205
    @kazeenakathoon7205 8 месяцев назад

    Best teacher, i would understand your teachings easily Alhamdulillah. I have watched and taken notes of your excel, sql and power bi videos. Waiting for python videos. You keep teaching and keep growing.

  • @abhishekkumar-qi3is
    @abhishekkumar-qi3is Год назад

    Awesome vedio please come with more scenarios based interview questions.thanks

  • @AK-wu2yp
    @AK-wu2yp 11 месяцев назад +4

    Brother, we have one query, that is, which type of data are used to analyse in mnc firms where we are supposed to work. Please make one project on power BI related to that problem. For example any of the queries related to your job profile, will give us more confidence 🙏

  • @digitalcreator297
    @digitalcreator297 6 месяцев назад

    Thank you brother...i needed this video for my upcoming interviews 😊

  • @kanikagupta4571
    @kanikagupta4571 6 месяцев назад +1

    Seriously You are God for me, so impressive. I started following you from yesterday You are giving me so much confidence to pursue.

  • @user-km1me9sb1h
    @user-km1me9sb1h 5 месяцев назад +3

    for mysql users this is the query
    SELECT
    Gender,
    count(*) * 100.0 / (select count(*) from employee ) as ratio
    FROM
    Employee
    GROUP BY
    Gender;

  • @sfk21
    @sfk21 7 месяцев назад +1

    thank you Rishabh You are a great teacher for me

  • @user-sr3iu2pl3r
    @user-sr3iu2pl3r 4 месяца назад +1

    It was great work brother. Thank You for the teach this. God Bless you

  • @chinajong-tq1es
    @chinajong-tq1es Год назад +7

    You are great and no 1 who made excellent projects . I learnt how to make dashboards on excel from u only and also sql from u and power bi ❤❤❤❤❤. Thanks for everything bhaiya . We are expecting lot from you . Please make combined projects like sql+ tabluea or sql + excel bhaiya

    • @AK-wu2yp
      @AK-wu2yp 11 месяцев назад

      We want a combined project, related to mnc job profile. Those are realistic problems related to your daily work experience.🙏

    • @ehisolojo4502
      @ehisolojo4502 11 месяцев назад

      Please help. How were you able to listen to the video in english? I don't understand his language. Please help. Thanks

  • @vishalchhabra2481
    @vishalchhabra2481 11 месяцев назад +1

    Your Explanation is best and easy to understand for Beginners..............Thankyou So Much Sir😊🙏

  • @bhavinpadhiyar9829
    @bhavinpadhiyar9829 4 месяца назад +1

    Thank you Rishabh, for this SQL tutorial. You are doing great!! Your explanation gives quick idea to understand.👌

  • @randomguy5183
    @randomguy5183 Год назад +6

    Best sql qna video, was waiting for this video ❤❤🙏🙏

  • @SATENDRAKUMAR-jk8jf
    @SATENDRAKUMAR-jk8jf 10 месяцев назад +1

    bhai Your explanation is mind-blowing I did never thought like this thank you bhai

  • @MalikaaPremi1176
    @MalikaaPremi1176 11 дней назад +1

    Thank you so much Rishabh sir for this sql question and answers series....You are great❤❤❤You are the best teacher in the whole world.... Because of you i learnt sql from scratch....Keep posting more videos on these topics...we all love you ❤❤❤❤ lots of love❤More power to you....

  • @SK-di6ti
    @SK-di6ti Год назад

    Thanks a lot for knowledgeable content keep rocking looking forward for more technology videos. SQL and power bi are the best

  • @narendra742
    @narendra742 2 месяца назад +1

    Good brain twisting questions. Helped me. Appreciate your efforts

  • @mohammedvahid5099
    @mohammedvahid5099 9 месяцев назад

    Superb bhai❤thnk u and expected more interview related questions basically am snowflake developer and job seeker pls help more bro

  • @Sanjaykumar-py9nq
    @Sanjaykumar-py9nq 10 месяцев назад +1

    Sir ....aap kamal ho .....you r the one of the Best Teachers, Instructor, guide and so .....Huge Respect for you 🙏

  • @sakshamarya2052
    @sakshamarya2052 Год назад +3

    most helpfull video

  • @nareshtekchandani2188
    @nareshtekchandani2188 8 месяцев назад +1

    amazing video the last bonus question has been asked lately in obe the interviews.

  • @Ayush_.
    @Ayush_. 11 месяцев назад +2

    Thanks for this amazing video with pure Content 💯 You are amazing ❤

  • @Travelcook23
    @Travelcook23 4 месяца назад

    Awesome rishabh

  • @04_itsanskaragarwal73
    @04_itsanskaragarwal73 11 месяцев назад +2

    Damn! Learned a lot from this video. Thank you so much and you are doing great for all of us .

  • @lekha9151
    @lekha9151 8 месяцев назад +1

    Great effort ❤❤❤ Incredible explaination❤❤ keep going sir❤❤❤

  • @deepalikumari30
    @deepalikumari30 10 месяцев назад +1

    thanks for the video lecture. Too much useful and informative.

  • @ihgamingfun6295
    @ihgamingfun6295 Год назад +1

    Thanks for another SQL video 👍🏼👍🏼

  • @AsgarAli-ye6zg
    @AsgarAli-ye6zg 11 месяцев назад

    Create one video on data modeling, also explain how to create dimension table if we have only fact tables

  • @tahirm09
    @tahirm09 Год назад

    Excellent , can i discuss DB2 IBM-I as well

  • @Divy91311
    @Divy91311 10 месяцев назад

    Hey Rishabh , really nice video! I was wondering if I could help you edit your videos and also make a highly engaging Thumbnail which will help your video to reach to a wider audience .

  • @mayankrajput8074
    @mayankrajput8074 Год назад +1

    Gr8 sir Thank you sir, because of you, I understood SQL very well.And I'm still learning SQL.

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  Год назад +1

      Glad it was helpful ✅️ keep learning n keep growing 🚀

    • @mayankrajput8074
      @mayankrajput8074 Год назад

      @@RishabhMishraOfficial sir thoda sql me query h Maine apko instagram pr msg kiya h sir

  • @jyotikasah7769
    @jyotikasah7769 Год назад +1

    Thank you so much for your hard work 👍👍 and then helping us out.

  • @TipsToDailyLife
    @TipsToDailyLife Год назад +3

    Thankyou Sir

  • @shanushekhar1508
    @shanushekhar1508 Год назад +1

    Great ...waiting for advance level questions

  • @akashmandal565
    @akashmandal565 Год назад

    Thank you rishab sir you and your videos is helping me a lot I had been concerned about how will I make my career but now I am working on my self and learning the skills to become a data analyst by watching your videos I am a beginner but I m sure that with your help I will definitely make a good career thank you sir ❤️

    • @shweta6580
      @shweta6580 Месяц назад

      Hi, did you got the job?

  • @pragatiaggarwal8103
    @pragatiaggarwal8103 11 месяцев назад +1

    Awesome sir as always

  • @Nalinee01
    @Nalinee01 7 месяцев назад +1

    Thank u so much for this video.......I need it

  • @binalsuthar9554
    @binalsuthar9554 10 месяцев назад

    You are awesome rishabh
    Thank you so much

  • @anushkatathe1756
    @anushkatathe1756 9 месяцев назад +1

    delete from employee where empid in (select empid from employee group by empid
    having (count (*))>1); this query deletes all the records we should implement the query to delete duplicates and it should keep 1 record out of duplicates records.

  • @appuabhimani4958
    @appuabhimani4958 11 месяцев назад +2

    You are genuine. God will bless you

  • @jatinnandwani6678
    @jatinnandwani6678 10 месяцев назад +1

    Thanks so much mate

  • @rapthaduchandra1113
    @rapthaduchandra1113 9 месяцев назад

    Thank you for sharing this Information.

  • @shrikantc5556
    @shrikantc5556 11 месяцев назад +2

    Really good 👍 thanks brother 👏👏

  • @abhishekkunte2482
    @abhishekkunte2482 10 месяцев назад +1

    Thank You Sir...learning a lot from u

  • @Skautod
    @Skautod Год назад +1

    Awesome brother, i try watch your all vedio

  • @KulwinderKaur-kd3bk
    @KulwinderKaur-kd3bk Год назад +16

    Thank you Rishabh , I started my Data Analyst journey 4 months back from your videos and its been monumental for me. I have a request to please make a demo video on " updating resume as per the job requirement" . I have been applying for DA job but getting rejections from everywhere. I think there's need of a change in the way I apply. Also, I got really happy to know that You are also an APS alumni.

  • @sambitpati6129
    @sambitpati6129 10 месяцев назад +1

    great video bhaiya.....tons of thanks..
    Please bring pyspark realtime project with problem statement .....

  • @palakshreya9151
    @palakshreya9151 Год назад

    Hello sir apke guide se bht kch clear hua hai sir mai mba in business analytics kr rhi hubut mera background psychology graduate h but mai basic power bi, sql basic , basic paython or Excel janti hu mujhe Carrer kaise start krna chahiye data analytics me job mil payega yah fir business analytics se start krna shi hoga as a fresher

  • @PatialaKing-up2te
    @PatialaKing-up2te Месяц назад +1

    Thank you sir 🙏❤

  • @shortvedioa786
    @shortvedioa786 10 месяцев назад +1

    Thanks bhai its really very helpful for me 😘😘

  • @tenusharma7294
    @tenusharma7294 Год назад +1

    Thank you very much bhaiya for easy video's like this. 😊🎉

  • @samarsingh7594
    @samarsingh7594 11 месяцев назад +1

    Thanks bhai

  • @aakashsajjan6838
    @aakashsajjan6838 Год назад +1

    Most valuable video for career growth 📈

  • @nikhilreddy4582
    @nikhilreddy4582 Год назад +3

    Superb bro...

  • @anshmatto2480
    @anshmatto2480 10 месяцев назад +2

    Q7(b)
    select empname,project from employee as co
    inner join employedetail as ed
    on co.empid=ed.empid
    Group By empname,project
    it can be done by this method also

  • @user-lm3nm7us5g
    @user-lm3nm7us5g 11 месяцев назад +1

    Sir ThenxXX ; 🙏🙏

  • @rameshjogi2114
    @rameshjogi2114 Год назад +1

    Excellent bhaiya

  • @rahil800
    @rahil800 Год назад +1

    Rishab Bhai Thank you so much for this ( Bohot saari Duaaye )

  • @sameer2532
    @sameer2532 Год назад +2

    Best video ever
    Love you Guru ❤️

  • @nitishyadav6061
    @nitishyadav6061 Год назад +1

    Thaxn for this video sir🙏

  • @aarizkhan9471
    @aarizkhan9471 10 месяцев назад +1

    You are fabulous thanx sir

  • @techtrick7300
    @techtrick7300 5 месяцев назад +1

    no words to say you Thank you

  • @howdoi8958
    @howdoi8958 9 месяцев назад +1

    Best Video

  • @Palkapil2
    @Palkapil2 Год назад

    Please share interview questions for Power BI as well

  • @ajinkyadhoke4713
    @ajinkyadhoke4713 10 месяцев назад +1

    Excellent video Bro....🔥🔥🔥🔥

  • @kirtyverma8998
    @kirtyverma8998 Год назад +3

    You are the best ❤❤

  • @Sirigineedi_Navann
    @Sirigineedi_Navann 11 месяцев назад +1

    Fantastic tutorial videos brother 🎉😊😊

  • @umeshgautam44448
    @umeshgautam44448 6 месяцев назад

    First of all Thank you Mr. Rishabh to make this awesome & helpful video, please help me to resolve one doubt of question 4, where you used Emp.Rownumber % 2 = 0, my doubt is why did you use operater '%' instead of operator '/ ' thanks in advance , will wait for your reply

  • @asifpunjabi3037
    @asifpunjabi3037 Год назад +2

    Thanks. Sir ❤️❤️

  • @user-sm7ws9fs5t
    @user-sm7ws9fs5t 10 месяцев назад +1

    Great efforts bhai🎉🎉🎉🎉🎉🎉🎉

  • @hubspotvalley580
    @hubspotvalley580 Год назад +1

    Thanks Rishabh Brother !

  • @kantilaljain2810
    @kantilaljain2810 9 месяцев назад

    Om Shanti
    Your teaching practice is good. But you explain with accounting situation just like receipt, payment, invoice, customer master, item master, employee master, account group master, in this validation, min. Max. Reorder level & save with text box feed.

  • @nehachoudhari8546
    @nehachoudhari8546 11 месяцев назад +1

    thank you so much sir🥰🥰

  • @vrindakunj
    @vrindakunj Год назад +1

    This is best sql interview video 👍👍✨✨

  • @rutujagawade1648
    @rutujagawade1648 11 месяцев назад +1

    Thank you for this video. But please make some videos on power bi.

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  11 месяцев назад +1

      I'm glad you liked ✅️ there are already 3 videos on power bi, and you can watch them

    • @rutujagawade1648
      @rutujagawade1648 11 месяцев назад

      @@RishabhMishraOfficial thank you sir for reply ☺️

  • @SATISHKUMAR-ee3mg
    @SATISHKUMAR-ee3mg Год назад +1

    you are doing a great work bro

  • @krishnay.233
    @krishnay.233 Год назад +1

    Thanks for ensuring that we have insert statement for hands on.

  • @knowledgeschool4brilliants535
    @knowledgeschool4brilliants535 11 месяцев назад +1

    Thanks brother 🎉

  • @mandeepnishad7955
    @mandeepnishad7955 11 месяцев назад +1

    congratulates 100k

  • @user-by6ss5xc6n
    @user-by6ss5xc6n 11 месяцев назад

    Sir pls make some more power bi, python, sql portfolio project videos pls sir i learn more from them as compared to questions

  • @balashrim9468
    @balashrim9468 Год назад +9

    you r the best

  • @piyushshukla238
    @piyushshukla238 10 месяцев назад

    How do you use the sum, join the group by, and order by function in SQL in 1 command will you give some examples?

  • @arslanmuhammad4190
    @arslanmuhammad4190 11 месяцев назад +1

    Really love your content. Love you from Pakistan.

  • @PriyaGupta-qj1zb
    @PriyaGupta-qj1zb Год назад +1

    PLEASE!!! Make a Video On PowerBI Project

  • @apnadesh3768
    @apnadesh3768 Год назад +1

    It's really good 👍 approach but I have still some doubts

  • @Bhavik_Prajapati
    @Bhavik_Prajapati Год назад +2

    Please make video on pgadmin4 DBMS tutorial

  • @10simpy
    @10simpy 10 месяцев назад

    Thanks much. Would you please make video on Agile scrum, Project manager and Product manager. And roadmap for all these 3 jobs - Project Manager, Product manager and Scrum master.

  • @anantababa
    @anantababa 8 месяцев назад

    Nice one, do you have any session to install db in windows or macos system for practice?

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  8 месяцев назад +1

      Yes, already uploaded a video on how to download n install postgre sql

  • @rihanalli3754
    @rihanalli3754 11 месяцев назад

    Mose easiest way in MS SQL-select empname,stuff(salary,len(salary)-1,3,'XX') as masked_salary from employee

  • @vikkynarepagul256
    @vikkynarepagul256 8 месяцев назад

    Q. 7 b the easiest approach is
    Select empname, project from employee inner join employeedetail on employee.empid = employeedetail.empid group by project having count (*) >1

  • @AbhishekMishra-nb1et
    @AbhishekMishra-nb1et Год назад +1

    Sir make one full video on what is needed to be cover on python,numpy,panda and important stuff

  • @akashkhandagale7488
    @akashkhandagale7488 Год назад +1

    Please solve in Oracle SQL 🙏

  • @hubspotvalley580
    @hubspotvalley580 Год назад +1

    I would like to request you, Please make video Power BI, SQL and Python for data analyst with project

  • @vivekshirsat9249
    @vivekshirsat9249 9 месяцев назад +2

    Q6. we can also use below query to get 2nd highest salary
    select *
    from
    (select *,
    rank() over(order by salary desc) as rn
    from employee) as t
    where t.rn = 2;
    Q7. solution for removing duplicate values
    delete from employees where
    (
    select empid, empname,gender,salary, city
    from
    (select *,
    row_number() over(partition by empid) as rn
    from employees ) as t
    where t.rn > 1);

    • @Mr_Cap.
      @Mr_Cap. 8 месяцев назад

      7(a) not working, This solution is wrong, please check it again.

  • @VeereshforTech
    @VeereshforTech Год назад +2

    Video on how to explain data analytics projects in interview please ❤❤