Blank spaces in column names with MySQL

后端 未结 1 762
抹茶落季
抹茶落季 2020-12-04 01:47

One of the column names in my database is two words long, including a blank space, i.e.: Area One. I am using SELECT and referring to the column names to pull t

1条回答
  •  情歌与酒
    2020-12-04 02:19

    Use backticks.

    SELECT * FROM `Area One`
    

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