
SQL
DAYU1992
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
sqlite创建数据表
CREATE TABLE "h_dict_word_new" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "name" varchar(32,0) NOT NULL, "symbol" varchar(32,0) NOT NULL DEFAULT '', "mean" text NOT NULL DEFAULT '',原创 2017-06-16 11:16:39 · 556 阅读 · 0 评论 -
Centos6.8 mysql 重设密码
装完mysql5.6后 Access denied for user ‘root’@’localhost’ 不知道什么原因,只能强制重置了密码 一,停止mysql 进程,service mysqld stop 二,mysqld_safe --user=mysql --skip-grant-tables --skip-networking & 三, #mysql #use原创 2017-06-28 19:31:38 · 1781 阅读 · 0 评论 -
mysql 按照特定顺序排序
select * from tableName where where order by field(column,'str','str'),edit_time原创 2017-06-28 09:58:38 · 1107 阅读 · 0 评论 -
mysql 获取当前日期前一天
date_sub(curdate(),interval 1 day) // 减一天,下一天 -1原创 2017-08-16 15:31:19 · 1050 阅读 · 0 评论