-- 169_study_sessions_idx_quiz.sql (6/10)
-- 퀴즈 통계 (Phase 4) — last_quiz_at 가 있는 행만

CREATE INDEX IF NOT EXISTS idx_study_sessions_quiz_stats
    ON study_sessions (user_id, study_type, last_quiz_at)
    WHERE last_quiz_at IS NOT NULL;
