本次来讲解与SQL查询有关的两个小知识点,掌握这些知识点,能够让你避免踩坑以及提高查询效率。1、允许字段的值为null,往往会引发灾难首先,先准备点数据,后面好演示createtableanimal(idint,namechar(20),index(id))engine=innodb;index(id)表示给id这个字段创建索引,并且id和name都允许为null。接着插入4条数据,其中最后一条数
分类:
数据库 时间:
2020-12-01 12:23:45
阅读次数:
14
先看效果图: 实现步骤 : 1.新建一个.css的文件,先把样式拷过来 1 .popup_right_bottom{position: fixed; width:400px; height: auto; bottom: 10px; right: 10px; z-index:100; backgrou ...
分类:
其他好文 时间:
2020-12-01 12:16:46
阅读次数:
5
import pandas as pd import plotly_express as px 查看原始数据情况 df=pd.read_excel('leyoujia.xlsx') zone = pd.DataFrame(df["zone"].value_counts()).reset_index( ...
分类:
其他好文 时间:
2020-12-01 12:03:42
阅读次数:
3
Milvus Community Conf 2020_澜起科技:基于异构硬件的 Milvus 及 Faiss 搜索加速 做芯片和数据中心的 精度下降:index 的分堆、PQ或SQ这样的量化。。 而客户的业务是以0.1%这样的精度要求去提高自己的业绩的 一旦要拷贝数据,GPU就没有优势了,FPGA ...
分类:
编程语言 时间:
2020-12-01 11:57:59
阅读次数:
4
/** * index.js: webpack入口起点文件 * * 1.运行指令: * 开发环境:webpack ./src/index.js -o ./build --mode=development * webpack会以 ./src/index.js 为入口文件开始打包,打包后输出到 ./bu ...
分类:
Web程序 时间:
2020-12-01 11:52:51
阅读次数:
12
事件名字 组件上使用camelCase 名字的事件无法被kebab-case监听 this.$emit('myEvent'); <!-- 没有效果 --> <my-component v-on:my-event="doSomething"></my-componet> 始终使用 kebab-case ...
分类:
其他好文 时间:
2020-12-01 11:52:00
阅读次数:
4
一、补充 1. 引入第三方库(bootstrap为例) a. MDN 引入 在index.html中直接引入mdn <link rel="stylesheet" href="..." integrity="..." crossorigin="anonymous"> <script src="..." ...
分类:
其他好文 时间:
2020-11-30 16:05:48
阅读次数:
5
函数 sum() {//合计 this.thisPeoData.forEach((value, index) => { value.child.forEach((val, idx) => { val.fine.forEach((v, i) => { if (v.type '早餐') { this.b ...
分类:
其他好文 时间:
2020-11-30 15:45:41
阅读次数:
6
ES语句构造麻烦,每次都拼,这次备份一下 1. 创建索引 PUT http://sae1002.qihoo.ai:9200/kosmos {"settings":{"index":{"number_of_shards":1,"number_of_replicas":1},"analysis":{"f ...
分类:
其他好文 时间:
2020-11-27 11:47:06
阅读次数:
18
html 代码 <div class="data_bodey"> <div class="index_nav" > <ul style="height: 30px; margin-bottom: 0px;"> <li class="l_left total_chose_fr nav_active"> ...
分类:
Web程序 时间:
2020-11-27 11:40:13
阅读次数:
14