Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Top Merchants by Category

Medium
SQL & Data ManipulationWindow FunctionsRankingAggregations

Problem

Write a query using window functions to identify the top three merchants by transaction volume within each Square business category.

Practicing as: Data Scientist interview at Square

Hi, I'll play your Square interviewer for the Data Scientist role. Candidates describe these interviews as often stressful and moderately difficult, so expect me to be direct and to the point. Take your time with the question above and answer like we're in the room.

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
Next questions
SQL Window Functions for Top CategoriesMediumTop Suppliers by CategoryMediumStripeTop Merchants by CountryMedium