当前位置:网站首页>SQLite 3.39.0 release supports right external connection and all external connection
SQLite 3.39.0 release supports right external connection and all external connection
2022-07-02 19:38:00 【Teacher Tony who doesn't cut his hair】
Hello everyone , I only talk about technology, not haircut Tony teacher .
SQLite The development team in 2022 year 06 month 25 Date issued SQLite 3.39.0 edition . The biggest update of this version is to support RIGHT OUTER JOIN and FULL OUTER JOIN, This paper gives you an analysis one by one .
If you think the article is useful , Welcome comments 、 give the thumbs-up 、 recommend
Right outer connection and all outer connection
all the time ,SQLite Don't support Right outer connection and all outer connection ,SQLite 3.39.0 Finally made up for this defect . thus ,SQLite Provides SQL All in the standard JOIN The way ,MySQL We need gas .

Let's take a simple example :
sqlite> select sqlite_version();
3.39.0
sqlite> create table t1(id int);
sqlite> insert into t1 values(1),(2),(3);
sqlite> create table t2(id int, name text);
sqlite> insert into t2 values(1, 'one'),(4, 'four');
sqlite> select * from t1 left join t2 on t1.id=t2.id;
1|1|one
2||
3||
sqlite> select * from t2 right join t1 on t1.id=t2.id;
1|one|1
||2
||3
sqlite> select * from t1 full join t2 on t1.id=t2.id;
1|1|one
2||
3||
|4|four
IS [NOT] DISTINCT FROM
SQLite 3.39.0 Two new binary comparison operators have also been added :IS NOT DISTINCT FROM and IS DISTINCT FROM.
IS NOT DISTINCT FROM Equivalent to IS Operator , They are all related to = Operators are similar to , But support NULL Comparison of values . for example :
sqlite> select 1=1, 1 IS 1, 1 IS NOT DISTINCT FROM 1;
1|1|1
sqlite> select NULL=NULL, NULL IS NULL, NULL IS NOT DISTINCT FROM NULL;
|1|1
A similar ,IS DISTINCT FROM Equivalent to IS NOT Operator .
Two new operators and SQL Standards and PostgreSQL Achieve compatibility .
C Interface enhancement
Interface sqlite3_vtab_distinct() Added a return code (3), Indicates that the query uses DISTINCT as well as ORDER BY Clause .
Added a new interface sqlite3_db_name(), Used to return the database name in the database connection .
Other enhancements
UNIX The operating system interface will resolve all symbolic links in the file name before the file is opened , To create a standard name for the database .
Delay materialization of views , It doesn't materialize until it's really needed , So as to avoid unnecessary work .
Can be used in any aggregate query HAVING Clause , Even if there is no GROUP BY Clause . In the previous version ,HAVING Clause must be consistent with GROUP BY Clause is used together , Not alone .
A lot of Micro optimization bring CPU The overall cycle is reduced by about 2.3%.
边栏推荐
- 多端小程序开发有什么好处?覆盖百度小程序抖音小程序微信小程序开发,抢占多平台流量红利
- Golang:[]byte to string
- LeetCode 0871.最低加油次数 - 类似于POJ2431丛林探险
- 职场四象限法则:时间管理四象限与职场沟通四象限「建议收藏」
- AcWing 1129. 热浪 题解(最短路—spfa)
- The mybatieshelperpro tool can be generated to the corresponding project folder if necessary
- zabbix5客户端安装和配置
- Data dimensionality reduction principal component analysis
- Build a master-slave mode cluster redis
- AcWing 1128. 信使 题解(最短路—Floyd)
猜你喜欢

嵌入式(PLD) 系列,EPF10K50RC240-3N 可编程逻辑器件

安装单机redis详细教程

Windows2008r2 installing php7.4.30 requires localsystem to start the application pool, otherwise 500 error fastcgi process exits unexpectedly

搭建主从模式集群redis

Watchful pioneer world outlook Architecture - (how does a good game come from)

Machine learning notes - time series prediction research: monthly sales of French champagne

AcWing 1126. 最小花费 题解(最短路—dijkstra)

Idea editor removes SQL statement background color SQL statement warning no data sources are configured to run this SQL And SQL dialect is not config

Build a master-slave mode cluster redis

高并发下如何避免产生重复数据?
随机推荐
Introduction of Ethernet PHY layer chip lan8720a
checklistbox控件用法总结
定了,就是它!
Why should we build an enterprise fixed asset management system and how can enterprises strengthen fixed asset management
In pytorch function__ call__ And forward functions
数据湖(十二):Spark3.1.2与Iceberg0.12.1整合
股票证券公司排名,有安全保障吗
Registration opportunity of autowiredannotationbeanpostprocessor under annotation development mode
Gamefi chain game system development (NFT chain game development function) NFT chain game system development (gamefi chain game development source code)
453-atoi函数的实现
【pytorch学习笔记】Tensor
Refactoring: improving the design of existing code (Part 1)
mysql函数
Which video recording software is better for the computer
4274. Suffix expression - binary expression tree
中缀表达式转换为后缀表达式(C语言代码+详解)
Understanding and function of polymorphism
2022.7.1-----leetcode. two hundred and forty-one
高并发下如何避免产生重复数据?
A4988驱动步进电机「建议收藏」