hello ive attached my database, how do i make a query to show all the columns in 'KEY' and match it up with all columns in 'Testdata' and look at the ticket count from test data? if there is no category from testdata that matches 'key' then ticket count value will be null or zero?
this is what i have so far but doesnt show values for ticket count (all null):
SELECT KEY.[Product L1], KEY.[Product L2], KEY.Category, testdata.[Ticket Count]
FROM [KEY] LEFT JOIN testdata ON (KEY.Category = testdata.Category) AND (KEY.[Product L2] = testdata.[Product L2]) AND (KEY.[Product L1] = testdata.[Product L1]);
test.accdb