evergrean100
Technical User
I would like to know if it is possible to make a regular expression or better way to condense my below query in Access 2003.
Basically I need to query the average with all fields in TableOne that end with _myWord:
I have used the LIKE and * for fetching wildcards but was hoping I can do something like that in my above sql for the fieldnames?
Basically I need to query the average with all fields in TableOne that end with _myWord:
Code:
select
((avg(abcd_myWord) +
avg(other_myWord) +
avg(here_myWord) +
avg(cal_myWord) +
avg(jersey_myWord) +
avg(flo_myWord) +
avg(jklm_myWord) +
avg(jax_myWord) +
avg(baewerr_myWord))/9) as avgData
from TableOne
I have used the LIKE and * for fetching wildcards but was hoping I can do something like that in my above sql for the fieldnames?