我正在尝试运行以下查询:
SELECT vtiger_products.productcategory AS "Product Category",
SUM(vtiger_inventoryproductrel.quantity) AS "Line Item Qt"
FROM bi_batch.vtiger_inventoryproductrel
INNER JOIN bi_batch.vtiger_products
ON vtiger_inventoryproductrel.productid