Top 9 SQL queries for interview | SQL Tutorial | Interview Question

Поділитися
Вставка
  • Опубліковано 3 сер 2020
  • #mysql #oracle #dbms #query #top #sqlserver #database
    In this video we will see #Top 9 #SQL query Which are very important for the #PlacementPreparation
    👉The TOP 9 SQL query are-
    ✅Find the third-highest salary from the EmployeeInfo table.
    ✅Find the Nth highest salary from the table without using TOP/limit keyword.
    ✅Find duplicate rows in a table.
    ✅Calculate the even and odd records from a table.
    ✅Display the first and the last record from the EmployeeInfo table.
    ✅How do you copy all rows of a table using SQL query?
    ✅Retrieve the list of employees working in the same department.
    ✅Retrieve the last 3 records from the EmployeeInfo table.
    ✅Fetch details of employees whose EmpLname ends with an alphabet ‘A’ and contains five alphabets.
    ⭐Part 2:Top 9 SQL queries for interview -
    • PART 2 : Top 9 SQL que...
    Please like 👍, subscribe and share......
    Follow us on Instagram -
    / codeera_
    🙏Thank you so much for watching and your support..
    ⭐Encapsulation in java-
    • Java tutorial|#Encapsu...
    ⭐DBMS vs RDMS
    • DBMS vs RDBMS | What i...
    ⭐Keys in DBMS
    • Types of Keys in DBMS ...
    ⭐Normalization in DBMS-
    • Normalization and its ...
    ⭐class and object in java-
    • What is Class and Obje...
    ⭐Types of key in DBMS-
    • Types of Keys in DBMS ...
    ⭐how to install java-
    • How to Install JAVA JD...
    ⭐Introduction of java:-
    • Introduction to Java i...
    ⭐Features of java:-
    • Features of java Part 2
    ⭐JVM JRE JDK:-
    • JDK JRE JVM in Java Pa...
    ⭐MySQL Database -
    • How to Create Database...
    ⭐JVM architecture-
    • JVM architecture in Java
    ⭐Difference between oop and pop
    • Difference between OOP...
  • Наука та технологія

КОМЕНТАРІ • 389

  • @yashmathur5609
    @yashmathur5609 Рік тому +72

    Thank you mam, I got 6LPA just because of your all videos.. Being a mechanical engineer i never thought i will get 6lpa as a fresher but all this can happened because of you!
    Thank you once again mam

    • @CodeEra2020
      @CodeEra2020  Рік тому +3

      Many many congratulations party🎉🎉🎉.
      Would you like to share your interview experience with us? Please Share it on codeera3020@gmail.com

    • @yashmathur5609
      @yashmathur5609 Рік тому +2

      @@CodeEra2020 sure mam...

    • @riyasharma_
      @riyasharma_ Рік тому +1

      Hey! Which company is it?

    • @yashmathur5609
      @yashmathur5609 Рік тому

      @@riyasharma_ it's a bank

    • @CodeEra2020
      @CodeEra2020  Рік тому

      @@yashmathur5609 please record if possible..

  • @AbdulHadi-qq9hq
    @AbdulHadi-qq9hq Рік тому +4

    Thank you very much Di for very to-the-point explanation of basic SQL queries!

  • @Shankaryadav-pz3uj
    @Shankaryadav-pz3uj 2 роки тому +81

    Thank a lot ma'am your video is very helpful I can't express in word I have selected conduent company 4.2 LPa🙏🙏 again'thank your

    • @CodeEra2020
      @CodeEra2020  2 роки тому +5

      I am so happy for you. Best wishes for your bright future. Thank you for watching.

    • @lakshitsharma5533
      @lakshitsharma5533 2 роки тому +3

      Hi, cogratulation for that offer. Can you share the interview process?

    • @Shankaryadav-pz3uj
      @Shankaryadav-pz3uj 2 роки тому

      @@lakshitsharma5533 yes bro

    • @lakshitsharma5533
      @lakshitsharma5533 2 роки тому

      @@Shankaryadav-pz3uj please tell

    • @Shankaryadav-pz3uj
      @Shankaryadav-pz3uj 2 роки тому +2

      @@lakshitsharma5533 There are basically two type of company 1 service based company 2 product based company suppose if you want to crack a interview of service based company 1 you have good knowledge of any language Just like C++ python Java etc and also knowledge of SQL if you want to crack a interview of product based company you have good knowledge of any programing language Just like C++ Java python etc and Data structures algorithm also SQL 👍

  • @ShivamSingh-hk5pn
    @ShivamSingh-hk5pn 2 роки тому +4

    You are amazing ... Incredible support u are giving

  • @chubbygirl1
    @chubbygirl1 2 роки тому

    beautiful vedio..such informative.

  • @prasoonrauniyar8968
    @prasoonrauniyar8968 3 роки тому +34

    This video helped me as a quick refreshment of SQL, appreciate your hard work.

    • @CodeEra2020
      @CodeEra2020  3 роки тому +1

      Thank you so much for watching..

  • @nakulanand2725
    @nakulanand2725 2 роки тому +1

    Thanks for this useful content.

  • @anuragmohanty1301
    @anuragmohanty1301 Рік тому +2

    Awesome, Excellent, Nothing is better than this... Ma'am

  • @RaviPandey-ng8ub
    @RaviPandey-ng8ub Місяць тому +2

    I have my TCS nqt interview in the upcoming week. This video helps me a lot

  • @adityaranjan9662
    @adityaranjan9662 Рік тому

    Amazing Session , really helpful....

  • @smileuntilyoudie5127
    @smileuntilyoudie5127 29 днів тому

    Very Nice and helpfull questions

  • @amankhhan3801
    @amankhhan3801 3 роки тому +5

    Very helpful video , well explained and very good collection of interview questions , Thankyou 🙏

  • @prajaktapuri8261
    @prajaktapuri8261 3 роки тому +1

    Thank you so much mam for this helpful video🙏🙏❤️❤️❤️

  • @ankushmahajan3303
    @ankushmahajan3303 3 роки тому +19

    Amazing energy level, Thanks for crisp and clear presentation

  • @savantrada4278
    @savantrada4278 Рік тому +1

    thanks for this videos it is really helpful for me

  • @San_Jan_
    @San_Jan_ 2 роки тому

    Too good for interview 👏👏

  • @akashverma1640
    @akashverma1640 2 роки тому

    Quick questions. Thanks.💓

  • @rdhgaminghub5099
    @rdhgaminghub5099 3 роки тому +1

    very helpful...

  • @01kumarr
    @01kumarr 2 роки тому

    Thanks really informative 👍

  • @shwetajha5356
    @shwetajha5356 Рік тому

    Good explanation 👍

  • @ankushmahajan3303
    @ankushmahajan3303 3 роки тому +2

    This video is all I need, thanks for sharing!

  • @suneelkumargoyal
    @suneelkumargoyal 3 роки тому +1

    Most important queries and simply explain.

    • @CodeEra2020
      @CodeEra2020  3 роки тому +1

      I am so glad that you like it..

  • @sachinkabburkar3589
    @sachinkabburkar3589 2 роки тому

    Thanks for Information

  • @prajavjha3780
    @prajavjha3780 Рік тому

    Amazing...❤️❤️

  • @AbhishekPandey-vu8qi
    @AbhishekPandey-vu8qi Рік тому

    very nice explanation thanks

  • @digambarbhandare4485
    @digambarbhandare4485 Рік тому

    Very nice explanation

  • @divsreviews2860
    @divsreviews2860 Рік тому +1

    Wow.. outstanding video.. Very Helpful for rivision

  • @gollasaivenkatesh
    @gollasaivenkatesh 3 роки тому +15

    for nth highest salary problem
    SELECT DISTINCT Salary FROM Employee e1 WHERE (SELECT COUNT(DISTINCT Salary) FROM Employee e2 WHERE e2.Salary > e1.Salary) = N - 1 will be the correct one since there can be multiple employees with highest salary.

  • @milar1786
    @milar1786 2 місяці тому

    Great presentation.
    Very clear explanation and target precision poin very simple way any one can understand even a person has no previous query background.
    Thank you Ms Erra!

  • @kirantodkar5034
    @kirantodkar5034 2 роки тому

    Very Nice Mam, Thanks....

  • @prasadphatak1503
    @prasadphatak1503 Місяць тому

    This is actually good, learnt some good things here.

  • @akashkumaryadav2288
    @akashkumaryadav2288 3 роки тому +25

    These are the most important questions for interviews and generally asked by the interviewer frequently

  • @harshkumargupta8538
    @harshkumargupta8538 Місяць тому

    quality video.

  • @palakmahajan9999
    @palakmahajan9999 3 роки тому +2

    Nice information 👌👍👍

  • @siyamahajan6079
    @siyamahajan6079 3 роки тому +1

    this is the best one....

  • @aditiiawasthi6256
    @aditiiawasthi6256 3 роки тому +2

    Very helpful and nice video...thankyou for sharing your knowledge..really appreciate your efforts 🙏🙏

    • @CodeEra2020
      @CodeEra2020  3 роки тому

      I am so happy to hear that... Thank you so much and keep watching

  • @shubhambhawsar8762
    @shubhambhawsar8762 3 роки тому +3

    Thanku so much for providing this information and your every video comes with something new in basic concepts. Good job, keep it up👍😊

    • @CodeEra2020
      @CodeEra2020  3 роки тому +2

      So nice of you and i am so glad you like it

  • @aakashjay87
    @aakashjay87 3 роки тому +2

    your explanation is waaaoooo....

  • @purvibeautytips9855
    @purvibeautytips9855 3 роки тому +3

    Excellent 👌👌👌

  • @gauravghosh8002
    @gauravghosh8002 3 роки тому +3

    Thank you so much Ma'am for your detailed information. This helped me a lot to brushup

  • @sandhyavelmani3790
    @sandhyavelmani3790 3 роки тому +3

    Quite helpful queries for understanding, Thank you 👍

    • @CodeEra2020
      @CodeEra2020  3 роки тому

      So glad it helped you and thank you so much for watching...

  • @divyadubey6679
    @divyadubey6679 Рік тому

    Thank u so much.. God bless u...

  • @vivekwagh6668
    @vivekwagh6668 3 роки тому +2

    loved the video would like to have 2nd part for it

    • @CodeEra2020
      @CodeEra2020  3 роки тому

      Happy to hear that you liked the video... Surely I Will make second part and you can also share topic or sql quires that you wanna discuss...

  • @ashwinkoli6531
    @ashwinkoli6531 2 роки тому +1

    Thank you for this vid it's better understanding for us how to learn in simply way to SQL

    • @CodeEra2020
      @CodeEra2020  2 роки тому

      I am so glad you like the video

  • @indrajeetbadgujar614
    @indrajeetbadgujar614 3 роки тому +1

    Good one, keep it up

  • @saiKiran-mv4se
    @saiKiran-mv4se 2 роки тому +1

    And beautiful questions

  • @ajimsayyad7006
    @ajimsayyad7006 3 роки тому +2

    Nice information

    • @CodeEra2020
      @CodeEra2020  3 роки тому

      I am glad you liked it and keep watching

  • @shahinasd5897
    @shahinasd5897 3 роки тому +2

    Thanks for explains easily...i understand these all queries..😊

  • @sarojchourasia9682
    @sarojchourasia9682 3 роки тому +2

    very nice video, thanks

    • @CodeEra2020
      @CodeEra2020  3 роки тому

      thank you so much for watch ..... glad it helped

  • @SaiRam-cl6ih
    @SaiRam-cl6ih 2 роки тому +1

    Thank you very much ma'am

  • @shwetabadgujar1054
    @shwetabadgujar1054 3 роки тому +2

    Good one👍

  • @Sohelkhans50
    @Sohelkhans50 Рік тому +14

    While getting employees working in same department we can use groupby instead of using alias for two tables. Whenever u use alias for a table it creates a copy of that table in RAM, which is highly inefficient if u have large table with thousands of rows.

  • @decodingtimer
    @decodingtimer 3 роки тому +1

    Thanks for explaining 👍👍

  • @aastha4708
    @aastha4708 3 роки тому +1

    Thanks for sharing...

  • @navvinram6422
    @navvinram6422 2 роки тому

    Great

  • @juno7893
    @juno7893 3 роки тому +1

    Nice 👏🏻👏🏻👏🏻

  • @prashanttripathi3534
    @prashanttripathi3534 2 роки тому +1

    This videos was really very gud,just revised my whole concept by practicing side by side.
    Thank you so much,

    • @CodeEra2020
      @CodeEra2020  2 роки тому +1

      Glad you like the video
      Keep watching

  • @tshende02
    @tshende02 Рік тому +1

    Thanks a lot ❤️

  • @bhawdeepkumawat2868
    @bhawdeepkumawat2868 3 роки тому +1

    Thanks for helping us interview preparation

  • @anujasule1485
    @anujasule1485 3 роки тому +2

    thanks..great video

  • @vishnureddy3318
    @vishnureddy3318 2 роки тому +1

    Simply exceptional ❤️

  • @tharallaanil4115
    @tharallaanil4115 3 роки тому +1

    This video is helpful to SQL beginner and also advance level people to useful and interview purposes all people to required . We are expecting more videos from your channel, SQL based and you know different type language interview questions provide me and also you voice nice

    • @CodeEra2020
      @CodeEra2020  3 роки тому

      I am so glad that you like the video .Soon I will upload its second part and thank you so much for watching

  • @umeAsh393
    @umeAsh393 2 роки тому +1

    Very informative . Thank you 🙏

    • @CodeEra2020
      @CodeEra2020  2 роки тому

      Happy to help you.. Thank you for watching

  • @vishalchauhan9832
    @vishalchauhan9832 2 роки тому +1

    Such a beautiful and important content.Thank You so much mam

    • @CodeEra2020
      @CodeEra2020  2 роки тому +1

      My pleasure 😊
      Thank you for watching.

    • @vishalchauhan9832
      @vishalchauhan9832 2 роки тому +1

      @@CodeEra2020 once in a interview I was asked to calculate 2nd or 5 th highest . At that time I was not that much aware. Then I told that we can sort them firstly in Descending order after that we can fetch 5th one. But I was not aware how I can fetch 5th record because I was not aware about limit clause. Then I watch your video.. After watching it I feel confident. But in later interview the interviwer asked me only about DML DDL commands 😁😁

  • @sudiptachakraborty745
    @sudiptachakraborty745 3 роки тому +1

    Great work 😎

  • @adarshdwivedi5395
    @adarshdwivedi5395 3 роки тому +2

    Such a amazing vedio..

    • @CodeEra2020
      @CodeEra2020  3 роки тому

      Thank you so much... So glad that it helped you..

    • @adarshdwivedi5395
      @adarshdwivedi5395 3 роки тому

      If u have list of imp sql query could u pla send me...right now beco i am preparing for interview

  • @surajmaity6194
    @surajmaity6194 Рік тому +1

    GOOD

  • @angelthedecentgirl7181
    @angelthedecentgirl7181 2 роки тому

    Best video and explanation ever, Thank You so much ma'am.

    • @CodeEra2020
      @CodeEra2020  2 роки тому

      Glad you liked the video. Thank you so much for watching.

  • @kapilbhat696
    @kapilbhat696 2 роки тому +1

    Thanks for the video I learned a lot from this video

    • @CodeEra2020
      @CodeEra2020  2 роки тому

      So glad to know that the video helps you..
      Thank you for watching

  • @janabodu3392
    @janabodu3392 2 роки тому +1

    Crystal clear..Good job

  • @prachipathak5963
    @prachipathak5963 3 роки тому +2

    Good 👍

  • @yashmathur5609
    @yashmathur5609 Рік тому

    thanks a lot

  • @aryanshinde1822
    @aryanshinde1822 Рік тому +1

    Thank yoy mam very useful this queries and easy to learn

  • @pravinkedar96
    @pravinkedar96 2 роки тому +1

    Excellent lecture

    • @CodeEra2020
      @CodeEra2020  2 роки тому

      Thank you so much.. So glad that you like the video

  • @datazerohero
    @datazerohero 8 місяців тому

    Nice video! SQL interviews can be tricky. I've recently started a channel where I share some SQL interview questions and solutions. I'd love your thoughts and suggestions. Keep up the great work

  • @rajmahajan8518
    @rajmahajan8518 3 роки тому +6

    The video is soo good I learned some new things in sql Thanks for making these video😊 It is soo Good

    • @CodeEra2020
      @CodeEra2020  3 роки тому +1

      I'm so glad! and keep watching for more

  • @sethsanwariyajewellers725
    @sethsanwariyajewellers725 3 роки тому +1

    Very helpful 👍👍 please make more videos on SQL

  • @a.k2045
    @a.k2045 2 роки тому +1

    Tnx a lot sister...😊

  • @hemantvardani1436
    @hemantvardani1436 Рік тому

    Thanks!!

  • @niharika3608
    @niharika3608 2 роки тому

    Very good refresher :)

  • @niveditanandy2320
    @niveditanandy2320 3 роки тому +1

    good one.

  • @madhukardwivedi1950
    @madhukardwivedi1950 2 роки тому +1

    Very helpful....

  • @saiKiran-mv4se
    @saiKiran-mv4se 2 роки тому +1

    Very good lovely

  • @aj9706
    @aj9706 2 роки тому +1

    Amazing

  • @omkarkhilari6207
    @omkarkhilari6207 3 роки тому +1

    Great Video Helped alot!

    • @CodeEra2020
      @CodeEra2020  3 роки тому

      Glad to hear! Thank you so much for watching

  • @kimleng539
    @kimleng539 2 місяці тому

    ❤ I am student Data Science need your videos.

  • @prakashshukla3558
    @prakashshukla3558 3 роки тому +1

    Good Video

  • @dattatrayjadhav3758
    @dattatrayjadhav3758 Рік тому +1

    Too helpful

  • @unnatijaswani4832
    @unnatijaswani4832 2 роки тому +1

    nice 😍😍😍😍😍😍

  • @dattatrayjadhav3758
    @dattatrayjadhav3758 Рік тому +1

    I have tried all the query and it's too helping me thank you so much sister❤

    • @CodeEra2020
      @CodeEra2020  Рік тому

      You are welcome... Thank you so much for watching.

  • @aptrends3257
    @aptrends3257 2 роки тому +1

    Thanku very much mam

  • @stereolyrics2386
    @stereolyrics2386 3 роки тому +1

    Really helpful and very well explained. Thanks a lot

  • @shubhamagarwal2998
    @shubhamagarwal2998 2 роки тому +1

    👌👌👌👌👌 crisp and helpful

    • @CodeEra2020
      @CodeEra2020  2 роки тому

      Glad to know that you like it.Thank you so much for watching

    • @shubhamagarwal2998
      @shubhamagarwal2998 2 роки тому

      @@CodeEra2020 keep shining ✨✨✨

  • @TheVijaynegi
    @TheVijaynegi 3 роки тому +1

    first I thought I can solve them easily but then I realised the complexity level ...thanks for sharing ..now I came to know from where interviewer use to collect question :)

    • @CodeEra2020
      @CodeEra2020  3 роки тому

      I am so glad that it helped you thank you so much for watching...

  • @shyamjigupta9062
    @shyamjigupta9062 Рік тому +1

    Thank u mam .

  • @AmanKumar-uf1nf
    @AmanKumar-uf1nf 3 роки тому +1

    Thanks

  • @jayganeshpandey
    @jayganeshpandey 2 роки тому +1

    Nic

  • @jobtechandgovt.examprepara3974
    @jobtechandgovt.examprepara3974 2 роки тому +2

    Please tell other ways of finding highest salary..btw all your videos are very helpful..keep growing..new subscriber in your list..🙂

    • @CodeEra2020
      @CodeEra2020  2 роки тому

      Thank you so much.
      For highest salary you can watch this video ua-cam.com/video/RbKZmO8a-yc/v-deo.html

  • @prakashjagtap865
    @prakashjagtap865 3 роки тому +2

    Thanq mam

    • @CodeEra2020
      @CodeEra2020  3 роки тому

      You are welcome... Keep watching

  • @terryterry3733
    @terryterry3733 2 роки тому +1

    Super
    Mam

    • @CodeEra2020
      @CodeEra2020  2 роки тому

      Thank you so much for watching.