Mysql
文章平均质量分 51
iteye_9919
这个作者很懒,什么都没留下…
展开
-
Mysql 关于日期的查询 查询某年某月末日 或单年单月单日
select * from table where date_format(字段名称,'%Y%m%d')='20121211';%M 月名字(January……December)%W 星期名字(Sunday……Saturday)%D 有英语前缀的月份的日期(1st, 2nd, 3rd, 等等。)%Y 年, 数字, 4 位%y 年, 数字, 2 位%a 缩写的星期名字(Sun……Sat)%d 月份...原创 2012-12-12 22:55:22 · 139 阅读 · 0 评论 -
Mysql 关键字
在今儿hibernate执行save方法的时候显示sql语法错误 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 数据库关系中出现了多对一,多对多关系,相对较为复杂...原创 2013-03-23 11:38:47 · 92 阅读 · 0 评论