show gsc;
\fg
show user;
\fu
show config;
\fc
show hash;
\fh

create instance 192.168.0.1 6002;
create instance 192.168.0.1 6003;
create instance 192.168.0.1 6004;
show instance;
\fi

create db sample (0,1,2,3);
show db;
\fd

open db sample;

\i createtable.sql
show table;
show table item;

part table salesorder (order_no) 4;
\ft 
\ft salesorder
\fp salesorder

part table2 salesordertail (order_no) 4 servid=0 partno=(0,1),servid=1 partno=(1,2), servid=2 partno=(2,3), servid=3 partno=(3,0);
show table ;
show table salesordertail;
show priority salesordertail;

set priority salesordertail 0 (0,3);
set priority salesordertail 1 (1,0);
set priority salesordertail 2 (2,1);
set priority salesordertail 3 (3,2);
\fp salesordertail

close db sample;

\q
