第一关
先cd /opt
再写下面的
第2关
先cd /app/apache-phoenix-5.0.0-HBase-2.0-bin/bin
再进./sqlline.py 127.0.0.1:2181
1.create table table_step2(ID INTEGER PRIMARY KEY,INFO VARCHAR);
2.create sequence if not exists seq_step2
3.START WITH 2000
INCREMENT BY 1
MINVALUE 2000
MAXVALUE 100000
CYCLE CACHE 10;
4.upsert into table_step2 values(1,'educoder');
5.upsert into table_step2 values(next value for seq_step2,'edu')
6.upsert into table_step2 values(next value for seq_step2,'coder');
7.upsert into table_step2 values(2010,'test');