y 来自与 max x sqlite 文档相同的行

y from the same row as max x sqlite documentation

在阅读 sqlite 时 change log 我遇到了这个语句

2012-03-20 (3.7.11)
...
Queries of the form: "SELECT max(x), y FROM table" returns the value of y on the same row that contains the maximum x value.
...

我找到了 commits that implement 这个功能,希望能找到文档,但没有成功。

我发现自己一直在使用这个功能并且想知道:

您已引用此功能的完整文档。

如果 max()/min() 多次出现(您不能选择哪个是控制的),或者如果 max() 没有实际计算,因为外部查询忽略了它,这将不起作用。