CREATE TABLE cn_rs_attr_factors (
    ATTR_FACTOR_ID               NUMBER       ,
    ORG_ID                       NUMBER(18, 0)    NOT NULL,
    ATTR_USAGE_ID                NUMBER           NOT NULL,
    RELATION_FACTOR              NUMBER           NOT NULL,
    RULE_ANALYZE_ID              NUMBER       ,
    CREATED_BY                   VARCHAR2(256)    NOT NULL,
    CREATION_DATE                TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY              VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE             TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN            VARCHAR2(128),
    INDEXED_COL_NAME             VARCHAR2(120),
    USE_TAE_COL_IN_INDEX_FLAG    VARCHAR2(12) ,
    UPDATE_SELECTIVITY_FLAG      VARCHAR2(12) ,
    INPUT_SELECTIVITY            NUMBER       ,
    INPUT_ORDINAL_SELECTIVITY    NUMBER       ,
    INPUT_DEVIATION              NUMBER       ,
    ATTR_FACTOR_ID               NUMBER       ,
    ORG_ID                       NUMBER(18, 0)    NOT NULL,
    ATTR_USAGE_ID                NUMBER           NOT NULL,
    RELATION_FACTOR              NUMBER           NOT NULL,
    RULE_ANALYZE_ID              NUMBER       ,
    CREATED_BY                   VARCHAR2(256)    NOT NULL,
    CREATION_DATE                TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY              VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE             TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN            VARCHAR2(128),
    INDEXED_COL_NAME             VARCHAR2(120),
    USE_TAE_COL_IN_INDEX_FLAG    VARCHAR2(12) ,
    UPDATE_SELECTIVITY_FLAG      VARCHAR2(12) ,
    INPUT_SELECTIVITY            NUMBER       ,
    INPUT_ORDINAL_SELECTIVITY    NUMBER       ,
    INPUT_DEVIATION              NUMBER       ,
    CONSTRAINT pk_cn_rs_attr_factors PRIMARY KEY (ATTR_FACTOR_ID, ATTR_FACTOR_ID)
);
