I think I must be suffering from SQL atrophe... This is not a difficult query, but my brain is a little fuzzy this morning.
tCBR
cbr - primary key
region
tScore
cbr - foriegn key
enteredTime
score
What I need is to get all of the CBRs from a given region and their most recent score(or "0" if no score is recorded). Any given CBR may or may not have one or more scores recorded.
Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook
tCBR
cbr - primary key
region
tScore
cbr - foriegn key
enteredTime
score
What I need is to get all of the CBRs from a given region and their most recent score(or "0" if no score is recorded). Any given CBR may or may not have one or more scores recorded.
Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook