当前位置:网站首页>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
边栏推荐
- Three methods of Oracle two table Association update
- [untitled]
- A little knowledge of CPU, disk and memory
- Configuration file converted from Excel to Lua
- Postman pre script - global variables and environment variables
- acwing周赛58
- [leetcode] 18. Sum of four numbers
- Vite configures the development environment and production environment
- 2021 RoboCom 世界机器人开发者大赛-本科组(复赛)
- EditorUtility. The role and application of setdirty in untiy
猜你喜欢
Rce code and Command Execution Vulnerability
F12 solve the problem that web pages cannot be copied
IPv6 comprehensive experiment
Implementing fuzzy query with dataframe
Postman manage test cases
Compilation and connection of shader in games202 webgl (learn from)
Cve-2019-11043 (PHP Remote Code Execution Vulnerability)
Three methods of Oracle two table Association update
注释、接续、转义等符号
JS quick start (II)
随机推荐
浅谈镜头滤镜的类型及作用
集合详解之 Map + 面试题
L'introduction en bourse de MSK Electronics a pris fin: 800 millions de RMB d'actifs de Henan étaient des actionnaires
Ora-01779: the column corresponding to the non key value saving table cannot be modified
Modbus protocol communication exception
Fluent implements a loadingbutton with loading animation
C AES encrypts strings
IPv6 comprehensive experiment
idea一键导包
Class inheritance in yyds dry inventory C
Lepton 无损压缩原理及性能分析
Why does MySQL need two-phase commit
JS quick start (II)
[untitled]
Fiddler installed the certificate, or prompted that the certificate is invalid
CUDA11.1在线安装
GAMES202-WebGL中shader的编译和连接(了解向)
Ad20 is set with through-hole direct connection copper sheet, and the bonding pad is cross connected
Zynq learning notes (3) - partial reconfiguration
Summary of three log knowledge points of MySQL