sele 姓名,成绩 from 表2 where 姓名='消灭' .and. 课程='数学' into dbf a1
sele 姓名,成绩 from 表2 where 姓名='消灭' .and. 课程='语文' into dbf a2
sele a1.姓名,a1.成绩 as 数学 ,a2.成绩 as 语文 from a1,a2 where a1.姓名=a2.姓名
一个 很笨的办法 但是有效
——————————@_@————————
good good study
day day up
____________________^@^_________________