I am having a hard time to get a - seemingly simple - right in SQL. I am using MS Access but I guess it doesn\'t really matter here. My data structure looks like this: