[
    {
        "type": "header",
        "version": "5.2.2",
        "comment": "Export to JSON plugin for PHPMyAdmin"
    },
    {
        "type": "database",
        "name": "lms_hocmai"
    },
    {
        "type": "table",
        "name": "db_query_logs",
        "database": "lms_hocmai",
        "data": [
            {
                "filename": "IclScoreService.php",
                "position": "1088",
                "sql": "select * from `api_ems` where `ems_id` = 713 and `api_ems`.`deleted_at` is null limit 1",
                "so_luong": "8"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1079",
                "sql": "select * from `api_moodle` where `moodle_id` = 5490 and `moodle_type` = 'quiz' limit 1",
                "so_luong": "5"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1094",
                "sql": "select * from `api_moodle_ems` where `api_moodle_id` = 4995 and `api_system_id` = 37 limit 1",
                "so_luong": "5"
            },
            {
                "filename": "StudentScoreObserver.php",
                "position": "89",
                "sql": "select * from `api_moodle` where `id` = 5490 and `moodle_type` = 'quiz' limit 1",
                "so_luong": "5"
            },
            {
                "filename": "IclScoreService.php",
                "position": "670",
                "sql": "select * from `api_moodle` where `id` = 4991 and `moodle_type` = 'course' limit 1",
                "so_luong": "5"
            },
            {
                "filename": "IclScoreService.php",
                "position": "661",
                "sql": "select * from `api_moodle` where `id` = 4994 and `moodle_type` = 'section' limit 1",
                "so_luong": "5"
            },
            {
                "filename": "IclScoreService.php",
                "position": "655",
                "sql": "select * from `api_moodle` where `moodle_id` = 5490 limit 1",
                "so_luong": "5"
            },
            {
                "filename": "IclScoreService.php",
                "position": "646",
                "sql": "select * from `students` where `students`.`id` = 1 and `students`.`deleted_at` is null limit 1",
                "so_luong": "5"
            },
            {
                "filename": "StudentScoreObserver.php",
                "position": "89",
                "sql": "select * from `api_moodle` where `id` = 5428 and `moodle_type` = 'quiz' limit 1",
                "so_luong": "3"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1094",
                "sql": "select * from `api_moodle_ems` where `api_moodle_id` = 4904 and `api_system_id` = 37 limit 1",
                "so_luong": "3"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1079",
                "sql": "select * from `api_moodle` where `moodle_id` = 5428 and `moodle_type` = 'quiz' limit 1",
                "so_luong": "3"
            },
            {
                "filename": "StudentScoreObserver.php",
                "position": "89",
                "sql": "select * from `api_moodle` where `id` = 1986 and `moodle_type` = 'quiz' limit 1",
                "so_luong": "2"
            },
            {
                "filename": "IclScoreService.php",
                "position": "550",
                "sql": "select * from `student_exam_histories` where `student_score_id` = 4092",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1070",
                "sql": "select * from `student_score` where `id` = 4091 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "696",
                "sql": "update `student_score_icl` set `skill_scores` = '{\"Exercise\":{\"score\":0,\"feed_back\":\"\"}}', `student_score_icl`.`updated_at` = '2026-06-26 08:52:22' where `id` = 118",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "696",
                "sql": "select * from `student_score_icl` where (`student_score_id` = 4092) limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "690",
                "sql": "insert into `student_score_icl_histories` (`student_score_id`, `student_id`, `zeus_id`, `course_id`, `section_id`, `overall_score`, `skill_scores`, `updated_at`, `created_at`) values (4092, 1, 485, 4991, 4994, 0, '{\"Exercise\":{\"score\":0,\"feed_back\":\"\"}}', '2026-06-26 08:52:22', '2026-06-26 08:52:22')",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "618",
                "sql": "select * from `student_score_ext` where `student_score_id` = 4092 limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "618",
                "sql": "select * from `student_score_ext` where `student_score_id` = 4093 limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "545",
                "sql": "select * from `student_exam_histories_teachers` where `student_score_id` = 4092 and `overall_rescored` is not null",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1123",
                "sql": "select * from `student_score` where `student_score`.`id` = 4092 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "3175",
                "sql": "update `student_score` set `score_status` = '1', `student_score`.`updated_at` = '2026-06-26 08:52:22' where `id` = 4092",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1070",
                "sql": "select * from `student_score` where `id` = 4092 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "696",
                "sql": "update `student_score_icl` set `skill_scores` = '{\"Exercise\":{\"score\":0.3,\"feed_back\":\"\"}}', `student_score_icl`.`updated_at` = '2026-06-26 08:52:22' where `id` = 119",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "696",
                "sql": "select * from `student_score_icl` where (`student_score_id` = 4093) limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "690",
                "sql": "insert into `student_score_icl_histories` (`student_score_id`, `student_id`, `zeus_id`, `course_id`, `section_id`, `overall_score`, `skill_scores`, `updated_at`, `created_at`) values (4093, 1, 485, 4991, 4994, 0.3, '{\"Exercise\":{\"score\":0.3,\"feed_back\":\"\"}}', '2026-06-26 08:52:22', '2026-06-26 08:52:22')",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "696",
                "sql": "select * from `student_score_icl` where (`student_score_id` = 4094) limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "545",
                "sql": "select * from `student_exam_histories_teachers` where `student_score_id` = 4090 and `overall_rescored` is not null",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "8994",
                "sql": "select * from `student_score` where `quiz_id` = 5428 and `student_id` = 1 and (`is_virtual` = 1 or `idHistoryContest` LIKE 'rec_%') and `student_score`.`deleted_at` is null order by `updated_at` desc",
                "so_luong": "1"
            },
            {
                "filename": "AbnormalityCheckService.php",
                "position": "154",
                "sql": "select * from `course_student` where `course_id` = 4836 and `student_id` = 1 and `course_student`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "AbnormalityCheckService.php",
                "position": "143",
                "sql": "select * from `api_moodle` where `id` = 4836 and `moodle_type` = 'course' limit 1",
                "so_luong": "1"
            },
            {
                "filename": "AbnormalityCheckService.php",
                "position": "133",
                "sql": "select * from `api_moodle` where `id` = 4837 and `moodle_type` = 'section' limit 1",
                "so_luong": "1"
            },
            {
                "filename": "AbnormalityCheckService.php",
                "position": "123",
                "sql": "select * from `api_moodle` where `moodle_id` = 5428 and `moodle_type` = 'quiz' limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "696",
                "sql": "update `student_score_icl` set `skill_scores` = '{\"Exercise\":{\"score\":0,\"feed_back\":\"\"}}', `student_score_icl`.`updated_at` = '2026-06-26 08:52:22' where `id` = 116",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "696",
                "sql": "select * from `student_score_icl` where (`student_score_id` = 4090) limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "690",
                "sql": "insert into `student_score_icl_histories` (`student_score_id`, `student_id`, `zeus_id`, `course_id`, `section_id`, `overall_score`, `skill_scores`, `updated_at`, `created_at`) values (4090, 1, 485, 4991, 4994, 0, '{\"Exercise\":{\"score\":0,\"feed_back\":\"\"}}', '2026-06-26 08:52:22', '2026-06-26 08:52:22')",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "618",
                "sql": "select * from `student_score_ext` where `student_score_id` = 4090 limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "550",
                "sql": "select * from `student_exam_histories` where `student_score_id` = 4090",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "3175",
                "sql": "update `student_score` set `score_status` = '1', `student_score`.`updated_at` = '2026-06-26 08:52:22' where `id` = 4091",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1123",
                "sql": "select * from `student_score` where `student_score`.`id` = 4090 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "3175",
                "sql": "update `student_score` set `score_status` = '1', `student_score`.`updated_at` = '2026-06-26 08:52:22' where `id` = 4090",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1070",
                "sql": "select * from `student_score` where `id` = 4090 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "696",
                "sql": "update `student_score_icl` set `skill_scores` = '{\"Exercise\":{\"score\":0,\"feed_back\":\"\"}}', `student_score_icl`.`updated_at` = '2026-06-26 08:52:22' where `id` = 117",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "696",
                "sql": "select * from `student_score_icl` where (`student_score_id` = 4091) limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "690",
                "sql": "insert into `student_score_icl_histories` (`student_score_id`, `student_id`, `zeus_id`, `course_id`, `section_id`, `overall_score`, `skill_scores`, `updated_at`, `created_at`) values (4091, 1, 485, 4991, 4994, 0, '{\"Exercise\":{\"score\":0,\"feed_back\":\"\"}}', '2026-06-26 08:52:22', '2026-06-26 08:52:22')",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "618",
                "sql": "select * from `student_score_ext` where `student_score_id` = 4091 limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "550",
                "sql": "select * from `student_exam_histories` where `student_score_id` = 4091",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "545",
                "sql": "select * from `student_exam_histories_teachers` where `student_score_id` = 4091 and `overall_rescored` is not null",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1123",
                "sql": "select * from `student_score` where `student_score`.`id` = 4091 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "2186",
                "sql": "select * from `api_moodle` where `moodle_id` in (5490) and `moodle_type` = 'quiz'",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1070",
                "sql": "select * from `student_score` where `id` = 4128 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "3175",
                "sql": "update `student_score` set `score_status` = '', `student_score`.`updated_at` = '2026-06-26 08:52:21' where `id` = 4129",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1070",
                "sql": "select * from `student_score` where `id` = 4129 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "2547",
                "sql": "select `id`, `moodle_id` from `api_moodle` where `moodle_id` in (5490, 5428) and `moodle_type` = 'quiz'",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "2538",
                "sql": "select `zeus_id` from `students` where `id` = 1 and `students`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "2525",
                "sql": "select * from `student_score_ext` where `student_score_id` in (4090, 4091, 4092, 4093, 4094, 4097, 4113, 4115, 4128, 4129)",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "2517",
                "sql": "select * from `student_score` where `idHistoryContest` in ('6a3e2ad5762f13a1d09cabac', '6a3e2246762f13a1d09cab92', '6a3d067f762f13a1d09ca917', '6a3d049e762f13a1d09ca89e', '6a3a1121762f13a1d09ca5fe', '6a32731e762f13a1d09ca3a8', '6a327306762f13a1d09ca357', '6a3272c6762f13a1d09ca329', '6a3272a8762f13a1d09ca2fb', '6a326450762f13a1d09ca280') and `student_score`.`deleted_at` is null",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "2505",
                "sql": "select `scoring_scale_id`, `api_moodle_id` from `api_moodle_ems` where `api_moodle_id` in (4995)",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "3175",
                "sql": "update `student_score` set `score_status` = '', `student_score`.`updated_at` = '2026-06-26 08:52:21' where `id` = 4128",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "2159",
                "sql": "select * from `student_exam_histories` where `student_id` = 1 and `idHistoryContest` in ('6a3e2ad8762f13a1d09cabb7', '6a3e2249762f13a1d09cab9d', '6a3d0681762f13a1d09ca922', '6a3d049f762f13a1d09ca8a9', '6a3a1123762f13a1d09ca609', '6a327320762f13a1d09ca3b3', '6a327308762f13a1d09ca362', '6a3272c8762f13a1d09ca334', '6a3272aa762f13a1d09ca306', '6a326454762f13a1d09ca28b') and exists (select 1 from `student_score` where `student_score`.`id` = `student_exam_histories`.`student_score_id` and `deleted_at` is null) order by `created_at` desc",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "2119",
                "sql": "select * from `student_score` where `idHistoryContest` in ('6a3e2ad5762f13a1d09cabac', '6a3e2246762f13a1d09cab92', '6a3d067f762f13a1d09ca917', '6a3d049e762f13a1d09ca89e', '6a3a1121762f13a1d09ca5fe', '6a32731e762f13a1d09ca3a8', '6a327306762f13a1d09ca357', '6a3272c6762f13a1d09ca329', '6a3272a8762f13a1d09ca2fb', '6a326450762f13a1d09ca280') and `deleted_at` is null and `student_score`.`deleted_at` is null",
                "so_luong": "1"
            },
            {
                "filename": "FeService.php",
                "position": "333",
                "sql": "select * from `user_token_cache` where `token_hash` = 'a0820a4183986282c294a90400f581f2ae8468fa52ee8347a5ec61a8866284be' and `expires_at` > '2026-06-26 08:52:21' limit 1",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "2078",
                "sql": "select `idHistoryContest` from `student_score` where `student_score`.`deleted_at` is not null and `idHistoryContest` in ('6a3e2ad5762f13a1d09cabac', '6a3e2246762f13a1d09cab92', '6a3d067f762f13a1d09ca917', '6a3d049e762f13a1d09ca89e', '6a3a1121762f13a1d09ca5fe', '6a32731e762f13a1d09ca3a8', '6a327306762f13a1d09ca357', '6a3272c6762f13a1d09ca329', '6a3272a8762f13a1d09ca2fb', '6a326450762f13a1d09ca280')",
                "so_luong": "1"
            },
            {
                "filename": "Helper.php",
                "position": "5332",
                "sql": "select * from `hocmai_tenant_domains` where `tenant_code` = 'ICC' and `hocmai_tenant_domains`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "1924",
                "sql": "select * from `api_ems` where `api_ems`.`id` in (37) and `api_ems`.`deleted_at` is null",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "1924",
                "sql": "select * from `api_moodle_ems` where `api_moodle_ems`.`api_moodle_id` in (4904)",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "1924",
                "sql": "select * from `api_moodle` where `moodle_id` = 5428 and `moodle_type` = 'quiz' limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "550",
                "sql": "select * from `student_exam_histories` where `student_score_id` = 4094",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "545",
                "sql": "select * from `student_exam_histories_teachers` where `student_score_id` = 4093 and `overall_rescored` is not null",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1123",
                "sql": "select * from `student_score` where `student_score`.`id` = 4093 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "3175",
                "sql": "update `student_score` set `score_status` = '1', `student_score`.`updated_at` = '2026-06-26 08:52:22' where `id` = 4093",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1070",
                "sql": "select * from `student_score` where `id` = 4093 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "696",
                "sql": "update `student_score_icl` set `skill_scores` = '{\"Exercise\":{\"score\":0,\"feed_back\":\"\"}}', `student_score_icl`.`updated_at` = '2026-06-26 08:52:21' where `id` = 120",
                "so_luong": "1"
            },
            {
                "filename": "Helper.php",
                "position": "128",
                "sql": "select * from `hocmai_tenant_domains` where `tenant_code` = 'ICC' and `status` = 1 and `hocmai_tenant_domains`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "690",
                "sql": "insert into `student_score_icl_histories` (`student_score_id`, `student_id`, `zeus_id`, `course_id`, `section_id`, `overall_score`, `skill_scores`, `updated_at`, `created_at`) values (4094, 1, 485, 4991, 4994, 0, '{\"Exercise\":{\"score\":0,\"feed_back\":\"\"}}', '2026-06-26 08:52:21', '2026-06-26 08:52:21')",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "618",
                "sql": "select * from `student_score_ext` where `student_score_id` = 4094 limit 1",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "550",
                "sql": "select * from `student_exam_histories` where `student_score_id` = 4093",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "545",
                "sql": "select * from `student_exam_histories_teachers` where `student_score_id` = 4094 and `overall_rescored` is not null",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1123",
                "sql": "select * from `student_score` where `student_score`.`id` = 4094 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "3175",
                "sql": "update `student_score` set `score_status` = '1', `student_score`.`updated_at` = '2026-06-26 08:52:21' where `id` = 4094",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1070",
                "sql": "select * from `student_score` where `id` = 4094 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "3175",
                "sql": "update `student_score` set `score_status` = '', `student_score`.`updated_at` = '2026-06-26 08:52:21' where `id` = 4097",
                "so_luong": "1"
            },
            {
                "filename": "IclScoreService.php",
                "position": "1070",
                "sql": "select * from `student_score` where `id` = 4097 and `student_score`.`deleted_at` is null limit 1",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "3175",
                "sql": "update `student_score` set `score_status` = '', `student_score`.`updated_at` = '2026-06-26 08:52:21' where `id` = 4113",
                "so_luong": "1"
            },
            {
                "filename": "ApiEmsController.php",
                "position": "3175",
                "sql": "update `student_score` set `score_status` = '', `student_score`.`updated_at` = '2026-06-26 08:52:21' where `id` = 4115",
                "so_luong": "1"
            }
        ]
    }
]