数据库mysql 基础,第一节实验课内容

关于数据库mysql
第一次实验课内容,主要是建database 然后在里面建表,但我这边总报错。
真的就不知道怎么写,从建database起回答吧
以下是指示图片
第一张

img


第二张

img


第三张

img


第四张

img


create table gene55 (
    `gene_id` int(20) not null,
    `start` int(8) not null,
    `end` int(8) not null,
    `biotype` varchar(40) null,
    primary key (`gene_id`)
);

create table transcript55 (
    `transcript_id` int(20) not null,
    `gene_id` int(20) null,
    `start` int(8) not null,
    `end` int(8) not null,
    `biotype` varchar(40) null,
    primary key (`transcript_id`)
);

create table exon55 (
    `exon_id` int(20) not null,
    `start` int(8) not null,
    `end` int(8) not null,
    primary key (`exon_id`)
);

create table exon_transcript55 (
    `exon_id` int(20) not null,
    `transcript_id` int(20) not null,
    `rank` int(8) not null,
    primary key (`exon_id`, `transcript_id`)
);