I create a query variables with where condition
set Source_record= 'select count(1), batch_id from customer
where customer_type = 'Retail' group by batch_id’ ;
I get error message
“Syntax error, found: '=' at line 1,”
Is something wrong with where conditions?