Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Andrey Gershun edited this pageMay 19, 2015 ·30 revisions

Alasql SQL Statements

  • [Single and multiple SQL statements](Multiple Statements)
  • [Standard](Standard Interface) and [fluent (like LINQ)](Fluent Interface) interface
  • [Case-sensitive keywords](Case Sensitive)

Short list by category

Data query

Data manipulation

Data definition

  • [CREATE TABLE](Create Table)
  • [ALTER TABLE](Alter Table)
  • [DROP TABLE](Drop Table)
  • [CREATE VIEW](Create View)
  • [DROP VIEW](Drop View)

Database

  • [USE DATABASE](Use Database)
  • [CREATE DATABASE](Create Database)
  • [DROP DATABASE](Drop Database)

External database

  • [ATTACH DATABASE](Attach Database)
  • [DETACH DATABASE](Detach Database)

Transactions

Show

  • [SHOW DATABASES](Show Databases)
  • [SHOW TABLES](Show Tables)
  • [SHOW CREATE TABLE](Show Create Table)

Program

Debug

Information

Full list

  • ASSERT

  • ATTACH

  • ALTER TABLE

  • [ALTER TABLE ADD COLUMN](Add Column)

  • [ALTER TABLE MODIFY COLUMN](Modify Column)

  • [ALTER TABLE DROP COLUMN](Drop Column)

  • [ALTER TABLE RENAME TABLE](Rename Table)

  • [BEGIN TRANSACTION](Begin Transaction)

  • [COMMIT TRANSACTION](Commit Transaction)

  • CREATE

  • [CREATE DATABASE](Create Database)

  • [CREATE TABLE](Create Table)

  • Column Types

    • JavaScript data types
      • String
      • Number
      • Boolean
      • Date and ISODate
        • Emun
    • ANSI SQL types
    • SQLite, Oracle, MySQL, SQL Server, Postgres data types mapping
  • Column constraints

  • DELETE

  • DROP

  • [DROP DATABASE](Drop Database)

  • [DROP TABLE](Drop Table)

  • INSERT

  • [INSERT SELECT](Insert Select)

  • [INSERT VALUES](Insert Values)

  • [INSERT DEFAULT VALUES](Insert Default Values)

  • [RENAME TABLE](Rename Table)

  • [ROLLBACK TRANSACTION](Rollback Transaction)

  • SELECT

  • TOP

  • DISTINCT

  • INTO

  • FROM

  • JOIN

  • [GROUP BY](Group By)

  • HAVING

  • [ORDER BY](Order By)

  • LIMIT

  • OFFSET

  • UNION

  • [UNION ALL](Union All)

  • INTERSECT

  • Minus,EXCEPT

  • SHOW

  • [SHOW CREATE TABLE](Show Create Table)

  • [SHOW COLUMNS](Show Columns)

  • [SHOW DATABASES](Show Databases)

  • [SHOW TABLES](Show Tables)

  • UPDATE

  • [USE DATABASE](Use Database)

  • Operators

  • Number

        • / %
  • String

  • Comparing

  • = != < <= > >=

  • BETWEEN, [NOT BETWEEN](Not Between)

  • Null

    • [IS NULL](Is Null), [IS NOT NULL](Is Not Null)
  • SQL-Functions

  • ABS()

  • Complex Operators

  • Aggregators

  • SUM()

  • COUNT()

  • MIN()

  • MAX()

  • [FIRST()](First

  • LAST()

  • AGGR()

  • ARRAY()

  • Grouping functions

  • CUBE()

  • ROLLUP()

  • [GROUPING SETS()](Grouping Sets)

  • Standard functions

  • Subqueries / Sub SELECT operator

  • [User-defined SQL functions](User Defined Functions)

© 2014-2026,Andrey Gershun &Mathias Rangel Wulff

Please help improve the documentation by opening a PR on thewiki repo

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp