5.66 ms (17.14%)
|
3 |
SELECT t0.id AS id_1, t0.text AS text_2, t0.explanation AS explanation_3, t0.type AS type_4, t0.sort_order AS sort_order_5, t0.is_active AS is_active_6, t0.points AS points_7, t0.section_id AS section_id_8 FROM question t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.text AS text_2, t0.explanation AS explanation_3, t0.type AS type_4, t0.sort_order AS sort_order_5, t0.is_active AS is_active_6, t0.points AS points_7, t0.section_id AS section_id_8 FROM question t0 WHERE t0.id = '119';
|
4.78 ms (14.46%)
|
1 |
SELECT t0.id AS id_1, t0.login AS login_2, t0.roles AS roles_3, t0.password AS password_4, t0.active_session_token AS active_session_token_5, t0.full_name AS full_name_6, t0.is_active AS is_active_7, t0.created_at AS created_at_8, t0.access_until AS access_until_9 FROM "user" t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.login AS login_2, t0.roles AS roles_3, t0.password AS password_4, t0.active_session_token AS active_session_token_5, t0.full_name AS full_name_6, t0.is_active AS is_active_7, t0.created_at AS created_at_8, t0.access_until AS access_until_9 FROM "user" t0 WHERE t0.id = 209;
|
3.55 ms (10.75%)
|
1 |
SELECT u0_.id AS id_0, u0_.user_id AS user_id_1, u0_.topic_id AS topic_id_2, u0_.category_id AS category_id_3, u0_.subcategory_id AS subcategory_id_4, u0_.section_group_id AS section_group_id_5 FROM user_access_grant u0_ WHERE u0_.user_id = ? ORDER BY u0_.id ASC
SELECT u0_.id AS id_0, u0_.user_id AS user_id_1, u0_.topic_id AS topic_id_2, u0_.category_id AS category_id_3, u0_.subcategory_id AS subcategory_id_4, u0_.section_group_id AS section_group_id_5 FROM user_access_grant u0_ WHERE u0_.user_id = 209 ORDER BY u0_.id ASC;
|
3.37 ms (10.20%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.topic_id AS topic_id_5 FROM category t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.topic_id AS topic_id_5 FROM category t0 WHERE t0.id = 4;
|
3.24 ms (9.81%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4 FROM topic t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4 FROM topic t0 WHERE t0.id = 4;
|
1.94 ms (5.86%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.subcategory_id AS subcategory_id_5 FROM section_group t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.subcategory_id AS subcategory_id_5 FROM section_group t0 WHERE t0.id = 22;
|
1.83 ms (5.54%)
|
1 |
SELECT t0.id AS id_1, t0.attempts_count AS attempts_count_2, t0.last_answered_at AS last_answered_at_3, t0.last_is_correct AS last_is_correct_4, t0.ever_correct AS ever_correct_5, t0.user_id AS user_id_6, t0.question_id AS question_id_7 FROM qa_progress t0 WHERE t0.user_id = ? AND t0.question_id = ? LIMIT 1
SELECT t0.id AS id_1, t0.attempts_count AS attempts_count_2, t0.last_answered_at AS last_answered_at_3, t0.last_is_correct AS last_is_correct_4, t0.ever_correct AS ever_correct_5, t0.user_id AS user_id_6, t0.question_id AS question_id_7 FROM qa_progress t0 WHERE t0.user_id = 209 AND t0.question_id = 119 LIMIT 1;
|
1.77 ms (5.34%)
|
1 |
SELECT t0.id AS id_1, t0.text AS text_2, t0.is_correct AS is_correct_3, t0.sort_order AS sort_order_4, t0.question_id AS question_id_5 FROM answer_option t0 WHERE t0.question_id = ? ORDER BY t0.sort_order ASC, t0.id ASC
SELECT t0.id AS id_1, t0.text AS text_2, t0.is_correct AS is_correct_3, t0.sort_order AS sort_order_4, t0.question_id AS question_id_5 FROM answer_option t0 WHERE t0.question_id = 119 ORDER BY t0.sort_order ASC, t0.id ASC;
|
1.66 ms (5.03%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.category_id AS category_id_5 FROM subcategory t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.category_id AS category_id_5 FROM subcategory t0 WHERE t0.id = 7;
|
1.47 ms (4.45%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.section_group_id AS section_group_id_5 FROM section t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.section_group_id AS section_group_id_5 FROM section t0 WHERE t0.id = 7;
|
1.16 ms (3.52%)
|
1 |
SELECT q0_.id AS id_0 FROM question q0_ WHERE q0_.section_id = ? AND q0_.is_active = true ORDER BY q0_.sort_order ASC, q0_.id ASC
SELECT q0_.id AS id_0 FROM question q0_ WHERE q0_.section_id = 7 AND q0_.is_active = true ORDER BY q0_.sort_order ASC, q0_.id ASC;
|
1.13 ms (3.42%)
|
1 |
UPDATE qa_progress SET attempts_count = ?, last_answered_at = ?, last_is_correct = ? WHERE id = ?
Parameters: [
3
"2026-04-13 10:07:36"
1
15521
]
UPDATE qa_progress SET attempts_count = 3, last_answered_at = '2026-04-13 10:07:36', last_is_correct = 1 WHERE id = 15521;
|
0.90 ms (2.73%)
|
1 |
"COMMIT"
|
0.58 ms (1.76%)
|
1 |
"START TRANSACTION"
"START TRANSACTION";
|