From dbc1aa7ea2de5e60c65fe038629b1163745b7697 Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Tue, 19 Jan 2021 16:43:10 -0500 Subject: [PATCH] Document TOP and LIMIT clauses in the man page --- doc/mdb-sql.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/mdb-sql.txt b/doc/mdb-sql.txt index 2d1ec84..2af4679 100644 --- a/doc/mdb-sql.txt +++ b/doc/mdb-sql.txt @@ -38,11 +38,15 @@ COMMANDS 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. - select: SELECT [* | ] FROM WHERE + select: SELECT [* | ] FROM
WHERE + + top clause: TOP [ PERCENT ] column list: [, ] - where clause: [AND ] + where clause: [AND ] + + limit clause: LIMIT operator: =, =>, =<, <>, like, <, >