SQL Practice Logo

SQLPractice Online

Level 6 - ExpertDebugging Questionsm2 performance schema

Debugging: Wrong Index Column Order

Given index `(created_at, tenant_id)` and frequent query by `tenant_id` + date range, provide corrected index DDL.