当前位置:网站首页>Query in MySQL
Query in MySQL
2022-06-12 08:16:00 【Eldest brother Li dada】
One 、 Create index
create table student(
sid int primary key,
card_id varchar(20),
name varchar(20),
gender varchar(20),
age int,
birth date,
phone_num varchar(20),
score double,
index index_name(name) -- to name Column creation index
);
select * from student where name =' Zhang San ';
2. Create directly :
create index index_gender on student(gender);
3. Modify table structure to add index
alter table student add index index_age(age);
– Look at the index :
边栏推荐
- js中的数组
- js中的正则表达式
- Callback webrtc underlying logs to the application layer
- Vscode 调试TS
- Hands on deep learning -- implementation of multi-layer perceptron from scratch and its concise implementation
- Model compression | tip 2022 - Distillation position adaptation: spot adaptive knowledge distillation
- Record the treading pit of grain Mall (I)
- ASP.NET项目开发实战入门_项目六_错误报告(自己写项目时的疑难问题总结)
- 网站Colab与Kaggle
- Model Trick | CVPR 2022 Oral - Stochastic Backpropagation A Memory Efficient Strategy
猜你喜欢

Convolutional neural network CNN based cat dog battle picture classification (tf2.1 py3.6)

vm虛擬機中使用NAT模式特別說明

从AC5到AC6转型之路(1)——补救和准备

Hands on deep learning -- image classification dataset fashion MNIST

Three data exchange modes: line exchange, message exchange and message packet exchange

Vision Transformer | Arxiv 2205 - TRT-ViT 面向 TensorRT 的 Vision Transformer

Discrete chapter I

Asp Net project add log function

Figure neural network makes Google maps more intelligent

Installation series of ROS system (II): ROS rosdep init/update error reporting solution
随机推荐
电气火灾探测器对各用电回路进行实时监控
Model Trick | CVPR 2022 Oral - Stochastic Backpropagation A Memory Efficient Strategy
Vision transformer | arXiv 2205 - TRT vit vision transformer for tensorrt
Hands on deep learning -- activation function and code implementation of multi-layer perceptron
js中的数组
In depth interpretation of 5g key technologies
Xiaomi mobile phone recording data set software operation
千万别把MES只当做工具,不然会错过最重要的东西
JSP technology
Vision Transformer | Arxiv 2205 - LiTv2: Fast Vision Transformers with HiLo Attention
Vision Transformer | Arxiv 2205 - LiTv2: Fast Vision Transformers with HiLo Attention
Py&GO编程技巧篇:逻辑控制避免if else
Quaternion Hanmilton and JPL conventions
Cookies and sessions
Vision Transformer | CVPR 2022 - Vision Transformer with Deformable Attention
Hands on learning and deep learning -- simple implementation of softmax regression
Record the treading pit of grain Mall (I)
802.11 protocol: wireless LAN protocol
Final review of Discrete Mathematics (predicate logic, set, relation, function, graph, Euler graph and Hamiltonian graph)
call方法和apply方法