If I have an index table
Index
ID Last First
01 Smith Frank
02 Biden Joe
03 Trump Don
and another table showing those who meet a certain measure
Measure
ID Last First
02 Biden Joe
04 Obama Barack
how can I query this in postgresql to show a listing of those on the index table and their status of meeting the measure?
Desired Output
ID Last First Measure
01 Smith Frank No
02 Biden Joe Yes
03 Trump Don No