alter table student_info modify id int(3); -- 先删除自增约束 alter table student_info drop primary key; -- 再删除主键约束 alter table student_info drop id; -- 再删除该字 ...
分类:
其他好文 时间:
2021-06-22 17:54:17
阅读次数:
0
DML语言的学习:(数据操作) 数据操作语言: 插入:insert 方式一:经典的插入 /* 语法: insert into 表名(列名,...) values(值1,...); */ SELECT * FROM beauty; 插入的值的类型要与列的类型一致或兼容 INSERT INTO beau ...
分类:
数据库 时间:
2021-06-22 17:53:11
阅读次数:
0
建表如下: CREATE TABLE `aes_demo` ( `id` int NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_bin DEFAULT NULL, `password` varchar(255) CHARACTER ...
分类:
数据库 时间:
2021-06-22 17:52:33
阅读次数:
0
BUG:使用element ui table 复选框功能时,当勾选完成后 去执行一些事件,勾选取消了。 解决:①为table-column添加reserve-selection属性 ②为table添加row-key方法 返回一个唯一的值 :row-key="方法名" 方法名(row){return ...
分类:
其他好文 时间:
2021-06-21 21:10:08
阅读次数:
0
MySQL 查询时,报如下错:Query execution was interrupted, maximum statement execution time exceeded 查询数据库最大语句执行时间,默认为10s,单位是毫秒 SELECT @@global.max_execution_tim ...
分类:
数据库 时间:
2021-06-21 20:46:21
阅读次数:
0
问题 数据库大小写不敏感 库名,表名敏感: 配置参数lower_case_table_names 可选值 【0,1】0不敏感,1敏感 数据敏感: 排序规则: *_bin: 表示的是binary case sensitive collation,也就是说是区分大小写。 *_ci: case insen ...
分类:
数据库 时间:
2021-06-21 20:31:26
阅读次数:
0
事务 1. 事务的基本介绍 1. 概念: * 如果一个包含多个步骤的业务操作,被事务管理,那么这些操作要么同时成功,要么同时失败。 2. 操作: 1. 开启事务: start transaction; 2. 回滚:rollback; 3. 提交:commit; 3. 例子: CREATE TABLE ...
分类:
其他好文 时间:
2021-06-21 20:30:38
阅读次数:
0
beautifulsoup之CSS选择器 BeautifulSoup支持大部分的CSS选择器,其语法为:向tag或soup对象的.select()方法中传入字符串参数,选择的结果以列表形式返回。 tag.select("string") BeautifulSoup.select("string") ...
分类:
其他好文 时间:
2021-06-21 20:26:48
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="echarts.min.js"></script> </head> <body> <div style=" ...
分类:
其他好文 时间:
2021-06-21 20:17:26
阅读次数:
0
1 #算法:解决问题的方法和步骤 2 3 #排序算法 4 #选择排序 5 def select(items, comp = lambda x,y : x <y): 6 #通过隐藏函数lambda判断两个数的大小 7 items = items[:] 8 for i in range(len(item ...
分类:
编程语言 时间:
2021-06-21 20:06:24
阅读次数:
0