选择查询时,我需要从 Table2 的值中替换 Table1 的字段值。
例如:
表格1:
Org Permission
--------------------------------------
Company1 1,3,7
Company2 1,3,8
表2:
Permission Permission
--------------------------------------
1 Read
3 Write
7 Execute
8 Delete
我需要这样:
Org Permission
--------------------------------------
Company1 Read,Write,Execute
Company2 Read,Write,Delete