text: SELECT "Food_1"."device" AS "device" FROM "Food_1" GROUP BY 1 ORDER BY "device" ASC 
  SELECT "Food_1"."device" AS "device",   SUM("Food_1"."Calculation_1553038251886313475") AS "sum:Calculation_1553038251886313475:ok",   SUM("Food_1"."volume_total_bytes") AS "sum:volume_total_bytes:ok" FROM "Food_1" GROUP BY 1
  SELECT "Food_1"."device" AS "device",   SUM("Food_1"."Calculation_1553038251895164934") AS "sum:Calculation_1553038251895164934:ok" FROM "Food_1" WHERE ((NOT ("Food_1"."device" IN ('iPad-generic', 'iPhone-generic', 'Mac-generic'))) AND ("Food_1"."vendor" = 'Apple')) GROUP BY 1
  SELECT "Food_1"."device" AS "device",   SUM("Food_1"."Calculation_1553038251895332871") AS "sum:Calculation_1553038251895332871:ok" FROM "Food_1" WHERE ("Food_1"."device" IN ('AC1495', 'Apple Watch', 'iMac', 'iPad Air 2 Cellular', 'iPad Air 2 Wifi', 'iPad Air Cellular', 'iPad Air Wifi', 'iPad Gen1', 'iPad Gen1 Cellular', 'iPad Gen2 Cellular', 'iPad Gen2 Wifi', 'iPad Gen3 Cellular', 'iPad Gen3 Wifi', 'iPad Gen4 Cellular', 'iPad Gen4 Wifi', 'iPad Mini 4', 'iPad Mini Gen1 Cellular', 'iPad Mini Gen1 Wifi', 'iPad Mini Gen2 Cellular', 'iPad Mini Gen2 Wifi', 'iPad Mini Gen3 Cellular', 'iPad Mini Gen3 Wifi', 'iPad Mini Gen4 Wifi', 'iPad Pro', 'iPhone 3G', 'iPhone 3GS', 'iPhone 4', 'iPhone 4s', 'iPhone 5', 'iPhone 5c', 'iPhone 5s', 'iPhone 6', 'iPhone 6 Plus', 'iPhone 6s', 'iPhone 6s Plus', 'iPod Touch', 'iPod-generic', 'MacBook', 'MacMini')) GROUP BY 1
  SELECT "Food_1"."device" AS "device",   SUM("Food_1"."Calculation_1553038251895332871") AS "sum:Calculation_1553038251895332871:ok" FROM "Food_1" WHERE ("Food_1"."vendor" = 'Apple') GROUP BY 1
  SELECT "Food_1"."vendor" AS "vendor" FROM "Food_1" GROUP BY 1 ORDER BY "vendor" ASC 
  SELECT "Food_1"."vendor" AS "vendor" FROM "Food_1" WHERE ("Food_1"."vendor" IN ('Advan', 'Android', 'Apple', 'Asus', 'BlackBerry', 'Huawei', 'Lenovo', 'Oppo', 'Samsung', 'Sony', 'Xiaomi')) GROUP BY 1
  SELECT AVG(CAST("Food_1"."Calculation_1553038251895332871" AS double)) AS "avg:Calculation_1553038251895332871:ok",   "Food_1"."vendor" AS "vendor" FROM "Food_1" WHERE ("Food_1"."vendor" IN ('Advan', 'Android', 'Apple', 'Asus', 'BlackBerry', 'Huawei', 'Lenovo', 'Oppo', 'Samsung', 'Sony', 'Xiaomi')) GROUP BY 2
  SELECT SUM("Food_1"."Calculation_1553038251886313475") AS "sum:Calculation_1553038251886313475:ok",   "Food_1"."vendor" AS "vendor" FROM "Food_1" GROUP BY 2
  SELECT SUM("Food_1"."Calculation_1553038251887087620") AS "sum:Calculation_1553038251887087620:ok",   "Food_1"."vendor" AS "vendor" FROM "Food_1" GROUP BY 2
  SELECT SUM("Food_1"."Calculation_1553038251895164934") AS "TEMP(Calculation_1553038251896283147)(4173329188)(0)",   "Food_1"."device" AS "device" FROM "Food_1" WHERE ("Food_1"."device" IN ('AC1495', 'Apple Watch', 'iMac', 'iPad Air 2 Cellular', 'iPad Air 2 Wifi', 'iPad Air Cellular', 'iPad Air Wifi', 'iPad Gen1', 'iPad Gen1 Cellular', 'iPad Gen2 Cellular', 'iPad Gen2 Wifi', 'iPad Gen3 Cellular', 'iPad Gen3 Wifi', 'iPad Gen4 Cellular', 'iPad Gen4 Wifi', 'iPad Mini 4', 'iPad Mini Gen1 Cellular', 'iPad Mini Gen1 Wifi', 'iPad Mini Gen2 Cellular', 'iPad Mini Gen2 Wifi', 'iPad Mini Gen3 Cellular', 'iPad Mini Gen3 Wifi', 'iPad Mini Gen4 Wifi', 'iPad Pro', 'iPad-generic', 'iPhone 3G', 'iPhone 3GS', 'iPhone 4', 'iPhone 4s', 'iPhone 5', 'iPhone 5c', 'iPhone 5s', 'iPhone 6', 'iPhone 6 Plus', 'iPhone 6s', 'iPhone 6s Plus', 'iPhone-generic', 'iPod Touch', 'iPod-generic', 'Mac-generic', 'MacBook', 'MacMini')) GROUP BY 2
  SELECT SUM("Food_1"."Calculation_1553038251895332871") AS "TEMP(Calculation_1553038251896254474)(3520192934)(0)",   "Food_1"."device" AS "device" FROM "Food_1" WHERE ("Food_1"."vendor" = 'Apple') GROUP BY 2
  SELECT SUM("Food_1"."Calculation_1553038251895332871") AS "TEMP(Calculation_1553038251932139544)(3520192934)(0)",   SUM(1) AS "TEMP(Calculation_1553038251932139544)(3759786119)(0)",   "Food_1"."vendor" AS "vendor" FROM "Food_1" WHERE (("Food_1"."vendor" NOT IN ('AMOD', 'Ampere', 'AOC', 'Ctroniq', 'Darago', 'Daxian', 'Daza', 'Ecoo', 'Fadar', 'G-Tech', 'GFour', 'Gongjin', 'Huizhou_Yicheng', 'iTouch', 'Joint', 'Koobee', 'MobileTech', 'Omes', 'Phicomm', 'Redbean', 'Tecson_Marketing_SDN', 'Tongxin', 'Topstrasse', 'Urovo', 'Wireless', 'Yuge')) AND ("Food_1"."vendor" IN ('Advan', 'Android', 'Apple', 'Asus', 'BlackBerry', 'Huawei', 'Lenovo', 'Oppo', 'Samsung', 'Sony', 'Xiaomi'))) GROUP BY 3
  SELECT SUM("Food_1"."after ") AS "sum:after :ok",   SUM("Food_1"."before") AS "sum:before:ok",   "Food_1"."volume(GB)" AS "volume(GB)" FROM "Food_1" GROUP BY 3
  SELECT SUM(CAST("Food_1"."subscribers" AS BIGINT)) AS "TEMP(Calculation_1553038251937742874)(60507736)(0)",   SUM(CAST("Food_1"."subscribers" AS BIGINT)) AS "TEMP(Calculation_1553038251938377755)(723533761)(0)",   "Food_1"."vendor" AS "vendor" FROM "Food_1" WHERE ("Food_1"."vendor" IN ('Advan', 'Android', 'Apple', 'Asus', 'BlackBerry', 'Huawei', 'Lenovo', 'Oppo', 'Samsung', 'Sony', 'Xiaomi')) GROUP BY 3
  SELECT SUM(CAST("Food_1"."subscribers" AS BIGINT)) AS "TEMP(Calculation_1553038251937742874)(723533761)(0)",   SUM(CAST("Food_1"."subscribers" AS BIGINT)) AS "TEMP(Calculation_1553038251938377755)(60507736)(0)",   "Food_1"."vendor" AS "vendor" FROM "Food_1" WHERE ("Food_1"."vendor" IN ('Advan', 'Android', 'Apple', 'Asus', 'BlackBerry', 'Huawei', 'Lenovo', 'Oppo', 'Samsung', 'Sony', 'Xiaomi')) GROUP BY 3
  SELECT SUM(CAST("Food_1"."subscribers" AS BIGINT)) AS "sum:subscribers:ok",   "Food_1"."vendor" AS "vendor" FROM "Food_1" GROUP BY 2
  