MENU

Fun & Interesting

Top 25 SQL Server Interview Questions - .NET C#

Interview Happy 131,551 3 years ago
Video Not Working? Fix It Now

🚀 .NET Interview Mastery Bootcamp (3 Courses Included) 🎯Course 1: Top 500 .NET Interview Questions (with Quick Revision PDF Book) Topics: OOPS, C#, ASP.NET MVC, .NET Core, Web API, SQL, Coding Questions 🎯Course 2: .NET Interview Success Guide Topics: .NET Resume Template, HR/MR Questions, Salary Negotiation. 🎯Course 3: .NET Mock Interviews & .NET Revision Flashcards 10 .NET Mock Interviews for All Experience Levels (0-1 yr, 1-3 yrs, 3-6 yrs, 6+ yrs) 💥 Use Coupon Code: NEVERGIVEUP for 75% Off (Limited Time) 📩 For bootcamp queries mail me - [email protected] ✅ 100% 7-Days Money-Back Guarantee 👉 Click here for Bootcamp - https://www.interviewhappy.com/page/dotnetbootcamp 👉 For Just Course 1 or Outside India use below link: https://www.udemy.com/course/csharp-oops-mvc-asp-dotnet-core-webapi-sql-questions-mock-interviews/?couponCode=DOTNETOFFERJAN2025 📘 Quick Revision Book (PDF) – Top 500 .NET Interview Questions 🎉 50% Off – Limited Time Offer Already Applied! ✅ 100% 7-Days Money-Back Guarantee 📩 For queries mail me - [email protected] 👉 Get It Here: https://imojo.in/interviewhappy This video contains the top 25 interview questions asked from SQL Server topic: 00:00 – Introduction 00.56 – Q1. What is the difference between DBMS and RDBMS? 02:23 – Q2. What is a Constraint is SQL? What are its types. 06:45 – Q3. What is the difference between Primary key and Unique key? 08:36 – Q4. What are Triggers and types of triggers? 13:34 – Q5. What is a View? 16:58 – Q6. What is the difference between Having clause and Where clause? 18:23 – Q7. What is Sub query or Nested query or Inner query in SQL? 19:27 – Q8. What is Auto Increment/ Identity column in SQL Server? 21:12 – Q9. What are Joins in SQL? 21:49 – Q10. What are the types of Joins in SQL Server? 24:23 – Q11. What is Self-Join? 27:06 – Q12. Write a SQL query to fetch all the Employees who are also Managers. 30:22 – Q13. What are Indexes in SQL Server? 31:18 – Q14. What is Clustered index? 33:10 – Q15. What is Non-Clustered index? 34:53 – Q16. What is the difference between Clustered and Non-Clustered index? 36:49 – Q17. How to create Clustered and Non-Clustered index in a table? 38:00 – Q18. In which column you will apply the indexing to optimize this query. “select id, class from student where name=”happy””? 39:47 – Q19. What is the difference between Stored Procedure and Functions (at least 3)? 43:30 – Q20. How to optimize a Stored Procedure or SQL Query? 47:12 – Q21. What is a Cursor? Why to avoid them? 49:40 – Q22. What is the difference between scope_identity and @@identity? 51:46 – Q23. What is CTE in SQL Server? 53:41 – Q24. What is the difference between Delete, Truncate and Drop commands? 57:36 – Q25. How to get the Nth highest salary of an employee? 01:00:49 – (Bonus Question) What are ACID properties? 01:03:07 – (Bonus Question) What are Magic Tables in SQL Server?

Comment