Hey all,
I'm having a problem with a query. I'll try to condense it to the basics.
There's a table A with following fields
ID (autonumber, unique)
Selected (boolean)
Notes (text)
and a table B with following fields
ID (integer, not-unique)
score (integer)
The tables need to be joined on their ID fields; all records from A need to be shown, from table B the maximum score needs to be sought for each given ID.
On its face this is not a very difficult query; right now I've solved it with
SELECT A.ID, A.Selected, A.Notes, C.MaxOfScore
FROM A LEFT JOIN
(SELECT ID, Max(Score) AS MaxOfScore
FROM B
GROUP BY ID) AS C
ON A.ID = C.ID
However, this query is not updatable, and therefore not usable for the application I have in mind.
Is there a way to create a similar query in which (at least) the Selected field *is* updateable?
Thanks!