時間:2024-02-05 11:03作者:下載吧人氣:29
在數(shù)據(jù)查詢中,有一張a表存有另一張b表的id并以‘,’隔開
如:
假設(shè)現(xiàn)在要關(guān)聯(lián)查詢關(guān)于 b表的一些信息,怎么辦。
分割查詢:字符串轉(zhuǎn)列表函數(shù) :regexp_split_to_table()
select * from regexp_split_to_table ((select product_ids from fee_project_meal where id = 116199376233182210 ), ‘,’)
網(wǎng)友評論