Table: User
Column(s): UserId
Table: Classes
Column(s): UserId, ClassId
User -> Classes is a one to many relationship.
In Access is it possible to create a query that outputs 1 record per UserId so that the output would look like:
UserId ClassId
102 2, 45, 6, 8
103 1, 44, 33
111 34, 2, 32
Since the ClassId can return multiple records the output would be comma deliminated and only return 1 record per UserId. Is this possible within an Access query? Also, if so, how would you construct the query that had another additional table with a one to many relationship?
Any assistance is appreciated!
Best, Fezzik
Column(s): UserId
Table: Classes
Column(s): UserId, ClassId
User -> Classes is a one to many relationship.
In Access is it possible to create a query that outputs 1 record per UserId so that the output would look like:
UserId ClassId
102 2, 45, 6, 8
103 1, 44, 33
111 34, 2, 32
Since the ClassId can return multiple records the output would be comma deliminated and only return 1 record per UserId. Is this possible within an Access query? Also, if so, how would you construct the query that had another additional table with a one to many relationship?
Any assistance is appreciated!
Best, Fezzik