Query to show missing records (1 Viewer)

cbroshar

New member
Local time
Today, 15:30
Joined
Jul 13, 2023
Messages
1
I have a database with tblStudents and tblIncome.

tblStudents includes fields StDisplay (student name) and Status (either "Active" or "Inactive"). tblIncome includes fields TaxYear (either 2021 or 2022) and AGIncome (adjusted gross income for that particular year for each student).

I would like a query to return StDisplay (if Status is "Active") and Income for TaxYear 2022 - but also include StDisplay if there is no record for TaxYear 2022. In other words, I am trying to identify which active students I forgot to enter 2022 income for, while also displaying 2022 income for all active students.

Help!
 

MajP

You've got your good things, and you've got mine.
Local time
Today, 16:30
Joined
May 21, 2018
Messages
8,529
left outer join.
 

Users who are viewing this thread

Top Bottom