一、简单查询 select语句: 指定所有字段:select 字段1,字段2,··· from 表名; 使用星号(*)通配符代替所有字段:select * from 表名; (一般情况下最好不使用星号通配符,虽然查询数据多但是效率低) 查询指定字段:select 字段1,字段2,··· from 表 ...
分类:
数据库 时间:
2020-11-08 17:24:13
阅读次数:
40
打开后为常见login界面 → 检查robots.txt泄露 → 得到user.php.bak 注册账号后发现 /view.php?no=1 更改传参类型后出现SQL语句报错?no=1' ?no=abc 暴露文件路径?no=2 利用报错注入 ?no=1 and extractvalue(1,conc ...
分类:
其他好文 时间:
2020-11-08 17:23:34
阅读次数:
22
使用css定制表格: .table{ display:table; /*相当于table*/ section{ &:nth-of-type(1){ display:table-header-group; /*相当于thead*/ background:#555; color:#fff; } &:nt ...
分类:
Web程序 时间:
2020-11-08 17:12:24
阅读次数:
27
原因:出现这个问题是因为sql语句中使用除法,但除数存在为0的情况下导致的,如下图: 解决办法: --使用case when 排除为0的情况 (CASE WHEN T1.CALC_WEIGHT > 0 THEN NVL(T1.FIRST_TRANSFER_FEE / T1.CALC_WEIGHT, ...
分类:
其他好文 时间:
2020-11-08 17:03:17
阅读次数:
21
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-0.htmlMySQL8.0.0The current maximum auto-increment counter value is now written to the redo l ...
分类:
数据库 时间:
2020-11-08 16:51:42
阅读次数:
24
Difficulty: Medium Related Topics: Hash Table, String Link: https://leetcode.com/problems/group-anagrams/ Description Given an array of strings strs, ...
分类:
其他好文 时间:
2020-11-08 16:43:41
阅读次数:
19
环境:MySQL5.7版本 先生成一组测试数据 public static int randAge(){ return new Random().nextInt(100); } public static char randScore(){ int i = new Random().nextInt( ...
分类:
数据库 时间:
2020-11-07 17:46:38
阅读次数:
46
3.12 Aggregate Functions /*12. Aggregate Functions*/ /* Aggregate functions are analytic functions that calculate an aggregate value based on a group ...
分类:
数据库 时间:
2020-11-07 17:08:05
阅读次数:
20
Zookeeper 一、引言 在分布式环境下,如果舍弃springcloud,使用其他的分布式框架,那么注册中心,配置集中管理,集群管理,分布式锁,分布式任务,队列管理想单独实现怎么处理? 分布式系统面临的问题 ? 1、分布式系统如何实现对统一资源的访问,保证数据的一致性 ? 2、集群中的Maste ...
分类:
其他好文 时间:
2020-11-07 17:02:41
阅读次数:
19
扫码关注公众号,领取更多资源 @ Spring Boot Spring Boot 是由 Pivotal 团队提供用来简化 Spring 的搭建和开发过程的全新框架。随着近些年来微服务技术的流行,Spring Boot 也成了时下炙手可热的热点技术。 Spring Boot 去除了大量的 xml 配置 ...
分类:
编程语言 时间:
2020-11-07 17:02:03
阅读次数:
32