SELECT MAX('Sort_key') FROM Vegetables WHERE "pk" = 'value1' AND "sort_key" = 1532703600;
错误
An error occurred during the execution of the command.
ValidationException: Unexpected path component at 1:8:3
这是我正在尝试做的 SQL 等价物。我想使用 PartiQL 从表中查询最新的 10 个项目(最高排序键),但首先我想查询排序键的最高值。
如果有人对 Max(sort_key) 或我的问题的替代方法有任何想法,请告诉我。!