mount

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

select
supplier,module,pline,station,date,avg(detail.valuedouble)
from 
`sqm`.`sqm_value_quality_detail`  detail ,
`sqm`.`sqm_station_performance_view`  station

where detail.valuetype='double' and detail.value_station_id = station.guid
group by supplier,module,pline,station,date

posted on 2011-11-09 15:34  http://guoyinfeng.info/  阅读(132)  评论(0编辑  收藏  举报