DataGrip think my string literal is a column
已回答

For example, in the screenshot above, I am writing mysql query with "ITB" as a string, but DataGrip would treat it as a column instead of a string and show the error.
请先登录再写评论。
Could you specify database dialect you use and an example to reproduce the issue?
MySQL Dialect
I created an issue https://youtrack.jetbrains.com/issue/DBE-7683 you can follow.