-- Create table
create table 电销坐席车非渗透统计表
(
  summary_date            DATE default sysdate not null,
  telsaler_name           VARCHAR2(20) not null,
  moto_premium            NUMBER default 0 not null,
  nomoto_premium          NUMBER default 0 not null,
  moto_premium_proportion NUMBER default 0 not null,
  attaching_rate          NUMBER default 0 not null,
  attaching_rate_change   NUMBER default 0 not null
)
tablespace DESKTOP_ARCHIEVEMENT
  pctfree 10
  initrans 1
  maxtrans 255;
-- Add comments to the table 
comment on table 电销坐席车非渗透统计表
  is '用于存放BI导出每日电销坐席车险非车险保费和车非渗透率数据。';
-- Add comments to the columns 
comment on column 电销坐席车非渗透统计表.summary_date
  is '统计日期';
comment on column 电销坐席车非渗透统计表.telsaler_name
  is '坐席名称';
comment on column 电销坐席车非渗透统计表.moto_premium
  is '车险保费';
comment on column 电销坐席车非渗透统计表.nomoto_premium
  is '非车险保费';
comment on column 电销坐席车非渗透统计表.moto_premium_proportion
  is '车险保费占比';
comment on column 电销坐席车非渗透统计表.attaching_rate
  is '渗透率';
comment on column 电销坐席车非渗透统计表.attaching_rate_change
  is '渗透率环比上月';
