SQL Interview Questions and Answers | Intellipaat

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

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

  • @Intellipaat
    @Intellipaat  5 лет назад +21

    Guys everyday we upload in depth tutorial on your requested topic/technology so kindly SUBSCRIBE to our channel👉( bit.ly/Intellipaat ) & also share with your connections on social media to help them grow in their career.🙂

    • @colletteayamba5875
      @colletteayamba5875 5 лет назад

      Please I need help to answer my interview very so I can get a job do you offer training?

    • @АлёнаБондаренко-б9в
      @АлёнаБондаренко-б9в 5 лет назад +1

      @@colletteayamba5875 ц,шьъ

    • @muskansoni1265
      @muskansoni1265 4 года назад

      Hey guys, you're doing great job by helping us to understand these difficult courses easily. Please upload an advanced SQL tutorial video as well. It would be much helpful. :)

    • @shivenkhajuria2488
      @shivenkhajuria2488 3 года назад

      @intellipaat - Could you also please share a video on oracle reports and pl/sql?

  • @Intellipaat
    @Intellipaat  5 лет назад +5

    Guys, which technology you want to learn from Intellipaat? Comment down below and let us know so we can create in depth video tutorials for you.:)

    • @rameshganta1071
      @rameshganta1071 5 лет назад +1

      Power BI

    • @Intellipaat
      @Intellipaat  5 лет назад

      Hi Ramesh, here's the video link for Power BI: ruclips.net/video/I3IGm97Q60s/видео.html

    • @anshurai1631
      @anshurai1631 4 года назад

      Informatica PIM 360

    • @meetstudios3273
      @meetstudios3273 4 года назад

      C++ and data structure and algorithms

  • @annaanna8927
    @annaanna8927 3 года назад +11

    Great job, thank you very much. What I especially appreciate is showing how we can run all these statements in sql

  • @vinayrh316
    @vinayrh316 2 года назад +1

    This method is simpler for copying data from 1 table to another table.
    -----copy the parent table schema rather than creating a new table with the column list--
    select top 0 * into new_table
    from old_table
    ----then load the data----
    Insert into new_table
    select * from Old_table

  • @PrashanthG
    @PrashanthG 2 года назад +1

    Perfect tone for teaching. It reaches in single shot.

    • @Intellipaat
      @Intellipaat  2 года назад

      @prashanth-g Do like, share & subscribe to our channel to get updates on upcoming videos.

  • @rehanbaig71
    @rehanbaig71 5 лет назад +19

    Great trainer, effective methodology, deserve 7 star rating. It will be very nice if links of tables used in this video provided for practice along the video.

    • @Intellipaat
      @Intellipaat  5 лет назад +1

      Thanks for the feedback. :) But sorry links are not available.:(

    • @AmitRaj-yy6nn
      @AmitRaj-yy6nn 3 года назад

      A great review and suggestion

  • @amitshippie
    @amitshippie 4 года назад +2

    For copying structure and data we can also write select * into newtable from oldtable. If we want only structure then can write select * into newtable from oldtable where 1=2

  • @Rajjain_
    @Rajjain_ 3 года назад +3

    great video!
    @14.22 Actually, Postgres SQL allows the use of where clause even if you use group by, in that case WHERE clause will be used before grouping is done and HAVING clause if used check condition for group means applied after grouping. If anyone can confirm it.
    Great video btw thank you.

    • @Intellipaat
      @Intellipaat  3 года назад

      Welcome. Keep learning with Intellipaat😊

  • @galaxyjoseph4612
    @galaxyjoseph4612 2 года назад +1

    Thank You so much!!!!!!! it is very helpful.

    • @Intellipaat
      @Intellipaat  2 года назад

      @Galaxy Joseph Glad you liked it 😊 Do like, share & subscribe to our channel to get updates on upcoming videos.

  • @chetanpatil9892
    @chetanpatil9892 2 года назад +1

    with u i can understand completly sir other on intelipatt moving very speed

    • @Intellipaat
      @Intellipaat  2 года назад

      @Chetan Patil Hope it is helpful Do like, share & subscribe to our channel to get updates on upcoming videos.

  • @subhasrikhanrah8716
    @subhasrikhanrah8716 3 года назад +1

    My goodness how simple and how detailed teaching in a short time ..thanks

    • @Intellipaat
      @Intellipaat  3 года назад

      Glad it was helpful! @Subhasri Khanrah Do like, share & subscribe to our channel to get updates on upcoming videos

  • @taniyasharma8924
    @taniyasharma8924 3 года назад +1

    Excellent💯

  • @ravisaxena95
    @ravisaxena95 2 года назад +1

    Appreciated work done in this video so would like thanks for this kind of technical video.

    • @Intellipaat
      @Intellipaat  2 года назад

      Glad you liked it. @Ravi Saxena
      For personal support, you can reach out to our course advisors on IND: +91-7022374614 US: 1-800-216-8930 (Toll-Free).

  • @surajkumarwinner
    @surajkumarwinner 3 года назад +1

    I really learnt a lot .. great skill , great mentor. the way are u teaching it's really tremendous.

  • @TheVishal1994
    @TheVishal1994 3 года назад +1

    Superb Content.

    • @Intellipaat
      @Intellipaat  3 года назад

      Glad you think so!
      Keep watching!
      Thank you!

  • @butoyighyslain171
    @butoyighyslain171 3 года назад +2

    extremly well done..I feared it would be borin but it was perfect!!

    • @Intellipaat
      @Intellipaat  3 года назад

      Glad you liked it. Keep learning with Intellipaat😊

  • @mahiii7723
    @mahiii7723 3 года назад +2

    Good lecture and great explanation keep it going bro..........

  • @praveenreddy9020
    @praveenreddy9020 4 года назад +1

    Appreciatable work sir.....thank you

  • @raghuputapawalu1851
    @raghuputapawalu1851 3 года назад

    The video was very helpful to us and the way of making vidoe and teaching level simple brilliant

    • @Intellipaat
      @Intellipaat  3 года назад

      Thank you @raghu putapawalu Keep Learning: )

  • @Harvi_srh
    @Harvi_srh 5 лет назад +5

    Ur video helped me a lot . I attended interview today they asked 3 questions which are there in ua video so I answered them easily

    • @Intellipaat
      @Intellipaat  5 лет назад +1

      That's so great Shravani. Good luck & Keep learning with Intellipaat. :)

    • @jaiswalakash100
      @jaiswalakash100 5 лет назад +1

      what are the 3 question asked in interview?

    • @shivarajhalageri2513
      @shivarajhalageri2513 3 года назад

      Shravani how were you able to get the interview call from where did you apply

  • @swatishambhavi3649
    @swatishambhavi3649 5 лет назад +14

    You've thoroughly explained each and every answer, thank you so much, sir.

    • @Intellipaat
      @Intellipaat  5 лет назад +2

      Glad it was helpful. Keep learning with Intellipaat. :)

    • @swatishambhavi3649
      @swatishambhavi3649 5 лет назад +1

      @@Intellipaat for sure :)

  • @kaustubhsharma4490
    @kaustubhsharma4490 4 года назад +10

    Last question - copy from one table to another.
    Was creating a new table necessary ?
    Cant we just do this -
    Select * into employee_duplicate from employee

    • @jatinpant6992
      @jatinpant6992 3 года назад +1

      you are right, we don't have to create a table for that. it can be directly done.

    • @dheerajk6716
      @dheerajk6716 3 года назад

      We can use
      Select * into tbl2 from tbl1
      But in case we need the exact table schema which has constraints and keys associated , then select * into doesn't do that.. hence table schema is created first and then insert into script is used..
      This is useful when we are working on table having huge records for faster data retrieval

  • @konduruvenkatraju7876
    @konduruvenkatraju7876 3 года назад +1

    Hello sir,
    Your doing a fantastic job continue like this , whatever u r explaining your videos very clearly and little bit and good concept✌❤

  • @subramaniang5265
    @subramaniang5265 4 года назад +2

    Such an excellent trainer, provided with nice presentation. Thanks a lot!!!

  • @DibyenduMitraRoy
    @DibyenduMitraRoy 5 лет назад +6

    The 4th question (finding the second-highest salary) can also be answered in the following way "SELECT * FROM `employee` ORDER BY e_salary DESC limit 1,1"

  • @bajrangibhaijaan9260
    @bajrangibhaijaan9260 4 года назад +2

    Create table Employee_Dup as Select * from Employee;
    Using this single statement we can create as well as copy record.

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

    Select * from employee as e1. where 3-1=(select count (distinct)(salary) from employee as e2 where e2.salary>=e1.salary,

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

      If you wish to get Personal support Kindly call our course advisors on IND: +91-7022374614 US: 1-800-216-8930 (Toll-Free).

  • @piyushrai6293
    @piyushrai6293 3 года назад

    Thanks for the good tuition

    • @Intellipaat
      @Intellipaat  3 года назад +1

      You are welcome @Piyush Rai Do like, share & subscribe to our channel to get updates on upcoming videos.

    • @amanahmed6057
      @amanahmed6057 3 года назад

      but now he is in great learning platform

  • @ashitavermani4508
    @ashitavermani4508 3 года назад

    very well explained

    • @Intellipaat
      @Intellipaat  3 года назад

      Thankyou @Ashita Vermani Keep learning with us:- )

  • @akhilhonnuru8321
    @akhilhonnuru8321 3 года назад

    Happy to see u here bharani

  • @AmitSharma-qx6ry
    @AmitSharma-qx6ry 3 года назад

    Thank you so much !!! This video helped me got one !

    • @Intellipaat
      @Intellipaat  3 года назад +1

      You're welcome! @Amit Sharma Keep learning with us.

  • @naveen95959
    @naveen95959 5 лет назад +4

    Sir the Tutorial was very helpful to me from the beginning SQL tutorial for beginners to this SQL Interview questions tutorial. All the topics were clearly explained by you. And I thank you for your dedicated contribution towards teaching & learning sector of the technology. I'll be thankful to you forever and I hope you'll be coming up with more advanced SQL interview question tutorials & other advanced technologies.
    Thank you again Sir.

    • @Intellipaat
      @Intellipaat  5 лет назад +1

      Glad you liked it. Keep learning with Intellipaat. :)

  • @venkatasubbareddy6179
    @venkatasubbareddy6179 4 года назад +1

    Very good explanation. Thank you so much 🙏

    • @Intellipaat
      @Intellipaat  4 года назад

      Welcome. stay tuned to Intellipaat😊

  • @ravindranaths581
    @ravindranaths581 4 года назад +1

    Very basic question... Good for students

    • @Intellipaat
      @Intellipaat  4 года назад

      Glad it was helpful. Keep learning with Intellipaat😊

  • @kpereiraestrada
    @kpereiraestrada 4 года назад

    Excellent service

  • @pranavkulkarni4165
    @pranavkulkarni4165 4 года назад +2

    In Question 15 i.e. about UNION and UNION ALL operator the output you showed is wrong I think so.
    The extra orange fish is present rather than Blue Fish.
    Kindly Clarify.
    Addition to that want to say that your videos are super helpful and we are getting all the knowledge from fundamental to expert things.
    Regards,
    Pranav K

    • @pranavkulkarni4165
      @pranavkulkarni4165 4 года назад

      Users are spending time to write an comments but if you people didn't respond to that then whats the use of RUclips channel and comment box.

  • @akhiljidigum6097
    @akhiljidigum6097 5 лет назад +1

    Thankyou for sharing lot of knowledge,this is very helpful to me.

    • @Intellipaat
      @Intellipaat  5 лет назад

      Glad it was helpful. Keep learning with Intellipaat. :)

    • @seemakiran2977
      @seemakiran2977 4 года назад

      It mdhe job kartat ka

  • @deepaksingh9318
    @deepaksingh9318 5 лет назад +2

    very helpful for quick preparation in short time ...

    • @Intellipaat
      @Intellipaat  5 лет назад

      Glad it was helpful. Keep learning with Intellipaat. :)

  • @abrilgonzalez7892
    @abrilgonzalez7892 24 дня назад

    THnk yoy so much for the tutorial.
    I want to practice what you teach in this video.
    So, my question is, ¿ Is there any chance we could access the database you used for doing those queries?
    Thank you so much!

    • @Intellipaat
      @Intellipaat  20 дней назад

      Thanks for the question! Unfortunately, I can't share the database used in this video. But I encourage you to practice on your own database, or you can find many public datasets online to test your skills!

  • @bharathm5322
    @bharathm5322 4 года назад +2

    GOOD EXPLANATION

  • @sambhajighare8193
    @sambhajighare8193 4 года назад

    Nice tutorial. Thanks 👍

  • @nifrasthahir2596
    @nifrasthahir2596 4 года назад +1

    Excellent! And Excellent!

    • @Intellipaat
      @Intellipaat  4 года назад

      Glad you like it! Stay tuned to Intellipaat😊

  • @P5toraskar1986
    @P5toraskar1986 3 года назад

    Superb video

    • @Intellipaat
      @Intellipaat  3 года назад

      Thank you so much 😀 @Parag Toraskar Do like, share & subscribe to our channel to get updates on upcoming videos.

  • @shahidkarim2260
    @shahidkarim2260 4 года назад

    Thnks u soo much which can help me in my learning

  • @deepdive429
    @deepdive429 5 лет назад +3

    Hello!
    Your content is useful.
    I'm not an expert but I learned somewhere to copy structure of one table into another in 17th question you created same structure for a new table instead of this you can direct create structure with the query given below:
    Create table table_name like target_table;

    • @Intellipaat
      @Intellipaat  5 лет назад

      Great it was helpful. Keep learning with Intellipaat. :)

  • @arunkumarr2302
    @arunkumarr2302 3 года назад +1

    Very worthy 👍❤️

    • @Intellipaat
      @Intellipaat  3 года назад

      Glad you liked it. Keep learning with Intellipaat😊

  • @chinnuteju9059
    @chinnuteju9059 4 года назад +1

    Thank you so much sir☺

  • @SumitKumar-qc3wd
    @SumitKumar-qc3wd 3 года назад

    Thanks for this video, Its really helpful.

  • @BilalKhan-sx9eu
    @BilalKhan-sx9eu 3 года назад

    Explained Well.

  • @praveenbarkali9582
    @praveenbarkali9582 5 лет назад

    Hi sir...... When u r typing a query in SQL database it's not clear to viewer.... U r explanation is very good sir...

  • @abdulravoof6444
    @abdulravoof6444 4 года назад

    Very informative

  • @rajatgupta-qr8hz
    @rajatgupta-qr8hz 5 лет назад +1

    Better than edureka. Good to explain with an example.

  • @akshaysilgari2097
    @akshaysilgari2097 3 года назад +1

    Great video bro

  • @VishnuVardhan-br4yp
    @VishnuVardhan-br4yp 5 лет назад +1

    I like your way of teaching

  • @JITENDRAPAL21
    @JITENDRAPAL21 3 года назад +1

    liked his communication skill

  • @ramyareddy4224
    @ramyareddy4224 4 года назад

    THANKS SIR
    IT IS VERY HELPFUL FOR US

  • @sukanyabhosale8042
    @sukanyabhosale8042 3 года назад +1

    for DELETE command delete row from column and is roll back but in TRUNCATE command it can not be roll back

  • @rrl1919
    @rrl1919 4 года назад

    Really nice exaplanation--sir please make video on ETL validation

  • @thesujata_m
    @thesujata_m 3 года назад +3

    1 correction for aggregate functions: we can use where clause in aggregate queries too, for aggregate group by is mandatory

  • @Achandra7
    @Achandra7 3 года назад +1

    I used to watch great learning videos because of you sir not for any certificates.

  • @miteshjain56
    @miteshjain56 5 лет назад +1

    Best explanation
    nice sir

    • @Intellipaat
      @Intellipaat  5 лет назад

      Thanks. Stay tuned to Intellipaat to keep learning. :)

  • @punk77777
    @punk77777 4 года назад

    nice video, it really helps me.

  • @cutybebo1438
    @cutybebo1438 5 лет назад +2

    Thank you so much sir ....... it's very benefit for us.....

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

    How to get result in text column as underlined and coloured font for any DML update query? For example
    Please submit your delivery Papers before Jan 1 - Jan 1 should underlined with yellow fonts.

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

      If you wish to get Personal support Kindly call our course advisors on IND: +91-7022374614 US: 1-800-216-8930 (Toll-Free).

  • @balamuralikrishnab1625
    @balamuralikrishnab1625 4 года назад

    What is the query for this Write a program to find list of duplicate mobileno in a list
    Assume there is a list populated with mobileno. Now in this list there can be some numbers repeated. Output of the program should have List of mobileno which is repeated at least once

  • @themachinelearningarchitect
    @themachinelearningarchitect 5 лет назад +1

    Awesome 😉

    • @Intellipaat
      @Intellipaat  5 лет назад

      Glad you liked it. Keep learning with Intellipaat.:)

  • @d.choudhary2705
    @d.choudhary2705 5 лет назад +3

    Pls upload advance level sql interview questions and answers videos.

    • @Intellipaat
      @Intellipaat  5 лет назад +1

      Hi Dinesh, in this video we have covered basics and advanced both the questions. Please watch the complete video. :)

    • @d.choudhary2705
      @d.choudhary2705 5 лет назад +1

      @@Intellipaat I watched then replied. I mean , pls make videos with little complex examples. So those will helpful for working professional too.

    • @Intellipaat
      @Intellipaat  5 лет назад +2

      Alright. Will upload another video with more advanced questions. Stay tuned to Intellipaat channel.:)

    • @d.choudhary2705
      @d.choudhary2705 5 лет назад +1

      @@Intellipaat I like your videos and work. Doing good job.

    • @Intellipaat
      @Intellipaat  5 лет назад

      @@d.choudhary2705 Thanks a lot. Keep learning with Intellipaat.:)

  • @santoshmunj3352
    @santoshmunj3352 5 лет назад

    Cheers bro, explained really very well. However, for advanced learners need more in depth concepts for example- how to remove duplicates from a table?. Thanks in advance for such videos.

    • @Intellipaat
      @Intellipaat  5 лет назад

      Sure Santosh, the videos will be uploaded soon, keep learning with Intellipaat. :)

  • @hennychestnut5479
    @hennychestnut5479 5 лет назад +1

    thanks man really clear direction, and good english speaking as well!!!!!!!!!!

  • @srinu3737
    @srinu3737 5 лет назад

    VERY BASIC QUS

  • @jagadishmithun
    @jagadishmithun 5 лет назад +2

    It is a very good and please update graphical user interface lab sir plzzz

  • @akshatabali2325
    @akshatabali2325 5 лет назад +3

    Hey can you please tell me the difference between inner join and intersect opration because both of these method returns same output

  • @shubairabbas5480
    @shubairabbas5480 5 лет назад +1

    You are awesome

  • @mjmak82
    @mjmak82 5 лет назад +2

    Liked... Very much presentful

    • @Intellipaat
      @Intellipaat  5 лет назад

      Glad you liked it. Keep learning with Intellipaat. :)

  • @ubongmbaba2319
    @ubongmbaba2319 5 лет назад +4

    Thanks for the video. Please can you upload data analysis with R

  • @japhetkiplagat8452
    @japhetkiplagat8452 4 года назад +2

    powerful this is a powerfull at the same time this is the career am persuing bro can i can get soome feed back to know much about this?

  • @shivaniverma2055
    @shivaniverma2055 5 лет назад +1

    Thank u Sir
    I understood your session 👍

    • @Intellipaat
      @Intellipaat  5 лет назад

      Glad it was helpful. Keep learning with Intellipaat. :)

  • @lnentertainment5509
    @lnentertainment5509 4 года назад +1

    Could you please upload videos on SSIS and SSRS?

    • @Intellipaat
      @Intellipaat  4 года назад

      Sure. Noted. Will upload soon. 🙂

  • @marvelvsdc6370
    @marvelvsdc6370 5 лет назад +4

    In depth JavaScript tutorial .. please

    • @Intellipaat
      @Intellipaat  5 лет назад +1

      Hi, we will be uploading this video very soon. Stay tuned!

  • @desifoodiegirl07
    @desifoodiegirl07 5 лет назад +1

    Can you please make a video on SQL query which were frequently asked in interview for experienced ..

    • @Intellipaat
      @Intellipaat  5 лет назад

      Sure . Noted. Will upload soon. :)

  • @ajin_thelosttraveller
    @ajin_thelosttraveller 4 года назад

    Please add video for PKI and Cryptography interview questions 🙏

  • @arunavanka1240
    @arunavanka1240 3 года назад

    hello sir very good explanation but can I know the IDE u used plz

  • @UKJ28
    @UKJ28 4 года назад

    Hello Sir, please increase the font size in all videos, I have to skip such good videos due to font size. Thanks

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

    Could you please send the link for your data set

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

      Thank you so much for appreciating the content. Your feedback motivates us to make more such content. Unfortunately, we don't share the source code or presentation deck with anyone. Although, if you wish to learn from Industry Experts and IIT Faculty, do fill out this form and we will reach out to you. Have a great day!
      .
      Google Form: forms.gle/XWy7MtQPrHkgq7Pt7

  • @thelastdragonbender5824
    @thelastdragonbender5824 4 года назад

    nicely explained!

  • @AbhiGamer683
    @AbhiGamer683 3 года назад +1

    thanks a lot for this short and crispy useful tutorial, what is the difference between UNION and INNER JOIN ? please

    • @Intellipaat
      @Intellipaat  3 года назад

      JOIN in SQL is used to combine data from many tables based on a matched condition between them.
      UNION in SQL is used to combine the result-set of two or more SELECT statements.

  • @DB-sf1hy
    @DB-sf1hy 5 лет назад

    Where is a stored procedure saved? How can you view it after it is created?

  • @AshwiniJagtap-cg7fv
    @AshwiniJagtap-cg7fv 5 лет назад +2

    Sir it's good combination of theory and practical but the text at bottom due to that not able to see the tables at bottom

    • @Intellipaat
      @Intellipaat  5 лет назад

      Hi, if it is the subtitle, then click on "cc" (bottom, right side) once again so that it will be hidden, and then you can view the video content.

  • @anandkumar-xu3yq
    @anandkumar-xu3yq 5 лет назад +2

    To learn sql. We should have any coding or programming skills?

    • @nikhilreddy5996
      @nikhilreddy5996 5 лет назад +2

      not needed
      this is purely independent

    • @anandkumar-xu3yq
      @anandkumar-xu3yq 5 лет назад +1

      @@nikhilreddy5996 thanks buddy

    • @Intellipaat
      @Intellipaat  5 лет назад +1

      There is no need of programming skills to learn SQL. :)

  • @TekTuition
    @TekTuition 5 лет назад +3

    Q17 answer is Select * Into NewTableName From OldTableName

  • @justinakwetey5566
    @justinakwetey5566 4 года назад +1

    Please is there a DDL script available to creat the DB so i can practice ?

  • @kolukuluriaditya2284
    @kolukuluriaditya2284 5 лет назад +2

    Can you make a video on btech passed out in 2019; what to do

    • @Intellipaat
      @Intellipaat  5 лет назад

      Sure, will forward the topic to the respective team and will upload the video soon. Please subscribe to Intellipaat channel & press the bell icon so that you don't miss that video from us.

  • @VishnuVardhan-br4yp
    @VishnuVardhan-br4yp 5 лет назад +3

    Do some advanced

  • @getasewkasahun76
    @getasewkasahun76 4 года назад +1

    Hey buddy could U UPLOAD SSRS interieview questions.

  • @dishanx
    @dishanx 5 лет назад +5

    Duplicate table and insert,
    Select * into employee_duplicate from employee;

  • @samruddhivaidyaloke1028
    @samruddhivaidyaloke1028 3 года назад

    please upload pl/sql tutorial

  • @ramireddygopalreddy4316
    @ramireddygopalreddy4316 3 года назад +1

    I want learn SSIS any new batches starting

    • @Intellipaat
      @Intellipaat  3 года назад

      Yes @ramireddy gopalreddy For personal support you can reach out to our course advisors on IND : +91-7022374614 US : 1-800-216-8930 (Toll Free).

  • @sukhibhava7010
    @sukhibhava7010 5 лет назад +1

    Is this enough for experienced candidates also?

  • @yashwanthvijay
    @yashwanthvijay 5 лет назад +1

    Would like to what is a recursive CTE and where it is used in SQL

    • @Intellipaat
      @Intellipaat  5 лет назад

      Hi, we will cover in the next session. :)

  • @littlestarts186
    @littlestarts186 5 лет назад +2

    Good video
    #SMQJALDHT