Centos7重新分配分区 新装的系统安装时没有自定义分区,导致home的空间太大,但是home使用的并不多,所以打算重新规划分区: 1、查看分区 # df -h 2、卸载/home分区 # umount /home 如果出现 home 存在进程,使用 fuser -m -v -i -k /home ...
分类:
其他好文 时间:
2021-04-22 15:32:12
阅读次数:
0
##合并表select * from empunion allselect * from dept; select * from emp,dept;##连接查询select* from emp,dept where emp.deptno = dept.deptno; ##标准写法select *fr ...
分类:
数据库 时间:
2021-04-22 15:30:06
阅读次数:
0
恢复内容开始 查询emp中的所有表: select * from emp; 在日常工作中 不建议使用* 因为查询效率较低 常用命令: select database(); 查看当前使用的是哪个数据库 \c 命令,结束一条语句。 exit 命令,退出mysql。 查看创建表的语句: show crea ...
分类:
数据库 时间:
2021-04-22 15:23:44
阅读次数:
0
DML:数据操作语言 DML用于查询与修改数据记录,包括以下SQL语句: *INSERT:添加数据到数据库中 *UPDATE:修改数据库中的数据 *DELETE:删除数据库中的数据 *SELECT:选择(查询)数据 >SELECT 是SQL语言的基础,最为重要 例子:查询一个表的信息 SELECT ...
分类:
数据库 时间:
2021-04-22 15:23:24
阅读次数:
0
单链表 单链表中节点的定义 typedef struct LNode{ int data;//数据域 struct LNode *next;//定义一个同类型的指针,指向该节点的后继节点 }LNode, *Linklist; LNode是一个数据节点,而单链表是用指针将许多数据节点连接起来的一个线性 ...
分类:
其他好文 时间:
2021-04-22 15:20:13
阅读次数:
0
1,查询的基本语法 查询内容:select StudentId,StudentName,Gender -->列名 查询对象:from Students -->表名 过滤条件:where Gender='男' --> 查询条件表达式(可选) 结果排序:order by StudentId DESC - ...
分类:
数据库 时间:
2021-04-21 13:00:33
阅读次数:
0
Vue使用Element-ui Table 合并行,官方只是一个非常简单的合并例子,通常业务都是相同的某个字段进行合并。 效果图 代码实现 1、Table <el-table :data="dataTable" border :header-cell-style="{background: '#FA ...
分类:
其他好文 时间:
2021-04-21 12:57:40
阅读次数:
0
ctfshow web7 和上题一样的套路 先跑一遍字典 "or "a"="a'.).or.('.a.'='.aor 1=1--'or 1=1--a'or' 1=1--"or 1=1--'or.'a.'='a"or"="a'='a'or''=''or'='or'1'or 1=1#'='&passwo ...
分类:
Web程序 时间:
2021-04-21 12:53:43
阅读次数:
0
<!--手机号输入框--><div class="login_box"> <input type="number" placeholder="请输入手机号" class="phoneInput" v-model="mobile"/> <span v-if="codeShow" style="colo ...
分类:
移动开发 时间:
2021-04-21 12:53:24
阅读次数:
0
Description: There are a total of n courses you have to take labelled from 0 to n - 1. Some courses may have prerequisites, for example, if prerequisi ...
分类:
其他好文 时间:
2021-04-21 12:51:08
阅读次数:
0