Disney SQL Interview Question

disney sql interview

Question: Assume you are given the below table on watch times (in minutes) for all users, where each user is based in a given city. Write a query to return all pairs of cities with total watch times within 10000 minutes of one another. Difficulty Level: Easy, Source: Nicksingh, Tag: Disney SQL Interview Question Assumptions: No NULLS present; DBMS: … Read more

UBER SQL Interview Question

UBER SQL Interview Question

Question: Assume you are given a table for spending activity by product type. Write a query to calculate the cumulative spend for each product over time (days) in chronological order. Difficulty Level: Medium, Source: NickSingh.com, Tag: UBER SQL Interview Question Note: Cumulative sum is the same as running totals, which is used to display the data as it grows … Read more

Robinhood SQL Interview Question

Robinhood SQL Interview Question

Question: Assume you are given the below tables for trades and users. Write a query to return the list of the top 3 cities with the highest number of completed order fractions. Difficulty Level: Easy, Source: NickSingh.com, Tag: Robinhood SQL Interview Question Note: completed order fraction = total completed orders / total numbers of orders … Read more