select bh,xm,km,cj,bj,xq,xn
from(
SELECT student.bh,student.xm,student.bj,score.km,score.kt,
score.zy,score.cy,score.sjys,score.sjys*0.3 as sjbl,
score.llys,score.llys*0.4 as llbl,score.xq,
score.kt+score.zy+score.cy+score.sjys*0.3 +score.llys*0.4 as cj,score.bz,score.xn
FROM student,score
WHERE student.xh=score.xh and xn='' and xq='' and bj='' and km='') as a
where cj <60
order BY bh,km
--没有传递过去?何意?