52
|
select nu.gradeid,nu.classid,nu.subjectid
|
52
|
select nu.gradeid,nu.classid,nu.subjectid
|
53
|
,if(nu.classid is not null,(select concat(c.classname,'_',c.classtype,'-',c.classorder) from t_class c where c.classid=nu.classid)
|
53
|
,if(nu.classid is not null,(select concat(c.classname,'_',c.classtype,'-',c.classorder) from t_class c where c.classid=nu.classid)
|
54
|
,(select concat(s.subjectname,'_',s.subjectorder) from t_subject s where s.subjectid=nu.subjectid))username
|
54
|
,(select concat(s.subjectname,'_',s.subjectorder) from t_subject s where s.subjectid=nu.subjectid))username
|
56
|
group by nu.gradeid,nu.classid,nu.subjectid
|
56
|
group by nu.gradeid,nu.classid,nu.subjectid
|