How to convert a string into rows in MySQL.
select id from month_tab where name in ( string_split('jan,feb,mar,may') );
In the above example, we need to return string_split('jan,feb,mar,may') as rows. the final output should be like select id from month_tab where name in ('jan','feb','mar','may') );