add remove split language show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
id rate range joins result
1 x y a,b 0
2 x y a,c,f,i 0
3 x y a,d,o,x,y 0
4 x y a,"m/f" 0
5 x y a,f 0
6 x y a,g,x 0
7 x y a,h 0
8 x y a,i,l,r,s 0
9 x y a,j 0
10 x y a,k 0
INSERT 0 10
CREATE TABLE
x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 a b c d m/f f g h i j k l m n o p q r s t u v w x y z aa bb cc
1 0 0 0 0 0 0 0 0 0 0 0 18 2 2 22 0 2 1 2 1 3 1 2 1 3 26 2 0 22 0 22 2 32 2 4 2 2 1 3 0
2 0 0 0 0 0 0 0 0 0 0 0 20 2 2 2 b/g 0 0 2 1 4 0 2 1 4 24 0 0 2 0 2 1 3 2 5 0 0 0 4 0
3 0 0 0 0 0 0 0 0 0 0 0 10 2 2 222 0 2 1 2 1 2 1 2 1 2 24 0 2 2 0 2 1 3 1 5 0 2 1 2 0
4 0 0 0 0 0 0 0 0 0 0 0 12 2 2 3 0 0 0 0 1 3 0 0 1 3 21 2 0 0 0 0 0 22 1 4 2 0 0 3 0
5 0 0 0 0 0 0 0 0 0 0 0 15 2 2 3 0 0 0 0 1 3 0 0 1 3 21 2 0 2 0 2 1 22 1 4 2 0 0 3 0
6 0 0 0 0 0 0 0 0 0 0 0 20 2 2 2 f/f 0 0 0 1 4 0 0 1 4 20 2 0 2 0 0 0 22 2 4 2 0 0 4 0
7 0 0 0 0 0 0 0 0 0 0 0 15 2 2 22 0 0 0 0 1 2 0 0 1 2 21 2 0 2 0 0 0 22 2 4 2 0 0 2 9
8 0 0 0 0 0 0 0 0 0 0 0 18 2 2 22 0 0 0 0 1 3 0 0 1 3 21 2 0 2 0 0 0 22 1 4 2 0 0 3 0
9 0 0 0 0 0 0 0 0 0 0 0 8 2 0 22 f/f 2 1 0 1 3 1 0 1 3 24 0 0 2 0 0 0 3 2 5 0 2 1 3 0
10 0 0 0 0 0 0 0 0 0 0 0 14 2 2 3 0 2 1 0 1 3 1 0 1 3 12 0 2 22 0 2 1 22 2 3 0 2 1 3 0
11 0 0 0 0 0 0 0 0 0 0 0 14 2 0 222 0 22 2 2 2 2 2 2 2 2 20 0 0 0 0 0 0 3 3 4 0 22 2 2 0
INSERT 0 11
a m/f count
14 0 2
15 0 2
18 0 2
10 0 1
20 b/g 1
12 0 1
20 f/f 1
8 f/f 1
SELECT 8
count
2
2
2
1
1
1
1
1
SELECT 8
DO
id rate range joins result
1 x y a,b 7
2 x y a,c,f,i 9
3 x y a,d,o,x,y 11
4 x y a,"m/f" 8
5 x y a,f 9
6 x y a,g,x 10
7 x y a,h 10
8 x y a,i,l,r,s 10
9 x y a,j 9
10 x y a,k 9
SELECT 10