日期:2014-05-18 浏览次数:20654 次
select?
?????????
student0_.id?as?id1_0_,??????????
course2_.id?as?id4_1_,??????????
student0_.Sno?as?Sno1_0_,??????????
student0_.Sname?as?Sname1_0_,??????????
student0_.Sdept?as?Sdept1_0_,?
student0_.Sage?as?Sage1_0_,??????????
student0_.Ssex?as?Ssex1_0_,??????????
student0_.Saddress?as?Saddress1_0_,??????????
course2_.Cno?as?Cno4_1_,??????????
course2_.Cname?as?Cname4_1_,??????????
course2_.Ccredit?as?Ccredit4_1_?????
from?
?????????
joblog.student?student0_?????
left?outer?join??????????
sc?course1_?
??????????????
on?student0_.id=course1_.sno?????
left?outer?join?
?????????
joblog.course?course2_?
??????????????
on?course1_.cno=course2_.id?????where?
????????
?student0_.Sname='李XXX'