Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
One of the best SQL katas I've seen. Taught me more about P-SQL and how it differs from T-SQL than any other I've attempted.
Clever kata, but there's a problem with what constitutes a "customer". See my solution.
-- The full test suite only counts customers with at least one rental.
-- This is wrong. About 10 customers have no rentals, but they are still customers.
-- That affects the Top 20% calculations and causes correct solutions to fail final testing.
-- The code below illustrates the problem. Change "INNER JOIN" to "LEFT JOIN" in first CTE to
-- see what I think should be the correct solution.
Clever idea but doesn't work. "nnwnnwnsns" is deemed a valid walk but would leave you 6 blocks away. Change E to 200 and W to -200.