Interview questions · medium
Write an SQL query to find the second-highest salary from an employee table.
Can you explain the difference between OLTP and OLAP?
Explain the difference between INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.
How do you handle NULL values in SQL? Mention functions like COALESCE and NULLIF.
What is the difference between WHERE and HAVING clauses in SQL?
Delete vs. Truncate in Snowflake?
Solve a coding question related to window functions using SQL and PySpark.
Write a query that ranks users by their total order amount within each region.
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.