搭建的表结构 要求说明: 挑战参考代码 1 $ sudo service mysql start 2 3 $ mysql -u root 4 5 mysql> CREATE DATABASE gradesystem; 6 7 mysql> use gradesystem 8 9 mysql> CRE ...
分类:
数据库 时间:
2020-06-14 16:39:43
阅读次数:
69
原文:RocketMQ系列(四)顺序消费 折腾了好长时间才写这篇文章,顺序消费,看上去挺好理解的,就是消费的时候按照队列中的顺序一个一个消费;而并发消费,则是消费者同时从队列中取消息,同时消费,没有先后顺序。RocketMQ也有这两种方式的实现,但是在实践的过程中,就是不能顺序消费,好不容易能够实现... ...
分类:
其他好文 时间:
2020-06-14 15:07:43
阅读次数:
56
1. Never trouble trouble till trouble troubles you. 麻烦没来找你,就别去自找麻烦。 第一、四个 trouble 是动词,第二、三个 trouble 是名词。 2. I think that that that that that student w ...
分类:
其他好文 时间:
2020-06-14 15:02:42
阅读次数:
78
从不订购的客户 sql 编程 1. 地址 https://leetcode-cn.com/problems/customers-who-never-order/ 2. 解法 子查询 select Name as Customers from Customers where Id not in ( s ...
分类:
其他好文 时间:
2020-06-14 14:29:06
阅读次数:
76
今日内容概要 如何查询表 """ select where group by having distinct order by limit regexp like ... """ 连表操作理论 今日内容详细 前期表准备 create table emp( id int not null unique ...
分类:
数据库 时间:
2020-06-14 12:46:59
阅读次数:
58
一、扩展数据库表字段长度 --mysql alter table user modify name varchar2 (32); --oracle alter table A modify(name varchar2(4000)) 二、给表增加索引(mysql) 1.添加PRIMARY KEY(主键 ...
分类:
数据库 时间:
2020-06-14 11:19:33
阅读次数:
117
腾讯云: 第一步:在默认安装系统的时候不要勾选安全云镜和安全监控软件第二步:如果安装了监控软件后如何卸载,操作如下: /usr/local/qcloud/stargate/admin/uninstall.sh /usr/local/qcloud/YunJing/uninst.sh /usr/loca ...
分类:
其他好文 时间:
2020-06-14 01:06:21
阅读次数:
112
####BUUCTF-[极客大挑战 2019]BabySQL(联合注入绕过waf) 记一道联合注入的题,这道题存在过滤。 经过手工的测试,网站会检验用户名和密码是否都存在,如果在用户名处插入注入语句,语句后面跟的注符会将密码注释掉,检测不到密码会报错Input your username and p ...
分类:
数据库 时间:
2020-06-13 23:38:20
阅读次数:
113
本节重点: 单表查询 语法: 一、单表查询的语法 SELECT 字段1,字段2... FROM 表名 WHERE 条件 GROUP BY field HAVING 筛选 ORDER BY field LIMIT 限制条数 二、关键字的执行优先级(重点) 重点中的重点:关键字的执行优先级 from w ...
分类:
其他好文 时间:
2020-06-13 23:36:19
阅读次数:
95
public function orderList() { $rules = [ 'order_status' => 'required|integer|in:1,2,3,4,5', 'page' => 'required|integer|min:1', 'per_page' => 'require ...
分类:
其他好文 时间:
2020-06-13 19:13:02
阅读次数:
119