1.启动Phoenix
bin/sqlline.sh
2.在Phoenix中查看表
!table
3.在Phoenix中创建表
create schema Phoenix_schema_name;
create table Phoenix_schema_name.table_name(id varchar primary key, name varchar);
4.查询表数据
select * from Phoenix_schema_name.table_name;
2023-12-06 11:04:46
1.启动Phoenix
bin/sqlline.sh
2.在Phoenix中查看表
!table
3.在Phoenix中创建表
create schema Phoenix_schema_name;
create table Phoenix_schema_name.table_name(id varchar primary key, name varchar);
4.查询表数据
select * from Phoenix_schema_name.table_name;