chrisjames25
Registered User.
- Local time
- Today, 23:50
- Joined
- Dec 1, 2014
- Messages
- 404
Hi.
Literally no clue where to start with this query so please bare with me.
Lets say im in farming and i grow the following crops:
potatos
tomatos
peas
beans
When i sow the above crops, i record on database the date the seeds were sown, what was sown, how many were sown and how long it will be till ready.
What i am after is a query that will create a table to summarise the data for each crop, so it will tell me that form 3 batches of potato i created 3000 potatos if each batch i sowed was 100 of each.
Hear is the kicker. I want the followng headings:
Product Number Available Now Number Still Growing Total Number
So lets say my three batches were all potted as follows:
POtato batch 1 - potted 01/04/18 - 4 weeks till available
Potato batch 2 - potted 15/04/18 - 4 weeks till available
Potato batch 3 - potted 30/04/18 - 4 weeks till available
The data i want presented is
Product Name: Potato
Available: 1000
Growing: 2000
Total Stock: 3000
Hope that is explained enough, and again apologies for no clue on how to tackle this one.
CHeers
Literally no clue where to start with this query so please bare with me.
Lets say im in farming and i grow the following crops:
potatos
tomatos
peas
beans
When i sow the above crops, i record on database the date the seeds were sown, what was sown, how many were sown and how long it will be till ready.
What i am after is a query that will create a table to summarise the data for each crop, so it will tell me that form 3 batches of potato i created 3000 potatos if each batch i sowed was 100 of each.
Hear is the kicker. I want the followng headings:
Product Number Available Now Number Still Growing Total Number
So lets say my three batches were all potted as follows:
POtato batch 1 - potted 01/04/18 - 4 weeks till available
Potato batch 2 - potted 15/04/18 - 4 weeks till available
Potato batch 3 - potted 30/04/18 - 4 weeks till available
The data i want presented is
Product Name: Potato
Available: 1000
Growing: 2000
Total Stock: 3000
Hope that is explained enough, and again apologies for no clue on how to tackle this one.
CHeers