下面是我查询的代码
SELECT
`class_student`.`student_id` AS `student_id`,
`class_student`.`class_id` AS `class_id`,
`test_info`.`teacher_id` AS `teacher_id`,
`class_info`.`class_name` AS `class_name`,
`class_test`.`test_id` AS `test_id`,
`test_info`.`test_name` AS `test_name`,
`test_info`.`open_status` AS `open_status`,
`test_info`.`open_time` AS `open_time`,
`test_info`.`close_time` AS `close_time`,
`test_info`.`time_limit` AS `time_limit`,
`student_test_finish_record`.`start_time` AS `start_time`,
`student_test_finish_record`.`finish_time` AS `finish_time`
FROM
((((
`class_student`
JOIN `test_info`
)
JOIN `class_test` ON ((
`test_info`.`test_id` = `class_test`.`test_id`
)))
JOIN `class_info` ON (((
`class_student`.`class_id` = `class_info`.`class_id`
)
AND ( `class_test`.`class_id` = `class_info`.`class_id` ))))
LEFT JOIN `student_test_finish_record` ON ((
`test_info`.`test_id` = `student_test_finish_record`.`test_id`
)))
数据库的字段及联系
表关系
请问一下我这个问题怎么解决?