Oracle 連接查詢,字表多行字段合併爲一行,以逗號分隔的查詢SQL

要做什麼看標題就懂了。。。   背景:1. 現有二表:test_main, test_sub            2. test_sub表的m_id是關聯test_main的m_id字段的外鍵,main對sub爲一對多。             求做成以下結果:   步驟 1. test_main建表SQL: create table test_main( m_id number
相關文章
相關標籤/搜索