跳过查询

Skipping for Query

最近我发现了在查询中有效的特殊词"skipping"。我无意中发现了这件事。这个公式有效:

=QUERY(A1:A11,"select A skipping 2")

它跳过 1 行,给我第 1、3、5、7 行......等等。 Skipping 1 returns 所有行,skipping 3 returns 1, 4, 7, 10...

我想知道 google-sheets 查询中是否有任何表达式未在 Query Language Reference 中列出。如果其他人使用或找到 "skipping" 进行查询。

在您收到的 QUERY 语法错误消息中可见:

"Unable to parse query string for Function QUERY parameter 2: PARSE_ERROREncountered "(" at line 1, column 41. Was expecting one of: <EOF> "where" ... "group" ... "pivot" ... "order" ..."skipping" ... "limit" ... "offset" ... "label" ... "format" ... "options" ... "," ... "*" ... "+" ... "-" ... "/" ... "%" ..."

遗憾的是,我认为这意味着我们没有任何其他隐藏条款可供我们查找,因为其他所有条款都在指南页面上提到过。