medium10 pts · first answer countssqlindexingdatabase-performance
Composite index column order
A multi-tenant app adds CREATE INDEX ON tickets (tenant_id, created_at). Which query is this index best suited for?
Discussion 0
Join free to post in the discussion.
Related questions
- Preventing SQL injectionFull Stack Developer
- Listing users with zero ordersFull Stack Developer
- Comparing a column to NULLFull Stack Developer
- What an index costsFull Stack Developer
- Moving credits between accountsFull Stack Developer
- GraphQL author lookupsFull Stack Developer
- Two agents edit one ticketFull Stack Developer
- Items missing between pagesFull Stack Developer