摘要:
双重身份问题: create table role_tab ( person char(5) not null, role char(1) not null ) insert into role_tab values('smith','O'),('smith','D'),('niu','O'),(' 阅读全文
摘要:
合并时间段: 将连续或者重叠的时间段合并。 create table timesheets ( task_id char(10) not null primary key, startdate date not null, enddate date not null, check(startdate 阅读全文
摘要:
数据岛问题: 有表: create table dataisland (id int) insert into dataisland values(1),(2),(3),(7),(11),(12),(13) create table dataisland (id int) insert into d 阅读全文