加入多个表

时间:2017-10-25 12:08:50

标签: sql join

我想从下表中获取记录(Class,Subject,Chapter,ModuleName,AccessTime,LoginTime,IpAddress和Email),表格的主要字段显示在括号()中。

 ct_user (user_Id, email)
 ct_user_log (user_id, ip_address, login_time, sessionId)
 ct_user_module_log (module_id, module_open_time,user_id, ip_address, sessionId) 
 ct_user_module (module_id, module_name, subject_id, chapter_id, topic_id, board_class_id)
 ct_subject (subject_id, subject_name)
 ct_board_class (board_class_id, class_name, board_id, class_id)
 ct_class_subject_topic (topic_id, topic_name, board_class_id, topic_level)

0 个答案:

没有答案