草莓芭菲 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日
  • 展开全部

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题