CodingReported in a candidate post, Sep 2025
Compare each trip's distance with the previous trip for the same vehicle
Filed under NielsenIQ
The question
Using the same trips table, write a SQL query that compares each trip's distance with the previous trip's distance for the same vehicle.
No write-up yet. Related questions below have one.
Related NielsenIQ questions
Collected from public candidate posts and coding forums. Updated Nov 2026.