Back to Data Analytics Interview
Data Analytics Interview

Data Analytics Interview

30 of 84 Completed

Distance Traveled
Go to question details page

Given the tables users and rides, write a query to report the distance traveled by each user in descending order.

Example:

Input:

users table

Column Type
id INTEGER
name INTEGER

rides table

Column Type
id INTEGER
passenger_user_id INTEGER
distance FLOAT

Output:

Column Type
name VARCHAR
distance_traveled FLOAT
Good job, keep it up!

35%

Completed

You have 54 sections remaining on this learning path.

Loading pricing options