Hi All,
I'm just playing about with a few queries, and I've come across a bit of a brick wall...
I have a list of engineers with scores, like so:
Bloggs 1 0 0 1 1 0 1 1 0
Smith 1 1 0 1 1 0 0 0 1
Bloggs 1 0 0 0 0 1 1 0 1
Jones 1 1 1 1 0 0 1 1 0
Bloggs 1 1 0 0 0 0 1 0 1
Smith 0 0 1 0 1 0 0 1 1
I want to create a query that will give me just one occurence of each engineer, with the average of their scores for each column, thus the query for this data would return:
Bloggs 1.0 0.3 0.0 0.3 0.3 .............
Smith 0.5 0.5 0.5 0.5 1.0 .............
Jones 1.0 1.0 1.0 1.0 0.0 .............
If y'all need a more precise description, then please say so and I'll see what I can do.
If this makes sense, then does anyone know how I can do this?
Thanks,
Steve Sherlock
I'm just playing about with a few queries, and I've come across a bit of a brick wall...
I have a list of engineers with scores, like so:
Bloggs 1 0 0 1 1 0 1 1 0
Smith 1 1 0 1 1 0 0 0 1
Bloggs 1 0 0 0 0 1 1 0 1
Jones 1 1 1 1 0 0 1 1 0
Bloggs 1 1 0 0 0 0 1 0 1
Smith 0 0 1 0 1 0 0 1 1
I want to create a query that will give me just one occurence of each engineer, with the average of their scores for each column, thus the query for this data would return:
Bloggs 1.0 0.3 0.0 0.3 0.3 .............
Smith 0.5 0.5 0.5 0.5 1.0 .............
Jones 1.0 1.0 1.0 1.0 0.0 .............
If y'all need a more precise description, then please say so and I'll see what I can do.
If this makes sense, then does anyone know how I can do this?
Thanks,
Steve Sherlock