Query Responds With Check the 'Function Name Parsing and Resolution' section in the Reference Manual

后端 未结 6 517
终归单人心
终归单人心 2020-12-19 02:22

Would someone please explain to me what is wrong with this??

SELECT COUNT (`ID`) FROM `tableImSpecifying` WHERE `VisitorsEmail` = \'$VarThatHoldsEmailFromA$_         


        
6条回答
  •  抹茶落季
    2020-12-19 03:05

    This:

    FUNCTION myhost_classifieds.COUNT does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual

    Would prompt you to read this

    Which leads you to alter this:

    COUNT (`ID`)
    

    To:

    COUNT(`ID`)
    

    (note the removed space).

    (you could also fiddle around with IGNORE_SPACE, but I wouldn't recommend it for a novice.

提交回复
热议问题