1 create table t1(f1 int not null,f2 int,f3 int);
2 echo create index idx1 on t1(f1) unique;
3 create index idx1 on t1(f1) unique;
4 echo create index idx2 on t1(f1) primary;
5 create index idx2 on t1(f1) primary;
6 echo create index idx3 on t1(f1) hash primary;
7 create index idx3 on t1(f1) hash primary;