Thursday, April 20, 2023

Write an SQL query to report the distance traveled by each user.

 --Write an SQL query to report the distance traveled by each user.
--Return the result table ordered by travelled_distance in descending order, if two or more users traveled the same distance,order them by their name in ascending order.


Solution:


Check out my video for the solution:




No comments:

Post a Comment

"🚀 Delta Lake's Vectorized Delete: The Secret to 10x Faster Data Operations!"

"🚀 Delta Lake's Vectorized Delete: The Secret to 10x Faster Data Operations!" Big news for data engineers! Delta Lake 2.0+ in...