        for j, q in enumerate(event['questions']):
            cursor.execute("""
                INSERT INTO quiz_questions (entity_type, entity_id, question, option_a, option_b, option_c, option_d, correct_answer, explanation, sort_order)
                VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
            """, (
                'event',
                event_id,
                q['question'],
                q['option_a'],
                q['option_b'],
                q['option_c'],
                q['option_d'],
                q['correct'],
