{
  "columns": ["customerCode", "sum(invoiceAmount) as amount"],
  "slice": [
    {"field": "invoiceDate", "op": "[)", "value": ["2012-01-01", "2013-01-01"]},
    {"field": "invoiceAmount", "op": ">", "value": 25}
  ],
  "groupBy": ["customerCode"],
  "orderBy": ["-amount", "customerCode"],
  "limit": 50
}
