|
-
Feb 1st, 2010, 07:35 AM
#1
Thread Starter
Fanatic Member
Issue in Query
Dears,
I m using the following Query which gives the required data
SELECT Sale_Main.SaleDate, Sum(Sale_Detail.Qty) AS SumOfQty
FROM Sale_Main INNER JOIN Sale_Detail ON Sale_Main.SaleId = Sale_Detail.SaleId
GROUP BY Sale_Main.SaleDate, Sale_Detail.Qty
But when i use it with SELECT Sale_Main.SaleDate, Sum(Sale_Detail.Qty) AS SumOfQty FROM Sale_Main INNER JOIN Sale_Detail ON Sale_Main.SaleId = Sale_Detail.SaleId GROUP BY Sale_Main.SaleDate, Sale_Detail.Qty
HAVING (((Sale_Main.SaleDate)<[?])) it gives nothing... is something wronh in this Query ?? Please help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|