SQLite支持的表达式类型有哪些-创新互联

这篇文章主要介绍SQLite支持的表达式类型有哪些,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!

成都创新互联公司是一家以重庆网站建设公司、网页设计、品牌设计、软件运维、seo优化排名、小程序App开发等移动开发为一体互联网公司。已累计为成都食品包装袋等众行业中小客户提供优质的互联网建站和软件开发服务。

SQLite中的表达式

在SELECT的基本完整形式中,我们会看到几乎是所有的子句都会使用到表达式。以下是SQLite支持的表达式类型。

expr binary-op expr |                                                                                                                //二元运算符

expr [NOT] like-op expr [ESCAPE expr] |                                                                    //LIKE运算符,匹配模式的一种

unary-op expr |                                                                                                                 //一元运算符

( expr ) |                                                                                                                             //括号

column-name |                                                                                                                          //列名

table-name . column-name |                                                                                        //表名.列名

database-name . table-name . column-name |                                                                  //数据库名.表名.列名

literal-value |                                                                                                                     //字面量

parameter |                                                                                                                       //差数形式

function-name ( expr-list | * ) |                                                                                       //函数

expr ISNULL |                                                                                                                   //处理NULL值

expr NOTNULL |                                                                                                              //非空

expr [NOT] BETWEEN expr AND expr |                                                                      //范围

expr [NOT] IN ( value-list ) |                                                                                            //范围

expr [NOT] IN ( select-statement ) |                                                                              //范围

expr [NOT] IN [database-name .] table-name |                                                          //范围

[EXISTS] ( select-statement ) |                                                                                       //存在

CASE [expr] ( WHEN expr THEN expr )+ [ELSE expr] END |                                  //条件结果

CAST ( expr AS type )                                                                                                     //转换

以上是“SQLite支持的表达式类型有哪些”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注创新互联-成都网站建设公司行业资讯频道!


当前文章:SQLite支持的表达式类型有哪些-创新互联
文章路径:http://bzwzjz.com/article/dgeopd.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 营销网站建设 成都网站建设 移动网站建设 品牌网站建设 网站建设 成都网站制作 重庆网站建设 专业网站设计 成都网站设计 四川成都网站设计 高端定制网站设计 公司网站建设 营销网站建设 成都网站设计 成都网站制作 网站制作 重庆企业网站建设 成都网站建设 成都网站建设公司 高端网站设计 成都网站建设 自适应网站设计