Top 10 SQL Interview Questions and Answers | SQL Interview Questions 2023 |

Поділитися
Вставка
  • Опубліковано 3 жов 2024

КОМЕНТАРІ • 37

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

    thanks boss, please make more video on SQL , deeply explain joins,subqueries,store procedure . thanks well done

  • @start1learn-n171
    @start1learn-n171 4 місяці тому

    Tq

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

    Thanks i've prepared my interview test with your video. am so greatful for you to provide such a content. i wish i could have you as a mentor.

  • @VipulSingh-rf9tc
    @VipulSingh-rf9tc Рік тому +2

    you are a great mentor - i am continuously learning a lot from your tutorial videos. Thank you so much !!!

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

    Thanks for your effort and creating content like this to help the data community, really appreciated your help

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

    great lots of lv from sri lanka

  • @saktipadamukherjee455
    @saktipadamukherjee455 7 місяців тому

    Can you share with us the query for REGION WISE SALES , TOP 5 CATEGORY WISE SALES, COUNTRY WISE SALES etc im bit confused by using group by functions

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

    man you doing great work for us !!! god bless you

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

    You're really Awesome!!

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

    In first question solution it is deleting all the duplicate records, as per me it should be keep 1 record in table and need to delete other one which is duplicate. What your thought?

    • @nikhilbhute07
      @nikhilbhute07 11 місяців тому

      I agree with you. To solve this Question Rank Function is Better option.

    • @ramshataqdees5570
      @ramshataqdees5570 10 місяців тому

      Row_Number also works

    • @ramshataqdees5570
      @ramshataqdees5570 10 місяців тому

      Row_Number also works

  • @BronzeBot-l2f
    @BronzeBot-l2f 7 місяців тому

    on Q3, I am confused that from the 'select count...' we can only get get the counts and for sure it can be compared with 5, but why can we use the count to filter e1 as should be no such 'count' columns in e1, right?

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

    Hi. For question 6, I couldn't understand why 3-1 is used to get 3rd highest salary. I mean, how can 3-1 give us 3rd highest salary. Could you please clear up my doubts? Thanks a ton for these videos.

  • @kameshsingh7967
    @kameshsingh7967 10 місяців тому

    Sir, I tried running it and it is showing error (An expression of non-boolean type specified in a context where a condition is expected, near ','.)

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

    Please make videos on advance SQL required power bi to create data model

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

    If n=3rd highest salary from employee---------- select * from ( select e_name ,e_salary, dense_rank() over(order by e_salary desc) as RN from employee ) as X where RN=3
    give same o/p

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

      Yes this works, as i said there are multiple ways to achieve it

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

    Which one better career wise software testing or power BI..give me suggestion

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

      In wich you are good enough or having interest... ask yourself

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

    In my sql sutdio management limit clause can't use instead of what we will use sir?

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

    Hi, can we get sample data which you used to explain in the video

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

      You can fire the create table query to get data, query dox available in description box

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

    Is this question for fresher or experienced person ?

  • @ShaikhDastagir-eo9rv
    @ShaikhDastagir-eo9rv 3 місяці тому

    Start from 1:21

  • @sunilkumar-uo8so
    @sunilkumar-uo8so Рік тому

    Q10 select d.dname, e ename, e salary from dept d inner join emp e on d.deptno=e.deptno
    Where (e.deptno, e salary) IN (select e2.deptno, MAX( e2.salary) from emp e2 group by e2.deptno);
    It not working throw an error
    An expression of non-boolean type specified in a context where a condition is expected, near ','

  • @IndiaCountry-cx9zf
    @IndiaCountry-cx9zf Рік тому

    Hi,I found error 1630 function count does not exist error please help me I fresher

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

    IN QUESTION 10 WHY R&D RETURNS TWO TIMES

  • @saritak-u1b
    @saritak-u1b Рік тому

    Hello Swapnjeet. I have tried but it showing me error while creating the emp table. so what should i do?
    And error is-Msg 102, Level 15, State 1, Line 9
    Incorrect syntax near ','.

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

      You are missing a comma somewhere

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

      salary FLOAT, -- Change from DOUBLE to FLOAT
      make this change in the creation script for emp table

    • @saritak-u1b
      @saritak-u1b Рік тому

      Thanks its run@@aishwaryapattnaik3082