MySQL第三天MySQL第二天 关键词:分组聚合自关联物理上一张表,逻辑上是两张表create table areas(id int primary key,atitle varchar(20),pid int,foreign key(pid) references areas(id)