with SQL state '42000', error code '1064',

Yesterday, I encountered an error with SQL state '42000', error code '1064'. After

checking for a long time, I did not find where the sql statement was wrong

. After checking, no conflicting

results were After repeated checking, it was found that the sql function was used in the wrong format. count(*) was written as count *.
When the result sql is executed, it will be treated as a column name.

This leads to the problem of keyword conflict and




wastes me . Solve it in an afternoon! ! ! ! ! ! ! !

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327047035&siteId=291194637