5.39 ms (22.22%)
|
1 |
SELECT t0.id AS id_1, t0.selected_option_ids AS selected_option_ids_2, t0.is_correct AS is_correct_3, t0.points AS points_4, t0.attempt_id AS attempt_id_5, t0.question_id AS question_id_6 FROM attempt_answer t0 WHERE t0.attempt_id = ? ORDER BY t0.id ASC
SELECT t0.id AS id_1, t0.selected_option_ids AS selected_option_ids_2, t0.is_correct AS is_correct_3, t0.points AS points_4, t0.attempt_id AS attempt_id_5, t0.question_id AS question_id_6 FROM attempt_answer t0 WHERE t0.attempt_id = 2295 ORDER BY t0.id ASC;
|
5.06 ms (20.87%)
|
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 = 55;
|
3.44 ms (14.20%)
|
1 |
SELECT t0.id AS id_1, t0.question_ids AS question_ids_2, t0.current_index AS current_index_3, t0.started_at AS started_at_4, t0.expires_at AS expires_at_5, t0.finished_at AS finished_at_6, t0.score AS score_7, t0.max_score AS max_score_8, t0.passed AS passed_9, t0.user_id AS user_id_10, t0.section_id AS section_id_11, t0.subcategory_id AS subcategory_id_12, t0.section_group_id AS section_group_id_13 FROM attempt t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.question_ids AS question_ids_2, t0.current_index AS current_index_3, t0.started_at AS started_at_4, t0.expires_at AS expires_at_5, t0.finished_at AS finished_at_6, t0.score AS score_7, t0.max_score AS max_score_8, t0.passed AS passed_9, t0.user_id AS user_id_10, t0.section_id AS section_id_11, t0.subcategory_id AS subcategory_id_12, t0.section_group_id AS section_group_id_13 FROM attempt t0 WHERE t0.id = 2295;
|
2.45 ms (10.11%)
|
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 = 5854 ORDER BY t0.sort_order ASC, t0.id ASC;
|
1.88 ms (7.75%)
|
1 |
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 = 5854;
|
1.41 ms (5.82%)
|
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 = 178;
|
1.35 ms (5.59%)
|
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 = 4;
|
1.28 ms (5.27%)
|
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 = 14;
|
1.23 ms (5.06%)
|
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 = 2;
|
0.75 ms (3.11%)
|
1 |
SELECT t0.id AS id_1, t0.selected_option_ids AS selected_option_ids_2, t0.is_correct AS is_correct_3, t0.points AS points_4, t0.attempt_id AS attempt_id_5, t0.question_id AS question_id_6 FROM attempt_answer t0 WHERE t0.attempt_id = ? AND t0.question_id = ? LIMIT 1
Parameters: [
2295
5854
]
SELECT t0.id AS id_1, t0.selected_option_ids AS selected_option_ids_2, t0.is_correct AS is_correct_3, t0.points AS points_4, t0.attempt_id AS attempt_id_5, t0.question_id AS question_id_6 FROM attempt_answer t0 WHERE t0.attempt_id = 2295 AND t0.question_id = 5854 LIMIT 1;
|