Incorporate Comments 1
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/39dc5090 Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/39dc5090 Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/39dc5090 Branch: refs/heads/master Commit: 39dc50906209f098cf2f883b33d863a348e2e314 Parents: 83765f2 Author: liu.yu <[email protected]> Authored: Thu Mar 1 10:49:16 2018 +0800 Committer: liu.yu <[email protected]> Committed: Thu Mar 1 10:49:16 2018 +0800 ---------------------------------------------------------------------- docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/39dc5090/docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc ---------------------------------------------------------------------- diff --git a/docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc b/docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc index 75b07dd..8877d05 100644 --- a/docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc +++ b/docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc @@ -7004,7 +7004,7 @@ result table of the SELECT statement. _N_ is an unsigned numeric literal with no of rows in the table, all rows are returned. [ANY _N_] and [FIRST _N_] are disallowed in nested SELECT statements and on either side of a UNION operation. + -`[LAST _N_]` performs a full table scan and calculates elapsed time. The _N_ must be 0 or 1. `[LAST _0_]` does not return any rows. `[LAST _1_]` returns only the last qualified row. +`[LAST _N_]` performs the entire query and calculates elapsed time. The _N_ must be 0 or 1. `[LAST _0_]` does not return any rows. `[LAST _1_]` returns only the last qualified row. * `ALL | DISTINCT` +
