mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-19 18:47:54 +08:00
Document TOP and LIMIT clauses in the man page
This commit is contained in:
@@ -38,11 +38,15 @@ COMMANDS
|
|||||||
SQL LANGUAGE
|
SQL LANGUAGE
|
||||||
The currently implemented SQL subset is quite small, supporting only single table queries, no aggregates, and limited support for WHERE clauses. Here is a brief synopsis of the supported language.
|
The currently implemented SQL subset is quite small, supporting only single table queries, no aggregates, and limited support for WHERE clauses. Here is a brief synopsis of the supported language.
|
||||||
|
|
||||||
select: SELECT [* | <column list>] FROM <table> WHERE <where clause>
|
select: SELECT <top clause> [* | <column list>] FROM <table> WHERE <where clause> <limit clause>
|
||||||
|
|
||||||
|
top clause: TOP <integer> [ PERCENT ]
|
||||||
|
|
||||||
column list: <column> [, <column list>]
|
column list: <column> [, <column list>]
|
||||||
|
|
||||||
where clause: <column> <operator> <literal> [AND <where clause>]
|
where clause: <column> <operator> <literal> [AND <where clause>]
|
||||||
|
|
||||||
|
limit clause: LIMIT <integer>
|
||||||
|
|
||||||
operator: =, =>, =<, <>, like, <, >
|
operator: =, =>, =<, <>, like, <, >
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user