SQLite 理解的 SQL

前端之家收集整理的这篇文章主要介绍了SQLite 理解的 SQL前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
  • 聚集函数
    • avg(X) @H_404_4@
    • count(X) @H_404_4@
    • count(*) @H_404_4@
    • group_concat(x) 返回由所有X的非空值连接成的字符串。如果Y存在则作为分隔符。 @H_404_4@
    • group_concat(x,y) @H_404_4@
    • max(x) @H_404_4@
    • min(x) @H_404_4@
    • sum(x) @H_404_4@
    • total(x) @H_404_4@
    @H_404_4@
  • ALTER TABLE @H_404_4@
  • ANALYZE @H_404_4@
  • ATTACH DATABASE @H_404_4@
  • BEGIN TRANSACTION @H_404_4@
  • 注释
    • -- @H_404_4@
    • /* */ @H_404_4@
    @H_404_4@
  • COMMIT TRANSACTION @H_404_4@
  • 核心函数
    • abs(x) @H_404_4@
    • chages() @H_404_4@
    • coalesce(x,y,…) @H_404_4@
    • glob(x,y) @H_404_4@
    • ifnull(x,y) @H_404_4@
    • hex(x) @H_404_4@
    • last_insert_rowid() @H_404_4@
    • length(x) @H_404_4@
    • like(x,y) @H_404_4@
    • like(x,z) @H_404_4@
    • load_extension(x) @H_404_4@
    • load_extension(x,y) @H_404_4@
    • lower(x) @H_404_4@
    • ltrim(x) @H_404_4@
    • max(x,…) @H_404_4@
    • min(x,…) @H_404_4@
    • nullif(x,y) @H_404_4@
    • quote(x) @H_404_4@
    • random() @H_404_4@
    • randomblob(n) @H_404_4@
    • replace(x,z) @H_404_4@
    • round(x) @H_404_4@
    • round(x,y) @H_404_4@
    • rtrim(x) @H_404_4@
    • rtrim(x,y) @H_404_4@
    • soundex(x) @H_404_4@
    • sqlite_compileoption_get(n) @H_404_4@
    • sqlite_compileoption_used(x) @H_404_4@
    • sqlite_source_id() @H_404_4@
    • sqlite_version() @H_404_4@
    • substr(x,z) @H_404_4@
    • substr(x,y) @H_404_4@
    • total_changes() @H_404_4@
    • trim(x) @H_404_4@
    • trim(x,y) @H_404_4@
    • typeof(x) @H_404_4@
    • upper(x) @H_404_4@
    • zeroblob(n) @H_404_4@
    @H_404_4@
  • CREATE INDEX @H_404_4@
  • CREATE TABLE @H_404_4@
  • CREATE TRIGGER @H_404_4@
  • CREATE VIEW @H_404_4@
  • CREATE VIRTUAL_TABLE @H_404_4@
  • 日期和时间函数http://www.sqlite.org/lang_datefunc.html
    • date(timestring,modifier,modifer,…) @H_404_4@
    • time(timestring,…) @H_404_4@
    • datetime(timestring,…) @H_404_4@
    • julianday(timestring,…) @H_404_4@
    • strftime(format,timestring,…) @H_404_4@
    @H_404_4@
  • DELETE @H_404_4@
  • DETACH DATABASE @H_404_4@
  • DROP INDEX @H_404_4@
  • DROP TABLE @H_404_4@
  • DROP TRIGGER @H_404_4@
  • DROP VIEW @H_404_4@
  • END TRANSACTION @H_404_4@
  • EXPLAIN @H_404_4@
  • 表达式(http://www.sqlite.org/lang_expr.html
    • 几个字面表达式:NULL,CURRENT_DATE,CURRENT_TIME,CURRENT_TIMESTAMP @H_404_4@
    @H_404_4@
  • INDEXED BY @H_404_4@
  • INSERT @H_404_4@
  • 关键字(http://www.sqlite.org/lang_keywords.html
    • 想把关键字当作名字来用:'keyword',"keyword",[keyword],`keyword` @H_404_4@
    @H_404_4@
  • ON CONFLICT 子句 @H_404_4@
  • PRAGMA @H_404_4@
  • REINDEX @H_404_4@
  • RELEASE SAVEPOINT @H_404_4@
  • REPLACE @H_404_4@
  • ROLLBACK TRANSACTION @H_404_4@
  • SAVEPOINT @H_404_4@
  • SELECT @H_404_4@
  • UPDATE @H_404_4@
  • VACUUM @H_404_4@

猜你在找的Sqlite相关文章