{
  "data": {
    "debug": {
      "durationMs": 2,
      "extra": {
        "aggSql": "select null \"album$id\",\n       null \"album$caption\",\n       null \"totalAmount\",\n       null \"quantity\",\n       count(*) \"total\"\nfrom (select\td3.AlbumId \"album$id\",\td5.Title \"album$caption\",\tSUM(t1.UnitPrice * t1.Quantity) \"totalAmount\",\tSUM(t1.Quantity) \"quantity\"\tfrom InvoiceLine t1\t left join Track d3  on t1.TrackId=d3.TrackId left join Album d5  on d3.AlbumId=d5.AlbumId left join Invoice d1  on t1.InvoiceId=d1.InvoiceId where  1=1  and \td1.InvoiceDate >=?  and \td1.InvoiceDate <?  and \td5.ArtistId =? \tgroup by d3.AlbumId,\td5.Title) tx",
        "params": [
          "1990-01-01 00:00:00",
          "1991-01-01 00:00:00",
          90
        ],
        "sql": "select\td3.AlbumId \"album$id\",\td5.Title \"album$caption\",\tSUM(t1.UnitPrice * t1.Quantity) \"totalAmount\",\tSUM(t1.Quantity) \"quantity\"\tfrom InvoiceLine t1\t left join Track d3  on t1.TrackId=d3.TrackId left join Album d5  on d3.AlbumId=d5.AlbumId left join Invoice d1  on t1.InvoiceId=d1.InvoiceId where  1=1  and \td1.InvoiceDate >=?  and \td1.InvoiceDate <?  and \td5.ArtistId =? \tgroup by d3.AlbumId,\td5.Title order by SUM(t1.UnitPrice * t1.Quantity) desc,\td3.AlbumId asc"
      },
      "normalized": {
        "groupBy": [
          {
            "field": "album$id"
          },
          {
            "field": "album$caption"
          },
          {
            "agg": "SUM",
            "field": "totalAmount"
          },
          {
            "agg": "SUM",
            "field": "quantity"
          }
        ],
        "orderBy": [
          {
            "dir": "desc",
            "field": "totalAmount",
            "nullFirst": false,
            "nullLast": false
          },
          {
            "dir": "asc",
            "field": "album$id",
            "nullFirst": false,
            "nullLast": false
          }
        ],
        "slice": [
          {
            "field": "invoice$invoiceDate",
            "op": "[)",
            "value": [
              "1990-01-01",
              "1991-01-01"
            ]
          },
          {
            "field": "artist$id",
            "op": "=",
            "value": 90
          }
        ]
      }
    },
    "hasNext": false,
    "items": [],
    "pagination": {
      "hasMore": false,
      "limit": 500,
      "rangeDescription": "无数据",
      "returned": 0,
      "start": 0
    },
    "schema": {
      "columns": [
        {
          "dataType": "INTEGER",
          "name": "album$id",
          "title": "专辑"
        },
        {
          "dataType": "TEXT",
          "name": "album$caption",
          "title": "专辑"
        },
        {
          "name": "totalAmount"
        },
        {
          "name": "quantity"
        }
      ],
      "summary": "按 专辑、专辑 分组，统计 totalAmount、quantity，返回 0 条数据"
    },
    "semantic": {
      "emptyReason": "NO_MATCHING_ROWS",
      "emptyResult": true,
      "shouldAnswerDirectly": true
    },
    "total": 0,
    "totalData": {
      "total": 0
    }
  },
  "diagnostics": {
    "attributes": {},
    "warnings": []
  },
  "engine": "java",
  "runtimeApiVersion": "foggy-runtime-api/v1",
  "success": true
}
