How to split comma separated text (list of IDs) in MySQL stored procedure to use result in SQL \"IN\" statement.
SELECT * FROM table WHERE table.id IN (split
You can do it two ways: