当前位置:网站首页>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
边栏推荐
- [NOIP2008 提高组] 笨小猴
- Microblogging hot search stock selection strategy
- 浅谈镜头滤镜的类型及作用
- Summary of redis basic knowledge points
- Leetcode dynamic planning day 16
- 驱动开发——HelloWDM驱动
- Talking about the type and function of lens filter
- 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
- Fluent implements a loadingbutton with loading animation
- Three methods of Oracle two table Association update
猜你喜欢
acwing周赛58
nacos-高可用seata之TC搭建(02)
Postman管理测试用例
[leetcode] 18. Sum of four numbers
指针经典笔试题
Can the feelings of Xi'an version of "Coca Cola" and Bingfeng beverage rush for IPO continue?
Huawei equipment is configured with OSPF and BFD linkage
Postman断言
Steady, 35K, byte business data analysis post
用StopWatch 统计代码耗时
随机推荐
Yyds dry inventory SSH Remote Connection introduction
Drive development - the first helloddk
Steady, 35K, byte business data analysis post
2021 robocom world robot developer competition - undergraduate group (semi-finals)
Rce code and Command Execution Vulnerability
EditorUtility. The role and application of setdirty in untiy
The IPO of mesk Electronics was terminated: Henan assets, which was once intended to raise 800 million yuan, was a shareholder
集合详解之 Map + 面试题
[NOIP2008 提高组] 笨小猴
你需要知道的 TCP 三次握手
Sorting out the knowledge points of multicast and broadcasting
[mask requirements of OSPF and Isis in multi access network]
2021 RoboCom 世界机器人开发者大赛-本科组(复赛)
Review of double pointer problems
Nacos TC setup of highly available Seata (02)
Postman pre script - global variables and environment variables
Nestjs配置文件上传, 配置中间件以及管道的使用
[noip2009 popularization group] score line delimitation
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
C# AES对字符串进行加密