<freeMetaDataQuery>
     <sqlQuery>
     <distinct>false</distinct>
     <limit>0</limit>
         <select>
             <dataStreamElementName>products_line</dataStreamElementName>
             <dataStreamName>products</dataStreamName>
         </select>
         <agg>
             <function>SUM</function>
             <formula>true</formula>
             <col>Round(orderfact.totalprice/1000,1)</col>
             <dataStreamName>orderfact</dataStreamName>
             <outputName>orderfact_totalprice/1000</outputName>
         </agg>
         <orderBy>
             <dataStreamElementName>products_line</dataStreamElementName>
             <dataStreamName>products</dataStreamName>
          </orderBy>
     </sqlQuery>
</freeMetaDataQuery>
