上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: 一. pipeline设计模式简介 pipeline模式又称为流水线模式,pipeline又称为管道,是一种在计算机普遍使用的技术,举个最普遍的例子,如下图所示cpu流水线,一个流水线分为4个部分,每个部分可以独立工作,于是可以处理多个数据流。linux管道也是一个常用的管道技术,其字符处理功能十分 阅读全文
posted @ 2022-05-22 01:43 solomon123 阅读(2019) 评论(0) 推荐(0) 编辑
摘要: pycharm的git设置 pycharm的VCS VCS:version control system 1,添加git程序的位置 file-->setting-->version control-->Git-->选择git.exe的位置 2,填写git的clone地址 VCS -->Git-->c 阅读全文
posted @ 2022-05-06 04:20 solomon123 阅读(602) 评论(0) 推荐(0) 编辑
摘要: gitlab文件恢复 xshell的ftp中下载 cd /var/opt/gitlab/backups 点击ftp插件 get 1573077714_2019_11_07_12.1.4_gitlab_backup.tar C:\Users\admin\Desktop\aa gitlab数据恢复 新g 阅读全文
posted @ 2022-05-06 04:04 solomon123 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 子查询 create table department( id int primary key, name varchar(40) ); create table employee( id int primary key auto_increment, name varchar(40), age i 阅读全文
posted @ 2021-12-28 06:38 solomon123 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 多表查询 1. 添加外键约束 1.1 在创建表的过程中申明外键 外键是指引用另一个表的一列或多列,被引用的列应该具有主键约束或唯一性约束。外键用于建立和加强两个表数据之间的链接 create table dept( id int primary key auto_increment, name va 阅读全文
posted @ 2021-12-27 07:15 solomon123 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 分组查询 使用group by 语句对列进行分组 SELECT column1,column2,column3 ... FROM table group by column having ... 样例表: create table orders( id int, product varchar(20 阅读全文
posted @ 2021-12-26 06:45 solomon123 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 对查询结果进行排序 asc是英文ascend的缩写:升序 desc:是英文descend的缩写:降序 order by 必须在整个sql的最结尾 SELECT column1,column2,column3 .. FROM table order by column asc|desc ~ 对数学成绩 阅读全文
posted @ 2021-12-26 04:41 solomon123 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 聚合函数 使用技巧,先不管聚合函数,先使用sql语句把要聚合的内容先查出来,然后再用聚合函数把要聚合的内容包起来 1. count聚合函数,用来统计行数 ~ 统计一个班共有多少学生 select count(*) from exam; 使用别名name_count select count(*) n 阅读全文
posted @ 2021-12-26 04:07 solomon123 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 添加,更新与删除数据 操作表记录(增删改查,create, read update,delete) 1. INSERT INSERT INTO TABLE [(column [,column...])] VALUES (value [,value...]); 1.1说明,因为id设置了计数器,并设置 阅读全文
posted @ 2021-12-25 08:16 solomon123 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 删除索引 1.第一种方式 ALTER TABLE 表名 DROP INDEX 索引名 查询表中的索引名 show creat table book 删除字段 alter table book drop index indexone 2. 第二中方法 DROP INDEX 索引名 ON 表名; 阅读全文
posted @ 2021-12-25 04:36 solomon123 阅读(4710) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页