SQL questions from Gartner data engineering interviews.
These sql questions are sourced from Gartner data engineering interviews. Each includes an expert-level answer.
Compare PostgreSQL vs Snowflake. How do they handle duplicate record errors?
Explain ETL process flags and segregation of steps.
Explain Union vs Union All in SQL.
Explain normalization and its disadvantages.
Explain peer code review and team lead review.
Explain the difference between a clustered and non-clustered index.
Explain the difference between a fact table and a dimension table.
Explain the difference between a primary key and a unique key.
Find average salary by department, max average salary, and list of employees for the max salary department.
How do you make data ingestion fast with 5 tables of 50k records?
How many rows result from left, right, full outer, and inner joins?
What is CTE in SQL?
Write SQL query for sum of marks grouped by student.
Write a query to get the latest rule_id and rule_status.
Write a self join query to get the manager's name for each employee.
Download the complete interview prep bundle with expert answers. Study offline, on your commute, anywhere.