CREATE TABLE bm_query_criteria (
    ID                NUMBER(18, 0) ,
    QUERY_ID          NUMBER(18, 0)     NOT NULL,
    VALUE_COL_NAME    VARCHAR2(1024)    NOT NULL,
    OPERATOR          NUMBER(5, 0)      NOT NULL,
    ROW_INDEX         NUMBER(5, 0)      NOT NULL,
    DATE_ADDED        DATE              NOT NULL,
    DATE_MODIFIED     DATE          ,
    GUID              VARCHAR2(1020)    NOT NULL,
    ID                NUMBER(18, 0) ,
    QUERY_ID          NUMBER(18, 0)     NOT NULL,
    VALUE_COL_NAME    VARCHAR2(1024)    NOT NULL,
    OPERATOR          NUMBER(5, 0)      NOT NULL,
    ROW_INDEX         NUMBER(5, 0)      NOT NULL,
    DATE_ADDED        DATE              NOT NULL,
    DATE_MODIFIED     DATE          ,
    GUID              VARCHAR2(1020)    NOT NULL,
    CONSTRAINT pk_bm_query_criteria PRIMARY KEY (ID, ID)
);
