最新回答 / Zikor
select ci.ci_id CID,wm_concat(case when instr(stu_ids,stu.stu_id) > 0 then stu.stu_name end) SNAMEfrom pm_ci ci,pm_stu stugroup by ci.ci_id
2016-08-14
最新回答 / 勇往直前3
SELECT [ALL|DISTINCT]{*|table.*|[table.field1[as alias1][,table.field2[as alias2]][,…]]}FROM table_name[as table_alias][left|out|inner join table_name2] #聯合查詢[WHERE …] #指定結果需滿足的條件[GROUP BY …] #指定結果按照哪幾個字段來分組[HAVING …] #過濾分組的記錄必須滿足的次要條件[ORDER BY …] #指定查詢記錄...
2016-08-02