Group: ibm.software.db2.mvs · Group Profile · Search for Mqt in ibm.software.db2.mvs
Author: saravanainfo
Date: Jul 21, 2008 10:17
Hi. We're currently testing some MQT's around here. I would like to know if is possible to refresh a MQT by loading (using the LOAD utility) data into the source tables. For example, consider this generic MQT: CREATE TABLE MY_MQT (average,sum,max) as ( SELECT avg(table1.field1) as average, sum(table2.field2) as sum, max(table3.field3) as max FROM TABLE1, TABLE2, TABLE3 )
|