Hi everyone,
I've ran into an issue I've not had to deal with before. I have two tables, both are similar, but one table has a few more columns than the other one. I'd like to have a single query for both tables that displays combined results including all the columns from both tables. I know a Union Select is probably my best bet, but I'm not sure how to go about it. My table information is below, I'm just looking for a Select * in general
The columns in bold exist in table 1 but not table 2.
Table 1
EmpID
Login
Name
HourlyRate
LeadName
ManagerName
ManagerIIName
DirectorName
EffectiveDate
Table 2
EmpID
Login
Name
ManagerIIName
DirectorName
EffectiveDate
I've ran into an issue I've not had to deal with before. I have two tables, both are similar, but one table has a few more columns than the other one. I'd like to have a single query for both tables that displays combined results including all the columns from both tables. I know a Union Select is probably my best bet, but I'm not sure how to go about it. My table information is below, I'm just looking for a Select * in general
The columns in bold exist in table 1 but not table 2.
Table 1
EmpID
Login
Name
HourlyRate
LeadName
ManagerName
ManagerIIName
DirectorName
EffectiveDate
Table 2
EmpID
Login
Name
ManagerIIName
DirectorName
EffectiveDate