Question bank
4,310 interview questions, answered.
Reference answers, what the interviewer is really testing, how it is graded, and the follow-ups that come next.
Easy 14Medium 40Hard 15
Filters · onDifficulty, topic, company
69 questions
- 1What is the best way to connect SQL databases and why?MediumTechnicalData·
Airbnb, Google - 2Session Data Analysis.HardCodingTechnical·
Amazon - 3Write a query to find all dates where the stadium had three or more consecutive days with attendance of 100 or more people.HardCodingData·
Amazon - 4Write a query to find the top 3 unique salaries in each department and list all employees who have those salaries.MediumCodingData·
Amazon - 5Given a bookstore database schema, write SQL queries using joins and aggregations to answer questions about sales, inventory, and customer data.MediumCodingData·
Meta - 6Calculate Test ScoresMediumCodingData·
Google - 7Find the number of users who called three or more people in the last week.MediumCodingData·
Meta - 8Explain the key differences between BETWEEN and HAVING clauses in SQL.MediumTechnicalData·
Deloitte - 9What is the difference between NoSQL and SQL?MediumTechnicalData·
Amazon, Apple - 10Find Monthly Revenue GrowthHardCodingData·
Uber - 11What percentage of users who were active on Messenger yesterday made a video call yesterday?MediumCodingData·
Meta - 12Monthly Post Success Analysis.EasyCodingData·
LinkedIn - 13Remove Duplicate EmailsMediumCodingData·
IBM - 14Write SQL code to publish the Fibonacci series.MediumCodingData·
Google, Microsoft - 15Top Salaries by DepartmentHardCodingData·
Tesla - 16Tree Node.EasyCodingData·
Google - 17What is SQL?EasyDataCoding·
Microsoft - 18Consecutive LoginsMediumCodingData
- 19E-commerce (2 of 5)EasyCodingData
- 20Employee HierarchyHardCodingData
- 21Find Customers by DepartmentMediumCodingData
- 22Total Transaction VolumeHardCodingData
- 23Amazon Order StatusHardCodingData
- 24Campaign Impact RankingMediumCodingData