写订单的时候表名用的order
结果一直出现
check the manual that corresponds to your MySQL server version for the right syntax
还是数据库不熟;
order是mysql关键字
直到自己通过nabicat的查询尝试;因为检查很多次一直发现自己的sql语句真的没有写错

才发现自己原来是拿了Mysql关键字做了表名: 。。。 很生气

关键字:order

order by 来设定想按照哪个字段哪种方式来排序

ORDER BY column [asc/desc]

默认 asc 升序 desc降序

Resolved [org.springframework.jdbc.BadSqlGrammarException相关推荐

  1. org.springframework.jdbc.BadSqlGrammarException: CallableStatementCallback; bad SQL grammar

    通过Spring的jdbcTemplate调用Mysql的存储过程,出现下面的问题(以前也使用过,并没有出现下面的问题,折腾大半天,郁闷): 开始报下面的错误: [INFO ]2014-07-01 1 ...

  2. org.springframework.jdbc.BadSqlGrammarException: Error updating database

  3. Resolved [org.springframework.http.converter.HttpMessageNotReadableException: Required request body

    idea报错信息:Resolved [org.springframework.http.converter.HttpMessageNotReadableException: Required requ ...

  4. Spring配置错误java.lang.NoClassDefFoundError: org/springframework/jdbc/datasource/TransactionAwareDataS

    在对Spring数据源dataSource配置之后,运行程序出现如下错误: java.lang.NoClassDefFoundError: org/springframework/jdbc/datas ...

  5. 【springboot】报错Resolved [org.springframework.http.converter.HttpMessageNotWritableException: No conve

    [参考] https://www.cnblogs.com/sunupo/p/11905763.html [springboot控制台报错:] WARN 10028 - [nio-8181-exec-3 ...

  6. Struts+Spring+Hibernate处理Lob(Blob,Clob)--sessionFactory中注入 org.springframework.jdbc.support.lob.Def

    [转载]org.springframework.jdbc.support.lob. 转载▼ 标签: 转载 分类: spring 原文地址:org.springframework.jdbc.suppor ...

  7. org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested

    org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested ...

  8. Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException

    废话不多说 上报错 Resolved [org.springframework.web.method.annotation. MethodArgumentTypeMismatchException: ...

  9. org.springframework.jdbc.CannotGetJdbcConnectionException Failed to obtain JDBC Connection

    org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection:nested e ...

最新文章

  1. Go 学习笔记(82)— Go 第三方库之 viper(解析配置文件、热更新配置文件)
  2. python基础语法手册format-Python-输出格式化format()方法的基本使用(2)
  3. EPIC《禅意花园》项目开放下载
  4. python人工智能是什么意思_人工智能和python有什么关系?
  5. php 网络是否通,测试网络连通性的命令是什么?
  6. 从零实现 SPI_flash(W25Q256)
  7. 简单聊聊dorado7,快速入门,内含工具。
  8. Frank Pfenning
  9. linux的XDG(X Desktop Group)基本目录规范
  10. Keep your Eyes on the Lane: Real-time Attention-guided Lane Detection
  11. Fabric系列 - 多通道技术(Muti-channel)
  12. php只取时间的下士_php取当时的年月日时分秒毫秒
  13. Segment Anything万物皆可分割
  14. 无分类编址(超网)中的网络前缀
  15. 前端构建3D建模知识(css,html)
  16. 阿里2015校园招聘广州站 面试经历
  17. Oracle 11g 数据类型
  18. 新手必学的20个人像摄影构图法
  19. ES MQ canal同步mysql
  20. 网站服务器怎么屏蔽ip段,iis屏蔽ip段,网站禁止ip访问

热门文章

  1. SQL练习题:回购率 复购率 消费差异
  2. window server2008 ad域控搭建
  3. 生产环境关闭 swagger
  4. CSS如何画一个三角形 + CSS如何画月亮
  5. 基于阿里云ECS弹性云服务器快速搭建Docker环境
  6. java的jvm和事务并发的关系_Java程序员岗面试总结
  7. MAC下安装jdk,配置环境变量
  8. 投资理财web后端系统_JSP+Servlet 实现:理财产品信息管理系统
  9. 移动硬盘电脑计算机无显示,移动硬盘在电脑上不显示的解决方法
  10. 游戏开发素材收集网站收集