1. 程式人生 > >利用中間表做多對多關聯的查詢

利用中間表做多對多關聯的查詢

http://www.iteye.com/problems/70150

select stu.stu_NO,stu.name,cou.cou_no,cou.name from s_c sc left join student stu on stu.id=sc.stu_id left join cource cou on cou.id=sc.cour_id where stu.name="張三";