摘要: key和keys 为mysql 关键字,数据库设计字段的时候尽量避免 阅读全文
posted @ 2019-05-02 23:21 hope_xu 阅读(225) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/lovling/p/9420572.html 阅读全文
posted @ 2019-05-02 21:13 hope_xu 阅读(4411) 评论(0) 推荐(0) 编辑
摘要: http://www.pianshen.com/article/2431144034/ 阅读全文
posted @ 2019-05-01 15:40 hope_xu 阅读(674) 评论(0) 推荐(0) 编辑
摘要: select * from table where 条件1 .... group by 字段...... Having 条件1.....Limit 0,10; 1. 根据where 条件查询所有。 2.group by将查询出来的数据按照字段分组。 3.Having 是根据条件筛选分组后的数据。 4 阅读全文
posted @ 2019-04-21 12:21 hope_xu 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1 .系统自带的application.properties (以下代码仅供参考,不能粘贴复制) 假设application.properties文件有下面两个值: come.test.name = chen come.test.age = 18 come.test.phone = 18795812 阅读全文
posted @ 2019-04-21 12:10 hope_xu 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 注意:命令操作都是分号结尾 1 .连接mysql: mysql -u 用户名 -p 密码 2.展示所有数据库: show databases; 3.进入数据库: use 数据库名字; 4.展示数据库中所有的表: show tables from 数据库名字; 5.表的增删改查 未完待续 阅读全文
posted @ 2019-04-13 22:24 hope_xu 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 展示当前类中的所有方法 Ctrl + F12 方法之间移动 alt + 向上箭头/向下箭头 阅读全文
posted @ 2019-04-13 14:57 hope_xu 阅读(6539) 评论(0) 推荐(0) 编辑
摘要: 步骤: phpstudy 其他菜单 ->打开配置文件 ->打开 php.ini ->找到 XDebug ->XDebug修改成下面文字 [XDebug] ;红色 (1)代表 phpStudy安装路径 (2) php版本 zend_extension="F:\phpStudy\PHPTutorial\ 阅读全文
posted @ 2019-04-13 14:51 hope_xu 阅读(1180) 评论(0) 推荐(0) 编辑
摘要: 本页面查找 : ctrl + f 全局查找 : ctrl + shift + f 自己定义 :文件 -> 设置 -> 快捷键 -> 修改 阅读全文
posted @ 2019-04-10 21:14 hope_xu 阅读(24103) 评论(0) 推荐(0) 编辑
摘要: 冲突原因:远程仓库的同一个文件的代码,和本地的文件代码不一样 解决办法 : 1.git stash (把本地冲突的代码隐藏) 2.git pull 3.git stash pop (将隐藏的和pull 下来的合并,打开文件,解决冲突) 阅读全文
posted @ 2019-04-05 00:23 hope_xu 阅读(4195) 评论(0) 推荐(0) 编辑