PART 2 : Top 9 SQL queries for interview | SQL Tutorial | Advance Interview Question

Поділитися
Вставка
  • Опубліковано 7 жов 2024
  • In this video we will see advanced #Top 9 #SQL query Which are very important for the #PlacementPreparation
    ✔Link for SQL file-
    drive.google.c...
    ✔Link for query PDF-
    drive.google.c...
    ⭐Part 1:Top 9 SQL queries for interview -
    • Top 9 SQL queries for ...
    ⭐Create MySQL Database and Table -
    • How to Create Database...
    TCS NQT Sample Paper:
    👉drive.google.c....
    TCS NQT Sample Paper solutions:
    • TCS NQT 2021 Complete ...
    TCS NQT 2021 Complete Registration Process | Exam Pattern
    👉 • TCS NQT 2021 Complete ...
    ✔Difference between oop and pop :
    👉 • Difference between OOP...
    💥Access Modifier in Java-Public,Protected,Private and Default
    👉 • Access Modifier in Jav...
    💥Constructor in Java
    👉 • Constructor In Java |T...
    💥Part 3 of 3 :Database Connectivity
    👉 • How to Fetch Data from...
    💥Part 2 of 3 :Database Connectivity
    👉 • How To Insert Data In ...
    💥Part 1 of 3 :Database Connectivity
    👉 • Database Connectivity ...
    ⭐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...
    ⭐JVM architecture-
    • JVM architecture in Java
    #mysql #oracle #dbms #query #top #sqlserver #database

КОМЕНТАРІ • 99

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

    Now Everyone can Access those PDF and SQL file. If not then please drop a comment.

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

    Very very very helpful for revision of SQL.Thanks for the good explanation.And one thing is you didi not add this in SQL playlist.Kindly add it.

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

      Yes, you are right . And I just add it to SQL playlist .Thank you for watching.

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

    Perfectly Explained 💯

  • @jaymahajan3871
    @jaymahajan3871 3 роки тому +4

    Good 👍👍

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

    thanks maam .. this video is very helpful

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

      You are welcome..
      Thank you for watching

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

    THANKS FOR GIVING MOST IMP QUERY

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

    Very nice video for quick revision. thank you

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

    thanks for Link for query PDF-

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

      Glad to help... You are wel come.

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

    Thanks for this helpful video

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

      So glad that our video helped you. Thank you for watching.

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

    at 5:51 can't we use having after group by instead of where clause ?

  • @akshaypawar7449
    @akshaypawar7449 9 місяців тому

    Yes I have completed this video

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

    Very nice explain 🤗👌👌

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

    Thanks for Information

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

    Yes pls make more sql queries

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

    Amazing video. Thank You mam

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

    THANK YOU MAM

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

      Most welcome 😊
      Thank you for watching.

  • @beingrishi6450
    @beingrishi6450 6 місяців тому

    2:05 Is there would be one table or two tables? One as E1 and another as E2?

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

    thanqq ma'am please make some video on interview question

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

      Sure. Thank you so much for watching.

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

    Video bahut badiya 👌👌👌👍

  • @souvikghosh7872
    @souvikghosh7872 3 роки тому +8

    For the 2 Minimum Salary and 2 maximum salary we can use ROWNUM clause or Top Clause for MySQL and arrange the Salary coloumn in Asc for min and Desc for Max

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

      yes ofc but only if youre a noob

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

    Thank you for this video..

  • @exclusiveglobaleducation2658

    thanks for important questions❤

  • @ShivamKendre-fc3su
    @ShivamKendre-fc3su 3 роки тому +1

    Very nice explain maam

  • @AkashKumar-ls7hg
    @AkashKumar-ls7hg Рік тому +1

    we can also a short query for question no 8
    select * from employee_info order by salary DESC limit 2; for maximum two salary
    select * from employee_info order by salary ASC limit 2; for minimum two salary

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

    Good explain

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

    Great job! It's very helpful

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

      So glad it helped you... Keep watching

  • @090-jellabharath2
    @090-jellabharath2 Рік тому

    Madam ji
    You should have drawn the tables while explaning.

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

    great

  • @beingrishi6450
    @beingrishi6450 6 місяців тому

    3:08 Where's the duplicate value in the sql command prompt i can see any duplicacy

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

    Can u explain how it's delete 7,8 I'd. I'm confused in 1st query.

  • @NehaYadav-wq8fg
    @NehaYadav-wq8fg 3 роки тому +2

    Very nice video 😍

  • @beingrishi6450
    @beingrishi6450 6 місяців тому

    3:06 do we have to create 2 different tables for this query

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

    your videos are very good but you should explain the solutions a bit more precisely as I some of the questions I have seen on leetcode & to understand the solutions we don't have any source unless anybody explaining itin discussion section.

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

      I can understand you problem you can as your doubt here or you can join our telegram channel for further discussion. I will try to provide you best solution
      Thank you for watching

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

    can u explain difference between oracle nd my sql dbs.

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

    Mam, i want to practice this queries but i cant access this files?

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

      Now You can Access those files. If not then please drop a comment.

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

      @@CodeEra2020 Thank you😊

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

    mast kam karti he tu

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

    i want a query to display the name of all employs who has a unique later let consider we have three data bases virat dhoni and sachin among this using "i" we have to print sachin and dhoni please help me

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

    mam can you explain query in which we need to use different tables means all data is not in single table.

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

      In upcoming video we will try to use two tables.. Thank you for watching

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

    Mam, I have AdP technical round
    They said prepare Sql
    More what questions will ask u know pls suggest most FAQ's in sql for freshers

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

      See there are a lot of question they can ask.. As here sql come up with DBMS so also prepare that.
      Some of theme are -
      1) Joins.
      2) Indexing
      3) Relationship
      4) DDL,DML,DCL
      5) Different type of constraints we use in SQL
      6) Types of keys
      And Some basic query you will find on my videos .
      All the Very Best for your Interview👍.

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

      @@CodeEra2020 thanks 😊 mam 🙌

  • @ShivamKendre-fc3su
    @ShivamKendre-fc3su 3 роки тому +1

    Maam apane ye video and isase pahela video ye do videos mai jitani queries padhai hai kya vo sufficient hai interview ke liye ??

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

      These are the important query but there can be N number of possible queries but if you have done these you can write the logic for the other..

    • @ShivamKendre-fc3su
      @ShivamKendre-fc3su 3 роки тому +1

      @@CodeEra2020 yes maam thank you so much. I got this video just 2 days before my interview. Thanks to you

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

      @@ShivamKendre-fc3su You can also watch this its very important question ua-cam.com/video/Gkp9_5Od2o4/v-deo.html

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

    Good work...Could you please upload all 9 questions as a text file... thanks...

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

    Can you please create a video on window functions?

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

      sure ,
      I will make a video on it.
      Keep watching

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

    Output bhi thodi explain kra kro thoda jyada

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

    can anyone tell me why my third statement of execution is wrong saying incorrect argument for execution (err code: 1210)
    # when records are improper or some records are missing or deleted
    set @count = (select count(id)/2 from employee_info) ;
    prepare stat from 'select * from employee_info limit ?' ;
    execute stat using @count;

  • @AkashKhan-km4xf
    @AkashKhan-km4xf 3 роки тому +1

    Will these queries work in Oracle SQL ?

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

      No may be some keyword not supported by Oracle but logic will be same.

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

    May I know the written quires are in Oracle SQL or SQL server?

  • @Khushi-u4h1x
    @Khushi-u4h1x 24 дні тому

    Mam please send notes

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

    HI, IAM SRINIVAS PLZ PROVIDE IF ANY MSBI MATERIALS LIKE SSIS,SSAS,SSRS....

  • @AjayKumar-ut3fs
    @AjayKumar-ut3fs 2 роки тому

    Please add subtitles

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

    Can't we use ''TOP 50 PERCENT" to get 50% of the table

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

      Same query, and it works fine weather it is in sequence or not

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

    Find the 3rd ya 4th highest salary.

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

      Please Checkout this video- ua-cam.com/video/RbKZmO8a-yc/v-deo.html

    • @user-jc6te1vm8v
      @user-jc6te1vm8v Рік тому

      DENSE_RANK

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

    i have 3 tables
    01) table employee (columns are empid,empname , depid)
    02) table Department ( columns are depid, dep name)
    03) table salary (columns are empid,amount,month).
    Q) get the empname , how don't get the salary in the month of December

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

      did you try this?

    • @user-jc6te1vm8v
      @user-jc6te1vm8v Рік тому

      join 1st and 3rd table using emp_id as common kry and see if dec salary is null

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

    Not SQL server! Your code doesn't work on SQL server!

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

    Where is the pdf??

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

      In the Description Box
      Link for SQL file-
      drive.google.com/file/d/1zra8F1MUirPEv_eU9kl7xxQAbyv9LRmi/view?usp=sharing
      Link for query PDF-
      drive.google.com/file/d/1D4hn8hU4J8toik1Rci9-TpEO5hK73Jn1/view?usp=sharing

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

    not clear explanition improve some clear analyse to understand others

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

      Sure we will try our best in upcoming video. Thanks for Feedback.

  • @SaifulIslam-fo1bt
    @SaifulIslam-fo1bt 2 роки тому

    select name , salary+((salary/100)*10) as TotalSalary from employee_info;

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

    Good 👍

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

      Thank you so much for watching.