240 发简信
IP属地:湖南
  • 进度对话框 ProgressDialog 用法总结

    ProgressDialog 继承自AlertDialog,AlertDialog继承自Dialog public class ProgressDialog extends ...

  • create table student(
    id mediumint auto_increment comment '主键id',
    name varchar(30) comment '姓名',
    age smallint comment '年龄',
    primary key(id)
    )
    engine = myisam,
    charset = utf8,
    comment = '学生'

    课程表:course

    create table course(
    id mediumint auto_increment comment '主键id',
    name varchar(30) comment '课程名称',
    primary key(id)
    )
    engine = myisam,
    charset = utf8,
    comment = '课程'

    学生课程表:stu_cour

    create table IF NOT EXISTS stu_cour(
    stu_id mediumint comment '学生表id',
    cour_id mediumint comment '课程表id',
    primary key(stu_id ,cour_id )
    )
    engine = myisam,
    charset = utf8,
    comment = '学生课程表'

    楼主,这算联合还是复合

    mysql的联合主键与复合主键区别

    复合主键就是指你表的主键含有一个以上的字段组成 。 例如; create table test ( name varchar(19), id number, value va...