当前位置:网站首页>SQLite add index
SQLite add index
2022-07-06 05:14:00 【Xiongsiyu】
open SQLite Studio, Create a new table student, Add a few fields :id、name、age、address
Click on Create index

The following interface will be opened
Sort( Sort )
ASC Expressing ascending order
DESC Representation of descending order

Here in the collation
Collation( Sort rule )
RTRIM Clear the space character at the end of the string
NOCASE Disable case sensitivity
BINARY Binary system

SQL sentence :
example 1
CREATE INDEX findName ON student (
name COLLATE BINARY ASC
);
COLLATE It's sort rules
example 2
CREATE INDEX findTestTime ON sampleRecord (
TestTime ASC
);
findTestTime Is the index name ,
sampleRecord Is the name of the table ,
TestTime Field name ,
ASC Represents ascending order
end
边栏推荐
- flutter 实现一个有加载动画的按钮(loadingButton)
- Fiddler installed the certificate, or prompted that the certificate is invalid
- 图数据库ONgDB Release v-1.0.3
- A little knowledge of CPU, disk and memory
- Modbus协议通信异常
- Summary of three log knowledge points of MySQL
- Basic knowledge and examples of binary tree
- Sliding window problem review
- Request (request object) and response (response object)
- The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
猜你喜欢

Lepton 无损压缩原理及性能分析
![[lgr-109] Luogu may race II & windy round 6](/img/fe/d5b67c7dff759c519a04da023630ea.png)
[lgr-109] Luogu may race II & windy round 6

Figure database ongdb release v-1.0.3
![[mask requirements of OSPF and Isis in multi access network]](/img/7d/1ba80bb906caa9be4bef165ac26d2c.png)
[mask requirements of OSPF and Isis in multi access network]

Crazy God said redis notes

Hyperledger Fabric2. Some basic concepts of X (1)

Why does MySQL need two-phase commit

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower

GAMES202-WebGL中shader的編譯和連接(了解向)
![[leetcode daily question] number of enclaves](/img/6e/1da0fa5c7d1489ba555e4791e2ac97.jpg)
[leetcode daily question] number of enclaves
随机推荐
[mask requirements of OSPF and Isis in multi access network]
Yolov5 tensorrt acceleration
图论的扩展
2021robocom robot developer competition (Preliminary)
[untitled]
[leetcode daily question] number of enclaves
UCF(2022暑期团队赛一)
A little knowledge of CPU, disk and memory
[buuctf.reverse] 159_[watevrCTF 2019]Watshell
2021RoboCom机器人开发者大赛(初赛)
MPLS experiment
Application of Flody
Review of double pointer problems
Golang -- TCP implements concurrency (server and client)
Modbus protocol communication exception
Why does MySQL need two-phase commit
Oracle query table index, unique constraint, field
Postman管理测试用例
Biscuits (examination version)
Hyperledger Fabric2. Some basic concepts of X (1)