草莓芭菲 2021-12-03 08:42 采纳率: 66.7%
浏览 81
已结题

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

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

img


第二张

img


第三张

img


第四张

img

  • 写回答

1条回答 默认 最新

  • togolife 2021-12-03 13:25
    关注
    
    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`)
    );
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 12月5日
  • 已采纳回答 12月3日
  • 修改了问题 12月3日
  • 修改了问题 12月3日
  • 展开全部