DataEngPrep.tech
QuestionsBlogStore
Get PDF Bundle

Interview Questions

Real questions from top companies · medium

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

Find average salary for each manager – Assume a table with manager_id and employee_salary

SQLmedium
2

Find each student's previous year's scores using the LAG function.

SQLmedium
3

Find employees who earn the third-highest salary.

SQLmedium
4

Find the 2nd highest salary for each department using the DENSE_RANK() function.

SQLmedium
5

Find the error in the provided SQL query.

SQLmedium
6

Find the second-highest salary in the employees table using three different methods.

SQLmedium
7

Find the third-highest salary for each department.

SQLmedium
8

Finding nth Highest Salary within each department

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...1112131415...24Next