0

My procedure takes input of CSV of Ids

select Value from (
select value from string_split('1,2,3',',')) as t 
where t.value not in (select id from demotable)

The above solution is for SQL server. I want to do the same with MYSQL.

Do we have any function that works similar to string_split function in MYSQL?

And the solution should not loop through every input Id.

svvc
  • 1
  • 1

0 Answers0