SELECT PROJECTID, PROJECTNAME, (SELECT REPLACE(WM_CONCAT(PERSONNAME),',',',') FROM KY_ACHIEVEPERSON WHERE ACHIEVEITEMID=PROJECTID order by ranking ) COMPLETPERSONFROM KY_PROJECT注释:ranking是子表中的排序字段。
添加回答
举报
0/150
提交
取消