#!/bin/sh
#
# test 'create stream' 
#

SHSQL="shsql -echo -n -ttprefix selects4"



echo "*************************************************************"
echo "1. create stream"
$SHSQL "create stream \$who as (echo 'login tty mon day time host'; who)"

echo "*************************************************************"
echo "2. select "
$SHSQL "select * from \$who"

echo "*************************************************************"
echo "3. another select "
$SHSQL "select * from \$who where mon = 'Oct' and day = '28' "

