ProgressDialog 繼承自AlertDialog,AlertDialog繼承自Dialog public class ProgressDialog extends ...
![240](https://cdn2.jianshu.io/assets/default_avatar/6-fd30f34c8641f6f32f5494df5d6b8f3c.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
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 = '學(xué)生'
課程表:course
create table course(
id mediumint auto_increment comment '主鍵id',
name varchar(30) comment '課程名稱',
primary key(id)
)
engine = myisam,
charset = utf8,
comment = '課程'
學(xué)生課程表:stu_cour
create table IF NOT EXISTS stu_cour(
stu_id mediumint comment '學(xué)生表id',
cour_id mediumint comment '課程表id',
primary key(stu_id ,cour_id )
)
engine = myisam,
charset = utf8,
comment = '學(xué)生課程表'
樓主丽声,這算聯(lián)合還是復(fù)合
mysql的聯(lián)合主鍵與復(fù)合主鍵區(qū)別復(fù)合主鍵就是指你表的主鍵含有一個(gè)以上的字段組成 平项。 例如揖庄; create table test ( name varchar(19), id number, value va...