字符串转列

SELECT tc.*  
FROM STRING_SPLIT('SZ2017041941234569,SZ2017041941234567', ','),
tci_bill_month as tc
WHERE value = tc.id and RTRIM(value) <> ''
order by tc.createTime desc
;  ci

相关文章
相关标签/搜索