Top SQL interview Questions and Answers | Most Asked SQL Questions for Job interview

Sdílet
Vložit
  • čas přidán 11. 09. 2024
  • Top SQL interview Questions and Answers | Most Asked SQL Questions for Job interview
    Want more similar videos- hit like, comment, share and subscribe !
    🔖SQL Interview Q&A PDF: bit.ly/3Zz450w
    👍Subscribe Now: bit.ly/3Fc7Gc6
    👉Instagram: / rishabhnmishra
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    More SQL for data science Videos:
    📢Full SQL Tutorial in One Video: • SQL Tutorial for Begin...
    🔖Most Asked SQL Interview Question: • Most Asked SQL Intervi...
    🔖SQL Tutorial Playlist: • SQL Tutorial In Hindi
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    📣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!
    #sql #sqlinterviewquestionsandanswers #sqlinterviewquestions
    SQL Interview Questions and Answers
    SQL Interview Questions
    SQL Interview Questions Answers
    Mostly asked SQL Interview Questions Answer
    Commonly asked SQL Interview Questions Answer
    SQL Command Based Interview Questions Answer
    Advanced SQL Interview Questions Answer
    Top 10 SQL Interview Questions Answer
    SQL Interview Questions SQL Interview Questions and answers for Freshers and Experienced
    Top 10 SQL Interview Questions Answer
    SQL Interview Questions Answer
    SQL Interview
    SQL Interview Questions for freshers
    SQL Interview Questions and answers for freshers
    SQL Roadmap
    SQL Interview Questions 2023
    SQL Interview Experience Interview questions for SQL Experienced

Komentáře • 362

  • @karishmabhardwaj603
    @karishmabhardwaj603 Před rokem +25

    One of My best learning Channel..... Thanks for this video Sir... :)

  • @harshitverma1263
    @harshitverma1263 Před rokem +26

    Literally one of the best channel related to data analyst/data science! Waiting for some more tutorials and projects related to this field. Also kindly continue this series on sql interview questions as this is by far the most asked thing in the interview

  • @sahil-dogra
    @sahil-dogra Před rokem +5

    I had an interview today and over the client call. they asked me write the query about "find the candidate with these skills" and I was lucky enough that I know this through your channel. Even though query did not work but they got the idea that I know this. I don't know if I will be selected or not but it definitely boost my confidence. Thanks a ton.

  • @vandanaprajapati2316
    @vandanaprajapati2316 Před rokem +9

    Very Useful and explained very easily ....Waiting for Part 2 Interview Questions

  • @shakuntalakumari8460
    @shakuntalakumari8460 Před rokem +11

    Hi Rishabh, please suggest some most asked questions in Power Bi & Dax at the intermediate level. U can also share the questions only.

    • @Aditya61515
      @Aditya61515 Před 6 měsíci +1

      Indian paradise Trainer visit this channel

  • @hims5205
    @hims5205 Před měsícem +2

    I was asked in recent interview for QA manual
    1. Find the list of employees in which 2nd letter is 'A'.
    2 Find the 2nd highest salary
    3. Aggregate functions
    4.Constraints in SQl

  • @rishav144
    @rishav144 Před rokem +7

    best channel for Data Science

  • @MdRizwan-uu9dv
    @MdRizwan-uu9dv Před rokem +9

    In question no. 11
    As per my understanding we can't use equal operator to compare NULL values because very NULL is different with other one that's why we have IS NULL, NOT NULL.

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  Před rokem +1

      Yeah i think you're right 🤔
      But you can use equals to Operator to update a value in sql.
      UPDATE customers
      SET C_CONTACTNO = NULL
      WHERE C_ID = 4;
      This works!

    • @theraizadatalks14
      @theraizadatalks14 Před rokem

      Yes, for comparing Null values we don't use equal operators in sql.
      We always use 'Col_name is Null'

    • @shreyadas4699
      @shreyadas4699 Před rokem

      true...we can't use equals to operator for comparing nulls...I got stuck at the same thing watching the video

  • @msebntaiyab1414
    @msebntaiyab1414 Před 8 měsíci +2

    I found the education channel First Aisa Channel to be a good one which gives you the opportunity to learn everything in easy language. I learned a lot from here, that's why I share this channel once every day. Rishabh bhai thank you so much!

  • @Ramesh00300
    @Ramesh00300 Před rokem +5

    @Rishabh Mishra - in the question no 3, what if there is duplicate entry for skill sql instead of python, I mean for candidate id 101, if there are 3 entries of skills like SQL,POWER BI and SQL. The count will still show 3 but that is not the condition right ? how do we deal with duplicates skill entries ?

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  Před rokem +3

      In that case you can take distinct of skills as CTE n rest of the steps will be same n you will get the answer. Btw good question brother ✅️

  • @vinayakdevane9688
    @vinayakdevane9688 Před rokem +5

    Sir tumhi khup changl shikvta youtube vr best samjel as shikvnare tumhich ahat ❤

  • @satyastocks3773
    @satyastocks3773 Před rokem +3

    One of the best learning channel thank you very much sir

  • @MoNiKa-29-RN
    @MoNiKa-29-RN Před rokem +3

    all videos are amazing... also u provide a pdf that is very useful.. Thank you so much, sir.

  • @niharikamishra9745
    @niharikamishra9745 Před rokem +10

    Sir you have set a new milestone to the learners it's a blessing to found your channel and learn from it.
    I have completed your power BI three lectures and literally they are the best ❤❤❤❤❤

  • @pratoshkumarjha89
    @pratoshkumarjha89 Před rokem +5

    Kindly continue this series on Important Questions on SQL

  • @RahulMishra-oc7dv
    @RahulMishra-oc7dv Před rokem +1

    I think this is easy compare to you for skills>3
    Select candidate_id,count(*) from tablename group by candidate_id having count(*)>2;

  • @sid_analytics
    @sid_analytics Před 5 měsíci +1

    Very helpful! Thank you very much. Am literally watching this video one day before my interview

  • @abhayjaiswal4838
    @abhayjaiswal4838 Před 2 měsíci +1

    Nicely explained today learnt something new. Thank you Rishabh bhai🙌

  • @anshumankumar9342
    @anshumankumar9342 Před rokem +9

    Your videos have been very helpful, and it would be great if you could provide more practice SQL questions in future videos. I appreciate the value of your content and find it worth watching

  • @unicorn27-01
    @unicorn27-01 Před 2 měsíci +2

    please make more videos like this also please make a oneshot video on mysql

  • @roniteraj4201
    @roniteraj4201 Před rokem +3

    Sir, thanks for such videos which are very helpful for data aspirants

  • @SnehaSingh-yv1qx
    @SnehaSingh-yv1qx Před 8 měsíci +1

    Ans 1 select from where group by having order by limit

  • @sanketkalevlogs7911
    @sanketkalevlogs7911 Před rokem +3

    Please make video on MySQL for data analytics

  • @ujjwalkhandelwal5132
    @ujjwalkhandelwal5132 Před 5 měsíci +1

    Hello Rishabh bhai, a small correction at 6:47 in Solution MySql: please select 'MONTHNAME' instead of 'MONTH' to get the name of month.
    Keep it up the nice work👍

  • @susamay
    @susamay Před rokem +4

    Really great channel. Your quality is at it's peak.

  • @mantoshroy4076
    @mantoshroy4076 Před rokem +4

    Keep continue sir 😊🙏
    Great content ❤️😍👌

  • @deveshpadgelwar8895
    @deveshpadgelwar8895 Před rokem +2

    How to find duplicate data without using group by clause and distinct ? Using CTE

  • @TataNaresh
    @TataNaresh Před rokem +4

    Wow loved the way Rishab teaching SQL concepts enjoyed video.🤩

  • @mayankdipesh9705
    @mayankdipesh9705 Před rokem +3

    Hi bhaiya
    please try to bring atleast 1 project video every week . The viewers demand :)

  • @dattatrayarathi1014
    @dattatrayarathi1014 Před 10 měsíci +2

    Thank you so much sir for a sharing video

  • @ManKR
    @ManKR Před rokem +3

    Your Content is always nextLevel
    Thankyou sir.

  • @jeetghosh608
    @jeetghosh608 Před rokem +2

    Sir, aur question answer video channel mei post karo na.... bohot helpful hoga

  • @mohinikunwar1621
    @mohinikunwar1621 Před rokem +2

    Thanks a lot for such a wonderful sessions… just with 2 videos my most of the sql concepts are making sense now… thanks a lot 🎉🎉 And congratulations for your achievement😍🧿

  • @gauravbatra982
    @gauravbatra982 Před rokem +3

    Sir thank uh so much for providing such a usefull and effective content!! So can uh pls make video on full fledge SQL project!?

  • @sagar857
    @sagar857 Před 10 měsíci +1

    Really enjoying watching your videos, learning a lot , Thanks for doing such a great work for community. God bless you.
    A request - Could you please make a video on SQL server profiler and how to debug Stored Procedure??

  • @aryan043
    @aryan043 Před rokem +3

    Thanks bro..very helpful.. best of luck for channel.. learning more from you..

  • @anshulshukla2595
    @anshulshukla2595 Před 4 měsíci +1

    Please create a video for Python and Tableau and Power BI interview question-answer

  • @shitalthorat-wm6js
    @shitalthorat-wm6js Před rokem +2

    Sir ek request thi... please paython me bhi videos and project mil skte he kya

  • @MubarakAli-qs9qq
    @MubarakAli-qs9qq Před 16 dny +1

    Best ever tutor

  • @sudhansubhol6052
    @sudhansubhol6052 Před rokem +3

    Thank you sir , really valuable questions for us.
    Please upload a video on Tableau project.

  • @Crazy_Clips_R
    @Crazy_Clips_R Před 3 měsíci +1

    from-> join-> on-> where-> group by-> having-> select-> order by -> limit

  • @inshortview
    @inshortview Před rokem +1

    Reviewing it again before going for an Interview,
    Thankyou Rishabh bhaiya ❤❤

  • @mayurib5667
    @mayurib5667 Před 5 měsíci +1

    Sir you are explaining very well. Thank you

  • @shubham_vishwakarma97
    @shubham_vishwakarma97 Před rokem +12

    For MySQL you can also use below query it will show month name also :--
    SELECT YEAR (order_date) AS Years, MONTHNAME(order_date) AS Months, SUM(sales) AS TotalSales FROM Products GROUP BY YEAR(order_date), MONTHNAME(order_date) ORDER BY TotalSales;

    • @Demoautomation
      @Demoautomation Před rokem +1

      Error-----'MONTHNAME' is not a recognized built-in function name.

    • @Demoautomation
      @Demoautomation Před rokem

      If you are getting the same Error in Q2 you can also use For MySQL :--
      SELECT YEAR(order_date) AS Years, MONTH(order_date) AS Months,
      SUM(sales) AS TotalSales
      FROM Products
      GROUP BY YEAR(order_date), MONTH(order_date)
      ORDER BY TotalSales;

  • @playwithvihaan7601
    @playwithvihaan7601 Před rokem +1

    Nice content. Please share create and Insert statements in the description box. Thank you.

  • @rajkumarjha4127
    @rajkumarjha4127 Před 26 dny +1

    Hi Rishabh, PDF me ek jagah typo error h.
    Question No 3 me.

  • @souvikghosh6025
    @souvikghosh6025 Před rokem +4

    Sir I'm using Microsoft SQL server. What's the function i use instead of EXTRACT ? Please tell if u feel to answer 🙂

  • @ankushthakur6556
    @ankushthakur6556 Před rokem +1

    Sir 1st question mei order of execution wale question mei sabse pehle select statement ka use hua hai example mei to fir from kaise?

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  Před rokem

      Likhne mei select pagle aata hai but jab SQL usko samkhjta hai tho vo FROM se shuru karta hai.. jaisa ki iss video mei samjahaya hai

  • @aasmohammad6332
    @aasmohammad6332 Před rokem +1

    Hey hope you doing good I am new here
    I feel you doing fantastic work your way of teaching unbelievable... I requested to you please make vedio on full analysis like how to collect data how to transform, organize data, and how make preidiction and drive informed decisions... And where I need sql and python and pythonlibraries for retrieves and manipulate data

  • @PankajPandey-vc6vc
    @PankajPandey-vc6vc Před rokem +1

    The way you explain the things its amazing thanks Rishabh

  • @sanmitradas986
    @sanmitradas986 Před 8 měsíci +1

    Rishabh, please upload a detailed video on SQL triggers

  • @dawaiwalabylakshyajainphar3595

    meri galt fehmi the ki jayda subscriber waala
    hi acha sikha hai . Thanks for this type of content.

  • @YourYTHUB
    @YourYTHUB Před rokem +1

    valuable content brother ...and congratulations brother u marked 120k subs. keep growing

  • @Khansarah
    @Khansarah Před rokem +1

    Very informative video in simple way … 👍

  • @ankitgite7141
    @ankitgite7141 Před rokem +3

    Sir plz start python course if possible

  • @tannubajpai4782
    @tannubajpai4782 Před rokem +1

    You contain some special talent for explanation

  • @akankshasoni3479
    @akankshasoni3479 Před rokem +1

    Greattttttt!
    Bhaiya please make videos on cte and regex also please

  • @anushas1910
    @anushas1910 Před 3 měsíci +1

    Please start series in English 😊

  • @adityawasankar7929
    @adityawasankar7929 Před rokem +1

    Rishabh please make video on Most common Data Analyst interview questions!

  • @MohammedShoaib-i9l
    @MohammedShoaib-i9l Před měsícem

    Keep up the good work
    I find your videos really helpful.

  • @RK-wf7re
    @RK-wf7re Před rokem +1

    Hi, excellent content. Can't we write extract (month from order date) to retrieve month?

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  Před rokem +1

      Glad you liked it ✅️
      Yes you can but all of this depends on which database u are working on.

    • @RK-wf7re
      @RK-wf7re Před rokem

      @@RishabhMishraOfficial Thank you so much for your prompt response.

  • @kingomya45
    @kingomya45 Před 9 měsíci +2

    Sir best video 📸

  • @ecanalysis7589
    @ecanalysis7589 Před rokem +2

    very very helpfull for me sir🙏❤

  • @muhammadmazhar8596
    @muhammadmazhar8596 Před rokem +1

    Execellent presentation Respected Sir

  • @shitalthorat-wm6js
    @shitalthorat-wm6js Před rokem +2

    Thanks a lot sir.... such valuable information

  • @padamthapa1889
    @padamthapa1889 Před rokem +1

    Sahab u r king 👑 of SQL plz post many sql video's

  • @amanzia2495
    @amanzia2495 Před 3 měsíci

    Solution of Question 3
    select id,count(skills) as 'coreskills'
    from [table_name]
    group by id
    having count(skills)=3
    order by id

  • @lifewithdeepika
    @lifewithdeepika Před rokem +1

    Sir please reply me..👏
    Maine abhi bca complete ki hai....and mai backend developer mein jana chahti hu...to uske liye interview only SQL/ORACLE kaa hi dena hai ....mtlb sirf yeh do cheeje hi ani chahiye ??? Backend developer ke liye????....

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  Před rokem

      For backend dev i m not sure but yes definitely you should know sql n database management

  • @riteshgaihre6277
    @riteshgaihre6277 Před 8 měsíci

    you are very hardworking, genius. you have put lots of efforts to make this videos. I CAN understand. thank you so much

  • @saumyasingh9636
    @saumyasingh9636 Před rokem +2

    Very informative video

  • @AshishTiwari-ug2lg
    @AshishTiwari-ug2lg Před 3 měsíci

    Mishra Ji Rocks 💥💥💥💥💥
    By the way Mishra Ji You are From Where?

  • @naveenrawat-yc1op
    @naveenrawat-yc1op Před rokem +1

    Thanks bhaiya for making this amazing video.
    Bhaiya when will next video will be uploaded regarding SQL solving questions

  • @Techno1parth
    @Techno1parth Před rokem

    Please more sql queation video share with data .
    Data rah to sath-sath pratice hoti hai .
    your video awsome hai voice video clearity👍. Muzhe bohat help ho rahil hai .

  • @jyotiverma6296
    @jyotiverma6296 Před rokem +2

    Sir kya mai data analytics mai apna career bana sakti hu.... right now I am a teacher n i m also 35 yrs old ...am i eligible or not

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  Před rokem

      First thing if you're a teacher then i m your student so pls don't call me sir 😅
      Now, yes you're eligible for data analyst job, but for that you need to learn data analytics skills n work on some good industry level projects and finally create your profile/resume n start applying online. Cracking the first job is a little difficult but not impossible. Also, if you want there are wfh jobs available as well

    • @jyotiverma6296
      @jyotiverma6296 Před rokem

      Thankyou so much for your reply.....i watch your videos , learn and practice from it that is enough for data analytics job

  • @bhavinpadhiyar9829
    @bhavinpadhiyar9829 Před 6 měsíci

    Thank you for this video, Rishabh!! Congratulations for completing 202K subscribers on this channel...

  • @HemaSahoo
    @HemaSahoo Před rokem +1

    Very well explained. Thanks a ton!!!!

  • @indianmedia5696
    @indianmedia5696 Před rokem +1

    Sir we want powerbi,tableau, excel questions also. so please make video for this . Thankyou

  • @sachinkale2452
    @sachinkale2452 Před 6 měsíci +1

    Thank You Rishabh great video 👏

  • @vvideos2873
    @vvideos2873 Před 2 měsíci +2

    Broo upload more questions videos till now you have just uploaded 4 videos we need more videos

  • @mohammedshabaaz9625
    @mohammedshabaaz9625 Před rokem +1

    please more more parts of such amazing videos.
    will be helpful

  • @adarshbomble
    @adarshbomble Před rokem +4

    Rishab bhai aap bohot badhiya kaam kar rhe ho bhagwan aapka bhala kare
    Jai shri Ram🚩🔥

  • @lakshay16596
    @lakshay16596 Před rokem +2

    hi Rishabh, just a general question
    i have certification in Tableau instead of Power BI.
    do you think its fine or i need to learn Power BI too for my career as a data analyst?

    • @mohaiminulislam7111
      @mohaiminulislam7111 Před rokem +2

      you can learn either Tableau or Power BI. no need to learn both.(N.B. power BI is free whereas the Tableau Desktop version is paid)

    • @lakshay16596
      @lakshay16596 Před rokem

      @@mohaiminulislam7111 thanks

  • @sabesanj5509
    @sabesanj5509 Před rokem +2

    solution for question 3:
    SELECT candidate_id
    FROM your_table_name
    WHERE skills IN ('sql', 'python', 'power bi')
    GROUP BY candidate_id
    HAVING COUNT(DISTINCT skills) = 3
    ORDER BY candidate_id ASC;
    Is thisone correct solution rishabh bro??

    • @AditiSharma-zo5dq
      @AditiSharma-zo5dq Před rokem

      solution shi h but output table m skill count bhi chahiye to vo bhi select karna hoga

    • @sabesanj5509
      @sabesanj5509 Před rokem

      @@AditiSharma-zo5dq Please reply in english. I don't understand hindi.

    • @AditiSharma-zo5dq
      @AditiSharma-zo5dq Před 11 měsíci

      Your solution is correct but in output table we need skill count too
      So you have to select it that too

  • @themag4139
    @themag4139 Před rokem +1

    Really HatsOff to your HardWork bro

  • @sushantmeshram5172
    @sushantmeshram5172 Před 3 měsíci +1

    thank you so much Rishab

  • @shamanthrao528
    @shamanthrao528 Před 8 dny +1

    thank you so much

  • @rautadesh4634
    @rautadesh4634 Před 29 dny

    Thank you soo much 🎉

  • @balashrim9468
    @balashrim9468 Před rokem +1

    very nice vdo and explaining sooo well

  • @vishnuprabhakar7327
    @vishnuprabhakar7327 Před rokem +1

    thankyou sir for putting this effort for us

  • @mayankgpt50
    @mayankgpt50 Před 9 dny

    What if we have a duplicate in the skill question
    For example, if we have 101 Python Two times?

  • @user-ie2xt9rd6p
    @user-ie2xt9rd6p Před 3 měsíci

    in mysql the monthname function will be used to get month name not just month.

  • @akshays4943
    @akshays4943 Před rokem +1

    awaited for......complete data science project where excel ,sql,python & tableu used. @Rishabh Mishra

  • @eshanksharma7616
    @eshanksharma7616 Před rokem +2

    Good content

  • @jaikishanthakur3459
    @jaikishanthakur3459 Před rokem

    my query is can i write same query again and again in sql because for practicing , many times what happened it shows already object in data base for that i have write again and do some changes. let me confident about commands then not worries in future , but as of now any trick so that do for practice

  • @PrakharPandey-no9zs
    @PrakharPandey-no9zs Před rokem +1

    please keep uploading bhaiya. Nice content

  • @lmit3704
    @lmit3704 Před rokem +1

    Aur videos Q/A pe post kariye , it's really helpful

  • @tj.aulakh4
    @tj.aulakh4 Před 3 měsíci

    Can you explain qus 10 why maansi is answer bcoz of % sign ???
    And in 14 qus why intiger is in ' ' ?

  • @Arshadpathan-f7d
    @Arshadpathan-f7d Před rokem +1

    Thanks for PDF ❤

  • @codingtour
    @codingtour Před rokem +1

    Rishabh bhai, plz create a video on Python what is use of python in project by practically

  • @SnapMathShorts
    @SnapMathShorts Před 6 měsíci +1

    SIr , when I divide null with null then it's showing error not null .
    Thanks