Write a query to find the top three highest-paid employees in each department using window functions.
SQLmedium
2
How would you handle nulls in a SQL join? Provide examples using COALESCE.
SQLmedium
3
What is the most common performance bottleneck in Spark jobs, and how would you resolve it?
Spark/Big Datamedium
4
Write a PySpark script to filter out invalid records from a dataset and calculate the average for a specific column, ensuring the schema is strictly defined at runtime.
Spark/Big Datamedium
+4 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.