diff --git a/test-definitions/key_comparator/Product/insert.sql b/test-definitions/key_comparator/Product/insert.sql index d6d0f08..0f360d3 100644 --- a/test-definitions/key_comparator/Product/insert.sql +++ b/test-definitions/key_comparator/Product/insert.sql @@ -6,7 +6,14 @@ INSERT INTO [dbo].[TemplateKeyComparatorProducts] ,[Quantity]) VALUES (11,123 ,'2020-09-09',300), - (12,124 ,'2020-09-10',400) + (12,124 ,'2020-09-10',400), + (13,123 ,'2020-09-09',300), + (14,123 ,'2020-09-09',300), + (11,124 ,'2020-09-09',300), + (12,123 ,'2020-09-09',300), + (14,123 ,'2020-09-09',300), + (15,123 ,'2020-09-09',300), + (15,125 ,'2020-09-09',300) diff --git a/test-definitions/key_comparator/Product/product.sql b/test-definitions/key_comparator/Product/product.sql index 7b5da1f..c7d466b 100644 --- a/test-definitions/key_comparator/Product/product.sql +++ b/test-definitions/key_comparator/Product/product.sql @@ -2,7 +2,7 @@ pr.[StoreNumber] ,pr.ProductID ,pr.[Date] - ,sum(pr.[Quantity]) + ,pr.[Quantity] FROM [dbo].[TemplateKeyComparatorProducts] pr - inner join AdventureWorks2008R2.dbo.TemplateKeyComparatorCheckAggregators d on d.[StoreNumber]=pr.[StoreNumber] and d.ProductID=pr.ProductID - group by pr.[StoreNumber],pr.ProductID,pr.Date \ No newline at end of file + inner join AdventureWorks2008R2.dbo.TemplateKeyComparatorCheckAggregators d + on d.[StoreNumber]=pr.[StoreNumber] and d.ProductID=pr.ProductID \ No newline at end of file