By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
3 rows affected
| chain | maxi | i | Edge | LastEdge | AlsoLastEdge |
|---|---|---|---|---|---|
| a|b|c|d | 4 | 1 | (a,b) | (c,d) | (c,d) |
| a|b|c|d | 4 | 2 | (b,c) | (c,d) | (c,d) |
| a|b|c|d | 4 | 3 | (c,d) | (c,d) | (c,d) |
| aa|bb | 2 | 1 | (aa,bb) | (aa,bb) | (aa,bb) |
| aaa|bbb|ccc|ddd|eee|fff | 6 | 1 | (aaa,bbb) | (eee,fff) | (eee,fff) |
| aaa|bbb|ccc|ddd|eee|fff | 6 | 2 | (bbb,ccc) | (eee,fff) | (eee,fff) |
| aaa|bbb|ccc|ddd|eee|fff | 6 | 3 | (ccc,ddd) | (eee,fff) | (eee,fff) |
| aaa|bbb|ccc|ddd|eee|fff | 6 | 4 | (ddd,eee) | (eee,fff) | (eee,fff) |
| aaa|bbb|ccc|ddd|eee|fff | 6 | 5 | (eee,fff) | (eee,fff) | (eee,fff) |
Warning: Null value is eliminated by an aggregate or other SET operation.
4 rows affected
| chain | maxi | i | Edge | LastEdge | AlsoLastEdge |
|---|---|---|---|---|---|
| a|b|c|b|a | 5 | 1 | (a,b) | (b,a) | (b,a) |
| a|b|c|b|a | 5 | 2 | (b,c) | (b,a) | (b,a) |
| a|b|c|b|a | 5 | 3 | (c,b) | (b,a) | (b,a) |
| a|b|c|b|a | 5 | 4 | (b,a) | (b,a) | (b,a) |
Warning: Null value is eliminated by an aggregate or other SET operation.
| chain | maxi | i | Edge | LastEdge | AlsoLastEdge |
|---|---|---|---|---|---|
| a|b|c|b|a | 5 | 1 | (a,b) | (b,a) | (b,a) |
| a|b|c|b|a | 5 | 2 | (b,c) | (b,a) | (b,a) |
| a|b|c|b|a | 5 | 3 | (c,b) | (b,a) | (b,a) |
| a|b|c|b|a | 5 | 4 | (b,a) | (b,a) | (b,a) |
Warning: Null value is eliminated by an aggregate or other SET operation.