mrchinchin25
IS-IT--Management
I have a table with data like this: (this is abbreviated)
Part Number, Week Number
A1 52
A2 1
A3 1
A4 1
A5 2
A6 2
A7 3
I need some way using SQL or a query to get the system to work out how to calculate how many different weeks we have data for.
In the case above we have 4 different weeks.
as the user will be adding new data each week, this system has to work out automatically.
can anyone help me calculate the number of weeks?
Part Number, Week Number
A1 52
A2 1
A3 1
A4 1
A5 2
A6 2
A7 3
I need some way using SQL or a query to get the system to work out how to calculate how many different weeks we have data for.
In the case above we have 4 different weeks.
as the user will be adding new data each week, this system has to work out automatically.
can anyone help me calculate the number of weeks?