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