This sample demonstrates the use of the
distinctqualifier with thesum()function. Note the use of theexplaincommand to display the execution plan.This sample can be run from directory
samples\xsql\scriptswith the following command:..\..\..\target\bin\xsql.exe -b -c xsql.cfg -f distinctsum.sql