Here is the list of top 10 most frequently asked SQL Interview Questions.
The solution and explanations for all these questions are provided in the following video tutorials.
So lets get started.
Q1 - How to delete duplicates from a table?
USING CASE
Q10 - What is the difference between Count(*), Count(1) and Count(colname) ?
USING PIVOT
Q6 - What are the different types of Joins in SQL?
Q7 - What is the difference between Rank, Row Number and Dense Rank functions?
Q8 - How to compare current quarter's sale with previous quarter's sale?
Q9 - How to calculate YTD and MTD totals?
Q10 - What is the difference between Count(*), Count(1) and Count(colname) ?