{
  "data": {
    "debug": {
      "durationMs": 4,
      "extra": {
        "aggSql": "select null \"artist$id\",\n       null \"artist$caption\",\n       null \"lineCount\",\n       count(*) \"total\"\nfrom (select\td5.ArtistId \"artist$id\",\td6.Name \"artist$caption\",\tCOUNT(t1.InvoiceLineId) \"lineCount\"\tfrom InvoiceLine t1\t left join Track d3  on t1.TrackId=d3.TrackId left join Album d5  on d3.AlbumId=d5.AlbumId left join Artist d6  on d5.ArtistId=d6.ArtistId left join Invoice d1  on t1.InvoiceId=d1.InvoiceId where  1=1  and \td1.InvoiceDate >=?  and \td1.InvoiceDate <?  and \td5.ArtistId =? \tgroup by d5.ArtistId,\td6.Name) tx",
        "params": [
          "2012-01-01 00:00:00",
          "2013-01-01 00:00:00",
          90
        ],
        "sql": "select\td5.ArtistId \"artist$id\",\td6.Name \"artist$caption\",\tCOUNT(t1.InvoiceLineId) \"lineCount\"\tfrom InvoiceLine t1\t left join Track d3  on t1.TrackId=d3.TrackId left join Album d5  on d3.AlbumId=d5.AlbumId left join Artist d6  on d5.ArtistId=d6.ArtistId left join Invoice d1  on t1.InvoiceId=d1.InvoiceId where  1=1  and \td1.InvoiceDate >=?  and \td1.InvoiceDate <?  and \td5.ArtistId =? \tgroup by d5.ArtistId,\td6.Name order by d5.ArtistId asc"
      },
      "normalized": {
        "groupBy": [
          {
            "field": "artist$id"
          },
          {
            "field": "artist$caption"
          },
          {
            "agg": "COUNT",
            "field": "lineCount"
          }
        ],
        "orderBy": [
          {
            "dir": "asc",
            "field": "artist$id",
            "nullFirst": false,
            "nullLast": false
          }
        ],
        "slice": [
          {
            "field": "invoice$invoiceDate",
            "op": "[)",
            "value": [
              "2012-01-01",
              "2013-01-01"
            ]
          },
          {
            "field": "artist$id",
            "op": "=",
            "value": 90
          }
        ]
      }
    },
    "hasNext": false,
    "items": [
      {
        "artist$caption": "Iron Maiden",
        "artist$id": 90,
        "lineCount": 34
      }
    ],
    "pagination": {
      "hasMore": false,
      "limit": 500,
      "rangeDescription": "显示第 1-1 条，共 1 条",
      "returned": 1,
      "start": 0,
      "totalCount": 1
    },
    "schema": {
      "columns": [
        {
          "dataType": "INTEGER",
          "name": "artist$id",
          "title": "艺术家"
        },
        {
          "dataType": "TEXT",
          "name": "artist$caption",
          "title": "艺术家"
        },
        {
          "name": "lineCount"
        }
      ],
      "summary": "按 艺术家、艺术家 分组，统计 lineCount，返回 1 条数据"
    },
    "total": 1,
    "totalData": {
      "total": 1
    }
  },
  "diagnostics": {
    "attributes": {},
    "warnings": []
  },
  "engine": "java",
  "runtimeApiVersion": "foggy-runtime-api/v1",
  "success": true
}