C
Charles Allen
I have two tables. One has the following columns:
Employee ID
Class
Pay Code
The second one has these columns:
Class
Pay Code
The employee should have every pay code assigned to the class.
For example, employee JONES is in class HOURLY. The class can have these pay
codes: HOURLY, OT, VACN.
However, JONES only has HOURLY.
Here's how the data looks:
CLASS PAYCODE
HOURLY HOURLY
HOURLY OT
HOURLY VACN
EMPID CLASS PAYCODE
JONES HOURLY HOURLY
I'm trying to create a query where I can see which employees do not have all
of the pay codes that a class has.
Thank you in advance for your help.
Employee ID
Class
Pay Code
The second one has these columns:
Class
Pay Code
The employee should have every pay code assigned to the class.
For example, employee JONES is in class HOURLY. The class can have these pay
codes: HOURLY, OT, VACN.
However, JONES only has HOURLY.
Here's how the data looks:
CLASS PAYCODE
HOURLY HOURLY
HOURLY OT
HOURLY VACN
EMPID CLASS PAYCODE
JONES HOURLY HOURLY
I'm trying to create a query where I can see which employees do not have all
of the pay codes that a class has.
Thank you in advance for your help.