DataEngPrep.tech
QuestionsBlogStore
Get PDF BundlePDF Bundle

Interview Questions

Real questions from top companies

700+ Easy450+ Medium650+ Hard
All CategoriesBehavioralSpark/Big DataSQLPython/CodingSystem Design/ArchitectureCloud/ToolsGeneral/Othereasymediumhard
1

Why is HAVING clause used only after GROUP BY?

SQLmedium
2

Why not use ROW_NUMBER() instead? Discuss pros and cons.

SQLmedium
3

Why star schema? Compared with snowflake schema and normalized approaches.

SQLmedium
4

Window Functions: ROW_NUMBER(), RANK(), PARTITION BY - produce output using dataset

SQLmedium
5

Write SQL query for sum of marks grouped by student.

SQLeasy
6

Write SQL query to find names starting with 'R' and ending with 't', sorted by first_name descending

SQLeasy
7

Write SQL query to replace specific patterns in a string column.

SQLeasy
8

Write SQL to identify employees whose salary is higher than their manager's.

SQLmedium

+20 More Questions with Expert Answers

Get the complete 1,800+ question library with detailed, expert-level answers covering SQL, Spark, System Design, Python, Cloud, and Behavioral topics.

Get PDF Bundle - from $21Try Free Sample
Previous1...6263646566...94Next