create table sequence
(
    seq_name      varchar(50)   not null
        primary key,
    current_val   int           not null,
    increment_val int default 1 not null
);

INSERT INTO ag_devmysql.sequence (seq_name, current_val, increment_val) VALUES ('seq_apply_no', 407, 1);
INSERT INTO ag_devmysql.sequence (seq_name, current_val, increment_val) VALUES ('seq_bill_no', 857, 1);
INSERT INTO ag_devmysql.sequence (seq_name, current_val, increment_val) VALUES ('seq_contract_no', 60980, 1);
INSERT INTO ag_devmysql.sequence (seq_name, current_val, increment_val) VALUES ('seq_fact_no', 1, 1);
INSERT INTO ag_devmysql.sequence (seq_name, current_val, increment_val) VALUES ('seq_inv_no', 72, 1);
