Visual C ++ code

This code marked on the image is correct in MySQL Workbench, but not in Visual Studio.
I had a message:
You have an error in your SQl syntax; refer to the manual for your version of My SQL Server for the correct syntax to use near & # 039;] & # 039; on line 1.

See attachment 250327