List<String> cityList = Label.cityNames.split(',');
String SOQL = 'Select id, name from Account where city IN:cityList'
Databse.executeQuery(SOQL);
Could you please correct the above query to bind the list into SOQL.
The above dynamic SOQL is working fine if I pass new List<String> {'A','B','C'}