“SELECT *
FROM `session` where phone='123123'
当phone的值是正确的时候不报错,错了就会报错! ”这段话是什么意思?
当phone的值是不正确的时候应该返回Empty set才对,你所说的报错,是指“报错的错误类型如下:
[root@localhost:3306] ERROR 1146: Table 'admin.impossible where noticed after reading const tables' doesn't exist
”?
FROM `session` where phone='123123'
当phone的值是正确的时候不报错,错了就会报错! ”这段话是什么意思?
当phone的值是不正确的时候应该返回Empty set才对,你所说的报错,是指“报错的错误类型如下:
[root@localhost:3306] ERROR 1146: Table 'admin.impossible where noticed after reading const tables' doesn't exist
”?
`session`
为什么要用这样的符号?
SELECT [UserId] FROM [dbo].[UserInfo]
如果标识符是一个受限掉的词或包含特殊的字符,当使用它时,必须以一个 ` (backtick) 来引用它。mysql> SELECT * FROM `select` WHERE `select`.id > 100;