3 # Create table t1 with 5 records in csql database.
4 # select query with expression in aggregate
5 # as we do not support expressions in aggregate, it should give syntax error
8 # Author : Jitendra Lenka
10 QUITFILE
=${PWD}/sql
/Aggregate
/quit.sql
14 REL_PATH
=`pwd`/sql
/Aggregate
17 $CSQL_INSTALL_ROOT/bin
/csql
-s $REL_PATH/createt1.sql
> /dev
/null
2>&1
24 echo "select sum(12*f1) where f4='BBB':"
25 $CSQL_INSTALL_ROOT/bin
/csql
-s $REL_PATH/aggsum3.sql
28 $CSQL_INSTALL_ROOT/bin
/csql
-s $REL_PATH/dropt1.sql
> /dev
/null
2>&1
34 $CSQL_INSTALL_ROOT/bin
/csql
-s $REL_PATH/dropt1.sql
> /dev
/null
2>&1