SELECT cj.name, cj.subject, cj.result;
FROM cj;
GROUP BY cj.name, cj.subject;
ORDER BY cj.name, cj.subject;
INTO CURSOR SYS(2015)
DO (_GENXTAB) WITH '查询1'
SELECT cj.name, cj.subject, cj.result;
FROM cj;
GROUP BY cj.name, cj.subject;
ORDER BY cj.name, cj.subject;
INTO CURSOR SYS(2015)
DO (_GENXTAB) WITH '查询1'