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