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
40 questions
- 1What is the best way to connect SQL databases and why?MediumTechnicalData·
Airbnb, Google - 2Write a query to find the top 3 unique salaries in each department and list all employees who have those salaries.MediumCodingData·
Amazon - 3Given a bookstore database schema, write SQL queries using joins and aggregations to answer questions about sales, inventory, and customer data.MediumCodingData·
Meta - 4Calculate Test ScoresMediumCodingData·
Google - 5Find the number of users who called three or more people in the last week.MediumCodingData·
Meta - 6Explain the key differences between BETWEEN and HAVING clauses in SQL.MediumTechnicalData·
Deloitte - 7What is the difference between NoSQL and SQL?MediumTechnicalData·
Amazon, Apple - 8What percentage of users who were active on Messenger yesterday made a video call yesterday?MediumCodingData·
Meta - 9Remove Duplicate EmailsMediumCodingData·
IBM - 10Write SQL code to publish the Fibonacci series.MediumCodingData·
Google, Microsoft - 11Consecutive LoginsMediumCodingData
- 12Find Customers by DepartmentMediumCodingData
- 13Campaign Impact RankingMediumCodingData
- 14E-commerce (3 of 5)MediumCodingData
- 15Employee Earnings.MediumCodingData
- 16EPA Temperature MonitoringMediumCodingData
- 17Find Campaign PurchasesMediumCodingData
- 18Find Conversion RatesMediumCodingData
- 19Find Customer Lifetime Value (LTV)MediumCodingData
- 20Find Revenue by DepartmentMediumCodingData
- 21Find Second Highest OrderMediumCodingData
- 22Fraudulent TransactionsMediumCodingData
- 23Instagram LikesMediumCodingData
- 24Marketing Channel AttributionMediumCodingData