Can anybody help me solving this problem
Here I have 3 tables. I want to retrieve data from these three tables in order to get a grand total for a Pcode during a particular year
I have attached the db
Here in Query1 the display of data is in a row which I am looking for but the figure is wrong as it calculate qty from table Purchasedetail twice (61) + qty from adustments (3+2)
in the second query2
The figure shown are correct but it is displayed in two rows rather than one row which I need
Appreciate help
Here I have 3 tables. I want to retrieve data from these three tables in order to get a grand total for a Pcode during a particular year
I have attached the db
Here in Query1 the display of data is in a row which I am looking for but the figure is wrong as it calculate qty from table Purchasedetail twice (61) + qty from adustments (3+2)
in the second query2
The figure shown are correct but it is displayed in two rows rather than one row which I need
Appreciate help
Attachments
Last edited: