Phoenix 加盐表
create table if not exists gmall.order_info
(
id integer primary key,
user_name varchar
) SALT_BUCKETS = 3;
在Phoenix中查看表
!tables
查询表数据
-- 语法:select * from Phoenix_schema_name.table_name;
select * from gmall.order_info;
创建表之前,必须先创建schema
create schema gmall;
删除表
drop table gmall.order_info;
查看表的所有字段
!desc gmall.order_info;