How to insert multiple values into text filed

I used a query something like this:

select location, pin from cities
where people > 500000
and date >'2022-01-01'
[[and city in (select value from STRING_SPLIT({{city}}, ','))]]
group by city;

It is returning an error similar to:
The column index is out of range: 2, number of columns: 1.

Hi @nmutyam
Post "Diagnostic Info" from Admin > Troubleshooting.
The best way to troubleshoot variables are by replacing with a hardcoded value.