All challenges
Code AnalysisIntermediate 60s

Tenant filter missing in query

A shared-schema SaaS runs this query for an order detail page: SELECT * FROM orders WHERE order_id = $1; orders has a tenant_id column and a unique index on order_id. What is the failure mode?

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle