echo “select * from table;” | sqlplus -s -l username\password@database