今天把项目发布到另一台机器上时,因为mysql版本不一致,出现了关键字冲突,virtual关键字,不清楚是不是mysql添加的新特性。

select * from herb where name="a" and virtual = 1;

解决办法时,将 冲突字段用``引起来(键盘左上方1 左边的字符),这样就没问题,

但是最好的解决方法,还是要有良好的设计。

最新文章

  1. [转]学术型 github 畅想
  2. 传统MySQL+ Memcached架构遇到的问题
  3. atexit函数和两种特殊文件权限位
  4. 夺命雷公狗---Thinkphp----15之遍历出来的栏目页的完成
  5. 2014年全球SEO行业调查报告
  6. Python实战(1)
  7. RazorEngine(未解决,留底)
  8. Google正确搜索方法
  9. update-database时出现Cannot attach the file
  10. MAC Intellij IDEA 常用快捷键
  11. css清除浮动float的三种方法总结
  12. iOS 错误 之 Potential leak of an object stored into 'cs'
  13. 四,前端---constructor与prototype
  14. 面试中遇到的原生js题总结
  15. 天转凉了,注意保暖,好吗(需求规格说明书放在github了)
  16. android 开发 更好的数据存放,回调,处理class模式,适合与各种布局适配器class一起使用
  17. mongo的csv文件参考
  18. 使用IntelliJ IDEA进行Python远程调试的需求(未完)
  19. Python和MySQL数据库交互PyMySQL
  20. Ubuntu上装KVM:安装、初次使用

热门文章

  1. specialized English for automation-Lesson 1 Analog Amplifiers
  2. tar格式 方法安装MySQL后,初次登录出现 ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement
  3. 软工2017第三周作业之找bug——测试报告
  4. Hive之 数据类型
  5. Jquery中的has、find、filter方法区别
  6. iSCSI 协议
  7. (转)SqlServer为大数据量表建索引
  8. CentOS6.5 安装codeblocks-13.12
  9. 学习blus老师js(1)--基础
  10. C++ 构造函数_初始化列表