I would like to create a query that would generate the output table, but I'm not sure where to start.
[USER TABLE]
userID fName lName
1 Joe Smith
2 Mike Brown
[CATEGORY TABLE]
categoryID title
1 category1
2 category2
3 category3
[USERCATEGORy TABLE]
userID categoryID
1 1
1 3
2 2
2 3
[OUTPUT TABLE]
(comma seperate rows
fName lName category1 category2 category3
Joe,Smith,x, ,x
Mike,Brown, ,x,x