logo

SQL Interview Questions

Writing SQL queries is KEY to Acing the Data Science Interview, but if you want to go beyond SQL join our FREE
9-Day Interview Crash Course! (which covers Probability, Statistics, ML, Coding, & Product-Sense).

CompanyTitleDifficultyStatus

Facebook

Active User Retention

Hard

Wayfair

Y-on-Y Growth Rate

Hard

Amazon

Maximize Prime Item Inventory

Hard

Google

Median Google Search Frequency

Hard

Facebook

Advertiser Status

Hard

McKinsey

3-Topping Pizzas

Hard

Stripe

Repeated Payments

Hard

Amazon

Server Utilization Time

Hard

FAANG

Department vs. Company Salary

Hard

Your Progress

0%

Refer Friends To Unlock More Questions

Tags

Percentage Calculations7

Joins11

Array Functions1

bball0

Date-Time Functions13

Mathematical Functions9

fun-run0

Aggregate Functions36

Ace the Data Science Interview15

Data Type Conversion13

Data Generation Functions0

Window Functions12

The-Office-SQL0

Set Operations2

Null Handling5

Conditional Expression17

Top N Results6

Control Flow Functions1

Arithmetic Operators3

Existence Check3

Conditional Logic11

Common Table Expressions (CTE) or Subquery17

String Functions2

Distinct and Unique Handling9

User Behavior6