Hello,
I'm trying to compare two columns based on # of lives and I want to select the greater of the two and have the result be placed in a new column.
Here's my current query:
SELECT [id], [account], [# of full time equivalents], [number of eligible employees]
FROM MaxLivesVol
Where [# of full time equivalents] > [number of eligible employees] or [# of full time equivalents] < [number of eligible employees]
Pulling the data is fine, it's just getting the result of the where clause as a standalone column - something like "MaxLives" is the issue,
I'm trying to compare two columns based on # of lives and I want to select the greater of the two and have the result be placed in a new column.
Here's my current query:
SELECT [id], [account], [# of full time equivalents], [number of eligible employees]
FROM MaxLivesVol
Where [# of full time equivalents] > [number of eligible employees] or [# of full time equivalents] < [number of eligible employees]
Pulling the data is fine, it's just getting the result of the where clause as a standalone column - something like "MaxLives" is the issue,