The
samples/xsql/scripts/financial
directory contains a number of command and script files to facilitate runningselect
commands to demonstrate groups of statistical functions. These command files invoke xSQL and run scripts to demonstrate the SQL Analytics Functions by category. The examples in categories 1-5 can be run using the command filef.bat
(f.sh
in Linux systems) and categories 6-11 can be run usingg.bat
(g.sh
in Linux systems). Simply typef
org
followed by a space and the category number to run the SQL script.For instance, to experiment with the “Binary” functions, type
f 3To experiment with the “Grid Agg” functions, type
g 7The command file invokes xSQL with the appropriate SQL script files. The individual script files define and initialize specific sample tables appropriate to the functions being demonstrated, then perform the individual select statements described in the associated pages. (Please refer to the SQL Analytics Functions page for details about these groups of functions.)