DataEngPrep.tech
QuestionsBlogStore
Get PDF Bundle

Interview Questions

Real questions from top companies

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

Find 3rd Highest Salary

SQLmedium
1022

Find Employees with Maximum Salary in Each Department

SQLmedium
1023

Find average salary by department, max average salary, and list of employees for the max salary department.

SQLmedium
1024

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

SQLmedium
1025

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

SQLmedium
1026

Find employees who earn the third-highest salary.

SQLmedium
1027

Find non-common records in two tables (SQL EXCEPT or NOT IN)

SQLeasy
1028

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

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...5051525354...94Next