Column 'mary' does not exist

前端 未结 2 1535
别跟我提以往
别跟我提以往 2020-12-02 02:10

i\'m doing a simple query here and it returns that column \'Mary\' does not exist:

SELECT  telephone.telephonenumber as tel
FROM    person, telephone
WHERE           


        
相关标签:
2条回答
  • 2020-12-02 02:21

    Make sure that you are quoting your string correctly.

    From your snippet, I'd say that's the problem here since you're using something else than simple single quotes.

    0 讨论(0)
  • 2020-12-02 02:34

    Use plain single quotes to delimit a string literal 'Mary' not smart quotes ‘Mary’

    0 讨论(0)
提交回复
热议问题