SQL Practice Logo

SQLPractice Online

Level 6 - ExpertDebugging Questionsm5 schema evolution

Debugging: Unsafe Destructive Change

A migration directly drops a legacy table still used by batch jobs. Write SQL to mark it deprecated first instead of dropping immediately.