-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
233 changed files
with
614 additions
and
480 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# ADD | ||
# Keyword `ADD` | ||
|
||
Syntax: | ||
```sql | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# ALTER - altering operator | ||
# Keyword `ALTER` | ||
|
||
Table altering operator | ||
|
||
Syntax: | ||
```sql | ||
ALTER TABLE tableid ADD COLUMN column type | ||
ALTER TABLE oldname RENAME TO newname | ||
``` | ||
|
||
See also: [ALTER TABLE](Alter Table), [ADD COLUMN](Add Column), [RENAME TABLE](Rename Table) | ||
Please see: [ALTER TABLE](Alter Table), [ADD COLUMN](Add Column), [RENAME TABLE](Rename Table) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# AND - logical operator | ||
# Keyword `AND` | ||
|
||
Logical operator | ||
|
||
Syntax: | ||
```sql | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# ANTI - anti join | ||
# Keyword `ANTI` | ||
|
||
Syntax: | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# ANY | ||
# Keyword `ANY` | ||
|
||
See also: [SOME](Some), [EXISTS](Exists) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# AS - naming keyword | ||
# Keyword `AS` | ||
|
||
|
||
Syntax: | ||
```sql | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# ASC - ascending order | ||
# Keyword `ASC` | ||
|
||
ASC is using for sorting order. | ||
ASC is using for sorting in ascending order. | ||
|
||
Syntax: | ||
```sql | ||
SELECT ... ORDER BY expression [ASC|DESC],... | ||
``` | ||
See also: [ORDER BY](Order By), [DESC](Desc) | ||
|
||
See also: [ORDER BY](Order By) and [DESC](Desc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
# AUTO_INCREMENT | ||
# Keyword `AUTO_INCREMENT` | ||
|
||
Define default value for the column with auto incremeting. | ||
Alias for [`AUTOINCREMENT`](AUTO_INCREMENT) | ||
|
||
Syntax: | ||
```sql | ||
CREATE TABLE tableid ( | ||
columnid typeid AUTO_INCREMENT,... | ||
) | ||
``` | ||
|
||
See also: [IDENTITY](Identity) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
## About Alasql | ||
# About Alasql | ||
|
||
Alasql is a JavaScript SQL database library designed for: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# ADD COLUMN | ||
# Keyword `ADD COLUMN` | ||
|
||
Syntax: | ||
```sql | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Aggregators | ||
# Aggregators supported by AlaSQL | ||
|
||
## SQL Standard | ||
|
||
* SUM() | ||
* AVG() | ||
* COUNT() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
## Alacon Samples | ||
# Alacon | ||
|
||
Alacon is AlaSQL in a console | ||
|
||
Examples: | ||
|
||
1. Number of lines in text file with length more than 20 characters | ||
|
||
``` | ||
alacon 'select value count(*) from txt("README.md") where length([0]) > 20' | ||
``` | ||
|
||
2. Simple calculator | ||
|
||
``` | ||
alacon '2*2' | ||
``` | ||
|
||
3. Convert XLSX file to JSON | ||
|
||
``` | ||
alacon "select * into json('my.json') from xlsx('cities.xlsx',{headers:true})" | ||
``` | ||
``` | ||
|
||
Please see [install notes](install) on how to install. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Alaserver | ||
|
||
See also: [Alacon](Alacon) | ||
A HTTP server wrapping [Alacon](Alacon) | ||
|
||
This is a stub waiting to get some descent content... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# ANTI JOIN | ||
# Keyword `ANTI JOIN` | ||
|
||
See also: [JOIN](Join) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
# CROSS APPLY and OUTER APPLY | ||
# Keyword `APPLY` | ||
|
||
Is used as part of both `CROSS APPLY` and `OUTER APPLY` | ||
|
||
|
||
```sql | ||
SELECT ... CROSS APPLY ... | ||
SELECT ... OUTER APPLY ... | ||
``` | ||
|
||
See also: [CROSS APPLY](Cross Apply), [OUTER APPLY](Outer Apply) | ||
Pleae see | ||
|
||
- [CROSS APPLY](Cross Apply) | ||
- [OUTER APPLY](Outer Apply) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.