L
lovelovedelphi
Unregistered / Unconfirmed
GUEST, unregistred user!
对于数据表sheet1。db里面的字段有meas_date(测量日期),station(站点),
G_mumber(数量).现在想统计每月每个站点的平均数量,sql语句是这里的:
select station,EXTRACT(YEAR FROM meas_Date) as Meas_Year ,
EXTRACT(month FROM meas_Date) as Meas_month,
ave('G_mumber') from sheet1 group by EXTRACT(YEAR FROM meas_date),
EXTRACT(month FROM meas_date),station
但最后出错:capability is supported
G_mumber(数量).现在想统计每月每个站点的平均数量,sql语句是这里的:
select station,EXTRACT(YEAR FROM meas_Date) as Meas_Year ,
EXTRACT(month FROM meas_Date) as Meas_month,
ave('G_mumber') from sheet1 group by EXTRACT(YEAR FROM meas_date),
EXTRACT(month FROM meas_date),station
但最后出错:capability is supported