belovedcej
Programmer
I'm having difficulty with the below query (actually just a portion of a much large one - thus the structure.)
I am told "invalid identifier" at line 2, allV.AllVoters. However, if I swap the fields, I get the error at line 2 again, this time on allV.AllDate.
Any ideas what is wrong?
I am told "invalid identifier" at line 2, allV.AllVoters. However, if I swap the fields, I get the error at line 2 again, this time on allV.AllDate.
Any ideas what is wrong?
Code:
SELECT allV.AllDate,
allV.AllVoters
from (select count(id) as "AllVoters",
trunc(modified_date) as "AllDate"
from voters
where trunc(modified_date) > '01-sep-08
and vst_id != 6
group by trunc(modified_date)) allV;