2024年7月22日
摘要: 开始入门 1.限制与约束条件 constraints 举例:在一个表格student中建立column列时,如·student_id· INT (not null / unique)限定词 使得该列中的属性非空/属性不可重复 此外 还有default “element” 预设值 auto_incre 阅读全文
posted @ 2024-07-22 22:10 prayerto 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 稍探sql用法 实验目标所要建立的表格 题外话 mysql中的注释语句使用的是-- 比如 --创建资料库 即注释 1.创建公司资料库 本段主要涉及数据库内多个表格的相互联系与应用 三个列表的列定义 primary key, foreign key, attribute primary key 的设定 阅读全文
posted @ 2024-07-22 22:10 prayerto 阅读(1) 评论(0) 推荐(0) 编辑
  2024年7月21日
摘要: 基础操作指南 1.新建数据库 create database ·名称·(使用的是反引号,后者皆同) 2.展示,show databases 展示全部数据表 3.数据类型 INT --整数 decimal(m,n) --有小数点的数 如decimal(3,2)共三位数 小数点占两位,如2.33 var 阅读全文
posted @ 2024-07-21 14:42 prayerto 阅读(1) 评论(0) 推荐(0) 编辑
  2023年8月14日
摘要: The primary goal of using re for me is making a web scrape , so the latter function can fit my requirements very well. (string/num).*?(str/num) .*Matc 阅读全文
posted @ 2023-08-14 13:39 prayerto 阅读(15) 评论(0) 推荐(0) 编辑
摘要: STEP 1 : The primary formula in the RE code base : result =re.match(pattern, str) #pattern 为要校验的规则 #str 为要进行校验的字符串 >>> import re >>> print(re.match('w 阅读全文
posted @ 2023-08-14 13:24 prayerto 阅读(3) 评论(0) 推荐(0) 编辑