A complete, ordered SQL interview path for freshers: a 30-day roadmap, fundamentals, joins, subqueries, window functions, indexes, transactions, four quizzes and the 50 most-asked questions with answers.
Whether this is your first SQL interview or your fifth, the questions come from the same short list of topics. This collection is a complete, ordered path through them for freshers (0 to 1 year of experience): learn a topic, practise it with a short query, then test yourself.
The examples target Microsoft SQL Server (T-SQL) and mostly run unchanged on PostgreSQL and MySQL. Differences are called out as you go.
Each step also has its own page, so you can jump straight to the topic you need.
SELECTWHERENULLGROUP BYEXISTS