我有這樣的選擇查詢; select id, email from operators where op_code = 1
如何連接oracle中同一列的查詢結果?
查詢結果如下;
ID EMAIL
-- -----
1 [email protected]
2 [email protected]
3 [email protected]
但我需要的電子郵件這樣的格式,[email protected],[email protected],[email protected]
我如何在Oracle中實現這一目標?
http://stackoverflow.com/questions/1614373/how-to-使用-coalesce-in-oracle-to-combine-data-from-two-rows –