Interview questions · medium
Write an SQL query to find the second-highest salary from an employee table.
How do you remove duplicate rows in BigQuery?
What is the role of AWS Lambda in a data engineering pipeline?
Explain SQL Window Functions with examples.
Explain the use of the MERGE statement in SQL.
How do you handle NULL values in SQL? Mention functions like COALESCE and ISNULL.
How would you handle duplicate records in an SQL table?
Write a SQL query to find top 3 earners in each department.
Architect incremental load in ADF + Databricks with idempotency, late-arrival handling, and cost/scalability implications of watermark vs. change data capture.
Replace words and perform string operations in Python (replace, vowel removal, word count, pattern check).
Write a Python program to reverse words in a string.
Explain the difference between partition count and query performance in Spark.
Find employees who earn the third-highest salary.
Write SQL to identify employees whose salary is higher than their manager's.
Write a SQL query to find departments with more than 10 employees.
Write a SQL query to remove duplicates from a table.
Write a query to find employees in the same department as 'John'.
Type or paste your answer to any of these questions and our AI Coach scores it, highlights gaps, and rewrites it at FAANG quality. Free to try.