Hello.
I Have Two Table From Which I want to Create Query
1) Table - Purchase
PurchaseID,ItemID,PurchaseDate,PurchaseQuantity
2) Table- Sale
SaleID,ItemID,SaleDate,SaleQuantity
Now I want to Create A query to Give this Result Between Two Dates From Both Tables
| ItemID | TotalPurchaseQuantity | TotalSaleQuantity |
The Problem is Date From Which Table I should Give Date To Query (Sale Table Or Purchase)

Pankajkumar PatelPosted Dec 26, 2019, 10:57 PM
Can you please try following:
Good to know that query worked.
Now, you want to get ItemName also from Item Table. To Join it with item table "CTE Query" can be used like following:
Arifullah IrfannPosted Dec 27, 2019, 11:44 AM
Suraj KumarPosted Dec 27, 2019, 6:39 AM
Jignesh KumarPosted Dec 27, 2019, 6:01 AM
Arifullah IrfannPosted Dec 27, 2019, 5:56 AM
Rafnas T PPosted Dec 26, 2019, 8:03 PM
Rafnas T PPosted Dec 26, 2019, 8:00 PM
Suraj KumarPosted Dec 26, 2019, 6:34 AM
Suraj KumarPosted Dec 26, 2019, 6:16 AM
Amit MohantyPosted Dec 26, 2019, 6:06 AM