查询错了?

时间:2011-12-08 22:34:47

标签: mysql sql

  SELECT * 
  FROM functions 
  WHERE isEnabled=1 AND isPrivate=0
  AND user_name=high
  AND function_description LIKE '%test%'     

#1054 - Unknown column 'isEnabled' in 'where clause'

1 个答案:

答案 0 :(得分:0)

尝试在isEnabled字段名称周围添加反引号:

WHERE `isEnabled`=1

isEnable字段有E大写字母......