#!/bin/sh db="/usr/local/bin/mysql -u root" $db > /dev/null 2> /dev/null << ALL_DONE use sso; drop table Wall; ALL_DONE $db << ALL_DONE USE sso; create table Wall ( wall_id integer not null, base_rating integer not null, cur_rating integer not null, height integer not null, index (wall_id) ); show columns from Wall; show index from Wall; ALL_DONE