CPC G06F 16/2282 (2019.01) [G06F 11/3409 (2013.01); G06F 16/221 (2019.01); G06F 16/244 (2019.01); G06F 16/248 (2019.01); G06F 16/24552 (2019.01); G06F 16/24556 (2019.01)] | 18 Claims |
1. A method comprising:
receiving, by a database management system (DBMS) that stores a plurality of JavaScript object notation (JSON) documents, a structured query language (SQL) statement that uses elision to specify an aggregation function;
identifying a subset of the plurality of JSON documents that satisfy the SQL statement;
for each JSON document of the subset of the plurality of JSON documents, applying the aggregation function individually to said each JSON document to calculate a respective aggregate value of said each JSON document of a set of aggregate values; and
generating a result set that contains at least one respective aggregate value of said set of respective aggregate values for the subset of the plurality of JSON documents.
|