摘要: 查询语句:select * from courseware c left join user_cour uc on c.cid = uc.cid left join `user` u on uc.uid = u.uid where u.uid=1; 表格:user user_cour cour表格 阅读全文
posted @ 2016-09-12 10:12 新月勾魂 阅读(212) 评论(0) 推荐(0) 编辑
摘要: user表格 user—cour表格关联表 cour表格 查询语句:select * from courseware c left join user_cour uc on c.cid = uc.cid left join `user` u on uc.uid = u.uid where u.uid 阅读全文
posted @ 2016-09-12 10:10 新月勾魂 阅读(11574) 评论(3) 推荐(0) 编辑