Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

selected non-aggregate values must be part of the associated group - forum topic by ptomar

$
0
0

I'm trying to run the following query: 

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_products.productid = vtiger_inventoryproductrel.productid

getting error - SELECT Failed. 3504: selected non-aggregate values must be part of the associated group
Can someone help?

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>