From the answer of question MySQL pivot table query with dynamic columns
I modified(added new values) the query(demo 1) in the fieldname with special characters like -, (, ). here's updated query demo 2 and got the syntax error
How do I write the correct syntax of concat with special characters from the demo 2?