By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
14 rows affected
BusinessKey | StartDate | EndDate | Attribute |
---|---|---|---|
1 | 1999-02-14 | 1999-03-13 | left |
1 | 1999-03-14 | 1999-04-13 | right |
1 | 1999-04-14 | 1999-07-13 | centre |
1 | 1999-07-14 | 1999-07-30 | back |
2 | 2011-08-14 | 2011-09-13 | top |
2 | 2011-09-14 | 2011-10-13 | middle |
2 | 2011-10-14 | 2012-01-13 | bottom |
businesskey | startdate | enddate | a_color | b_placement |
---|---|---|---|---|
1 | 1999-02-14 | 1999-03-13 | red | left |
1 | 1999-03-14 | 1999-04-13 | blue | right |
1 | 1999-04-14 | 1999-05-13 | blue | centre |
1 | 1999-05-14 | 1999-06-13 | green | centre |
2 | 2011-08-14 | 2011-09-13 | pink | top |
2 | 2011-09-14 | 2011-10-13 | white | middle |
2 | 2011-10-14 | 2011-11-13 | white | bottom |
2 | 2011-11-14 | 2011-12-13 | gray | bottom |