hash-threshold 8

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,18,80.27,'pxjqd',62,17.76,'guokq')

statement ok
INSERT INTO tab0 VALUES(1,60,79.57,'wszfy',16,53.1,'tshsr')

statement ok
INSERT INTO tab0 VALUES(2,70,90.52,'qcckm',52,23.30,'kfjfo')

statement ok
INSERT INTO tab0 VALUES(3,16,86.59,'ndqkq',22,51.61,'fvkll')

statement ok
INSERT INTO tab0 VALUES(4,87,81.5,'uxrfz',3,82.26,'heuek')

statement ok
INSERT INTO tab0 VALUES(5,4,89.3,'bpzth',11,44.1,'kbmsa')

statement ok
INSERT INTO tab0 VALUES(6,31,96.72,'tqozd',15,14.24,'mopba')

statement ok
INSERT INTO tab0 VALUES(7,90,11.45,'aulcn',44,79.0,'hdxvw')

statement ok
INSERT INTO tab0 VALUES(8,75,37.81,'zgfop',5,96.23,'dvron')

statement ok
INSERT INTO tab0 VALUES(9,58,29.82,'swohd',94,58.78,'liawv')

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC,col1)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0 DESC,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4,col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 > 74.32

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 74.32
----

query I rowsort label-0
SELECT pk FROM tab0 WHERE NOT (col4 > 74.32)
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab1 WHERE col4 > 74.32

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 74.32
----

query I rowsort label-0
SELECT pk FROM tab1 WHERE NOT (col4 > 74.32)
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab2 WHERE col4 > 74.32

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 74.32
----

query I rowsort label-0
SELECT pk FROM tab2 WHERE NOT (col4 > 74.32)
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab3 WHERE col4 > 74.32

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 74.32
----

query I rowsort label-0
SELECT pk FROM tab3 WHERE NOT (col4 > 74.32)
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab4 WHERE col4 > 74.32

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 74.32
----

query I rowsort label-0
SELECT pk FROM tab4 WHERE NOT (col4 > 74.32)
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab0 WHERE ((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95)
----

query I rowsort label-15
SELECT pk FROM tab0 WHERE NOT (((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95))
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab1 WHERE ((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95)
----

query I rowsort label-15
SELECT pk FROM tab1 WHERE NOT (((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95))
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab2 WHERE ((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95)
----

query I rowsort label-15
SELECT pk FROM tab2 WHERE NOT (((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95))
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab3 WHERE ((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95)
----

query I rowsort label-15
SELECT pk FROM tab3 WHERE NOT (((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95))
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab4 WHERE ((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95)
----

query I rowsort label-15
SELECT pk FROM tab4 WHERE NOT (((col3 >= 85)) AND ((col0 < 34 OR (col0 < 9 OR col0 >= 2)) AND (col3 < 39 AND col1 IS NULL) AND col0 > 54 AND col3 = 95))
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab0 WHERE col1 < 63.23 AND col4 IN (16.8)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 63.23 AND col4 IN (16.8)
----

query I rowsort label-30
SELECT pk FROM tab0 WHERE NOT (col1 < 63.23 AND col4 IN (16.8))
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab1 WHERE col1 < 63.23 AND col4 IN (16.8)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 63.23 AND col4 IN (16.8)
----

query I rowsort label-30
SELECT pk FROM tab1 WHERE NOT (col1 < 63.23 AND col4 IN (16.8))
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab2 WHERE col1 < 63.23 AND col4 IN (16.8)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 63.23 AND col4 IN (16.8)
----

query I rowsort label-30
SELECT pk FROM tab2 WHERE NOT (col1 < 63.23 AND col4 IN (16.8))
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab3 WHERE col1 < 63.23 AND col4 IN (16.8)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 63.23 AND col4 IN (16.8)
----

query I rowsort label-30
SELECT pk FROM tab3 WHERE NOT (col1 < 63.23 AND col4 IN (16.8))
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab4 WHERE col1 < 63.23 AND col4 IN (16.8)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 63.23 AND col4 IN (16.8)
----

query I rowsort label-30
SELECT pk FROM tab4 WHERE NOT (col1 < 63.23 AND col4 IN (16.8))
----
0
1
2
3
5
6
9

statement ok
DELETE FROM tab0 WHERE (col3 > 77)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 77)
----

query I rowsort label-45
SELECT pk FROM tab0 WHERE NOT ((col3 > 77))
----
0
1
2
3
5
6

statement ok
DELETE FROM tab1 WHERE (col3 > 77)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 77)
----

query I rowsort label-45
SELECT pk FROM tab1 WHERE NOT ((col3 > 77))
----
0
1
2
3
5
6

statement ok
DELETE FROM tab2 WHERE (col3 > 77)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 77)
----

query I rowsort label-45
SELECT pk FROM tab2 WHERE NOT ((col3 > 77))
----
0
1
2
3
5
6

statement ok
DELETE FROM tab3 WHERE (col3 > 77)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 77)
----

query I rowsort label-45
SELECT pk FROM tab3 WHERE NOT ((col3 > 77))
----
0
1
2
3
5
6

statement ok
DELETE FROM tab4 WHERE (col3 > 77)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 77)
----

query I rowsort label-45
SELECT pk FROM tab4 WHERE NOT ((col3 > 77))
----
0
1
2
3
5
6

statement ok
DELETE FROM tab0 WHERE col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78
----

query I rowsort label-60
SELECT pk FROM tab0 WHERE NOT (col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78)
----
0
1
3
5
6

statement ok
DELETE FROM tab1 WHERE col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78
----

query I rowsort label-60
SELECT pk FROM tab1 WHERE NOT (col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78)
----
0
1
3
5
6

statement ok
DELETE FROM tab2 WHERE col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78
----

query I rowsort label-60
SELECT pk FROM tab2 WHERE NOT (col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78)
----
0
1
3
5
6

statement ok
DELETE FROM tab3 WHERE col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78
----

query I rowsort label-60
SELECT pk FROM tab3 WHERE NOT (col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78)
----
0
1
3
5
6

statement ok
DELETE FROM tab4 WHERE col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78
----

query I rowsort label-60
SELECT pk FROM tab4 WHERE NOT (col1 IN (16.33,41.35,62.14,76.53,3.57) OR (col0 IS NULL) AND col1 = 24.52 OR (col0 > 61) AND col1 > 81.49 AND col0 >= 23 AND col3 < 57 OR col0 = 78)
----
0
1
3
5
6

statement ok
DELETE FROM tab0 WHERE (col3 = 82)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 82)
----

query I rowsort label-75
SELECT pk FROM tab0 WHERE NOT ((col3 = 82))
----
0
1
3
5
6

statement ok
DELETE FROM tab1 WHERE (col3 = 82)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 82)
----

query I rowsort label-75
SELECT pk FROM tab1 WHERE NOT ((col3 = 82))
----
0
1
3
5
6

statement ok
DELETE FROM tab2 WHERE (col3 = 82)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 82)
----

query I rowsort label-75
SELECT pk FROM tab2 WHERE NOT ((col3 = 82))
----
0
1
3
5
6

statement ok
DELETE FROM tab3 WHERE (col3 = 82)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 82)
----

query I rowsort label-75
SELECT pk FROM tab3 WHERE NOT ((col3 = 82))
----
0
1
3
5
6

statement ok
DELETE FROM tab4 WHERE (col3 = 82)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 82)
----

query I rowsort label-75
SELECT pk FROM tab4 WHERE NOT ((col3 = 82))
----
0
1
3
5
6

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,29,3.29,'esrjo',82,68.67,'bzvbt')

statement ok
INSERT INTO tab0 VALUES(1,12,54.43,'xttui',57,33.85,'mtrss')

statement ok
INSERT INTO tab0 VALUES(2,98,12.33,'wayaz',52,48.84,'bydew')

statement ok
INSERT INTO tab0 VALUES(3,30,82.2,'pinvd',53,77.90,'mulla')

statement ok
INSERT INTO tab0 VALUES(4,42,76.28,'dvaio',54,69.66,'ktvmj')

statement ok
INSERT INTO tab0 VALUES(5,88,74.86,'wytcl',62,27.25,'avdiy')

statement ok
INSERT INTO tab0 VALUES(6,38,90.56,'xrpih',18,64.41,'ooodi')

statement ok
INSERT INTO tab0 VALUES(7,0,27.36,'vplwn',0,70.65,'ceegj')

statement ok
INSERT INTO tab0 VALUES(8,31,50.54,'ieynz',42,67.31,'btqnq')

statement ok
INSERT INTO tab0 VALUES(9,41,38.82,'tqbxp',45,87.76,'zgrhc')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3,col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0,col3,col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4,col1,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC,col4,col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 IN (94,1,56,21,9,28) OR col0 > 65)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 IN (94,1,56,21,9,28) OR col0 > 65)
----

query I rowsort label-90
SELECT pk FROM tab0 WHERE NOT ((col3 IN (94,1,56,21,9,28) OR col0 > 65))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col3 IN (94,1,56,21,9,28) OR col0 > 65)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 IN (94,1,56,21,9,28) OR col0 > 65)
----

query I rowsort label-90
SELECT pk FROM tab1 WHERE NOT ((col3 IN (94,1,56,21,9,28) OR col0 > 65))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col3 IN (94,1,56,21,9,28) OR col0 > 65)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 IN (94,1,56,21,9,28) OR col0 > 65)
----

query I rowsort label-90
SELECT pk FROM tab2 WHERE NOT ((col3 IN (94,1,56,21,9,28) OR col0 > 65))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col3 IN (94,1,56,21,9,28) OR col0 > 65)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 IN (94,1,56,21,9,28) OR col0 > 65)
----

query I rowsort label-90
SELECT pk FROM tab3 WHERE NOT ((col3 IN (94,1,56,21,9,28) OR col0 > 65))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col3 IN (94,1,56,21,9,28) OR col0 > 65)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 IN (94,1,56,21,9,28) OR col0 > 65)
----

query I rowsort label-90
SELECT pk FROM tab4 WHERE NOT ((col3 IN (94,1,56,21,9,28) OR col0 > 65))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59
----

query I rowsort label-105
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59)
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59
----

query I rowsort label-105
SELECT pk FROM tab1 WHERE NOT (col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59)
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59
----

query I rowsort label-105
SELECT pk FROM tab2 WHERE NOT (col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59)
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59
----

query I rowsort label-105
SELECT pk FROM tab3 WHERE NOT (col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59)
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59
----

query I rowsort label-105
SELECT pk FROM tab4 WHERE NOT (col0 IS NULL AND col3 = 72 AND (col4 >= 0.54) AND col3 >= 87 AND col3 < 59)
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col3 = 60)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 60)
----

query I rowsort label-120
SELECT pk FROM tab0 WHERE NOT ((col3 = 60))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col3 = 60)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 60)
----

query I rowsort label-120
SELECT pk FROM tab1 WHERE NOT ((col3 = 60))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col3 = 60)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 60)
----

query I rowsort label-120
SELECT pk FROM tab2 WHERE NOT ((col3 = 60))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col3 = 60)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 60)
----

query I rowsort label-120
SELECT pk FROM tab3 WHERE NOT ((col3 = 60))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col3 = 60)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 60)
----

query I rowsort label-120
SELECT pk FROM tab4 WHERE NOT ((col3 = 60))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col0 >= 90 AND ((((col0 > 3) OR (col3 > 55)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 90 AND ((((col0 > 3) OR (col3 > 55)))))
----

query I rowsort label-135
SELECT pk FROM tab0 WHERE NOT ((col0 >= 90 AND ((((col0 > 3) OR (col3 > 55))))))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col0 >= 90 AND ((((col0 > 3) OR (col3 > 55)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 90 AND ((((col0 > 3) OR (col3 > 55)))))
----

query I rowsort label-135
SELECT pk FROM tab1 WHERE NOT ((col0 >= 90 AND ((((col0 > 3) OR (col3 > 55))))))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col0 >= 90 AND ((((col0 > 3) OR (col3 > 55)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 90 AND ((((col0 > 3) OR (col3 > 55)))))
----

query I rowsort label-135
SELECT pk FROM tab2 WHERE NOT ((col0 >= 90 AND ((((col0 > 3) OR (col3 > 55))))))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col0 >= 90 AND ((((col0 > 3) OR (col3 > 55)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 90 AND ((((col0 > 3) OR (col3 > 55)))))
----

query I rowsort label-135
SELECT pk FROM tab3 WHERE NOT ((col0 >= 90 AND ((((col0 > 3) OR (col3 > 55))))))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col0 >= 90 AND ((((col0 > 3) OR (col3 > 55)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 90 AND ((((col0 > 3) OR (col3 > 55)))))
----

query I rowsort label-135
SELECT pk FROM tab4 WHERE NOT ((col0 >= 90 AND ((((col0 > 3) OR (col3 > 55))))))
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 < 79 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 79 OR col1 IS NULL
----

query I rowsort label-150
SELECT pk FROM tab0 WHERE NOT (col0 < 79 OR col1 IS NULL)
----

statement ok
DELETE FROM tab1 WHERE col0 < 79 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 79 OR col1 IS NULL
----

query I rowsort label-150
SELECT pk FROM tab1 WHERE NOT (col0 < 79 OR col1 IS NULL)
----

statement ok
DELETE FROM tab2 WHERE col0 < 79 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 79 OR col1 IS NULL
----

query I rowsort label-150
SELECT pk FROM tab2 WHERE NOT (col0 < 79 OR col1 IS NULL)
----

statement ok
DELETE FROM tab3 WHERE col0 < 79 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 79 OR col1 IS NULL
----

query I rowsort label-150
SELECT pk FROM tab3 WHERE NOT (col0 < 79 OR col1 IS NULL)
----

statement ok
DELETE FROM tab4 WHERE col0 < 79 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 79 OR col1 IS NULL
----

query I rowsort label-150
SELECT pk FROM tab4 WHERE NOT (col0 < 79 OR col1 IS NULL)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,2,63.70,'qkzcb',51,26.99,'yygpi')

statement ok
INSERT INTO tab0 VALUES(1,3,18.89,'axuxq',87,27.47,'torwu')

statement ok
INSERT INTO tab0 VALUES(2,26,28.15,'npuii',69,80.16,'zgohs')

statement ok
INSERT INTO tab0 VALUES(3,93,13.56,'xfeyt',68,49.87,'hwpyi')

statement ok
INSERT INTO tab0 VALUES(4,80,19.38,'lsaqx',20,5.7,'grfso')

statement ok
INSERT INTO tab0 VALUES(5,34,84.13,'otapw',36,92.11,'vofiw')

statement ok
INSERT INTO tab0 VALUES(6,84,99.74,'okbhk',16,90.29,'fyklo')

statement ok
INSERT INTO tab0 VALUES(7,54,70.66,'cntyt',62,73.99,'hdhxr')

statement ok
INSERT INTO tab0 VALUES(8,75,85.98,'xwhix',86,77.80,'gimwo')

statement ok
INSERT INTO tab0 VALUES(9,97,65.60,'jdtco',30,59.67,'itprk')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3,col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2))
----

query I rowsort label-165
SELECT pk FROM tab0 WHERE NOT ((col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2)))
----
0
1
2
5

statement ok
DELETE FROM tab1 WHERE (col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2))
----

query I rowsort label-165
SELECT pk FROM tab1 WHERE NOT ((col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2)))
----
0
1
2
5

statement ok
DELETE FROM tab2 WHERE (col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2))
----

query I rowsort label-165
SELECT pk FROM tab2 WHERE NOT ((col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2)))
----
0
1
2
5

statement ok
DELETE FROM tab3 WHERE (col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2))
----

query I rowsort label-165
SELECT pk FROM tab3 WHERE NOT ((col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2)))
----
0
1
2
5

statement ok
DELETE FROM tab4 WHERE (col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2))
----

query I rowsort label-165
SELECT pk FROM tab4 WHERE NOT ((col0 >= 43) OR (col4 IS NULL AND ((col0 < 11) AND col0 > 2)))
----
0
1
2
5

statement ok
DELETE FROM tab0 WHERE col1 = 5.80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 5.80
----

query I rowsort label-180
SELECT pk FROM tab0 WHERE NOT (col1 = 5.80)
----
0
1
2
5

statement ok
DELETE FROM tab1 WHERE col1 = 5.80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 5.80
----

query I rowsort label-180
SELECT pk FROM tab1 WHERE NOT (col1 = 5.80)
----
0
1
2
5

statement ok
DELETE FROM tab2 WHERE col1 = 5.80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 5.80
----

query I rowsort label-180
SELECT pk FROM tab2 WHERE NOT (col1 = 5.80)
----
0
1
2
5

statement ok
DELETE FROM tab3 WHERE col1 = 5.80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 5.80
----

query I rowsort label-180
SELECT pk FROM tab3 WHERE NOT (col1 = 5.80)
----
0
1
2
5

statement ok
DELETE FROM tab4 WHERE col1 = 5.80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 5.80
----

query I rowsort label-180
SELECT pk FROM tab4 WHERE NOT (col1 = 5.80)
----
0
1
2
5

statement ok
DELETE FROM tab0 WHERE col0 = 84

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 84
----

query I rowsort label-195
SELECT pk FROM tab0 WHERE NOT (col0 = 84)
----
0
1
2
5

statement ok
DELETE FROM tab1 WHERE col0 = 84

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 84
----

query I rowsort label-195
SELECT pk FROM tab1 WHERE NOT (col0 = 84)
----
0
1
2
5

statement ok
DELETE FROM tab2 WHERE col0 = 84

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 84
----

query I rowsort label-195
SELECT pk FROM tab2 WHERE NOT (col0 = 84)
----
0
1
2
5

statement ok
DELETE FROM tab3 WHERE col0 = 84

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 84
----

query I rowsort label-195
SELECT pk FROM tab3 WHERE NOT (col0 = 84)
----
0
1
2
5

statement ok
DELETE FROM tab4 WHERE col0 = 84

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 84
----

query I rowsort label-195
SELECT pk FROM tab4 WHERE NOT (col0 = 84)
----
0
1
2
5

statement ok
DELETE FROM tab0 WHERE col3 >= 5 AND col0 < 85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 5 AND col0 < 85
----

query I rowsort label-210
SELECT pk FROM tab0 WHERE NOT (col3 >= 5 AND col0 < 85)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 5 AND col0 < 85

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 5 AND col0 < 85
----

query I rowsort label-210
SELECT pk FROM tab1 WHERE NOT (col3 >= 5 AND col0 < 85)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 5 AND col0 < 85

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 5 AND col0 < 85
----

query I rowsort label-210
SELECT pk FROM tab2 WHERE NOT (col3 >= 5 AND col0 < 85)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 5 AND col0 < 85

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 5 AND col0 < 85
----

query I rowsort label-210
SELECT pk FROM tab3 WHERE NOT (col3 >= 5 AND col0 < 85)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 5 AND col0 < 85

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 5 AND col0 < 85
----

query I rowsort label-210
SELECT pk FROM tab4 WHERE NOT (col3 >= 5 AND col0 < 85)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,52,21.16,'idqgm',85,15.80,'fenms')

statement ok
INSERT INTO tab0 VALUES(1,71,74.44,'nosxr',95,50.18,'tcuic')

statement ok
INSERT INTO tab0 VALUES(2,75,65.19,'wjrer',77,54.43,'fakyg')

statement ok
INSERT INTO tab0 VALUES(3,1,16.96,'hdpkn',20,88.92,'bwfmp')

statement ok
INSERT INTO tab0 VALUES(4,93,17.18,'zullv',30,62.49,'ibrfp')

statement ok
INSERT INTO tab0 VALUES(5,22,89.38,'wvqrl',41,99.61,'drpkd')

statement ok
INSERT INTO tab0 VALUES(6,92,48.26,'kisfb',31,97.49,'jjpuk')

statement ok
INSERT INTO tab0 VALUES(7,54,66.83,'ddwyx',32,93.20,'iqxii')

statement ok
INSERT INTO tab0 VALUES(8,20,30.50,'gyrvh',36,22.82,'iawqf')

statement ok
INSERT INTO tab0 VALUES(9,78,18.29,'jntwg',25,83.55,'harxm')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0,col4 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1,col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4,col1,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4,col0,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 >= 57.35

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 57.35
----

query I rowsort label-225
SELECT pk FROM tab0 WHERE NOT (col1 >= 57.35)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab1 WHERE col1 >= 57.35

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 57.35
----

query I rowsort label-225
SELECT pk FROM tab1 WHERE NOT (col1 >= 57.35)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab2 WHERE col1 >= 57.35

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 57.35
----

query I rowsort label-225
SELECT pk FROM tab2 WHERE NOT (col1 >= 57.35)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab3 WHERE col1 >= 57.35

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 57.35
----

query I rowsort label-225
SELECT pk FROM tab3 WHERE NOT (col1 >= 57.35)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab4 WHERE col1 >= 57.35

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 57.35
----

query I rowsort label-225
SELECT pk FROM tab4 WHERE NOT (col1 >= 57.35)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab0 WHERE col3 <= 18

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 18
----

query I rowsort label-240
SELECT pk FROM tab0 WHERE NOT (col3 <= 18)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab1 WHERE col3 <= 18

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 18
----

query I rowsort label-240
SELECT pk FROM tab1 WHERE NOT (col3 <= 18)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab2 WHERE col3 <= 18

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 18
----

query I rowsort label-240
SELECT pk FROM tab2 WHERE NOT (col3 <= 18)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab3 WHERE col3 <= 18

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 18
----

query I rowsort label-240
SELECT pk FROM tab3 WHERE NOT (col3 <= 18)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab4 WHERE col3 <= 18

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 18
----

query I rowsort label-240
SELECT pk FROM tab4 WHERE NOT (col3 <= 18)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab0 WHERE col4 > 51.36

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 51.36
----

query I rowsort label-255
SELECT pk FROM tab0 WHERE NOT (col4 > 51.36)
----
0
8

statement ok
DELETE FROM tab1 WHERE col4 > 51.36

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 51.36
----

query I rowsort label-255
SELECT pk FROM tab1 WHERE NOT (col4 > 51.36)
----
0
8

statement ok
DELETE FROM tab2 WHERE col4 > 51.36

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 51.36
----

query I rowsort label-255
SELECT pk FROM tab2 WHERE NOT (col4 > 51.36)
----
0
8

statement ok
DELETE FROM tab3 WHERE col4 > 51.36

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 51.36
----

query I rowsort label-255
SELECT pk FROM tab3 WHERE NOT (col4 > 51.36)
----
0
8

statement ok
DELETE FROM tab4 WHERE col4 > 51.36

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 51.36
----

query I rowsort label-255
SELECT pk FROM tab4 WHERE NOT (col4 > 51.36)
----
0
8

statement ok
DELETE FROM tab0 WHERE ((col3 = 7 OR ((col3 > 6))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 = 7 OR ((col3 > 6))))
----

query I rowsort label-270
SELECT pk FROM tab0 WHERE NOT (((col3 = 7 OR ((col3 > 6)))))
----

statement ok
DELETE FROM tab1 WHERE ((col3 = 7 OR ((col3 > 6))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 = 7 OR ((col3 > 6))))
----

query I rowsort label-270
SELECT pk FROM tab1 WHERE NOT (((col3 = 7 OR ((col3 > 6)))))
----

statement ok
DELETE FROM tab2 WHERE ((col3 = 7 OR ((col3 > 6))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 = 7 OR ((col3 > 6))))
----

query I rowsort label-270
SELECT pk FROM tab2 WHERE NOT (((col3 = 7 OR ((col3 > 6)))))
----

statement ok
DELETE FROM tab3 WHERE ((col3 = 7 OR ((col3 > 6))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 = 7 OR ((col3 > 6))))
----

query I rowsort label-270
SELECT pk FROM tab3 WHERE NOT (((col3 = 7 OR ((col3 > 6)))))
----

statement ok
DELETE FROM tab4 WHERE ((col3 = 7 OR ((col3 > 6))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 = 7 OR ((col3 > 6))))
----

query I rowsort label-270
SELECT pk FROM tab4 WHERE NOT (((col3 = 7 OR ((col3 > 6)))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,61,67.88,'zjnqz',7,58.40,'iphjj')

statement ok
INSERT INTO tab0 VALUES(1,26,13.15,'ojkwj',36,72.10,'lyykf')

statement ok
INSERT INTO tab0 VALUES(2,50,58.73,'yfkgw',77,63.60,'kiobs')

statement ok
INSERT INTO tab0 VALUES(3,95,39.59,'tnlvp',81,5.78,'ctisr')

statement ok
INSERT INTO tab0 VALUES(4,5,61.84,'fzeet',86,19.22,'idwzi')

statement ok
INSERT INTO tab0 VALUES(5,12,48.81,'vntre',24,29.32,'kwdvu')

statement ok
INSERT INTO tab0 VALUES(6,55,18.23,'zhfrb',40,30.39,'zovqx')

statement ok
INSERT INTO tab0 VALUES(7,87,33.28,'pbkkk',2,49.81,'klelr')

statement ok
INSERT INTO tab0 VALUES(8,92,73.81,'tziky',13,4.13,'ohmyy')

statement ok
INSERT INTO tab0 VALUES(9,96,89.38,'faajj',23,74.22,'jtvse')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0,col3)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3,col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 < 73.36 AND ((col0 <= 87))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 73.36 AND ((col0 <= 87))
----

query I rowsort label-285
SELECT pk FROM tab0 WHERE NOT (col1 < 73.36 AND ((col0 <= 87)))
----
3
8
9

statement ok
DELETE FROM tab1 WHERE col1 < 73.36 AND ((col0 <= 87))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 73.36 AND ((col0 <= 87))
----

query I rowsort label-285
SELECT pk FROM tab1 WHERE NOT (col1 < 73.36 AND ((col0 <= 87)))
----
3
8
9

statement ok
DELETE FROM tab2 WHERE col1 < 73.36 AND ((col0 <= 87))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 73.36 AND ((col0 <= 87))
----

query I rowsort label-285
SELECT pk FROM tab2 WHERE NOT (col1 < 73.36 AND ((col0 <= 87)))
----
3
8
9

statement ok
DELETE FROM tab3 WHERE col1 < 73.36 AND ((col0 <= 87))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 73.36 AND ((col0 <= 87))
----

query I rowsort label-285
SELECT pk FROM tab3 WHERE NOT (col1 < 73.36 AND ((col0 <= 87)))
----
3
8
9

statement ok
DELETE FROM tab4 WHERE col1 < 73.36 AND ((col0 <= 87))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 73.36 AND ((col0 <= 87))
----

query I rowsort label-285
SELECT pk FROM tab4 WHERE NOT (col1 < 73.36 AND ((col0 <= 87)))
----
3
8
9

statement ok
DELETE FROM tab0 WHERE ((col1 IS NULL AND col0 < 43))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 IS NULL AND col0 < 43))
----

query I rowsort label-300
SELECT pk FROM tab0 WHERE NOT (((col1 IS NULL AND col0 < 43)))
----
3
8
9

statement ok
DELETE FROM tab1 WHERE ((col1 IS NULL AND col0 < 43))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 IS NULL AND col0 < 43))
----

query I rowsort label-300
SELECT pk FROM tab1 WHERE NOT (((col1 IS NULL AND col0 < 43)))
----
3
8
9

statement ok
DELETE FROM tab2 WHERE ((col1 IS NULL AND col0 < 43))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 IS NULL AND col0 < 43))
----

query I rowsort label-300
SELECT pk FROM tab2 WHERE NOT (((col1 IS NULL AND col0 < 43)))
----
3
8
9

statement ok
DELETE FROM tab3 WHERE ((col1 IS NULL AND col0 < 43))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 IS NULL AND col0 < 43))
----

query I rowsort label-300
SELECT pk FROM tab3 WHERE NOT (((col1 IS NULL AND col0 < 43)))
----
3
8
9

statement ok
DELETE FROM tab4 WHERE ((col1 IS NULL AND col0 < 43))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 IS NULL AND col0 < 43))
----

query I rowsort label-300
SELECT pk FROM tab4 WHERE NOT (((col1 IS NULL AND col0 < 43)))
----
3
8
9

statement ok
DELETE FROM tab0 WHERE col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37)))
----

query I rowsort label-315
SELECT pk FROM tab0 WHERE NOT (col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37))))
----
3
8
9

statement ok
DELETE FROM tab1 WHERE col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37)))
----

query I rowsort label-315
SELECT pk FROM tab1 WHERE NOT (col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37))))
----
3
8
9

statement ok
DELETE FROM tab2 WHERE col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37)))
----

query I rowsort label-315
SELECT pk FROM tab2 WHERE NOT (col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37))))
----
3
8
9

statement ok
DELETE FROM tab3 WHERE col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37)))
----

query I rowsort label-315
SELECT pk FROM tab3 WHERE NOT (col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37))))
----
3
8
9

statement ok
DELETE FROM tab4 WHERE col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37)))
----

query I rowsort label-315
SELECT pk FROM tab4 WHERE NOT (col4 > 99.39 AND (col0 > 46 AND col0 BETWEEN 77 AND 92 AND col3 < 71 AND col0 < 3 AND col1 <= 69.37 OR col0 < 0 AND ((col3 > 95)) AND col4 >= 90.98 AND ((col3 <= 37))))
----
3
8
9

statement ok
DELETE FROM tab0 WHERE col4 < 85.20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 85.20
----

query I rowsort label-330
SELECT pk FROM tab0 WHERE NOT (col4 < 85.20)
----

statement ok
DELETE FROM tab1 WHERE col4 < 85.20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 85.20
----

query I rowsort label-330
SELECT pk FROM tab1 WHERE NOT (col4 < 85.20)
----

statement ok
DELETE FROM tab2 WHERE col4 < 85.20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 85.20
----

query I rowsort label-330
SELECT pk FROM tab2 WHERE NOT (col4 < 85.20)
----

statement ok
DELETE FROM tab3 WHERE col4 < 85.20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 85.20
----

query I rowsort label-330
SELECT pk FROM tab3 WHERE NOT (col4 < 85.20)
----

statement ok
DELETE FROM tab4 WHERE col4 < 85.20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 85.20
----

query I rowsort label-330
SELECT pk FROM tab4 WHERE NOT (col4 < 85.20)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,82,27.55,'sddyk',42,45.46,'lbhyc')

statement ok
INSERT INTO tab0 VALUES(1,60,18.98,'dxaye',94,31.77,'jieny')

statement ok
INSERT INTO tab0 VALUES(2,18,37.95,'jpqlf',27,40.88,'vjonw')

statement ok
INSERT INTO tab0 VALUES(3,58,25.1,'jgzoc',25,64.86,'jxdhd')

statement ok
INSERT INTO tab0 VALUES(4,62,74.16,'uakrz',84,48.7,'mhxbe')

statement ok
INSERT INTO tab0 VALUES(5,59,39.53,'yyrvv',81,11.78,'byjqs')

statement ok
INSERT INTO tab0 VALUES(6,83,53.95,'apzmk',28,52.79,'iepbv')

statement ok
INSERT INTO tab0 VALUES(7,42,35.58,'cqicn',40,65.6,'cqlci')

statement ok
INSERT INTO tab0 VALUES(8,76,7.58,'klktc',99,51.33,'tdnao')

statement ok
INSERT INTO tab0 VALUES(9,21,2.69,'kuytg',9,30.75,'oaods')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0,col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC,col3 DESC,col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 < 59

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 59
----

query I rowsort label-345
SELECT pk FROM tab0 WHERE NOT (col3 < 59)
----
1
4
5
8

statement ok
DELETE FROM tab1 WHERE col3 < 59

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 59
----

query I rowsort label-345
SELECT pk FROM tab1 WHERE NOT (col3 < 59)
----
1
4
5
8

statement ok
DELETE FROM tab2 WHERE col3 < 59

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 59
----

query I rowsort label-345
SELECT pk FROM tab2 WHERE NOT (col3 < 59)
----
1
4
5
8

statement ok
DELETE FROM tab3 WHERE col3 < 59

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 59
----

query I rowsort label-345
SELECT pk FROM tab3 WHERE NOT (col3 < 59)
----
1
4
5
8

statement ok
DELETE FROM tab4 WHERE col3 < 59

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 59
----

query I rowsort label-345
SELECT pk FROM tab4 WHERE NOT (col3 < 59)
----
1
4
5
8

statement ok
DELETE FROM tab0 WHERE col0 < 86 AND col3 <= 84 AND col1 > 8.67

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 86 AND col3 <= 84 AND col1 > 8.67
----

query I rowsort label-360
SELECT pk FROM tab0 WHERE NOT (col0 < 86 AND col3 <= 84 AND col1 > 8.67)
----
1
8

statement ok
DELETE FROM tab1 WHERE col0 < 86 AND col3 <= 84 AND col1 > 8.67

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 86 AND col3 <= 84 AND col1 > 8.67
----

query I rowsort label-360
SELECT pk FROM tab1 WHERE NOT (col0 < 86 AND col3 <= 84 AND col1 > 8.67)
----
1
8

statement ok
DELETE FROM tab2 WHERE col0 < 86 AND col3 <= 84 AND col1 > 8.67

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 86 AND col3 <= 84 AND col1 > 8.67
----

query I rowsort label-360
SELECT pk FROM tab2 WHERE NOT (col0 < 86 AND col3 <= 84 AND col1 > 8.67)
----
1
8

statement ok
DELETE FROM tab3 WHERE col0 < 86 AND col3 <= 84 AND col1 > 8.67

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 86 AND col3 <= 84 AND col1 > 8.67
----

query I rowsort label-360
SELECT pk FROM tab3 WHERE NOT (col0 < 86 AND col3 <= 84 AND col1 > 8.67)
----
1
8

statement ok
DELETE FROM tab4 WHERE col0 < 86 AND col3 <= 84 AND col1 > 8.67

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 86 AND col3 <= 84 AND col1 > 8.67
----

query I rowsort label-360
SELECT pk FROM tab4 WHERE NOT (col0 < 86 AND col3 <= 84 AND col1 > 8.67)
----
1
8

statement ok
DELETE FROM tab0 WHERE (((col0 < 70)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 < 70)))
----

query I rowsort label-375
SELECT pk FROM tab0 WHERE NOT ((((col0 < 70))))
----
8

statement ok
DELETE FROM tab1 WHERE (((col0 < 70)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 < 70)))
----

query I rowsort label-375
SELECT pk FROM tab1 WHERE NOT ((((col0 < 70))))
----
8

statement ok
DELETE FROM tab2 WHERE (((col0 < 70)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 < 70)))
----

query I rowsort label-375
SELECT pk FROM tab2 WHERE NOT ((((col0 < 70))))
----
8

statement ok
DELETE FROM tab3 WHERE (((col0 < 70)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 < 70)))
----

query I rowsort label-375
SELECT pk FROM tab3 WHERE NOT ((((col0 < 70))))
----
8

statement ok
DELETE FROM tab4 WHERE (((col0 < 70)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 < 70)))
----

query I rowsort label-375
SELECT pk FROM tab4 WHERE NOT ((((col0 < 70))))
----
8

statement ok
DELETE FROM tab0 WHERE ((col4 >= 51.93))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 >= 51.93))
----

query I rowsort label-390
SELECT pk FROM tab0 WHERE NOT (((col4 >= 51.93)))
----
8

statement ok
DELETE FROM tab1 WHERE ((col4 >= 51.93))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 >= 51.93))
----

query I rowsort label-390
SELECT pk FROM tab1 WHERE NOT (((col4 >= 51.93)))
----
8

statement ok
DELETE FROM tab2 WHERE ((col4 >= 51.93))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 >= 51.93))
----

query I rowsort label-390
SELECT pk FROM tab2 WHERE NOT (((col4 >= 51.93)))
----
8

statement ok
DELETE FROM tab3 WHERE ((col4 >= 51.93))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 >= 51.93))
----

query I rowsort label-390
SELECT pk FROM tab3 WHERE NOT (((col4 >= 51.93)))
----
8

statement ok
DELETE FROM tab4 WHERE ((col4 >= 51.93))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 >= 51.93))
----

query I rowsort label-390
SELECT pk FROM tab4 WHERE NOT (((col4 >= 51.93)))
----
8

statement ok
DELETE FROM tab0 WHERE col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19))
----

query I rowsort label-405
SELECT pk FROM tab0 WHERE NOT (col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19)))
----
8

statement ok
DELETE FROM tab1 WHERE col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19))
----

query I rowsort label-405
SELECT pk FROM tab1 WHERE NOT (col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19)))
----
8

statement ok
DELETE FROM tab2 WHERE col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19))
----

query I rowsort label-405
SELECT pk FROM tab2 WHERE NOT (col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19)))
----
8

statement ok
DELETE FROM tab3 WHERE col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19))
----

query I rowsort label-405
SELECT pk FROM tab3 WHERE NOT (col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19)))
----
8

statement ok
DELETE FROM tab4 WHERE col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19))
----

query I rowsort label-405
SELECT pk FROM tab4 WHERE NOT (col3 IN (39,56,25) AND col0 > 44 OR col0 > 23 AND (col1 > 96.78) AND (col0 < 28) AND ((col0 = 19)))
----
8

statement ok
DELETE FROM tab0 WHERE col3 = 49

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 49
----

query I rowsort label-420
SELECT pk FROM tab0 WHERE NOT (col3 = 49)
----
8

statement ok
DELETE FROM tab1 WHERE col3 = 49

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 49
----

query I rowsort label-420
SELECT pk FROM tab1 WHERE NOT (col3 = 49)
----
8

statement ok
DELETE FROM tab2 WHERE col3 = 49

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 49
----

query I rowsort label-420
SELECT pk FROM tab2 WHERE NOT (col3 = 49)
----
8

statement ok
DELETE FROM tab3 WHERE col3 = 49

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 49
----

query I rowsort label-420
SELECT pk FROM tab3 WHERE NOT (col3 = 49)
----
8

statement ok
DELETE FROM tab4 WHERE col3 = 49

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 49
----

query I rowsort label-420
SELECT pk FROM tab4 WHERE NOT (col3 = 49)
----
8

statement ok
DELETE FROM tab0 WHERE (col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32
----

query I rowsort label-435
SELECT pk FROM tab0 WHERE NOT ((col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32)
----

statement ok
DELETE FROM tab1 WHERE (col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32
----

query I rowsort label-435
SELECT pk FROM tab1 WHERE NOT ((col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32)
----

statement ok
DELETE FROM tab2 WHERE (col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32
----

query I rowsort label-435
SELECT pk FROM tab2 WHERE NOT ((col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32)
----

statement ok
DELETE FROM tab3 WHERE (col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32
----

query I rowsort label-435
SELECT pk FROM tab3 WHERE NOT ((col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32)
----

statement ok
DELETE FROM tab4 WHERE (col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32
----

query I rowsort label-435
SELECT pk FROM tab4 WHERE NOT ((col4 > 31.2) OR col1 >= 12.65 OR col3 > 95 OR col1 > 38.84 OR col0 <= 32)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,73,93.94,'xzlpf',93,47.46,'zqntd')

statement ok
INSERT INTO tab0 VALUES(1,71,79.33,'ofzzn',23,20.1,'bghgu')

statement ok
INSERT INTO tab0 VALUES(2,21,60.90,'dyyvq',19,41.31,'xzxiw')

statement ok
INSERT INTO tab0 VALUES(3,4,30.59,'krouv',52,35.38,'ceceo')

statement ok
INSERT INTO tab0 VALUES(4,99,97.94,'mlyso',22,44.68,'xylgz')

statement ok
INSERT INTO tab0 VALUES(5,40,98.72,'rbiit',16,48.68,'qstpc')

statement ok
INSERT INTO tab0 VALUES(6,84,0.53,'vcayu',75,65.53,'ktxoy')

statement ok
INSERT INTO tab0 VALUES(7,69,31.44,'jhqyq',51,77.65,'sxhlu')

statement ok
INSERT INTO tab0 VALUES(8,80,75.63,'lhglb',76,30.36,'egsdd')

statement ok
INSERT INTO tab0 VALUES(9,11,99.99,'bekzr',20,55.54,'vqnrz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1,col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0,col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,93,63.67,'iaqoi',81,30.41,'rwyjb')

statement ok
INSERT INTO tab0 VALUES(1,94,54.22,'pdqfi',12,69.62,'wmpbk')

statement ok
INSERT INTO tab0 VALUES(2,6,11.24,'rprzy',49,68.17,'fxxur')

statement ok
INSERT INTO tab0 VALUES(3,95,50.12,'ripri',17,57.6,'zkqyn')

statement ok
INSERT INTO tab0 VALUES(4,20,79.51,'yfbta',99,90.56,'nwokx')

statement ok
INSERT INTO tab0 VALUES(5,66,65.37,'xmffv',48,7.39,'bziwr')

statement ok
INSERT INTO tab0 VALUES(6,37,87.17,'jnhvc',5,96.80,'dgvug')

statement ok
INSERT INTO tab0 VALUES(7,82,8.97,'nfdgq',2,58.69,'hfdod')

statement ok
INSERT INTO tab0 VALUES(8,0,31.56,'eyage',83,65.76,'slvqt')

statement ok
INSERT INTO tab0 VALUES(9,55,66.58,'txeoa',13,29.63,'vvxtt')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0 DESC,col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95)
----

query I rowsort label-450
SELECT pk FROM tab0 WHERE NOT (((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95))
----
2
4
6
8

statement ok
DELETE FROM tab1 WHERE ((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95)
----

query I rowsort label-450
SELECT pk FROM tab1 WHERE NOT (((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95))
----
2
4
6
8

statement ok
DELETE FROM tab2 WHERE ((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95)
----

query I rowsort label-450
SELECT pk FROM tab2 WHERE NOT (((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95))
----
2
4
6
8

statement ok
DELETE FROM tab3 WHERE ((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95)
----

query I rowsort label-450
SELECT pk FROM tab3 WHERE NOT (((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95))
----
2
4
6
8

statement ok
DELETE FROM tab4 WHERE ((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95)
----

query I rowsort label-450
SELECT pk FROM tab4 WHERE NOT (((col0 >= 42 OR col1 > 87.95)) AND ((col3 <= 98) OR ((((((col3 >= 29)) AND col4 IS NULL AND col3 >= 61 AND col0 < 19) AND (col1 < 75.50) OR col3 IS NULL OR col4 > 20.30 AND col3 >= 59 OR (col1 = 44.16) AND col4 >= 2.11 OR ((((((col4 = 32.12))) AND col4 >= 78.3 OR ((col0 > 42)) AND col1 < 93.81))))) AND ((col0 >= 3) OR (((col0 < 18 OR col0 <= 63 AND col0 <= 71 AND col3 = 88 AND col4 < 12.63 AND col0 < 93 OR (col0 > 36) AND (col3 < 89 OR col3 <= 29 AND (col0 < 27)) AND col3 < 4 AND (col3 > 15) AND col4 < 81.27 OR (col1 BETWEEN 67.28 AND 95.80) OR col0 <= 53 OR ((col1 IN (23.84,11.1,55.7,60.56,91.42,8.75) OR (col0 >= 66) AND col3 IS NULL AND col3 >= 61)) AND (col3 >= 37) AND ((col4 < 14.17) AND col4 < 26.53 AND col3 < 40 OR col0 = 18 OR col1 <= 46.15 OR col3 >= 61)))) AND col3 IS NULL AND col0 >= 20 AND col3 IS NULL) AND col1 < 25.45 AND ((col3 IS NULL) OR (col4 = 31.52)) AND (col0 IN (11,66)) AND (col0 < 67 AND col1 >= 41.19) AND col3 > 41)) OR col0 IS NULL OR (col3 >= 32) AND (col0 = 22 AND col3 = 95))
----
2
4
6
8

statement ok
DELETE FROM tab0 WHERE ((((col3 <= 34)) OR col3 < 69))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col3 <= 34)) OR col3 < 69))
----

query I rowsort label-465
SELECT pk FROM tab0 WHERE NOT (((((col3 <= 34)) OR col3 < 69)))
----
4
8

statement ok
DELETE FROM tab1 WHERE ((((col3 <= 34)) OR col3 < 69))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col3 <= 34)) OR col3 < 69))
----

query I rowsort label-465
SELECT pk FROM tab1 WHERE NOT (((((col3 <= 34)) OR col3 < 69)))
----
4
8

statement ok
DELETE FROM tab2 WHERE ((((col3 <= 34)) OR col3 < 69))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col3 <= 34)) OR col3 < 69))
----

query I rowsort label-465
SELECT pk FROM tab2 WHERE NOT (((((col3 <= 34)) OR col3 < 69)))
----
4
8

statement ok
DELETE FROM tab3 WHERE ((((col3 <= 34)) OR col3 < 69))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col3 <= 34)) OR col3 < 69))
----

query I rowsort label-465
SELECT pk FROM tab3 WHERE NOT (((((col3 <= 34)) OR col3 < 69)))
----
4
8

statement ok
DELETE FROM tab4 WHERE ((((col3 <= 34)) OR col3 < 69))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col3 <= 34)) OR col3 < 69))
----

query I rowsort label-465
SELECT pk FROM tab4 WHERE NOT (((((col3 <= 34)) OR col3 < 69)))
----
4
8

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL AND col3 < 14) OR col4 = 2.12

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IS NULL AND col3 < 14) OR col4 = 2.12
----

query I rowsort label-480
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL AND col3 < 14) OR col4 = 2.12)
----
4
8

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL AND col3 < 14) OR col4 = 2.12

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IS NULL AND col3 < 14) OR col4 = 2.12
----

query I rowsort label-480
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL AND col3 < 14) OR col4 = 2.12)
----
4
8

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL AND col3 < 14) OR col4 = 2.12

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IS NULL AND col3 < 14) OR col4 = 2.12
----

query I rowsort label-480
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL AND col3 < 14) OR col4 = 2.12)
----
4
8

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL AND col3 < 14) OR col4 = 2.12

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IS NULL AND col3 < 14) OR col4 = 2.12
----

query I rowsort label-480
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL AND col3 < 14) OR col4 = 2.12)
----
4
8

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL AND col3 < 14) OR col4 = 2.12

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IS NULL AND col3 < 14) OR col4 = 2.12
----

query I rowsort label-480
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL AND col3 < 14) OR col4 = 2.12)
----
4
8

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 3 AND 8

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 3 AND 8
----

query I rowsort label-495
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 3 AND 8)
----
4
8

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 3 AND 8

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 3 AND 8
----

query I rowsort label-495
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 3 AND 8)
----
4
8

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 3 AND 8

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 3 AND 8
----

query I rowsort label-495
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 3 AND 8)
----
4
8

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 3 AND 8

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 3 AND 8
----

query I rowsort label-495
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 3 AND 8)
----
4
8

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 3 AND 8

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 3 AND 8
----

query I rowsort label-495
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 3 AND 8)
----
4
8

statement ok
DELETE FROM tab0 WHERE (col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL
----

query I rowsort label-510
SELECT pk FROM tab0 WHERE NOT ((col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL)
----
4
8

statement ok
DELETE FROM tab1 WHERE (col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL
----

query I rowsort label-510
SELECT pk FROM tab1 WHERE NOT ((col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL)
----
4
8

statement ok
DELETE FROM tab2 WHERE (col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL
----

query I rowsort label-510
SELECT pk FROM tab2 WHERE NOT ((col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL)
----
4
8

statement ok
DELETE FROM tab3 WHERE (col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL
----

query I rowsort label-510
SELECT pk FROM tab3 WHERE NOT ((col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL)
----
4
8

statement ok
DELETE FROM tab4 WHERE (col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL
----

query I rowsort label-510
SELECT pk FROM tab4 WHERE NOT ((col4 >= 85.35) AND (col3 <= 58) AND ((((col0 > 36) OR col3 > 87 AND col0 = 69) OR col1 = 26.21 AND col0 > 73 OR ((col3 <= 58) AND col0 > 53) AND col4 >= 36.13 OR (col3 < 83 AND col0 >= 86))) AND ((((col4 > 19.38) OR col0 >= 35) OR col1 >= 44.95 OR col1 > 38.12 OR (col3 < 73) OR (col3 IS NULL) AND col3 > 92 AND col4 < 19.19 OR ((col1 = 89.82)) AND col3 >= 40)) AND col1 IS NULL)
----
4
8

statement ok
DELETE FROM tab0 WHERE ((col0 >= 58))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 58))
----

query I rowsort label-525
SELECT pk FROM tab0 WHERE NOT (((col0 >= 58)))
----
4
8

statement ok
DELETE FROM tab1 WHERE ((col0 >= 58))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 58))
----

query I rowsort label-525
SELECT pk FROM tab1 WHERE NOT (((col0 >= 58)))
----
4
8

statement ok
DELETE FROM tab2 WHERE ((col0 >= 58))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 58))
----

query I rowsort label-525
SELECT pk FROM tab2 WHERE NOT (((col0 >= 58)))
----
4
8

statement ok
DELETE FROM tab3 WHERE ((col0 >= 58))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 58))
----

query I rowsort label-525
SELECT pk FROM tab3 WHERE NOT (((col0 >= 58)))
----
4
8

statement ok
DELETE FROM tab4 WHERE ((col0 >= 58))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 58))
----

query I rowsort label-525
SELECT pk FROM tab4 WHERE NOT (((col0 >= 58)))
----
4
8

statement ok
DELETE FROM tab0 WHERE col0 > 30

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 30
----

query I rowsort label-540
SELECT pk FROM tab0 WHERE NOT (col0 > 30)
----
4
8

statement ok
DELETE FROM tab1 WHERE col0 > 30

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 30
----

query I rowsort label-540
SELECT pk FROM tab1 WHERE NOT (col0 > 30)
----
4
8

statement ok
DELETE FROM tab2 WHERE col0 > 30

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 30
----

query I rowsort label-540
SELECT pk FROM tab2 WHERE NOT (col0 > 30)
----
4
8

statement ok
DELETE FROM tab3 WHERE col0 > 30

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 30
----

query I rowsort label-540
SELECT pk FROM tab3 WHERE NOT (col0 > 30)
----
4
8

statement ok
DELETE FROM tab4 WHERE col0 > 30

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 30
----

query I rowsort label-540
SELECT pk FROM tab4 WHERE NOT (col0 > 30)
----
4
8

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,88,25.27,'oxzxc',29,34.41,'rsyuc')

statement ok
INSERT INTO tab0 VALUES(1,22,72.77,'yfxua',16,93.75,'glrjn')

statement ok
INSERT INTO tab0 VALUES(2,61,10.3,'ftlzi',90,44.23,'fdukl')

statement ok
INSERT INTO tab0 VALUES(3,74,78.21,'qpsam',21,33.87,'hfycz')

statement ok
INSERT INTO tab0 VALUES(4,57,44.72,'vlmnb',57,64.95,'kmula')

statement ok
INSERT INTO tab0 VALUES(5,42,65.24,'lyudh',41,63.12,'kgltb')

statement ok
INSERT INTO tab0 VALUES(6,11,49.94,'vurts',22,37.56,'njkqr')

statement ok
INSERT INTO tab0 VALUES(7,7,19.54,'pusrw',67,39.8,'clzad')

statement ok
INSERT INTO tab0 VALUES(8,48,75.46,'gbopu',73,32.24,'gvzmf')

statement ok
INSERT INTO tab0 VALUES(9,39,54.94,'wctyt',79,45.49,'kygeo')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 >= 58.24

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 58.24
----

query I rowsort label-555
SELECT pk FROM tab0 WHERE NOT (col4 >= 58.24)
----
0
2
3
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col4 >= 58.24

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 58.24
----

query I rowsort label-555
SELECT pk FROM tab1 WHERE NOT (col4 >= 58.24)
----
0
2
3
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col4 >= 58.24

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 58.24
----

query I rowsort label-555
SELECT pk FROM tab2 WHERE NOT (col4 >= 58.24)
----
0
2
3
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col4 >= 58.24

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 58.24
----

query I rowsort label-555
SELECT pk FROM tab3 WHERE NOT (col4 >= 58.24)
----
0
2
3
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col4 >= 58.24

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 58.24
----

query I rowsort label-555
SELECT pk FROM tab4 WHERE NOT (col4 >= 58.24)
----
0
2
3
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col1 <= 50.33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 50.33
----

query I rowsort label-570
SELECT pk FROM tab0 WHERE NOT (col1 <= 50.33)
----
3
8
9

statement ok
DELETE FROM tab1 WHERE col1 <= 50.33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 50.33
----

query I rowsort label-570
SELECT pk FROM tab1 WHERE NOT (col1 <= 50.33)
----
3
8
9

statement ok
DELETE FROM tab2 WHERE col1 <= 50.33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 50.33
----

query I rowsort label-570
SELECT pk FROM tab2 WHERE NOT (col1 <= 50.33)
----
3
8
9

statement ok
DELETE FROM tab3 WHERE col1 <= 50.33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 50.33
----

query I rowsort label-570
SELECT pk FROM tab3 WHERE NOT (col1 <= 50.33)
----
3
8
9

statement ok
DELETE FROM tab4 WHERE col1 <= 50.33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 50.33
----

query I rowsort label-570
SELECT pk FROM tab4 WHERE NOT (col1 <= 50.33)
----
3
8
9

statement ok
DELETE FROM tab0 WHERE col0 > 98

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 98
----

query I rowsort label-585
SELECT pk FROM tab0 WHERE NOT (col0 > 98)
----
3
8
9

statement ok
DELETE FROM tab1 WHERE col0 > 98

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 98
----

query I rowsort label-585
SELECT pk FROM tab1 WHERE NOT (col0 > 98)
----
3
8
9

statement ok
DELETE FROM tab2 WHERE col0 > 98

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 98
----

query I rowsort label-585
SELECT pk FROM tab2 WHERE NOT (col0 > 98)
----
3
8
9

statement ok
DELETE FROM tab3 WHERE col0 > 98

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 98
----

query I rowsort label-585
SELECT pk FROM tab3 WHERE NOT (col0 > 98)
----
3
8
9

statement ok
DELETE FROM tab4 WHERE col0 > 98

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 98
----

query I rowsort label-585
SELECT pk FROM tab4 WHERE NOT (col0 > 98)
----
3
8
9

statement ok
DELETE FROM tab0 WHERE col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78))
----

query I rowsort label-600
SELECT pk FROM tab0 WHERE NOT (col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78)))
----
3
8
9

statement ok
DELETE FROM tab1 WHERE col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78))
----

query I rowsort label-600
SELECT pk FROM tab1 WHERE NOT (col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78)))
----
3
8
9

statement ok
DELETE FROM tab2 WHERE col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78))
----

query I rowsort label-600
SELECT pk FROM tab2 WHERE NOT (col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78)))
----
3
8
9

statement ok
DELETE FROM tab3 WHERE col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78))
----

query I rowsort label-600
SELECT pk FROM tab3 WHERE NOT (col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78)))
----
3
8
9

statement ok
DELETE FROM tab4 WHERE col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78))
----

query I rowsort label-600
SELECT pk FROM tab4 WHERE NOT (col4 < 20.34 OR ((col4 > 39.96) AND (col3 < 78)))
----
3
8
9

statement ok
DELETE FROM tab0 WHERE ((col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 IS NULL))
----

query I rowsort label-615
SELECT pk FROM tab0 WHERE NOT (((col3 IS NULL)))
----
3
8
9

statement ok
DELETE FROM tab1 WHERE ((col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 IS NULL))
----

query I rowsort label-615
SELECT pk FROM tab1 WHERE NOT (((col3 IS NULL)))
----
3
8
9

statement ok
DELETE FROM tab2 WHERE ((col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 IS NULL))
----

query I rowsort label-615
SELECT pk FROM tab2 WHERE NOT (((col3 IS NULL)))
----
3
8
9

statement ok
DELETE FROM tab3 WHERE ((col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 IS NULL))
----

query I rowsort label-615
SELECT pk FROM tab3 WHERE NOT (((col3 IS NULL)))
----
3
8
9

statement ok
DELETE FROM tab4 WHERE ((col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 IS NULL))
----

query I rowsort label-615
SELECT pk FROM tab4 WHERE NOT (((col3 IS NULL)))
----
3
8
9

statement ok
DELETE FROM tab0 WHERE col3 = 90

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 90
----

query I rowsort label-630
SELECT pk FROM tab0 WHERE NOT (col3 = 90)
----
3
8
9

statement ok
DELETE FROM tab1 WHERE col3 = 90

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 90
----

query I rowsort label-630
SELECT pk FROM tab1 WHERE NOT (col3 = 90)
----
3
8
9

statement ok
DELETE FROM tab2 WHERE col3 = 90

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 90
----

query I rowsort label-630
SELECT pk FROM tab2 WHERE NOT (col3 = 90)
----
3
8
9

statement ok
DELETE FROM tab3 WHERE col3 = 90

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 90
----

query I rowsort label-630
SELECT pk FROM tab3 WHERE NOT (col3 = 90)
----
3
8
9

statement ok
DELETE FROM tab4 WHERE col3 = 90

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 90
----

query I rowsort label-630
SELECT pk FROM tab4 WHERE NOT (col3 = 90)
----
3
8
9

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,85,67.66,'ietmt',10,58.83,'mnhef')

statement ok
INSERT INTO tab0 VALUES(1,78,32.79,'obayo',17,77.74,'kmflo')

statement ok
INSERT INTO tab0 VALUES(2,58,33.43,'yvzuk',18,48.52,'ylapd')

statement ok
INSERT INTO tab0 VALUES(3,43,44.54,'ewfxo',14,99.49,'rbqlr')

statement ok
INSERT INTO tab0 VALUES(4,17,38.7,'yoltu',77,39.51,'nybvn')

statement ok
INSERT INTO tab0 VALUES(5,46,51.7,'ohgkw',66,23.13,'kwsvm')

statement ok
INSERT INTO tab0 VALUES(6,84,45.88,'psmrf',37,9.71,'tulwj')

statement ok
INSERT INTO tab0 VALUES(7,91,70.16,'psekp',55,28.52,'gduwn')

statement ok
INSERT INTO tab0 VALUES(8,44,24.8,'nsyjr',11,40.93,'jvvgo')

statement ok
INSERT INTO tab0 VALUES(9,47,19.46,'nrqls',29,98.45,'djsgz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0,col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51
----

query I rowsort label-645
SELECT pk FROM tab0 WHERE NOT ((((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51)
----
1
3
9

statement ok
DELETE FROM tab1 WHERE (((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51
----

query I rowsort label-645
SELECT pk FROM tab1 WHERE NOT ((((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51)
----
1
3
9

statement ok
DELETE FROM tab2 WHERE (((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51
----

query I rowsort label-645
SELECT pk FROM tab2 WHERE NOT ((((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51)
----
1
3
9

statement ok
DELETE FROM tab3 WHERE (((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51
----

query I rowsort label-645
SELECT pk FROM tab3 WHERE NOT ((((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51)
----
1
3
9

statement ok
DELETE FROM tab4 WHERE (((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51
----

query I rowsort label-645
SELECT pk FROM tab4 WHERE NOT ((((((col3 >= 19))) AND (col0 < 47) OR col3 <= 10 OR (col0 > 76) OR (col3 IS NULL) OR col3 BETWEEN 16 AND 33)) AND (col3 > 97) OR col4 < 73.51)
----
1
3
9

statement ok
DELETE FROM tab0 WHERE col3 > 39 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 39 OR col1 IS NULL
----

query I rowsort label-660
SELECT pk FROM tab0 WHERE NOT (col3 > 39 OR col1 IS NULL)
----
1
3
9

statement ok
DELETE FROM tab1 WHERE col3 > 39 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 39 OR col1 IS NULL
----

query I rowsort label-660
SELECT pk FROM tab1 WHERE NOT (col3 > 39 OR col1 IS NULL)
----
1
3
9

statement ok
DELETE FROM tab2 WHERE col3 > 39 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 39 OR col1 IS NULL
----

query I rowsort label-660
SELECT pk FROM tab2 WHERE NOT (col3 > 39 OR col1 IS NULL)
----
1
3
9

statement ok
DELETE FROM tab3 WHERE col3 > 39 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 39 OR col1 IS NULL
----

query I rowsort label-660
SELECT pk FROM tab3 WHERE NOT (col3 > 39 OR col1 IS NULL)
----
1
3
9

statement ok
DELETE FROM tab4 WHERE col3 > 39 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 39 OR col1 IS NULL
----

query I rowsort label-660
SELECT pk FROM tab4 WHERE NOT (col3 > 39 OR col1 IS NULL)
----
1
3
9

statement ok
DELETE FROM tab0 WHERE (col3 >= 64)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 64)
----

query I rowsort label-675
SELECT pk FROM tab0 WHERE NOT ((col3 >= 64))
----
1
3
9

statement ok
DELETE FROM tab1 WHERE (col3 >= 64)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 64)
----

query I rowsort label-675
SELECT pk FROM tab1 WHERE NOT ((col3 >= 64))
----
1
3
9

statement ok
DELETE FROM tab2 WHERE (col3 >= 64)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 64)
----

query I rowsort label-675
SELECT pk FROM tab2 WHERE NOT ((col3 >= 64))
----
1
3
9

statement ok
DELETE FROM tab3 WHERE (col3 >= 64)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 64)
----

query I rowsort label-675
SELECT pk FROM tab3 WHERE NOT ((col3 >= 64))
----
1
3
9

statement ok
DELETE FROM tab4 WHERE (col3 >= 64)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 64)
----

query I rowsort label-675
SELECT pk FROM tab4 WHERE NOT ((col3 >= 64))
----
1
3
9

statement ok
DELETE FROM tab0 WHERE col1 > 82.18

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 82.18
----

query I rowsort label-690
SELECT pk FROM tab0 WHERE NOT (col1 > 82.18)
----
1
3
9

statement ok
DELETE FROM tab1 WHERE col1 > 82.18

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 82.18
----

query I rowsort label-690
SELECT pk FROM tab1 WHERE NOT (col1 > 82.18)
----
1
3
9

statement ok
DELETE FROM tab2 WHERE col1 > 82.18

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 82.18
----

query I rowsort label-690
SELECT pk FROM tab2 WHERE NOT (col1 > 82.18)
----
1
3
9

statement ok
DELETE FROM tab3 WHERE col1 > 82.18

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 82.18
----

query I rowsort label-690
SELECT pk FROM tab3 WHERE NOT (col1 > 82.18)
----
1
3
9

statement ok
DELETE FROM tab4 WHERE col1 > 82.18

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 82.18
----

query I rowsort label-690
SELECT pk FROM tab4 WHERE NOT (col1 > 82.18)
----
1
3
9

statement ok
DELETE FROM tab0 WHERE (col1 = 57.37)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 57.37)
----

query I rowsort label-705
SELECT pk FROM tab0 WHERE NOT ((col1 = 57.37))
----
1
3
9

statement ok
DELETE FROM tab1 WHERE (col1 = 57.37)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 57.37)
----

query I rowsort label-705
SELECT pk FROM tab1 WHERE NOT ((col1 = 57.37))
----
1
3
9

statement ok
DELETE FROM tab2 WHERE (col1 = 57.37)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 57.37)
----

query I rowsort label-705
SELECT pk FROM tab2 WHERE NOT ((col1 = 57.37))
----
1
3
9

statement ok
DELETE FROM tab3 WHERE (col1 = 57.37)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 57.37)
----

query I rowsort label-705
SELECT pk FROM tab3 WHERE NOT ((col1 = 57.37))
----
1
3
9

statement ok
DELETE FROM tab4 WHERE (col1 = 57.37)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 57.37)
----

query I rowsort label-705
SELECT pk FROM tab4 WHERE NOT ((col1 = 57.37))
----
1
3
9

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,52,53.38,'guwsh',97,62.96,'kgbpl')

statement ok
INSERT INTO tab0 VALUES(1,32,87.59,'myhmw',98,26.90,'vuktv')

statement ok
INSERT INTO tab0 VALUES(2,19,19.88,'yeaay',55,38.16,'nlgyv')

statement ok
INSERT INTO tab0 VALUES(3,35,44.37,'gfefg',26,1.69,'mhrps')

statement ok
INSERT INTO tab0 VALUES(4,7,51.48,'ajaey',50,63.5,'axeqz')

statement ok
INSERT INTO tab0 VALUES(5,26,29.56,'dgquq',11,34.2,'rwxcx')

statement ok
INSERT INTO tab0 VALUES(6,13,82.49,'wnnlq',6,92.26,'isuwi')

statement ok
INSERT INTO tab0 VALUES(7,79,43.34,'vhgqz',1,0.90,'odoez')

statement ok
INSERT INTO tab0 VALUES(8,89,84.98,'kxblo',99,18.19,'mzafo')

statement ok
INSERT INTO tab0 VALUES(9,23,30.69,'pnoli',100,15.12,'cqayt')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC,col1)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col1,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4,col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 < 51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 51
----

query I rowsort label-720
SELECT pk FROM tab0 WHERE NOT (col3 < 51)
----
0
1
2
8
9

statement ok
DELETE FROM tab1 WHERE col3 < 51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 51
----

query I rowsort label-720
SELECT pk FROM tab1 WHERE NOT (col3 < 51)
----
0
1
2
8
9

statement ok
DELETE FROM tab2 WHERE col3 < 51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 51
----

query I rowsort label-720
SELECT pk FROM tab2 WHERE NOT (col3 < 51)
----
0
1
2
8
9

statement ok
DELETE FROM tab3 WHERE col3 < 51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 51
----

query I rowsort label-720
SELECT pk FROM tab3 WHERE NOT (col3 < 51)
----
0
1
2
8
9

statement ok
DELETE FROM tab4 WHERE col3 < 51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 51
----

query I rowsort label-720
SELECT pk FROM tab4 WHERE NOT (col3 < 51)
----
0
1
2
8
9

statement ok
DELETE FROM tab0 WHERE col4 < 76.64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 76.64
----

query I rowsort label-735
SELECT pk FROM tab0 WHERE NOT (col4 < 76.64)
----

statement ok
DELETE FROM tab1 WHERE col4 < 76.64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 76.64
----

query I rowsort label-735
SELECT pk FROM tab1 WHERE NOT (col4 < 76.64)
----

statement ok
DELETE FROM tab2 WHERE col4 < 76.64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 76.64
----

query I rowsort label-735
SELECT pk FROM tab2 WHERE NOT (col4 < 76.64)
----

statement ok
DELETE FROM tab3 WHERE col4 < 76.64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 76.64
----

query I rowsort label-735
SELECT pk FROM tab3 WHERE NOT (col4 < 76.64)
----

statement ok
DELETE FROM tab4 WHERE col4 < 76.64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 76.64
----

query I rowsort label-735
SELECT pk FROM tab4 WHERE NOT (col4 < 76.64)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,85,81.35,'mlnys',33,80.9,'esolb')

statement ok
INSERT INTO tab0 VALUES(1,24,59.83,'rlkuv',34,74.37,'jvcqo')

statement ok
INSERT INTO tab0 VALUES(2,8,30.10,'fbkyi',61,2.55,'oncuv')

statement ok
INSERT INTO tab0 VALUES(3,26,60.45,'ssbqr',77,10.44,'wteps')

statement ok
INSERT INTO tab0 VALUES(4,13,62.46,'xonws',98,81.70,'tlmgw')

statement ok
INSERT INTO tab0 VALUES(5,68,78.18,'gsjro',4,98.0,'ullii')

statement ok
INSERT INTO tab0 VALUES(6,60,26.18,'ngcdx',58,6.13,'doceh')

statement ok
INSERT INTO tab0 VALUES(7,44,69.74,'lkwoy',10,76.12,'gyawl')

statement ok
INSERT INTO tab0 VALUES(8,72,75.93,'iqznt',17,67.37,'lzsky')

statement ok
INSERT INTO tab0 VALUES(9,9,84.75,'rvpfa',54,87.77,'pnltu')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC,col0 DESC,col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 = 28

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 28
----

query I rowsort label-750
SELECT pk FROM tab0 WHERE NOT (col0 = 28)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 = 28

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 28
----

query I rowsort label-750
SELECT pk FROM tab1 WHERE NOT (col0 = 28)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 = 28

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 28
----

query I rowsort label-750
SELECT pk FROM tab2 WHERE NOT (col0 = 28)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 = 28

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 28
----

query I rowsort label-750
SELECT pk FROM tab3 WHERE NOT (col0 = 28)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 = 28

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 28
----

query I rowsort label-750
SELECT pk FROM tab4 WHERE NOT (col0 = 28)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,65,48.80,'pyixl',42,23.48,'kinxt')

statement ok
INSERT INTO tab0 VALUES(1,74,84.73,'dhoxc',3,2.50,'vqxgq')

statement ok
INSERT INTO tab0 VALUES(2,80,80.87,'ncwyd',75,33.76,'oqizr')

statement ok
INSERT INTO tab0 VALUES(3,43,79.6,'vrzou',59,47.52,'ilepi')

statement ok
INSERT INTO tab0 VALUES(4,6,90.24,'rljam',38,18.72,'vhjuk')

statement ok
INSERT INTO tab0 VALUES(5,98,42.63,'ycxhg',97,26.11,'jteqv')

statement ok
INSERT INTO tab0 VALUES(6,58,56.79,'oooij',27,21.36,'lsprb')

statement ok
INSERT INTO tab0 VALUES(7,37,2.80,'tgwzc',44,82.21,'jpeas')

statement ok
INSERT INTO tab0 VALUES(8,18,62.33,'bcsjg',0,86.58,'zmmll')

statement ok
INSERT INTO tab0 VALUES(9,24,93.81,'suvwu',94,63.67,'bewrf')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 > 61.84 AND col0 > 71

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 61.84 AND col0 > 71
----

query I rowsort label-765
SELECT pk FROM tab0 WHERE NOT (col1 > 61.84 AND col0 > 71)
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col1 > 61.84 AND col0 > 71

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 61.84 AND col0 > 71
----

query I rowsort label-765
SELECT pk FROM tab1 WHERE NOT (col1 > 61.84 AND col0 > 71)
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col1 > 61.84 AND col0 > 71

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 61.84 AND col0 > 71
----

query I rowsort label-765
SELECT pk FROM tab2 WHERE NOT (col1 > 61.84 AND col0 > 71)
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col1 > 61.84 AND col0 > 71

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 61.84 AND col0 > 71
----

query I rowsort label-765
SELECT pk FROM tab3 WHERE NOT (col1 > 61.84 AND col0 > 71)
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col1 > 61.84 AND col0 > 71

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 61.84 AND col0 > 71
----

query I rowsort label-765
SELECT pk FROM tab4 WHERE NOT (col1 > 61.84 AND col0 > 71)
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE ((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91)
----

query I rowsort label-780
SELECT pk FROM tab0 WHERE NOT (((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE ((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91)
----

query I rowsort label-780
SELECT pk FROM tab1 WHERE NOT (((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE ((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91)
----

query I rowsort label-780
SELECT pk FROM tab2 WHERE NOT (((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE ((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91)
----

query I rowsort label-780
SELECT pk FROM tab3 WHERE NOT (((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE ((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91)
----

query I rowsort label-780
SELECT pk FROM tab4 WHERE NOT (((col0 IN (92))) AND (col3 = 78 OR col1 IN (44.58,40.84,72.30,97.42) AND col0 IS NULL AND (((col0 BETWEEN 43 AND 61 AND col4 IN (48.82) AND col0 = 60 AND (col4 > 38.68))) OR (col4 < 65.55) OR col3 < 41) AND col3 <= 91))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 = 65 AND (((col0 > 3) AND col0 > 63))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 65 AND (((col0 > 3) AND col0 > 63))
----

query I rowsort label-795
SELECT pk FROM tab0 WHERE NOT (col3 = 65 AND (((col0 > 3) AND col0 > 63)))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 = 65 AND (((col0 > 3) AND col0 > 63))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 65 AND (((col0 > 3) AND col0 > 63))
----

query I rowsort label-795
SELECT pk FROM tab1 WHERE NOT (col3 = 65 AND (((col0 > 3) AND col0 > 63)))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 = 65 AND (((col0 > 3) AND col0 > 63))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 65 AND (((col0 > 3) AND col0 > 63))
----

query I rowsort label-795
SELECT pk FROM tab2 WHERE NOT (col3 = 65 AND (((col0 > 3) AND col0 > 63)))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 = 65 AND (((col0 > 3) AND col0 > 63))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 65 AND (((col0 > 3) AND col0 > 63))
----

query I rowsort label-795
SELECT pk FROM tab3 WHERE NOT (col3 = 65 AND (((col0 > 3) AND col0 > 63)))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 = 65 AND (((col0 > 3) AND col0 > 63))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 65 AND (((col0 > 3) AND col0 > 63))
----

query I rowsort label-795
SELECT pk FROM tab4 WHERE NOT (col3 = 65 AND (((col0 > 3) AND col0 > 63)))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col1 < 69.87

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 69.87
----

query I rowsort label-810
SELECT pk FROM tab0 WHERE NOT (col1 < 69.87)
----
3
4
9

statement ok
DELETE FROM tab1 WHERE col1 < 69.87

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 69.87
----

query I rowsort label-810
SELECT pk FROM tab1 WHERE NOT (col1 < 69.87)
----
3
4
9

statement ok
DELETE FROM tab2 WHERE col1 < 69.87

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 69.87
----

query I rowsort label-810
SELECT pk FROM tab2 WHERE NOT (col1 < 69.87)
----
3
4
9

statement ok
DELETE FROM tab3 WHERE col1 < 69.87

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 69.87
----

query I rowsort label-810
SELECT pk FROM tab3 WHERE NOT (col1 < 69.87)
----
3
4
9

statement ok
DELETE FROM tab4 WHERE col1 < 69.87

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 69.87
----

query I rowsort label-810
SELECT pk FROM tab4 WHERE NOT (col1 < 69.87)
----
3
4
9

statement ok
DELETE FROM tab0 WHERE (col4 = 38.35) AND col3 <= 17

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 = 38.35) AND col3 <= 17
----

query I rowsort label-825
SELECT pk FROM tab0 WHERE NOT ((col4 = 38.35) AND col3 <= 17)
----
3
4
9

statement ok
DELETE FROM tab1 WHERE (col4 = 38.35) AND col3 <= 17

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 = 38.35) AND col3 <= 17
----

query I rowsort label-825
SELECT pk FROM tab1 WHERE NOT ((col4 = 38.35) AND col3 <= 17)
----
3
4
9

statement ok
DELETE FROM tab2 WHERE (col4 = 38.35) AND col3 <= 17

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 = 38.35) AND col3 <= 17
----

query I rowsort label-825
SELECT pk FROM tab2 WHERE NOT ((col4 = 38.35) AND col3 <= 17)
----
3
4
9

statement ok
DELETE FROM tab3 WHERE (col4 = 38.35) AND col3 <= 17

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 = 38.35) AND col3 <= 17
----

query I rowsort label-825
SELECT pk FROM tab3 WHERE NOT ((col4 = 38.35) AND col3 <= 17)
----
3
4
9

statement ok
DELETE FROM tab4 WHERE (col4 = 38.35) AND col3 <= 17

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 = 38.35) AND col3 <= 17
----

query I rowsort label-825
SELECT pk FROM tab4 WHERE NOT ((col4 = 38.35) AND col3 <= 17)
----
3
4
9

statement ok
DELETE FROM tab0 WHERE (col3 < 88)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 88)
----

query I rowsort label-840
SELECT pk FROM tab0 WHERE NOT ((col3 < 88))
----
9

statement ok
DELETE FROM tab1 WHERE (col3 < 88)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 88)
----

query I rowsort label-840
SELECT pk FROM tab1 WHERE NOT ((col3 < 88))
----
9

statement ok
DELETE FROM tab2 WHERE (col3 < 88)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 88)
----

query I rowsort label-840
SELECT pk FROM tab2 WHERE NOT ((col3 < 88))
----
9

statement ok
DELETE FROM tab3 WHERE (col3 < 88)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 88)
----

query I rowsort label-840
SELECT pk FROM tab3 WHERE NOT ((col3 < 88))
----
9

statement ok
DELETE FROM tab4 WHERE (col3 < 88)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 88)
----

query I rowsort label-840
SELECT pk FROM tab4 WHERE NOT ((col3 < 88))
----
9

statement ok
DELETE FROM tab0 WHERE (col0 <= 19)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 19)
----

query I rowsort label-855
SELECT pk FROM tab0 WHERE NOT ((col0 <= 19))
----
9

statement ok
DELETE FROM tab1 WHERE (col0 <= 19)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 19)
----

query I rowsort label-855
SELECT pk FROM tab1 WHERE NOT ((col0 <= 19))
----
9

statement ok
DELETE FROM tab2 WHERE (col0 <= 19)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 19)
----

query I rowsort label-855
SELECT pk FROM tab2 WHERE NOT ((col0 <= 19))
----
9

statement ok
DELETE FROM tab3 WHERE (col0 <= 19)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 19)
----

query I rowsort label-855
SELECT pk FROM tab3 WHERE NOT ((col0 <= 19))
----
9

statement ok
DELETE FROM tab4 WHERE (col0 <= 19)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 19)
----

query I rowsort label-855
SELECT pk FROM tab4 WHERE NOT ((col0 <= 19))
----
9

statement ok
DELETE FROM tab0 WHERE (col4 > 93.18)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 93.18)
----

query I rowsort label-870
SELECT pk FROM tab0 WHERE NOT ((col4 > 93.18))
----
9

statement ok
DELETE FROM tab1 WHERE (col4 > 93.18)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 93.18)
----

query I rowsort label-870
SELECT pk FROM tab1 WHERE NOT ((col4 > 93.18))
----
9

statement ok
DELETE FROM tab2 WHERE (col4 > 93.18)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 93.18)
----

query I rowsort label-870
SELECT pk FROM tab2 WHERE NOT ((col4 > 93.18))
----
9

statement ok
DELETE FROM tab3 WHERE (col4 > 93.18)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 93.18)
----

query I rowsort label-870
SELECT pk FROM tab3 WHERE NOT ((col4 > 93.18))
----
9

statement ok
DELETE FROM tab4 WHERE (col4 > 93.18)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 93.18)
----

query I rowsort label-870
SELECT pk FROM tab4 WHERE NOT ((col4 > 93.18))
----
9

statement ok
DELETE FROM tab0 WHERE (((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59))
----

query I rowsort label-885
SELECT pk FROM tab0 WHERE NOT ((((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59)))
----

statement ok
DELETE FROM tab1 WHERE (((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59))
----

query I rowsort label-885
SELECT pk FROM tab1 WHERE NOT ((((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59)))
----

statement ok
DELETE FROM tab2 WHERE (((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59))
----

query I rowsort label-885
SELECT pk FROM tab2 WHERE NOT ((((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59)))
----

statement ok
DELETE FROM tab3 WHERE (((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59))
----

query I rowsort label-885
SELECT pk FROM tab3 WHERE NOT ((((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59)))
----

statement ok
DELETE FROM tab4 WHERE (((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59))
----

query I rowsort label-885
SELECT pk FROM tab4 WHERE NOT ((((col3 < 81 AND ((((col3 < 63)))) AND (col0 > 7) AND (((col3 <= 36) AND (col3 > 22 AND (col1 >= 51.89))) AND ((col4 IN (27.69,36.11,95.10,74.95,41.18)))) OR ((col3 >= 32) OR col1 <= 58.93) OR (((col3 = 75 OR col3 > 90))) OR (col0 > 45 OR col0 < 82)))) OR ((((col3 >= 44)) AND col4 < 73.80 OR col3 > 59)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,91,20.41,'pwhbf',84,58.21,'wkjdi')

statement ok
INSERT INTO tab0 VALUES(1,44,84.79,'daoxu',73,90.56,'vqrkh')

statement ok
INSERT INTO tab0 VALUES(2,34,97.60,'ksaud',15,55.80,'ayddb')

statement ok
INSERT INTO tab0 VALUES(3,16,1.2,'dgfdy',36,84.47,'hrdzj')

statement ok
INSERT INTO tab0 VALUES(4,80,47.10,'tnfoe',76,75.24,'xnigk')

statement ok
INSERT INTO tab0 VALUES(5,8,4.31,'ckxof',52,95.58,'zcniu')

statement ok
INSERT INTO tab0 VALUES(6,38,69.22,'xpyey',16,2.32,'loaku')

statement ok
INSERT INTO tab0 VALUES(7,30,86.11,'vdzny',20,51.31,'bcpej')

statement ok
INSERT INTO tab0 VALUES(8,22,50.57,'kytjp',83,9.6,'txsjh')

statement ok
INSERT INTO tab0 VALUES(9,97,30.17,'jpeag',43,69.34,'pjqhj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3 DESC,col1 DESC,col0)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC,col4 DESC,col0)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0,col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4,col1 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3 DESC,col4 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 = 60 AND col1 < 93.10)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 60 AND col1 < 93.10)
----

query I rowsort label-900
SELECT pk FROM tab0 WHERE NOT ((col3 = 60 AND col1 < 93.10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 = 60 AND col1 < 93.10)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 60 AND col1 < 93.10)
----

query I rowsort label-900
SELECT pk FROM tab1 WHERE NOT ((col3 = 60 AND col1 < 93.10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 = 60 AND col1 < 93.10)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 60 AND col1 < 93.10)
----

query I rowsort label-900
SELECT pk FROM tab2 WHERE NOT ((col3 = 60 AND col1 < 93.10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 = 60 AND col1 < 93.10)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 60 AND col1 < 93.10)
----

query I rowsort label-900
SELECT pk FROM tab3 WHERE NOT ((col3 = 60 AND col1 < 93.10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 = 60 AND col1 < 93.10)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 60 AND col1 < 93.10)
----

query I rowsort label-900
SELECT pk FROM tab4 WHERE NOT ((col3 = 60 AND col1 < 93.10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 <= 35)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 35)
----

query I rowsort label-915
SELECT pk FROM tab0 WHERE NOT ((col0 <= 35))
----
0
1
4
6
9

statement ok
DELETE FROM tab1 WHERE (col0 <= 35)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 35)
----

query I rowsort label-915
SELECT pk FROM tab1 WHERE NOT ((col0 <= 35))
----
0
1
4
6
9

statement ok
DELETE FROM tab2 WHERE (col0 <= 35)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 35)
----

query I rowsort label-915
SELECT pk FROM tab2 WHERE NOT ((col0 <= 35))
----
0
1
4
6
9

statement ok
DELETE FROM tab3 WHERE (col0 <= 35)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 35)
----

query I rowsort label-915
SELECT pk FROM tab3 WHERE NOT ((col0 <= 35))
----
0
1
4
6
9

statement ok
DELETE FROM tab4 WHERE (col0 <= 35)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 35)
----

query I rowsort label-915
SELECT pk FROM tab4 WHERE NOT ((col0 <= 35))
----
0
1
4
6
9

statement ok
DELETE FROM tab0 WHERE col3 <= 74

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 74
----

query I rowsort label-930
SELECT pk FROM tab0 WHERE NOT (col3 <= 74)
----
0
4

statement ok
DELETE FROM tab1 WHERE col3 <= 74

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 74
----

query I rowsort label-930
SELECT pk FROM tab1 WHERE NOT (col3 <= 74)
----
0
4

statement ok
DELETE FROM tab2 WHERE col3 <= 74

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 74
----

query I rowsort label-930
SELECT pk FROM tab2 WHERE NOT (col3 <= 74)
----
0
4

statement ok
DELETE FROM tab3 WHERE col3 <= 74

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 74
----

query I rowsort label-930
SELECT pk FROM tab3 WHERE NOT (col3 <= 74)
----
0
4

statement ok
DELETE FROM tab4 WHERE col3 <= 74

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 74
----

query I rowsort label-930
SELECT pk FROM tab4 WHERE NOT (col3 <= 74)
----
0
4

statement ok
DELETE FROM tab0 WHERE col1 > 17.57

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 17.57
----

query I rowsort label-945
SELECT pk FROM tab0 WHERE NOT (col1 > 17.57)
----

statement ok
DELETE FROM tab1 WHERE col1 > 17.57

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 17.57
----

query I rowsort label-945
SELECT pk FROM tab1 WHERE NOT (col1 > 17.57)
----

statement ok
DELETE FROM tab2 WHERE col1 > 17.57

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 17.57
----

query I rowsort label-945
SELECT pk FROM tab2 WHERE NOT (col1 > 17.57)
----

statement ok
DELETE FROM tab3 WHERE col1 > 17.57

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 17.57
----

query I rowsort label-945
SELECT pk FROM tab3 WHERE NOT (col1 > 17.57)
----

statement ok
DELETE FROM tab4 WHERE col1 > 17.57

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 17.57
----

query I rowsort label-945
SELECT pk FROM tab4 WHERE NOT (col1 > 17.57)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,56,38.1,'ankba',82,18.46,'efypf')

statement ok
INSERT INTO tab0 VALUES(1,42,60.78,'rmwkf',18,68.42,'mwqia')

statement ok
INSERT INTO tab0 VALUES(2,51,23.68,'ntfwo',4,11.76,'sajua')

statement ok
INSERT INTO tab0 VALUES(3,76,69.53,'prjag',86,38.85,'iwlpf')

statement ok
INSERT INTO tab0 VALUES(4,16,31.54,'uumms',19,13.99,'wxazc')

statement ok
INSERT INTO tab0 VALUES(5,87,92.39,'qdeth',83,27.55,'wftpo')

statement ok
INSERT INTO tab0 VALUES(6,34,45.39,'rhmny',90,69.6,'emjxh')

statement ok
INSERT INTO tab0 VALUES(7,43,61.60,'hogvu',2,81.37,'ucigk')

statement ok
INSERT INTO tab0 VALUES(8,52,48.94,'hcyyr',41,28.76,'llkvf')

statement ok
INSERT INTO tab0 VALUES(9,68,14.32,'kycxy',1,50.6,'cvlzt')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4,col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59))
----

query I rowsort label-960
SELECT pk FROM tab0 WHERE NOT ((col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59)))
----

statement ok
DELETE FROM tab1 WHERE (col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59))
----

query I rowsort label-960
SELECT pk FROM tab1 WHERE NOT ((col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59)))
----

statement ok
DELETE FROM tab2 WHERE (col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59))
----

query I rowsort label-960
SELECT pk FROM tab2 WHERE NOT ((col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59)))
----

statement ok
DELETE FROM tab3 WHERE (col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59))
----

query I rowsort label-960
SELECT pk FROM tab3 WHERE NOT ((col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59)))
----

statement ok
DELETE FROM tab4 WHERE (col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59))
----

query I rowsort label-960
SELECT pk FROM tab4 WHERE NOT ((col0 >= 17) OR col3 >= 64 OR ((col4 < 21.59)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,33,96.72,'khflu',58,12.98,'tqnua')

statement ok
INSERT INTO tab0 VALUES(1,39,89.24,'ukygl',12,31.97,'hbnhx')

statement ok
INSERT INTO tab0 VALUES(2,52,84.53,'wcxci',75,45.91,'bwprw')

statement ok
INSERT INTO tab0 VALUES(3,91,79.9,'yaero',30,58.4,'fjuml')

statement ok
INSERT INTO tab0 VALUES(4,29,4.39,'hwnmv',72,43.65,'pnhfm')

statement ok
INSERT INTO tab0 VALUES(5,8,85.8,'vqeye',19,95.23,'ocxha')

statement ok
INSERT INTO tab0 VALUES(6,53,5.4,'sqfpk',26,2.60,'kqsfr')

statement ok
INSERT INTO tab0 VALUES(7,79,69.53,'vplaz',99,3.1,'exvul')

statement ok
INSERT INTO tab0 VALUES(8,9,65.35,'swvei',5,46.30,'crvdg')

statement ok
INSERT INTO tab0 VALUES(9,80,26.90,'umfjr',84,64.0,'kamwo')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC,col0)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0,col1)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC,col0)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1,col0)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,86,35.40,'mqhsq',89,58.56,'rhdkr')

statement ok
INSERT INTO tab0 VALUES(1,81,13.55,'eaosy',68,28.99,'tfekl')

statement ok
INSERT INTO tab0 VALUES(2,32,71.42,'vvktg',62,48.47,'krdbc')

statement ok
INSERT INTO tab0 VALUES(3,56,7.54,'qzfrg',76,60.23,'tzhqj')

statement ok
INSERT INTO tab0 VALUES(4,73,17.34,'axscn',70,34.49,'xnodm')

statement ok
INSERT INTO tab0 VALUES(5,12,66.36,'fptly',73,40.61,'ouikz')

statement ok
INSERT INTO tab0 VALUES(6,28,41.33,'uzvcp',92,3.22,'ptwmi')

statement ok
INSERT INTO tab0 VALUES(7,13,22.30,'jusqd',32,71.32,'vsdlj')

statement ok
INSERT INTO tab0 VALUES(8,7,39.75,'guduq',98,73.43,'msgsf')

statement ok
INSERT INTO tab0 VALUES(9,14,37.77,'bwjrb',18,83.69,'vihcp')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0,col4,col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4 DESC,col3,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 < 9

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 9
----

query I rowsort label-975
SELECT pk FROM tab0 WHERE NOT (col3 < 9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 < 9

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 9
----

query I rowsort label-975
SELECT pk FROM tab1 WHERE NOT (col3 < 9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 < 9

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 9
----

query I rowsort label-975
SELECT pk FROM tab2 WHERE NOT (col3 < 9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 < 9

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 9
----

query I rowsort label-975
SELECT pk FROM tab3 WHERE NOT (col3 < 9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 < 9

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 9
----

query I rowsort label-975
SELECT pk FROM tab4 WHERE NOT (col3 < 9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 < 44.69

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 44.69
----

query I rowsort label-990
SELECT pk FROM tab0 WHERE NOT (col1 < 44.69)
----
2
5

statement ok
DELETE FROM tab1 WHERE col1 < 44.69

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 44.69
----

query I rowsort label-990
SELECT pk FROM tab1 WHERE NOT (col1 < 44.69)
----
2
5

statement ok
DELETE FROM tab2 WHERE col1 < 44.69

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 44.69
----

query I rowsort label-990
SELECT pk FROM tab2 WHERE NOT (col1 < 44.69)
----
2
5

statement ok
DELETE FROM tab3 WHERE col1 < 44.69

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 44.69
----

query I rowsort label-990
SELECT pk FROM tab3 WHERE NOT (col1 < 44.69)
----
2
5

statement ok
DELETE FROM tab4 WHERE col1 < 44.69

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 44.69
----

query I rowsort label-990
SELECT pk FROM tab4 WHERE NOT (col1 < 44.69)
----
2
5

statement ok
DELETE FROM tab0 WHERE col1 >= 77.94

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 77.94
----

query I rowsort label-1005
SELECT pk FROM tab0 WHERE NOT (col1 >= 77.94)
----
2
5

statement ok
DELETE FROM tab1 WHERE col1 >= 77.94

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 77.94
----

query I rowsort label-1005
SELECT pk FROM tab1 WHERE NOT (col1 >= 77.94)
----
2
5

statement ok
DELETE FROM tab2 WHERE col1 >= 77.94

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 77.94
----

query I rowsort label-1005
SELECT pk FROM tab2 WHERE NOT (col1 >= 77.94)
----
2
5

statement ok
DELETE FROM tab3 WHERE col1 >= 77.94

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 77.94
----

query I rowsort label-1005
SELECT pk FROM tab3 WHERE NOT (col1 >= 77.94)
----
2
5

statement ok
DELETE FROM tab4 WHERE col1 >= 77.94

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 77.94
----

query I rowsort label-1005
SELECT pk FROM tab4 WHERE NOT (col1 >= 77.94)
----
2
5

statement ok
DELETE FROM tab0 WHERE ((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37))
----

query I rowsort label-1020
SELECT pk FROM tab0 WHERE NOT (((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37)))
----
2
5

statement ok
DELETE FROM tab1 WHERE ((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37))
----

query I rowsort label-1020
SELECT pk FROM tab1 WHERE NOT (((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37)))
----
2
5

statement ok
DELETE FROM tab2 WHERE ((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37))
----

query I rowsort label-1020
SELECT pk FROM tab2 WHERE NOT (((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37)))
----
2
5

statement ok
DELETE FROM tab3 WHERE ((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37))
----

query I rowsort label-1020
SELECT pk FROM tab3 WHERE NOT (((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37)))
----
2
5

statement ok
DELETE FROM tab4 WHERE ((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37))
----

query I rowsort label-1020
SELECT pk FROM tab4 WHERE NOT (((col3 < 10 AND ((col3 >= 34)) AND (col1 > 78.8 AND ((col0 IS NULL) AND col0 < 84) AND (col0 >= 13) OR col0 <= 67 AND col0 > 36 AND (col0 >= 24) OR ((col3 > 16)) OR (col3 >= 53) AND col3 >= 21) AND col3 < 37)))
----
2
5

statement ok
DELETE FROM tab0 WHERE col1 >= 44.89

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 44.89
----

query I rowsort label-1035
SELECT pk FROM tab0 WHERE NOT (col1 >= 44.89)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 44.89

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 44.89
----

query I rowsort label-1035
SELECT pk FROM tab1 WHERE NOT (col1 >= 44.89)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 44.89

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 44.89
----

query I rowsort label-1035
SELECT pk FROM tab2 WHERE NOT (col1 >= 44.89)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 44.89

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 44.89
----

query I rowsort label-1035
SELECT pk FROM tab3 WHERE NOT (col1 >= 44.89)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 44.89

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 44.89
----

query I rowsort label-1035
SELECT pk FROM tab4 WHERE NOT (col1 >= 44.89)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,49,19.15,'zcmng',60,62.44,'pydna')

statement ok
INSERT INTO tab0 VALUES(1,31,94.69,'qgmfv',62,63.91,'pxmfa')

statement ok
INSERT INTO tab0 VALUES(2,24,68.77,'ryowl',96,52.70,'gpcww')

statement ok
INSERT INTO tab0 VALUES(3,57,12.68,'ycdax',50,18.57,'cbcez')

statement ok
INSERT INTO tab0 VALUES(4,5,47.15,'borjh',19,32.75,'euwzz')

statement ok
INSERT INTO tab0 VALUES(5,7,13.48,'yibbo',13,12.13,'pcnqf')

statement ok
INSERT INTO tab0 VALUES(6,78,20.67,'jtloj',77,83.36,'fbuyj')

statement ok
INSERT INTO tab0 VALUES(7,16,21.54,'pnsdk',94,41.97,'fvlmf')

statement ok
INSERT INTO tab0 VALUES(8,22,73.86,'dwerh',7,16.50,'tnaob')

statement ok
INSERT INTO tab0 VALUES(9,6,95.48,'fsgwb',26,31.61,'qnlin')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1,col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0,col3)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC,col1)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1 DESC,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3,col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 < 83 AND col0 < 63 OR col1 >= 6.75

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 83 AND col0 < 63 OR col1 >= 6.75
----

query I rowsort label-1050
SELECT pk FROM tab0 WHERE NOT (col0 < 83 AND col0 < 63 OR col1 >= 6.75)
----

statement ok
DELETE FROM tab1 WHERE col0 < 83 AND col0 < 63 OR col1 >= 6.75

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 83 AND col0 < 63 OR col1 >= 6.75
----

query I rowsort label-1050
SELECT pk FROM tab1 WHERE NOT (col0 < 83 AND col0 < 63 OR col1 >= 6.75)
----

statement ok
DELETE FROM tab2 WHERE col0 < 83 AND col0 < 63 OR col1 >= 6.75

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 83 AND col0 < 63 OR col1 >= 6.75
----

query I rowsort label-1050
SELECT pk FROM tab2 WHERE NOT (col0 < 83 AND col0 < 63 OR col1 >= 6.75)
----

statement ok
DELETE FROM tab3 WHERE col0 < 83 AND col0 < 63 OR col1 >= 6.75

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 83 AND col0 < 63 OR col1 >= 6.75
----

query I rowsort label-1050
SELECT pk FROM tab3 WHERE NOT (col0 < 83 AND col0 < 63 OR col1 >= 6.75)
----

statement ok
DELETE FROM tab4 WHERE col0 < 83 AND col0 < 63 OR col1 >= 6.75

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 83 AND col0 < 63 OR col1 >= 6.75
----

query I rowsort label-1050
SELECT pk FROM tab4 WHERE NOT (col0 < 83 AND col0 < 63 OR col1 >= 6.75)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,88,20.59,'pcmtq',52,76.61,'zwkzy')

statement ok
INSERT INTO tab0 VALUES(1,37,97.97,'bnoev',69,41.87,'ocbty')

statement ok
INSERT INTO tab0 VALUES(2,18,44.74,'ndcma',84,74.71,'cttaf')

statement ok
INSERT INTO tab0 VALUES(3,86,40.26,'mlnnc',79,72.96,'tnipk')

statement ok
INSERT INTO tab0 VALUES(4,65,54.28,'kacaz',35,28.63,'enhbx')

statement ok
INSERT INTO tab0 VALUES(5,11,55.47,'wesjs',1,42.52,'pxdmr')

statement ok
INSERT INTO tab0 VALUES(6,77,27.13,'rpiem',50,33.81,'dneyo')

statement ok
INSERT INTO tab0 VALUES(7,73,79.78,'yxuxz',45,53.74,'snxig')

statement ok
INSERT INTO tab0 VALUES(8,32,57.76,'gkgrj',0,99.21,'jycrp')

statement ok
INSERT INTO tab0 VALUES(9,66,61.91,'uqbnh',46,23.37,'fkuco')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4,col0)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col3 DESC,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1,col0 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL))
----

query I rowsort label-1065
SELECT pk FROM tab0 WHERE NOT ((((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL)))
----

statement ok
DELETE FROM tab1 WHERE (((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL))
----

query I rowsort label-1065
SELECT pk FROM tab1 WHERE NOT ((((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL)))
----

statement ok
DELETE FROM tab2 WHERE (((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL))
----

query I rowsort label-1065
SELECT pk FROM tab2 WHERE NOT ((((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL)))
----

statement ok
DELETE FROM tab3 WHERE (((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL))
----

query I rowsort label-1065
SELECT pk FROM tab3 WHERE NOT ((((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL)))
----

statement ok
DELETE FROM tab4 WHERE (((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL))
----

query I rowsort label-1065
SELECT pk FROM tab4 WHERE NOT ((((((col0 <= 94) AND col1 <= 1.7 AND col1 = 57.79 OR ((col3 <= 85 OR col3 < 18 OR (col0 >= 96))) OR col4 IN (0.13,16.92,44.46,30.32,57.58,79.17) OR (col1 = 3.18))) OR (((col3 = 87))) OR col1 IS NULL)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,4,25.3,'jhfdo',64,62.67,'knqgi')

statement ok
INSERT INTO tab0 VALUES(1,0,26.51,'bdqxs',76,33.71,'qjlwn')

statement ok
INSERT INTO tab0 VALUES(2,69,28.82,'bagtr',85,22.44,'qvwrg')

statement ok
INSERT INTO tab0 VALUES(3,47,49.62,'xthjh',32,35.83,'yrkwh')

statement ok
INSERT INTO tab0 VALUES(4,83,74.52,'jqxza',75,26.38,'sbhlk')

statement ok
INSERT INTO tab0 VALUES(5,48,19.17,'ziujn',99,66.20,'cvysw')

statement ok
INSERT INTO tab0 VALUES(6,45,96.42,'teqaj',34,96.14,'ckudd')

statement ok
INSERT INTO tab0 VALUES(7,30,70.39,'uhwhp',61,99.91,'bbrtl')

statement ok
INSERT INTO tab0 VALUES(8,18,29.68,'xsglh',29,56.23,'kbtxn')

statement ok
INSERT INTO tab0 VALUES(9,93,38.41,'gkpwj',67,10.93,'esusb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0,col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1,col3)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4,col3,col1,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC,col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,26,37.41,'hyfsd',41,92.96,'kyjqy')

statement ok
INSERT INTO tab0 VALUES(1,32,35.55,'aalgt',80,11.5,'tenke')

statement ok
INSERT INTO tab0 VALUES(2,24,14.52,'ycrop',44,17.22,'jqlgu')

statement ok
INSERT INTO tab0 VALUES(3,68,69.79,'umhae',84,48.60,'zsjav')

statement ok
INSERT INTO tab0 VALUES(4,67,84.9,'ntajv',18,39.40,'chywp')

statement ok
INSERT INTO tab0 VALUES(5,19,49.1,'njwnq',94,36.54,'foary')

statement ok
INSERT INTO tab0 VALUES(6,87,70.66,'piexx',53,8.21,'undyf')

statement ok
INSERT INTO tab0 VALUES(7,56,82.28,'gubgy',89,60.57,'poido')

statement ok
INSERT INTO tab0 VALUES(8,97,61.83,'rqdik',17,43.35,'phlnx')

statement ok
INSERT INTO tab0 VALUES(9,31,39.68,'yeygh',29,70.44,'fvgrd')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4,col0 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3,col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC,col0 DESC,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 > 82.18 OR (col0 >= 26)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 82.18 OR (col0 >= 26)
----

query I rowsort label-1080
SELECT pk FROM tab0 WHERE NOT (col4 > 82.18 OR (col0 >= 26))
----
2
5

statement ok
DELETE FROM tab1 WHERE col4 > 82.18 OR (col0 >= 26)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 82.18 OR (col0 >= 26)
----

query I rowsort label-1080
SELECT pk FROM tab1 WHERE NOT (col4 > 82.18 OR (col0 >= 26))
----
2
5

statement ok
DELETE FROM tab2 WHERE col4 > 82.18 OR (col0 >= 26)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 82.18 OR (col0 >= 26)
----

query I rowsort label-1080
SELECT pk FROM tab2 WHERE NOT (col4 > 82.18 OR (col0 >= 26))
----
2
5

statement ok
DELETE FROM tab3 WHERE col4 > 82.18 OR (col0 >= 26)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 82.18 OR (col0 >= 26)
----

query I rowsort label-1080
SELECT pk FROM tab3 WHERE NOT (col4 > 82.18 OR (col0 >= 26))
----
2
5

statement ok
DELETE FROM tab4 WHERE col4 > 82.18 OR (col0 >= 26)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 82.18 OR (col0 >= 26)
----

query I rowsort label-1080
SELECT pk FROM tab4 WHERE NOT (col4 > 82.18 OR (col0 >= 26))
----
2
5

statement ok
DELETE FROM tab0 WHERE (col3 <= 67)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 67)
----

query I rowsort label-1095
SELECT pk FROM tab0 WHERE NOT ((col3 <= 67))
----
5

statement ok
DELETE FROM tab1 WHERE (col3 <= 67)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 67)
----

query I rowsort label-1095
SELECT pk FROM tab1 WHERE NOT ((col3 <= 67))
----
5

statement ok
DELETE FROM tab2 WHERE (col3 <= 67)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 67)
----

query I rowsort label-1095
SELECT pk FROM tab2 WHERE NOT ((col3 <= 67))
----
5

statement ok
DELETE FROM tab3 WHERE (col3 <= 67)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 67)
----

query I rowsort label-1095
SELECT pk FROM tab3 WHERE NOT ((col3 <= 67))
----
5

statement ok
DELETE FROM tab4 WHERE (col3 <= 67)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 67)
----

query I rowsort label-1095
SELECT pk FROM tab4 WHERE NOT ((col3 <= 67))
----
5

statement ok
DELETE FROM tab0 WHERE col3 <= 48 OR col0 < 9

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 48 OR col0 < 9
----

query I rowsort label-1110
SELECT pk FROM tab0 WHERE NOT (col3 <= 48 OR col0 < 9)
----
5

statement ok
DELETE FROM tab1 WHERE col3 <= 48 OR col0 < 9

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 48 OR col0 < 9
----

query I rowsort label-1110
SELECT pk FROM tab1 WHERE NOT (col3 <= 48 OR col0 < 9)
----
5

statement ok
DELETE FROM tab2 WHERE col3 <= 48 OR col0 < 9

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 48 OR col0 < 9
----

query I rowsort label-1110
SELECT pk FROM tab2 WHERE NOT (col3 <= 48 OR col0 < 9)
----
5

statement ok
DELETE FROM tab3 WHERE col3 <= 48 OR col0 < 9

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 48 OR col0 < 9
----

query I rowsort label-1110
SELECT pk FROM tab3 WHERE NOT (col3 <= 48 OR col0 < 9)
----
5

statement ok
DELETE FROM tab4 WHERE col3 <= 48 OR col0 < 9

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 48 OR col0 < 9
----

query I rowsort label-1110
SELECT pk FROM tab4 WHERE NOT (col3 <= 48 OR col0 < 9)
----
5

statement ok
DELETE FROM tab0 WHERE (col1 < 26.4)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 26.4)
----

query I rowsort label-1125
SELECT pk FROM tab0 WHERE NOT ((col1 < 26.4))
----
5

statement ok
DELETE FROM tab1 WHERE (col1 < 26.4)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 26.4)
----

query I rowsort label-1125
SELECT pk FROM tab1 WHERE NOT ((col1 < 26.4))
----
5

statement ok
DELETE FROM tab2 WHERE (col1 < 26.4)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 26.4)
----

query I rowsort label-1125
SELECT pk FROM tab2 WHERE NOT ((col1 < 26.4))
----
5

statement ok
DELETE FROM tab3 WHERE (col1 < 26.4)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 26.4)
----

query I rowsort label-1125
SELECT pk FROM tab3 WHERE NOT ((col1 < 26.4))
----
5

statement ok
DELETE FROM tab4 WHERE (col1 < 26.4)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 26.4)
----

query I rowsort label-1125
SELECT pk FROM tab4 WHERE NOT ((col1 < 26.4))
----
5

statement ok
DELETE FROM tab0 WHERE (col0 >= 14)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 14)
----

query I rowsort label-1140
SELECT pk FROM tab0 WHERE NOT ((col0 >= 14))
----

statement ok
DELETE FROM tab1 WHERE (col0 >= 14)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 14)
----

query I rowsort label-1140
SELECT pk FROM tab1 WHERE NOT ((col0 >= 14))
----

statement ok
DELETE FROM tab2 WHERE (col0 >= 14)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 14)
----

query I rowsort label-1140
SELECT pk FROM tab2 WHERE NOT ((col0 >= 14))
----

statement ok
DELETE FROM tab3 WHERE (col0 >= 14)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 14)
----

query I rowsort label-1140
SELECT pk FROM tab3 WHERE NOT ((col0 >= 14))
----

statement ok
DELETE FROM tab4 WHERE (col0 >= 14)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 14)
----

query I rowsort label-1140
SELECT pk FROM tab4 WHERE NOT ((col0 >= 14))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,19,44.8,'xzmhi',5,77.44,'kyrzm')

statement ok
INSERT INTO tab0 VALUES(1,98,71.15,'iqrwy',80,78.82,'swtwb')

statement ok
INSERT INTO tab0 VALUES(2,26,30.54,'ohowx',7,36.50,'jnyca')

statement ok
INSERT INTO tab0 VALUES(3,64,60.23,'dnbhi',36,30.39,'euidd')

statement ok
INSERT INTO tab0 VALUES(4,55,61.31,'iavti',3,79.6,'zspop')

statement ok
INSERT INTO tab0 VALUES(5,33,62.14,'qtarv',44,5.90,'cpqhq')

statement ok
INSERT INTO tab0 VALUES(6,35,77.43,'kxrhz',2,6.22,'dceta')

statement ok
INSERT INTO tab0 VALUES(7,16,72.37,'pdqyv',46,7.41,'mklzs')

statement ok
INSERT INTO tab0 VALUES(8,59,22.80,'hsyda',76,28.2,'biurr')

statement ok
INSERT INTO tab0 VALUES(9,89,83.29,'gnooj',45,46.92,'sngkg')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1,col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,40,84.36,'pbuvx',15,54.62,'kduvu')

statement ok
INSERT INTO tab0 VALUES(1,80,72.41,'unqes',65,49.49,'gnknv')

statement ok
INSERT INTO tab0 VALUES(2,7,37.51,'etlkh',54,8.64,'crmoy')

statement ok
INSERT INTO tab0 VALUES(3,39,48.77,'zomek',12,61.36,'ravjy')

statement ok
INSERT INTO tab0 VALUES(4,28,86.92,'njllo',9,30.10,'cmgzl')

statement ok
INSERT INTO tab0 VALUES(5,63,6.44,'ygshh',61,94.65,'puimr')

statement ok
INSERT INTO tab0 VALUES(6,89,3.67,'rdkhy',45,55.20,'cpzrw')

statement ok
INSERT INTO tab0 VALUES(7,17,70.95,'hvrok',10,87.50,'vnbqa')

statement ok
INSERT INTO tab0 VALUES(8,41,64.74,'xjotm',90,19.0,'bibpm')

statement ok
INSERT INTO tab0 VALUES(9,36,67.75,'zvjks',19,79.95,'oarcp')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1,col0 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3,col1 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col1 > 16.64)) OR col3 <= 80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 > 16.64)) OR col3 <= 80
----

query I rowsort label-1155
SELECT pk FROM tab0 WHERE NOT (((col1 > 16.64)) OR col3 <= 80)
----

statement ok
DELETE FROM tab1 WHERE ((col1 > 16.64)) OR col3 <= 80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 > 16.64)) OR col3 <= 80
----

query I rowsort label-1155
SELECT pk FROM tab1 WHERE NOT (((col1 > 16.64)) OR col3 <= 80)
----

statement ok
DELETE FROM tab2 WHERE ((col1 > 16.64)) OR col3 <= 80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 > 16.64)) OR col3 <= 80
----

query I rowsort label-1155
SELECT pk FROM tab2 WHERE NOT (((col1 > 16.64)) OR col3 <= 80)
----

statement ok
DELETE FROM tab3 WHERE ((col1 > 16.64)) OR col3 <= 80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 > 16.64)) OR col3 <= 80
----

query I rowsort label-1155
SELECT pk FROM tab3 WHERE NOT (((col1 > 16.64)) OR col3 <= 80)
----

statement ok
DELETE FROM tab4 WHERE ((col1 > 16.64)) OR col3 <= 80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 > 16.64)) OR col3 <= 80
----

query I rowsort label-1155
SELECT pk FROM tab4 WHERE NOT (((col1 > 16.64)) OR col3 <= 80)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,98,90.76,'tjkgw',2,83.25,'mvvrc')

statement ok
INSERT INTO tab0 VALUES(1,21,10.84,'memnw',18,29.55,'toqsc')

statement ok
INSERT INTO tab0 VALUES(2,56,58.59,'fkfgi',76,45.49,'nednh')

statement ok
INSERT INTO tab0 VALUES(3,37,39.76,'yimla',23,87.22,'okyya')

statement ok
INSERT INTO tab0 VALUES(4,6,31.93,'hhqgl',74,21.75,'eonvj')

statement ok
INSERT INTO tab0 VALUES(5,25,47.56,'bxlxl',19,76.5,'suykm')

statement ok
INSERT INTO tab0 VALUES(6,91,2.17,'zdmab',37,13.21,'eemgn')

statement ok
INSERT INTO tab0 VALUES(7,47,68.46,'hmwrw',13,86.55,'xxglz')

statement ok
INSERT INTO tab0 VALUES(8,95,45.39,'javnt',46,1.73,'efvqm')

statement ok
INSERT INTO tab0 VALUES(9,7,15.36,'iolvm',61,88.90,'wvvjm')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0,col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1 DESC,col3,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 > 2.7)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 2.7)
----

query I rowsort label-1170
SELECT pk FROM tab0 WHERE NOT ((col1 > 2.7))
----
6

statement ok
DELETE FROM tab1 WHERE (col1 > 2.7)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 2.7)
----

query I rowsort label-1170
SELECT pk FROM tab1 WHERE NOT ((col1 > 2.7))
----
6

statement ok
DELETE FROM tab2 WHERE (col1 > 2.7)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 2.7)
----

query I rowsort label-1170
SELECT pk FROM tab2 WHERE NOT ((col1 > 2.7))
----
6

statement ok
DELETE FROM tab3 WHERE (col1 > 2.7)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 2.7)
----

query I rowsort label-1170
SELECT pk FROM tab3 WHERE NOT ((col1 > 2.7))
----
6

statement ok
DELETE FROM tab4 WHERE (col1 > 2.7)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 2.7)
----

query I rowsort label-1170
SELECT pk FROM tab4 WHERE NOT ((col1 > 2.7))
----
6

statement ok
DELETE FROM tab0 WHERE (col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46
----

query I rowsort label-1185
SELECT pk FROM tab0 WHERE NOT ((col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46)
----

statement ok
DELETE FROM tab1 WHERE (col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46
----

query I rowsort label-1185
SELECT pk FROM tab1 WHERE NOT ((col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46)
----

statement ok
DELETE FROM tab2 WHERE (col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46
----

query I rowsort label-1185
SELECT pk FROM tab2 WHERE NOT ((col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46)
----

statement ok
DELETE FROM tab3 WHERE (col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46
----

query I rowsort label-1185
SELECT pk FROM tab3 WHERE NOT ((col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46)
----

statement ok
DELETE FROM tab4 WHERE (col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46
----

query I rowsort label-1185
SELECT pk FROM tab4 WHERE NOT ((col3 < 14 OR col1 IS NULL OR col4 > 58.24) AND (col0 < 99) OR (((col0 <= 60) AND (col1 > 99.15))) AND col1 <= 34.75 OR col3 >= 1 OR col3 = 57 AND col4 < 35.56 OR col3 = 46)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,58,79.87,'pvvov',1,93.3,'ussdu')

statement ok
INSERT INTO tab0 VALUES(1,22,22.81,'dbysy',36,23.66,'qgsiv')

statement ok
INSERT INTO tab0 VALUES(2,10,42.51,'rvhiy',3,31.23,'inxpj')

statement ok
INSERT INTO tab0 VALUES(3,46,70.94,'qbmxa',4,14.71,'insyk')

statement ok
INSERT INTO tab0 VALUES(4,87,36.9,'hdbhk',31,0.15,'qewpx')

statement ok
INSERT INTO tab0 VALUES(5,38,32.15,'kxata',78,10.87,'rnykc')

statement ok
INSERT INTO tab0 VALUES(6,60,71.57,'wtofb',55,19.52,'usvun')

statement ok
INSERT INTO tab0 VALUES(7,89,56.22,'ixqep',97,20.22,'vhrzg')

statement ok
INSERT INTO tab0 VALUES(8,41,37.52,'wlpbh',83,84.70,'xcfbw')

statement ok
INSERT INTO tab0 VALUES(9,32,72.56,'lkufx',42,27.44,'xrodu')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18))
----

query I rowsort label-1200
SELECT pk FROM tab0 WHERE NOT (((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18)))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab1 WHERE ((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18))
----

query I rowsort label-1200
SELECT pk FROM tab1 WHERE NOT (((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18)))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab2 WHERE ((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18))
----

query I rowsort label-1200
SELECT pk FROM tab2 WHERE NOT (((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18)))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab3 WHERE ((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18))
----

query I rowsort label-1200
SELECT pk FROM tab3 WHERE NOT (((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18)))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab4 WHERE ((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18))
----

query I rowsort label-1200
SELECT pk FROM tab4 WHERE NOT (((col0 > 54 OR col1 <= 46.69) OR col3 <= 16) AND ((((col3 = 68)))) OR col1 < 8.79 AND col4 IS NULL AND col0 <= 79 OR ((col0 < 18)))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab0 WHERE ((col3 >= 12) OR (col3 < 88))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 12) OR (col3 < 88))
----

query I rowsort label-1215
SELECT pk FROM tab0 WHERE NOT (((col3 >= 12) OR (col3 < 88)))
----

statement ok
DELETE FROM tab1 WHERE ((col3 >= 12) OR (col3 < 88))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 12) OR (col3 < 88))
----

query I rowsort label-1215
SELECT pk FROM tab1 WHERE NOT (((col3 >= 12) OR (col3 < 88)))
----

statement ok
DELETE FROM tab2 WHERE ((col3 >= 12) OR (col3 < 88))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 12) OR (col3 < 88))
----

query I rowsort label-1215
SELECT pk FROM tab2 WHERE NOT (((col3 >= 12) OR (col3 < 88)))
----

statement ok
DELETE FROM tab3 WHERE ((col3 >= 12) OR (col3 < 88))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 12) OR (col3 < 88))
----

query I rowsort label-1215
SELECT pk FROM tab3 WHERE NOT (((col3 >= 12) OR (col3 < 88)))
----

statement ok
DELETE FROM tab4 WHERE ((col3 >= 12) OR (col3 < 88))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 12) OR (col3 < 88))
----

query I rowsort label-1215
SELECT pk FROM tab4 WHERE NOT (((col3 >= 12) OR (col3 < 88)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,41,48.0,'ozqbn',70,0.13,'pilxk')

statement ok
INSERT INTO tab0 VALUES(1,81,76.2,'zieqr',16,46.79,'uigew')

statement ok
INSERT INTO tab0 VALUES(2,43,60.19,'yjhdy',86,69.16,'ilsuw')

statement ok
INSERT INTO tab0 VALUES(3,13,47.98,'kiqiw',93,34.18,'qpujg')

statement ok
INSERT INTO tab0 VALUES(4,10,85.87,'eypia',40,36.91,'uonas')

statement ok
INSERT INTO tab0 VALUES(5,97,82.52,'plepn',31,63.64,'hexfi')

statement ok
INSERT INTO tab0 VALUES(6,99,70.86,'dokgy',88,57.0,'mnifk')

statement ok
INSERT INTO tab0 VALUES(7,11,68.26,'zyfdq',57,78.10,'hyiww')

statement ok
INSERT INTO tab0 VALUES(8,12,43.62,'rywum',26,65.66,'vebcz')

statement ok
INSERT INTO tab0 VALUES(9,74,71.50,'uzpvr',37,1.14,'bobqb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0,col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4,col3)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,19,91.81,'lonkj',97,12.24,'ckokj')

statement ok
INSERT INTO tab0 VALUES(1,68,54.52,'wrjvw',5,53.19,'iuvfv')

statement ok
INSERT INTO tab0 VALUES(2,55,71.5,'zpjok',2,34.21,'adhgk')

statement ok
INSERT INTO tab0 VALUES(3,82,66.85,'zglnl',65,51.56,'ypmsq')

statement ok
INSERT INTO tab0 VALUES(4,4,99.27,'kmaad',33,21.91,'pefuz')

statement ok
INSERT INTO tab0 VALUES(5,44,31.61,'vytva',15,41.52,'uugsv')

statement ok
INSERT INTO tab0 VALUES(6,3,86.32,'kmbkv',6,52.30,'gpayt')

statement ok
INSERT INTO tab0 VALUES(7,75,14.9,'qasaw',1,0.0,'jadgl')

statement ok
INSERT INTO tab0 VALUES(8,56,50.98,'xynus',3,3.26,'pucxe')

statement ok
INSERT INTO tab0 VALUES(9,61,82.53,'bzbxy',39,8.81,'keuuk')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1 DESC,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,8,92.80,'gebnk',76,2.89,'phgqv')

statement ok
INSERT INTO tab0 VALUES(1,75,23.8,'kcuti',18,78.89,'oazrb')

statement ok
INSERT INTO tab0 VALUES(2,18,49.22,'iaukm',61,67.56,'xwwba')

statement ok
INSERT INTO tab0 VALUES(3,32,21.85,'rlpse',14,71.96,'yihoq')

statement ok
INSERT INTO tab0 VALUES(4,42,83.78,'okrso',26,68.93,'upjcy')

statement ok
INSERT INTO tab0 VALUES(5,26,38.12,'etjef',2,74.14,'wrycu')

statement ok
INSERT INTO tab0 VALUES(6,19,5.42,'lfiwx',12,4.29,'rmwml')

statement ok
INSERT INTO tab0 VALUES(7,28,87.78,'olcqb',7,36.16,'icxvg')

statement ok
INSERT INTO tab0 VALUES(8,49,28.98,'skxno',28,75.81,'ftbmd')

statement ok
INSERT INTO tab0 VALUES(9,74,82.61,'rdeze',20,13.66,'ryorm')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1 DESC,col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1,col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97
----

query I rowsort label-1230
SELECT pk FROM tab0 WHERE NOT ((col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97)
----

statement ok
DELETE FROM tab1 WHERE (col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97
----

query I rowsort label-1230
SELECT pk FROM tab1 WHERE NOT ((col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97)
----

statement ok
DELETE FROM tab2 WHERE (col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97
----

query I rowsort label-1230
SELECT pk FROM tab2 WHERE NOT ((col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97)
----

statement ok
DELETE FROM tab3 WHERE (col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97
----

query I rowsort label-1230
SELECT pk FROM tab3 WHERE NOT ((col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97)
----

statement ok
DELETE FROM tab4 WHERE (col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97
----

query I rowsort label-1230
SELECT pk FROM tab4 WHERE NOT ((col4 <= 12.1) OR col4 <= 84.3 OR col1 <= 3.97)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,64,51.82,'avika',40,65.72,'radwm')

statement ok
INSERT INTO tab0 VALUES(1,37,97.23,'ecyti',3,98.5,'rbmtv')

statement ok
INSERT INTO tab0 VALUES(2,90,62.81,'bvmun',12,67.65,'kycgb')

statement ok
INSERT INTO tab0 VALUES(3,51,41.37,'idwxg',37,37.18,'wjfsk')

statement ok
INSERT INTO tab0 VALUES(4,85,14.18,'ciowo',94,41.32,'dejry')

statement ok
INSERT INTO tab0 VALUES(5,10,6.11,'xzecr',55,42.89,'rqaug')

statement ok
INSERT INTO tab0 VALUES(6,7,55.74,'aayup',61,88.0,'hoiaw')

statement ok
INSERT INTO tab0 VALUES(7,32,68.47,'gzras',38,87.15,'mglue')

statement ok
INSERT INTO tab0 VALUES(8,31,87.68,'ldauk',4,59.36,'etnav')

statement ok
INSERT INTO tab0 VALUES(9,49,53.83,'ijhhu',86,4.33,'jazkj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 < 62.35

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 62.35
----

query I rowsort label-1245
SELECT pk FROM tab0 WHERE NOT (col4 < 62.35)
----
0
1
2
6
7

statement ok
DELETE FROM tab1 WHERE col4 < 62.35

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 62.35
----

query I rowsort label-1245
SELECT pk FROM tab1 WHERE NOT (col4 < 62.35)
----
0
1
2
6
7

statement ok
DELETE FROM tab2 WHERE col4 < 62.35

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 62.35
----

query I rowsort label-1245
SELECT pk FROM tab2 WHERE NOT (col4 < 62.35)
----
0
1
2
6
7

statement ok
DELETE FROM tab3 WHERE col4 < 62.35

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 62.35
----

query I rowsort label-1245
SELECT pk FROM tab3 WHERE NOT (col4 < 62.35)
----
0
1
2
6
7

statement ok
DELETE FROM tab4 WHERE col4 < 62.35

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 62.35
----

query I rowsort label-1245
SELECT pk FROM tab4 WHERE NOT (col4 < 62.35)
----
0
1
2
6
7

statement ok
DELETE FROM tab0 WHERE col0 <= 36 OR col3 > 14

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 36 OR col3 > 14
----

query I rowsort label-1260
SELECT pk FROM tab0 WHERE NOT (col0 <= 36 OR col3 > 14)
----
1
2

statement ok
DELETE FROM tab1 WHERE col0 <= 36 OR col3 > 14

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 36 OR col3 > 14
----

query I rowsort label-1260
SELECT pk FROM tab1 WHERE NOT (col0 <= 36 OR col3 > 14)
----
1
2

statement ok
DELETE FROM tab2 WHERE col0 <= 36 OR col3 > 14

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 36 OR col3 > 14
----

query I rowsort label-1260
SELECT pk FROM tab2 WHERE NOT (col0 <= 36 OR col3 > 14)
----
1
2

statement ok
DELETE FROM tab3 WHERE col0 <= 36 OR col3 > 14

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 36 OR col3 > 14
----

query I rowsort label-1260
SELECT pk FROM tab3 WHERE NOT (col0 <= 36 OR col3 > 14)
----
1
2

statement ok
DELETE FROM tab4 WHERE col0 <= 36 OR col3 > 14

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 36 OR col3 > 14
----

query I rowsort label-1260
SELECT pk FROM tab4 WHERE NOT (col0 <= 36 OR col3 > 14)
----
1
2

statement ok
DELETE FROM tab0 WHERE ((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL)))
----

query I rowsort label-1275
SELECT pk FROM tab0 WHERE NOT (((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL))))
----
1

statement ok
DELETE FROM tab1 WHERE ((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL)))
----

query I rowsort label-1275
SELECT pk FROM tab1 WHERE NOT (((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL))))
----
1

statement ok
DELETE FROM tab2 WHERE ((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL)))
----

query I rowsort label-1275
SELECT pk FROM tab2 WHERE NOT (((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL))))
----
1

statement ok
DELETE FROM tab3 WHERE ((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL)))
----

query I rowsort label-1275
SELECT pk FROM tab3 WHERE NOT (((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL))))
----
1

statement ok
DELETE FROM tab4 WHERE ((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL)))
----

query I rowsort label-1275
SELECT pk FROM tab4 WHERE NOT (((((col1 <= 13.12) AND col3 = 76)) AND col3 IS NULL AND (col4 <= 96.56 AND (((col4 > 45.97) AND (col3 > 35 AND col3 = 36)) AND col3 > 0)) OR col4 <= 84.26 OR ((col3 < 16) AND col1 > 7.83 AND col3 < 75) AND (((((((((((col3 BETWEEN 46 AND 5)) OR col3 >= 53 OR col0 >= 69 OR (col0 >= 55) AND (col3 > 82 OR (col1 >= 12.23) AND col3 < 51 AND ((col1 < 2.38)) OR col1 >= 11.62 AND col4 IS NULL OR (col0 < 89) AND (col0 > 31 OR col3 > 2 OR col3 < 77) AND col3 BETWEEN 59 AND 11 AND (col0 < 81) OR ((col0 = 17)) OR (col3 >= 56) AND (col4 <= 76.63)) AND col4 BETWEEN 95.56 AND 63.15) OR (col1 > 91.10) AND (col3 < 57 OR col3 <= 72 OR col3 <= 12 AND ((((col4 > 89.60)) AND (col3 <= 11 OR (col3 IS NULL) OR col3 = 76 AND col4 >= 27.62 OR (col3 >= 68 AND (col3 IS NULL) AND col0 = 74 AND (col1 > 39.45) AND (col0 <= 92)) AND (col3 IS NULL)))) OR (col3 BETWEEN 94 AND 71)) AND col0 < 35 OR col4 < 61.80))))))) OR (col0 IS NULL))))
----
1

statement ok
DELETE FROM tab0 WHERE col4 <= 22.94 OR (col3 < 56)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 22.94 OR (col3 < 56)
----

query I rowsort label-1290
SELECT pk FROM tab0 WHERE NOT (col4 <= 22.94 OR (col3 < 56))
----

statement ok
DELETE FROM tab1 WHERE col4 <= 22.94 OR (col3 < 56)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 22.94 OR (col3 < 56)
----

query I rowsort label-1290
SELECT pk FROM tab1 WHERE NOT (col4 <= 22.94 OR (col3 < 56))
----

statement ok
DELETE FROM tab2 WHERE col4 <= 22.94 OR (col3 < 56)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 22.94 OR (col3 < 56)
----

query I rowsort label-1290
SELECT pk FROM tab2 WHERE NOT (col4 <= 22.94 OR (col3 < 56))
----

statement ok
DELETE FROM tab3 WHERE col4 <= 22.94 OR (col3 < 56)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 22.94 OR (col3 < 56)
----

query I rowsort label-1290
SELECT pk FROM tab3 WHERE NOT (col4 <= 22.94 OR (col3 < 56))
----

statement ok
DELETE FROM tab4 WHERE col4 <= 22.94 OR (col3 < 56)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 22.94 OR (col3 < 56)
----

query I rowsort label-1290
SELECT pk FROM tab4 WHERE NOT (col4 <= 22.94 OR (col3 < 56))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,90,92.21,'ncmlo',65,25.82,'xckri')

statement ok
INSERT INTO tab0 VALUES(1,96,70.25,'mfbzq',38,30.38,'nvudr')

statement ok
INSERT INTO tab0 VALUES(2,84,58.83,'uwubi',89,75.16,'ulpec')

statement ok
INSERT INTO tab0 VALUES(3,60,14.85,'vyjvu',8,60.82,'qwnzp')

statement ok
INSERT INTO tab0 VALUES(4,57,20.55,'vijuc',22,88.93,'lbxql')

statement ok
INSERT INTO tab0 VALUES(5,46,40.62,'vduxt',0,27.10,'lfkhq')

statement ok
INSERT INTO tab0 VALUES(6,48,87.35,'yrwvo',69,73.8,'jyphs')

statement ok
INSERT INTO tab0 VALUES(7,49,84.72,'gunvx',27,15.89,'efshi')

statement ok
INSERT INTO tab0 VALUES(8,10,23.58,'gtbft',51,94.95,'rrcjs')

statement ok
INSERT INTO tab0 VALUES(9,82,34.73,'qpvdx',17,66.23,'atwdn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 IN (10.4)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IN (10.4)
----

query I rowsort label-1305
SELECT pk FROM tab0 WHERE NOT (col1 IN (10.4))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 IN (10.4)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IN (10.4)
----

query I rowsort label-1305
SELECT pk FROM tab1 WHERE NOT (col1 IN (10.4))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 IN (10.4)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IN (10.4)
----

query I rowsort label-1305
SELECT pk FROM tab2 WHERE NOT (col1 IN (10.4))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 IN (10.4)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IN (10.4)
----

query I rowsort label-1305
SELECT pk FROM tab3 WHERE NOT (col1 IN (10.4))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 IN (10.4)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IN (10.4)
----

query I rowsort label-1305
SELECT pk FROM tab4 WHERE NOT (col1 IN (10.4))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 > 64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 64
----

query I rowsort label-1320
SELECT pk FROM tab0 WHERE NOT (col3 > 64)
----
1
3
4
5
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 > 64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 64
----

query I rowsort label-1320
SELECT pk FROM tab1 WHERE NOT (col3 > 64)
----
1
3
4
5
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 > 64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 64
----

query I rowsort label-1320
SELECT pk FROM tab2 WHERE NOT (col3 > 64)
----
1
3
4
5
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 > 64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 64
----

query I rowsort label-1320
SELECT pk FROM tab3 WHERE NOT (col3 > 64)
----
1
3
4
5
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 > 64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 64
----

query I rowsort label-1320
SELECT pk FROM tab4 WHERE NOT (col3 > 64)
----
1
3
4
5
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 < 69.26

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 69.26
----

query I rowsort label-1335
SELECT pk FROM tab0 WHERE NOT (col4 < 69.26)
----
4
8

statement ok
DELETE FROM tab1 WHERE col4 < 69.26

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 69.26
----

query I rowsort label-1335
SELECT pk FROM tab1 WHERE NOT (col4 < 69.26)
----
4
8

statement ok
DELETE FROM tab2 WHERE col4 < 69.26

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 69.26
----

query I rowsort label-1335
SELECT pk FROM tab2 WHERE NOT (col4 < 69.26)
----
4
8

statement ok
DELETE FROM tab3 WHERE col4 < 69.26

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 69.26
----

query I rowsort label-1335
SELECT pk FROM tab3 WHERE NOT (col4 < 69.26)
----
4
8

statement ok
DELETE FROM tab4 WHERE col4 < 69.26

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 69.26
----

query I rowsort label-1335
SELECT pk FROM tab4 WHERE NOT (col4 < 69.26)
----
4
8

statement ok
DELETE FROM tab0 WHERE col1 < 81.92

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 81.92
----

query I rowsort label-1350
SELECT pk FROM tab0 WHERE NOT (col1 < 81.92)
----

statement ok
DELETE FROM tab1 WHERE col1 < 81.92

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 81.92
----

query I rowsort label-1350
SELECT pk FROM tab1 WHERE NOT (col1 < 81.92)
----

statement ok
DELETE FROM tab2 WHERE col1 < 81.92

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 81.92
----

query I rowsort label-1350
SELECT pk FROM tab2 WHERE NOT (col1 < 81.92)
----

statement ok
DELETE FROM tab3 WHERE col1 < 81.92

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 81.92
----

query I rowsort label-1350
SELECT pk FROM tab3 WHERE NOT (col1 < 81.92)
----

statement ok
DELETE FROM tab4 WHERE col1 < 81.92

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 81.92
----

query I rowsort label-1350
SELECT pk FROM tab4 WHERE NOT (col1 < 81.92)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,97,48.14,'lsdvu',37,50.66,'levqn')

statement ok
INSERT INTO tab0 VALUES(1,11,28.74,'xzdai',70,97.76,'bgwps')

statement ok
INSERT INTO tab0 VALUES(2,43,53.41,'ihrfn',83,38.52,'wwokc')

statement ok
INSERT INTO tab0 VALUES(3,15,79.2,'ncasi',11,84.7,'uxupa')

statement ok
INSERT INTO tab0 VALUES(4,65,3.17,'cfiyk',88,49.59,'unwdn')

statement ok
INSERT INTO tab0 VALUES(5,13,81.76,'tkzae',12,56.89,'towal')

statement ok
INSERT INTO tab0 VALUES(6,24,34.66,'gcjmz',4,54.5,'xhmyr')

statement ok
INSERT INTO tab0 VALUES(7,70,65.32,'sxkvg',75,28.6,'scmxe')

statement ok
INSERT INTO tab0 VALUES(8,89,70.40,'nfkfn',86,12.39,'cxnud')

statement ok
INSERT INTO tab0 VALUES(9,54,49.38,'qafyq',9,3.68,'palbb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0,col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((col1 >= 50.89) OR col1 >= 21.58))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 >= 50.89) OR col1 >= 21.58))
----

query I rowsort label-1365
SELECT pk FROM tab0 WHERE NOT ((((col1 >= 50.89) OR col1 >= 21.58)))
----
4

statement ok
DELETE FROM tab1 WHERE (((col1 >= 50.89) OR col1 >= 21.58))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 >= 50.89) OR col1 >= 21.58))
----

query I rowsort label-1365
SELECT pk FROM tab1 WHERE NOT ((((col1 >= 50.89) OR col1 >= 21.58)))
----
4

statement ok
DELETE FROM tab2 WHERE (((col1 >= 50.89) OR col1 >= 21.58))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 >= 50.89) OR col1 >= 21.58))
----

query I rowsort label-1365
SELECT pk FROM tab2 WHERE NOT ((((col1 >= 50.89) OR col1 >= 21.58)))
----
4

statement ok
DELETE FROM tab3 WHERE (((col1 >= 50.89) OR col1 >= 21.58))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 >= 50.89) OR col1 >= 21.58))
----

query I rowsort label-1365
SELECT pk FROM tab3 WHERE NOT ((((col1 >= 50.89) OR col1 >= 21.58)))
----
4

statement ok
DELETE FROM tab4 WHERE (((col1 >= 50.89) OR col1 >= 21.58))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 >= 50.89) OR col1 >= 21.58))
----

query I rowsort label-1365
SELECT pk FROM tab4 WHERE NOT ((((col1 >= 50.89) OR col1 >= 21.58)))
----
4

statement ok
DELETE FROM tab0 WHERE (((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24))))))
----

query I rowsort label-1380
SELECT pk FROM tab0 WHERE NOT ((((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24)))))))
----

statement ok
DELETE FROM tab1 WHERE (((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24))))))
----

query I rowsort label-1380
SELECT pk FROM tab1 WHERE NOT ((((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24)))))))
----

statement ok
DELETE FROM tab2 WHERE (((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24))))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24))))))
----

query I rowsort label-1380
SELECT pk FROM tab2 WHERE NOT ((((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24)))))))
----

statement ok
DELETE FROM tab3 WHERE (((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24))))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24))))))
----

query I rowsort label-1380
SELECT pk FROM tab3 WHERE NOT ((((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24)))))))
----

statement ok
DELETE FROM tab4 WHERE (((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24))))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24))))))
----

query I rowsort label-1380
SELECT pk FROM tab4 WHERE NOT ((((col0 < 87 AND col0 < 67 OR col1 >= 98.13 OR ((col3 > 92 OR ((((col0 > 59 AND (col0 <= 44) AND col1 >= 83.95))) OR col4 >= 71.58) OR ((col0 > 91) AND ((col3 IN (87,95,9,37)))) AND (((((col1 IS NULL))))) OR col3 > 36 OR (col3 > 75) OR (col1 IN (36.74,17.57)) OR col1 > 11.63) AND (((((col0 <= 22 AND col1 >= 63.25 AND (col0 > 24))))) OR (col1 <= 43.44) AND (col3 = 77)) OR (((col1 <= 7.73) AND col4 < 39.66)) OR col1 IS NULL OR ((col3 IN (72,49,82,40,95)) AND col1 <= 49.3 OR (col3 = 24)))))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,2,26.6,'tvjmr',24,82.7,'ujvcn')

statement ok
INSERT INTO tab0 VALUES(1,58,16.38,'qflig',77,40.79,'kaczr')

statement ok
INSERT INTO tab0 VALUES(2,69,29.88,'vryqt',87,72.40,'jyvpk')

statement ok
INSERT INTO tab0 VALUES(3,14,90.82,'lcgvn',31,14.91,'qrvhf')

statement ok
INSERT INTO tab0 VALUES(4,8,23.57,'glsfv',1,53.71,'vmiqr')

statement ok
INSERT INTO tab0 VALUES(5,63,58.25,'wgwvb',69,42.28,'nbjfl')

statement ok
INSERT INTO tab0 VALUES(6,51,47.33,'timzt',46,9.76,'dftfo')

statement ok
INSERT INTO tab0 VALUES(7,64,75.27,'kiqvu',48,76.57,'jldxg')

statement ok
INSERT INTO tab0 VALUES(8,78,74.13,'qlzam',56,64.7,'znjpk')

statement ok
INSERT INTO tab0 VALUES(9,22,37.21,'iasms',79,11.18,'edkvn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,14,83.50,'eukto',12,80.1,'cufzg')

statement ok
INSERT INTO tab0 VALUES(1,72,44.4,'lnezn',68,10.80,'wmvtu')

statement ok
INSERT INTO tab0 VALUES(2,82,2.46,'eciah',36,41.87,'ixhpd')

statement ok
INSERT INTO tab0 VALUES(3,30,22.34,'afltd',99,43.66,'qnutj')

statement ok
INSERT INTO tab0 VALUES(4,85,7.13,'cmflf',8,79.80,'fqccx')

statement ok
INSERT INTO tab0 VALUES(5,68,9.80,'uiffb',45,18.77,'canrj')

statement ok
INSERT INTO tab0 VALUES(6,15,42.47,'fjhtm',86,47.49,'xpclw')

statement ok
INSERT INTO tab0 VALUES(7,34,94.4,'cckxv',63,83.96,'bxrwy')

statement ok
INSERT INTO tab0 VALUES(8,71,40.77,'bocja',29,86.89,'vxclw')

statement ok
INSERT INTO tab0 VALUES(9,74,54.96,'nbier',16,75.32,'mnhnt')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4,col1 DESC,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0 DESC,col4)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col3 >= 93))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 93))
----

query I rowsort label-1395
SELECT pk FROM tab0 WHERE NOT (((col3 >= 93)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab1 WHERE ((col3 >= 93))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 93))
----

query I rowsort label-1395
SELECT pk FROM tab1 WHERE NOT (((col3 >= 93)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab2 WHERE ((col3 >= 93))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 93))
----

query I rowsort label-1395
SELECT pk FROM tab2 WHERE NOT (((col3 >= 93)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab3 WHERE ((col3 >= 93))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 93))
----

query I rowsort label-1395
SELECT pk FROM tab3 WHERE NOT (((col3 >= 93)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab4 WHERE ((col3 >= 93))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 93))
----

query I rowsort label-1395
SELECT pk FROM tab4 WHERE NOT (((col3 >= 93)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab0 WHERE col3 < 60

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 60
----

query I rowsort label-1410
SELECT pk FROM tab0 WHERE NOT (col3 < 60)
----
1
6
7

statement ok
DELETE FROM tab1 WHERE col3 < 60

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 60
----

query I rowsort label-1410
SELECT pk FROM tab1 WHERE NOT (col3 < 60)
----
1
6
7

statement ok
DELETE FROM tab2 WHERE col3 < 60

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 60
----

query I rowsort label-1410
SELECT pk FROM tab2 WHERE NOT (col3 < 60)
----
1
6
7

statement ok
DELETE FROM tab3 WHERE col3 < 60

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 60
----

query I rowsort label-1410
SELECT pk FROM tab3 WHERE NOT (col3 < 60)
----
1
6
7

statement ok
DELETE FROM tab4 WHERE col3 < 60

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 60
----

query I rowsort label-1410
SELECT pk FROM tab4 WHERE NOT (col3 < 60)
----
1
6
7

statement ok
DELETE FROM tab0 WHERE col0 > 91

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 91
----

query I rowsort label-1425
SELECT pk FROM tab0 WHERE NOT (col0 > 91)
----
1
6
7

statement ok
DELETE FROM tab1 WHERE col0 > 91

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 91
----

query I rowsort label-1425
SELECT pk FROM tab1 WHERE NOT (col0 > 91)
----
1
6
7

statement ok
DELETE FROM tab2 WHERE col0 > 91

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 91
----

query I rowsort label-1425
SELECT pk FROM tab2 WHERE NOT (col0 > 91)
----
1
6
7

statement ok
DELETE FROM tab3 WHERE col0 > 91

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 91
----

query I rowsort label-1425
SELECT pk FROM tab3 WHERE NOT (col0 > 91)
----
1
6
7

statement ok
DELETE FROM tab4 WHERE col0 > 91

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 91
----

query I rowsort label-1425
SELECT pk FROM tab4 WHERE NOT (col0 > 91)
----
1
6
7

statement ok
DELETE FROM tab0 WHERE col0 < 64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 64
----

query I rowsort label-1440
SELECT pk FROM tab0 WHERE NOT (col0 < 64)
----
1

statement ok
DELETE FROM tab1 WHERE col0 < 64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 64
----

query I rowsort label-1440
SELECT pk FROM tab1 WHERE NOT (col0 < 64)
----
1

statement ok
DELETE FROM tab2 WHERE col0 < 64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 64
----

query I rowsort label-1440
SELECT pk FROM tab2 WHERE NOT (col0 < 64)
----
1

statement ok
DELETE FROM tab3 WHERE col0 < 64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 64
----

query I rowsort label-1440
SELECT pk FROM tab3 WHERE NOT (col0 < 64)
----
1

statement ok
DELETE FROM tab4 WHERE col0 < 64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 64
----

query I rowsort label-1440
SELECT pk FROM tab4 WHERE NOT (col0 < 64)
----
1

statement ok
DELETE FROM tab0 WHERE col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30)
----

query I rowsort label-1455
SELECT pk FROM tab0 WHERE NOT (col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30))
----
1

statement ok
DELETE FROM tab1 WHERE col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30)
----

query I rowsort label-1455
SELECT pk FROM tab1 WHERE NOT (col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30))
----
1

statement ok
DELETE FROM tab2 WHERE col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30)
----

query I rowsort label-1455
SELECT pk FROM tab2 WHERE NOT (col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30))
----
1

statement ok
DELETE FROM tab3 WHERE col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30)
----

query I rowsort label-1455
SELECT pk FROM tab3 WHERE NOT (col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30))
----
1

statement ok
DELETE FROM tab4 WHERE col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30)
----

query I rowsort label-1455
SELECT pk FROM tab4 WHERE NOT (col4 > 90.7 AND ((col3 <= 32) AND col3 IS NULL OR col4 < 59.30))
----
1

statement ok
DELETE FROM tab0 WHERE col3 <= 47

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 47
----

query I rowsort label-1470
SELECT pk FROM tab0 WHERE NOT (col3 <= 47)
----
1

statement ok
DELETE FROM tab1 WHERE col3 <= 47

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 47
----

query I rowsort label-1470
SELECT pk FROM tab1 WHERE NOT (col3 <= 47)
----
1

statement ok
DELETE FROM tab2 WHERE col3 <= 47

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 47
----

query I rowsort label-1470
SELECT pk FROM tab2 WHERE NOT (col3 <= 47)
----
1

statement ok
DELETE FROM tab3 WHERE col3 <= 47

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 47
----

query I rowsort label-1470
SELECT pk FROM tab3 WHERE NOT (col3 <= 47)
----
1

statement ok
DELETE FROM tab4 WHERE col3 <= 47

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 47
----

query I rowsort label-1470
SELECT pk FROM tab4 WHERE NOT (col3 <= 47)
----
1

statement ok
DELETE FROM tab0 WHERE (col1 >= 16.91)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 16.91)
----

query I rowsort label-1485
SELECT pk FROM tab0 WHERE NOT ((col1 >= 16.91))
----

statement ok
DELETE FROM tab1 WHERE (col1 >= 16.91)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 16.91)
----

query I rowsort label-1485
SELECT pk FROM tab1 WHERE NOT ((col1 >= 16.91))
----

statement ok
DELETE FROM tab2 WHERE (col1 >= 16.91)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 16.91)
----

query I rowsort label-1485
SELECT pk FROM tab2 WHERE NOT ((col1 >= 16.91))
----

statement ok
DELETE FROM tab3 WHERE (col1 >= 16.91)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 16.91)
----

query I rowsort label-1485
SELECT pk FROM tab3 WHERE NOT ((col1 >= 16.91))
----

statement ok
DELETE FROM tab4 WHERE (col1 >= 16.91)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 16.91)
----

query I rowsort label-1485
SELECT pk FROM tab4 WHERE NOT ((col1 >= 16.91))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,52,3.6,'zurtx',2,3.49,'oygip')

statement ok
INSERT INTO tab0 VALUES(1,94,59.51,'tpben',85,23.64,'pclbc')

statement ok
INSERT INTO tab0 VALUES(2,79,78.70,'vonnj',11,70.71,'ejqkw')

statement ok
INSERT INTO tab0 VALUES(3,1,57.44,'utxjk',65,72.56,'rlasi')

statement ok
INSERT INTO tab0 VALUES(4,88,94.43,'nmueq',68,38.52,'eejxi')

statement ok
INSERT INTO tab0 VALUES(5,11,51.43,'vebmy',95,26.54,'wrplz')

statement ok
INSERT INTO tab0 VALUES(6,98,22.32,'crmcs',83,4.23,'xmioa')

statement ok
INSERT INTO tab0 VALUES(7,49,89.26,'vhlyi',44,11.8,'xsojs')

statement ok
INSERT INTO tab0 VALUES(8,42,90.83,'kxooz',80,21.53,'ociaf')

statement ok
INSERT INTO tab0 VALUES(9,55,75.11,'ndcyb',92,5.9,'ifhsk')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC,col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68
----

query I rowsort label-1500
SELECT pk FROM tab0 WHERE NOT (col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68)
----
0
3
5
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68
----

query I rowsort label-1500
SELECT pk FROM tab1 WHERE NOT (col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68)
----
0
3
5
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68
----

query I rowsort label-1500
SELECT pk FROM tab2 WHERE NOT (col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68)
----
0
3
5
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68
----

query I rowsort label-1500
SELECT pk FROM tab3 WHERE NOT (col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68)
----
0
3
5
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68
----

query I rowsort label-1500
SELECT pk FROM tab4 WHERE NOT (col0 > 68 AND col0 > 77 OR (((col1 IN (57.34,88.36,53.41)))) OR col0 >= 68)
----
0
3
5
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 IN (98,78) AND col4 < 50.57

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (98,78) AND col4 < 50.57
----

query I rowsort label-1515
SELECT pk FROM tab0 WHERE NOT (col3 IN (98,78) AND col4 < 50.57)
----
0
3
5
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 IN (98,78) AND col4 < 50.57

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (98,78) AND col4 < 50.57
----

query I rowsort label-1515
SELECT pk FROM tab1 WHERE NOT (col3 IN (98,78) AND col4 < 50.57)
----
0
3
5
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 IN (98,78) AND col4 < 50.57

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (98,78) AND col4 < 50.57
----

query I rowsort label-1515
SELECT pk FROM tab2 WHERE NOT (col3 IN (98,78) AND col4 < 50.57)
----
0
3
5
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 IN (98,78) AND col4 < 50.57

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (98,78) AND col4 < 50.57
----

query I rowsort label-1515
SELECT pk FROM tab3 WHERE NOT (col3 IN (98,78) AND col4 < 50.57)
----
0
3
5
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 IN (98,78) AND col4 < 50.57

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (98,78) AND col4 < 50.57
----

query I rowsort label-1515
SELECT pk FROM tab4 WHERE NOT (col3 IN (98,78) AND col4 < 50.57)
----
0
3
5
7
8
9

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,8,9.55,'lioia',5,6.65,'dzuwy')

statement ok
INSERT INTO tab0 VALUES(1,37,98.1,'kaitw',12,50.6,'suxbs')

statement ok
INSERT INTO tab0 VALUES(2,16,0.73,'fdxfu',50,57.37,'tizah')

statement ok
INSERT INTO tab0 VALUES(3,73,67.93,'swrux',64,34.15,'ewesx')

statement ok
INSERT INTO tab0 VALUES(4,86,14.94,'relgx',75,58.89,'dwbrd')

statement ok
INSERT INTO tab0 VALUES(5,36,31.83,'pqqul',45,86.61,'gnwqz')

statement ok
INSERT INTO tab0 VALUES(6,77,99.97,'wugof',34,72.49,'roldz')

statement ok
INSERT INTO tab0 VALUES(7,96,100.74,'dccjw',71,78.49,'erpcj')

statement ok
INSERT INTO tab0 VALUES(8,75,21.10,'cezhn',8,84.98,'ggbqg')

statement ok
INSERT INTO tab0 VALUES(9,55,89.23,'yvqfl',89,1.36,'kyrkn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1,col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 > 93

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 93
----

query I rowsort label-1530
SELECT pk FROM tab0 WHERE NOT (col3 > 93)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 > 93

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 93
----

query I rowsort label-1530
SELECT pk FROM tab1 WHERE NOT (col3 > 93)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 > 93

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 93
----

query I rowsort label-1530
SELECT pk FROM tab2 WHERE NOT (col3 > 93)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 > 93

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 93
----

query I rowsort label-1530
SELECT pk FROM tab3 WHERE NOT (col3 > 93)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 > 93

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 93
----

query I rowsort label-1530
SELECT pk FROM tab4 WHERE NOT (col3 > 93)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 = 21.11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 21.11
----

query I rowsort label-1545
SELECT pk FROM tab0 WHERE NOT (col1 = 21.11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 = 21.11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 21.11
----

query I rowsort label-1545
SELECT pk FROM tab1 WHERE NOT (col1 = 21.11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 = 21.11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 21.11
----

query I rowsort label-1545
SELECT pk FROM tab2 WHERE NOT (col1 = 21.11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 = 21.11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 21.11
----

query I rowsort label-1545
SELECT pk FROM tab3 WHERE NOT (col1 = 21.11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 = 21.11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 21.11
----

query I rowsort label-1545
SELECT pk FROM tab4 WHERE NOT (col1 = 21.11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col1 < 9.93)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 9.93)
----

query I rowsort label-1560
SELECT pk FROM tab0 WHERE NOT ((col1 < 9.93))
----
1
3
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col1 < 9.93)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 9.93)
----

query I rowsort label-1560
SELECT pk FROM tab1 WHERE NOT ((col1 < 9.93))
----
1
3
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col1 < 9.93)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 9.93)
----

query I rowsort label-1560
SELECT pk FROM tab2 WHERE NOT ((col1 < 9.93))
----
1
3
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col1 < 9.93)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 9.93)
----

query I rowsort label-1560
SELECT pk FROM tab3 WHERE NOT ((col1 < 9.93))
----
1
3
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col1 < 9.93)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 9.93)
----

query I rowsort label-1560
SELECT pk FROM tab4 WHERE NOT ((col1 < 9.93))
----
1
3
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col3 >= 10)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 10)
----

query I rowsort label-1575
SELECT pk FROM tab0 WHERE NOT ((col3 >= 10))
----
8

statement ok
DELETE FROM tab1 WHERE (col3 >= 10)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 10)
----

query I rowsort label-1575
SELECT pk FROM tab1 WHERE NOT ((col3 >= 10))
----
8

statement ok
DELETE FROM tab2 WHERE (col3 >= 10)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 10)
----

query I rowsort label-1575
SELECT pk FROM tab2 WHERE NOT ((col3 >= 10))
----
8

statement ok
DELETE FROM tab3 WHERE (col3 >= 10)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 10)
----

query I rowsort label-1575
SELECT pk FROM tab3 WHERE NOT ((col3 >= 10))
----
8

statement ok
DELETE FROM tab4 WHERE (col3 >= 10)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 10)
----

query I rowsort label-1575
SELECT pk FROM tab4 WHERE NOT ((col3 >= 10))
----
8

statement ok
DELETE FROM tab0 WHERE ((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49
----

query I rowsort label-1590
SELECT pk FROM tab0 WHERE NOT (((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49)
----

statement ok
DELETE FROM tab1 WHERE ((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49
----

query I rowsort label-1590
SELECT pk FROM tab1 WHERE NOT (((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49)
----

statement ok
DELETE FROM tab2 WHERE ((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49
----

query I rowsort label-1590
SELECT pk FROM tab2 WHERE NOT (((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49)
----

statement ok
DELETE FROM tab3 WHERE ((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49
----

query I rowsort label-1590
SELECT pk FROM tab3 WHERE NOT (((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49)
----

statement ok
DELETE FROM tab4 WHERE ((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49
----

query I rowsort label-1590
SELECT pk FROM tab4 WHERE NOT (((col4 >= 56.81 AND col1 < 14.49)) OR col1 > 19.88 OR col0 <= 49)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,80,41.37,'ocblt',88,4.60,'ixrys')

statement ok
INSERT INTO tab0 VALUES(1,57,78.20,'yvdyz',47,73.46,'yfptv')

statement ok
INSERT INTO tab0 VALUES(2,19,43.40,'gkokx',58,41.24,'txdmv')

statement ok
INSERT INTO tab0 VALUES(3,49,82.46,'fsfod',18,18.52,'dupyg')

statement ok
INSERT INTO tab0 VALUES(4,36,33.13,'xrurq',84,38.21,'ufhkz')

statement ok
INSERT INTO tab0 VALUES(5,83,90.48,'jkmqo',85,20.63,'yiiwu')

statement ok
INSERT INTO tab0 VALUES(6,21,66.10,'dinbu',29,33.62,'kdhea')

statement ok
INSERT INTO tab0 VALUES(7,20,51.16,'zixol',27,56.70,'vqsbe')

statement ok
INSERT INTO tab0 VALUES(8,4,79.54,'nuxot',95,42.20,'pzujl')

statement ok
INSERT INTO tab0 VALUES(9,61,86.1,'tvtvl',71,82.33,'hlydn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0 DESC,col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC,col3)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC,col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 IN (1.48,76.16) OR col3 >= 80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IN (1.48,76.16) OR col3 >= 80
----

query I rowsort label-1605
SELECT pk FROM tab0 WHERE NOT (col1 IN (1.48,76.16) OR col3 >= 80)
----
1
2
3
6
7
9

statement ok
DELETE FROM tab1 WHERE col1 IN (1.48,76.16) OR col3 >= 80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IN (1.48,76.16) OR col3 >= 80
----

query I rowsort label-1605
SELECT pk FROM tab1 WHERE NOT (col1 IN (1.48,76.16) OR col3 >= 80)
----
1
2
3
6
7
9

statement ok
DELETE FROM tab2 WHERE col1 IN (1.48,76.16) OR col3 >= 80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IN (1.48,76.16) OR col3 >= 80
----

query I rowsort label-1605
SELECT pk FROM tab2 WHERE NOT (col1 IN (1.48,76.16) OR col3 >= 80)
----
1
2
3
6
7
9

statement ok
DELETE FROM tab3 WHERE col1 IN (1.48,76.16) OR col3 >= 80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IN (1.48,76.16) OR col3 >= 80
----

query I rowsort label-1605
SELECT pk FROM tab3 WHERE NOT (col1 IN (1.48,76.16) OR col3 >= 80)
----
1
2
3
6
7
9

statement ok
DELETE FROM tab4 WHERE col1 IN (1.48,76.16) OR col3 >= 80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IN (1.48,76.16) OR col3 >= 80
----

query I rowsort label-1605
SELECT pk FROM tab4 WHERE NOT (col1 IN (1.48,76.16) OR col3 >= 80)
----
1
2
3
6
7
9

statement ok
DELETE FROM tab0 WHERE col1 = 86.45

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 86.45
----

query I rowsort label-1620
SELECT pk FROM tab0 WHERE NOT (col1 = 86.45)
----
1
2
3
6
7
9

statement ok
DELETE FROM tab1 WHERE col1 = 86.45

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 86.45
----

query I rowsort label-1620
SELECT pk FROM tab1 WHERE NOT (col1 = 86.45)
----
1
2
3
6
7
9

statement ok
DELETE FROM tab2 WHERE col1 = 86.45

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 86.45
----

query I rowsort label-1620
SELECT pk FROM tab2 WHERE NOT (col1 = 86.45)
----
1
2
3
6
7
9

statement ok
DELETE FROM tab3 WHERE col1 = 86.45

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 86.45
----

query I rowsort label-1620
SELECT pk FROM tab3 WHERE NOT (col1 = 86.45)
----
1
2
3
6
7
9

statement ok
DELETE FROM tab4 WHERE col1 = 86.45

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 86.45
----

query I rowsort label-1620
SELECT pk FROM tab4 WHERE NOT (col1 = 86.45)
----
1
2
3
6
7
9

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,29,62.55,'anykm',43,69.94,'uwdtr')

statement ok
INSERT INTO tab0 VALUES(1,72,99.20,'lwneq',8,20.7,'kdtan')

statement ok
INSERT INTO tab0 VALUES(2,97,93.60,'vgwtj',44,71.21,'lgdcm')

statement ok
INSERT INTO tab0 VALUES(3,73,12.32,'nojec',53,1.65,'bogyc')

statement ok
INSERT INTO tab0 VALUES(4,84,87.14,'dtrsr',52,30.45,'dnhlm')

statement ok
INSERT INTO tab0 VALUES(5,39,67.18,'krgyp',95,81.58,'uoahx')

statement ok
INSERT INTO tab0 VALUES(6,85,89.3,'nnebd',77,42.3,'bkoho')

statement ok
INSERT INTO tab0 VALUES(7,19,35.87,'bonum',54,31.93,'peaka')

statement ok
INSERT INTO tab0 VALUES(8,5,98.58,'jrfqt',45,56.71,'dkyyy')

statement ok
INSERT INTO tab0 VALUES(9,81,42.89,'hemxk',57,79.17,'iffpt')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC,col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0,col1)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3 DESC,col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4 DESC,col0 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 > 52

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 52
----

query I rowsort label-1635
SELECT pk FROM tab0 WHERE NOT (col3 > 52)
----
0
1
2
4
8

statement ok
DELETE FROM tab1 WHERE col3 > 52

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 52
----

query I rowsort label-1635
SELECT pk FROM tab1 WHERE NOT (col3 > 52)
----
0
1
2
4
8

statement ok
DELETE FROM tab2 WHERE col3 > 52

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 52
----

query I rowsort label-1635
SELECT pk FROM tab2 WHERE NOT (col3 > 52)
----
0
1
2
4
8

statement ok
DELETE FROM tab3 WHERE col3 > 52

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 52
----

query I rowsort label-1635
SELECT pk FROM tab3 WHERE NOT (col3 > 52)
----
0
1
2
4
8

statement ok
DELETE FROM tab4 WHERE col3 > 52

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 52
----

query I rowsort label-1635
SELECT pk FROM tab4 WHERE NOT (col3 > 52)
----
0
1
2
4
8

statement ok
DELETE FROM tab0 WHERE ((col4 >= 97.82))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 >= 97.82))
----

query I rowsort label-1650
SELECT pk FROM tab0 WHERE NOT (((col4 >= 97.82)))
----
0
1
2
4
8

statement ok
DELETE FROM tab1 WHERE ((col4 >= 97.82))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 >= 97.82))
----

query I rowsort label-1650
SELECT pk FROM tab1 WHERE NOT (((col4 >= 97.82)))
----
0
1
2
4
8

statement ok
DELETE FROM tab2 WHERE ((col4 >= 97.82))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 >= 97.82))
----

query I rowsort label-1650
SELECT pk FROM tab2 WHERE NOT (((col4 >= 97.82)))
----
0
1
2
4
8

statement ok
DELETE FROM tab3 WHERE ((col4 >= 97.82))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 >= 97.82))
----

query I rowsort label-1650
SELECT pk FROM tab3 WHERE NOT (((col4 >= 97.82)))
----
0
1
2
4
8

statement ok
DELETE FROM tab4 WHERE ((col4 >= 97.82))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 >= 97.82))
----

query I rowsort label-1650
SELECT pk FROM tab4 WHERE NOT (((col4 >= 97.82)))
----
0
1
2
4
8

statement ok
DELETE FROM tab0 WHERE ((((((col0 = 28))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((((col0 = 28))))))
----

query I rowsort label-1665
SELECT pk FROM tab0 WHERE NOT (((((((col0 = 28)))))))
----
0
1
2
4
8

statement ok
DELETE FROM tab1 WHERE ((((((col0 = 28))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((((col0 = 28))))))
----

query I rowsort label-1665
SELECT pk FROM tab1 WHERE NOT (((((((col0 = 28)))))))
----
0
1
2
4
8

statement ok
DELETE FROM tab2 WHERE ((((((col0 = 28))))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((((col0 = 28))))))
----

query I rowsort label-1665
SELECT pk FROM tab2 WHERE NOT (((((((col0 = 28)))))))
----
0
1
2
4
8

statement ok
DELETE FROM tab3 WHERE ((((((col0 = 28))))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((((col0 = 28))))))
----

query I rowsort label-1665
SELECT pk FROM tab3 WHERE NOT (((((((col0 = 28)))))))
----
0
1
2
4
8

statement ok
DELETE FROM tab4 WHERE ((((((col0 = 28))))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((((col0 = 28))))))
----

query I rowsort label-1665
SELECT pk FROM tab4 WHERE NOT (((((((col0 = 28)))))))
----
0
1
2
4
8

statement ok
DELETE FROM tab0 WHERE col4 >= 6.42

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 6.42
----

query I rowsort label-1680
SELECT pk FROM tab0 WHERE NOT (col4 >= 6.42)
----

statement ok
DELETE FROM tab1 WHERE col4 >= 6.42

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 6.42
----

query I rowsort label-1680
SELECT pk FROM tab1 WHERE NOT (col4 >= 6.42)
----

statement ok
DELETE FROM tab2 WHERE col4 >= 6.42

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 6.42
----

query I rowsort label-1680
SELECT pk FROM tab2 WHERE NOT (col4 >= 6.42)
----

statement ok
DELETE FROM tab3 WHERE col4 >= 6.42

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 6.42
----

query I rowsort label-1680
SELECT pk FROM tab3 WHERE NOT (col4 >= 6.42)
----

statement ok
DELETE FROM tab4 WHERE col4 >= 6.42

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 6.42
----

query I rowsort label-1680
SELECT pk FROM tab4 WHERE NOT (col4 >= 6.42)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,3,19.9,'qwoux',73,96.67,'vtuuf')

statement ok
INSERT INTO tab0 VALUES(1,38,42.11,'sjnvj',27,30.56,'xozvo')

statement ok
INSERT INTO tab0 VALUES(2,89,32.28,'jisqt',83,47.83,'vmlpb')

statement ok
INSERT INTO tab0 VALUES(3,37,44.83,'hzcsh',55,9.48,'wwviw')

statement ok
INSERT INTO tab0 VALUES(4,4,15.56,'iyhnm',51,92.17,'hyxeg')

statement ok
INSERT INTO tab0 VALUES(5,66,24.2,'cjjmu',90,44.36,'bbcij')

statement ok
INSERT INTO tab0 VALUES(6,63,54.59,'seedi',12,49.41,'ixagq')

statement ok
INSERT INTO tab0 VALUES(7,10,57.65,'iyihk',89,91.72,'dkgrq')

statement ok
INSERT INTO tab0 VALUES(8,17,14.68,'vjnfe',42,15.89,'ccvvo')

statement ok
INSERT INTO tab0 VALUES(9,93,98.37,'jaiog',49,88.76,'wcamv')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC,col4)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3 DESC,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4,col0 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0 DESC,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col0,col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4,col1 DESC,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 > 26) OR col3 >= 97

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 26) OR col3 >= 97
----

query I rowsort label-1695
SELECT pk FROM tab0 WHERE NOT ((col3 > 26) OR col3 >= 97)
----
6

statement ok
DELETE FROM tab1 WHERE (col3 > 26) OR col3 >= 97

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 26) OR col3 >= 97
----

query I rowsort label-1695
SELECT pk FROM tab1 WHERE NOT ((col3 > 26) OR col3 >= 97)
----
6

statement ok
DELETE FROM tab2 WHERE (col3 > 26) OR col3 >= 97

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 26) OR col3 >= 97
----

query I rowsort label-1695
SELECT pk FROM tab2 WHERE NOT ((col3 > 26) OR col3 >= 97)
----
6

statement ok
DELETE FROM tab3 WHERE (col3 > 26) OR col3 >= 97

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 26) OR col3 >= 97
----

query I rowsort label-1695
SELECT pk FROM tab3 WHERE NOT ((col3 > 26) OR col3 >= 97)
----
6

statement ok
DELETE FROM tab4 WHERE (col3 > 26) OR col3 >= 97

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 26) OR col3 >= 97
----

query I rowsort label-1695
SELECT pk FROM tab4 WHERE NOT ((col3 > 26) OR col3 >= 97)
----
6

statement ok
DELETE FROM tab0 WHERE ((col3 < 63)) AND col0 <= 61

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 63)) AND col0 <= 61
----

query I rowsort label-1710
SELECT pk FROM tab0 WHERE NOT (((col3 < 63)) AND col0 <= 61)
----
6

statement ok
DELETE FROM tab1 WHERE ((col3 < 63)) AND col0 <= 61

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 63)) AND col0 <= 61
----

query I rowsort label-1710
SELECT pk FROM tab1 WHERE NOT (((col3 < 63)) AND col0 <= 61)
----
6

statement ok
DELETE FROM tab2 WHERE ((col3 < 63)) AND col0 <= 61

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 63)) AND col0 <= 61
----

query I rowsort label-1710
SELECT pk FROM tab2 WHERE NOT (((col3 < 63)) AND col0 <= 61)
----
6

statement ok
DELETE FROM tab3 WHERE ((col3 < 63)) AND col0 <= 61

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 63)) AND col0 <= 61
----

query I rowsort label-1710
SELECT pk FROM tab3 WHERE NOT (((col3 < 63)) AND col0 <= 61)
----
6

statement ok
DELETE FROM tab4 WHERE ((col3 < 63)) AND col0 <= 61

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 63)) AND col0 <= 61
----

query I rowsort label-1710
SELECT pk FROM tab4 WHERE NOT (((col3 < 63)) AND col0 <= 61)
----
6

statement ok
DELETE FROM tab0 WHERE col0 = 96

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 96
----

query I rowsort label-1725
SELECT pk FROM tab0 WHERE NOT (col0 = 96)
----
6

statement ok
DELETE FROM tab1 WHERE col0 = 96

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 96
----

query I rowsort label-1725
SELECT pk FROM tab1 WHERE NOT (col0 = 96)
----
6

statement ok
DELETE FROM tab2 WHERE col0 = 96

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 96
----

query I rowsort label-1725
SELECT pk FROM tab2 WHERE NOT (col0 = 96)
----
6

statement ok
DELETE FROM tab3 WHERE col0 = 96

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 96
----

query I rowsort label-1725
SELECT pk FROM tab3 WHERE NOT (col0 = 96)
----
6

statement ok
DELETE FROM tab4 WHERE col0 = 96

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 96
----

query I rowsort label-1725
SELECT pk FROM tab4 WHERE NOT (col0 = 96)
----
6

statement ok
DELETE FROM tab0 WHERE col3 <= 2 OR col3 > 59

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 2 OR col3 > 59
----

query I rowsort label-1740
SELECT pk FROM tab0 WHERE NOT (col3 <= 2 OR col3 > 59)
----
6

statement ok
DELETE FROM tab1 WHERE col3 <= 2 OR col3 > 59

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 2 OR col3 > 59
----

query I rowsort label-1740
SELECT pk FROM tab1 WHERE NOT (col3 <= 2 OR col3 > 59)
----
6

statement ok
DELETE FROM tab2 WHERE col3 <= 2 OR col3 > 59

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 2 OR col3 > 59
----

query I rowsort label-1740
SELECT pk FROM tab2 WHERE NOT (col3 <= 2 OR col3 > 59)
----
6

statement ok
DELETE FROM tab3 WHERE col3 <= 2 OR col3 > 59

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 2 OR col3 > 59
----

query I rowsort label-1740
SELECT pk FROM tab3 WHERE NOT (col3 <= 2 OR col3 > 59)
----
6

statement ok
DELETE FROM tab4 WHERE col3 <= 2 OR col3 > 59

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 2 OR col3 > 59
----

query I rowsort label-1740
SELECT pk FROM tab4 WHERE NOT (col3 <= 2 OR col3 > 59)
----
6

statement ok
DELETE FROM tab0 WHERE (((col3 > 63 AND col0 > 25)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 > 63 AND col0 > 25)))
----

query I rowsort label-1755
SELECT pk FROM tab0 WHERE NOT ((((col3 > 63 AND col0 > 25))))
----
6

statement ok
DELETE FROM tab1 WHERE (((col3 > 63 AND col0 > 25)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 > 63 AND col0 > 25)))
----

query I rowsort label-1755
SELECT pk FROM tab1 WHERE NOT ((((col3 > 63 AND col0 > 25))))
----
6

statement ok
DELETE FROM tab2 WHERE (((col3 > 63 AND col0 > 25)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 > 63 AND col0 > 25)))
----

query I rowsort label-1755
SELECT pk FROM tab2 WHERE NOT ((((col3 > 63 AND col0 > 25))))
----
6

statement ok
DELETE FROM tab3 WHERE (((col3 > 63 AND col0 > 25)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 > 63 AND col0 > 25)))
----

query I rowsort label-1755
SELECT pk FROM tab3 WHERE NOT ((((col3 > 63 AND col0 > 25))))
----
6

statement ok
DELETE FROM tab4 WHERE (((col3 > 63 AND col0 > 25)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 > 63 AND col0 > 25)))
----

query I rowsort label-1755
SELECT pk FROM tab4 WHERE NOT ((((col3 > 63 AND col0 > 25))))
----
6

statement ok
DELETE FROM tab0 WHERE col0 > 57 AND (col3 <= 47 OR (col3 > 75))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 57 AND (col3 <= 47 OR (col3 > 75))
----

query I rowsort label-1770
SELECT pk FROM tab0 WHERE NOT (col0 > 57 AND (col3 <= 47 OR (col3 > 75)))
----

statement ok
DELETE FROM tab1 WHERE col0 > 57 AND (col3 <= 47 OR (col3 > 75))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 57 AND (col3 <= 47 OR (col3 > 75))
----

query I rowsort label-1770
SELECT pk FROM tab1 WHERE NOT (col0 > 57 AND (col3 <= 47 OR (col3 > 75)))
----

statement ok
DELETE FROM tab2 WHERE col0 > 57 AND (col3 <= 47 OR (col3 > 75))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 57 AND (col3 <= 47 OR (col3 > 75))
----

query I rowsort label-1770
SELECT pk FROM tab2 WHERE NOT (col0 > 57 AND (col3 <= 47 OR (col3 > 75)))
----

statement ok
DELETE FROM tab3 WHERE col0 > 57 AND (col3 <= 47 OR (col3 > 75))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 57 AND (col3 <= 47 OR (col3 > 75))
----

query I rowsort label-1770
SELECT pk FROM tab3 WHERE NOT (col0 > 57 AND (col3 <= 47 OR (col3 > 75)))
----

statement ok
DELETE FROM tab4 WHERE col0 > 57 AND (col3 <= 47 OR (col3 > 75))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 57 AND (col3 <= 47 OR (col3 > 75))
----

query I rowsort label-1770
SELECT pk FROM tab4 WHERE NOT (col0 > 57 AND (col3 <= 47 OR (col3 > 75)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,82,61.55,'lfiyc',66,30.0,'ahwgu')

statement ok
INSERT INTO tab0 VALUES(1,96,10.87,'sagta',16,77.44,'aynjl')

statement ok
INSERT INTO tab0 VALUES(2,48,97.91,'skkjt',22,16.71,'caddj')

statement ok
INSERT INTO tab0 VALUES(3,30,15.90,'rdvdo',82,23.64,'slida')

statement ok
INSERT INTO tab0 VALUES(4,85,99.88,'iazeo',27,68.13,'bascu')

statement ok
INSERT INTO tab0 VALUES(5,75,32.32,'hvyxy',86,31.84,'bfaid')

statement ok
INSERT INTO tab0 VALUES(6,35,67.71,'vrjrb',48,9.80,'nufks')

statement ok
INSERT INTO tab0 VALUES(7,47,33.25,'kuwkj',23,40.99,'khsum')

statement ok
INSERT INTO tab0 VALUES(8,93,44.41,'kawhx',4,2.5,'tvimy')

statement ok
INSERT INTO tab0 VALUES(9,20,24.60,'orwhb',37,36.83,'wsmpb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC,col4 DESC,col3)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col1 DESC,col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9)))
----

query I rowsort label-1785
SELECT pk FROM tab0 WHERE NOT (col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9))))
----
1
3
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9)))
----

query I rowsort label-1785
SELECT pk FROM tab1 WHERE NOT (col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9))))
----
1
3
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9)))
----

query I rowsort label-1785
SELECT pk FROM tab2 WHERE NOT (col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9))))
----
1
3
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9)))
----

query I rowsort label-1785
SELECT pk FROM tab3 WHERE NOT (col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9))))
----
1
3
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9)))
----

query I rowsort label-1785
SELECT pk FROM tab4 WHERE NOT (col1 > 87.89 OR (col0 > 42 AND col3 > 56) OR col3 < 4 AND (col4 IN (98.1,78.63,1.7,41.43,42.57) OR ((col3 > 98 AND col0 > 52 OR ((col1 > 86.96 OR col3 < 77) AND col4 < 33.89 OR col3 >= 9 OR ((col0 > 94 AND (col0 = 64) AND col0 IN (99) AND (col0 < 48 AND ((col3 >= 48))))) AND col3 <= 57 AND col0 >= 5 OR col3 >= 73)) AND col4 < 16.88 OR (col0 > 89 AND col3 >= 26 OR (col3 = 24) AND col1 > 22.9))))
----
1
3
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 = 13

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 13
----

query I rowsort label-1800
SELECT pk FROM tab0 WHERE NOT (col0 = 13)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 = 13

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 13
----

query I rowsort label-1800
SELECT pk FROM tab1 WHERE NOT (col0 = 13)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 = 13

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 13
----

query I rowsort label-1800
SELECT pk FROM tab2 WHERE NOT (col0 = 13)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 = 13

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 13
----

query I rowsort label-1800
SELECT pk FROM tab3 WHERE NOT (col0 = 13)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 = 13

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 13
----

query I rowsort label-1800
SELECT pk FROM tab4 WHERE NOT (col0 = 13)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 >= 87 OR col0 < 6 AND col1 < 65.54

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 87 OR col0 < 6 AND col1 < 65.54
----

query I rowsort label-1815
SELECT pk FROM tab0 WHERE NOT (col0 >= 87 OR col0 < 6 AND col1 < 65.54)
----
3
6
7
9

statement ok
DELETE FROM tab1 WHERE col0 >= 87 OR col0 < 6 AND col1 < 65.54

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 87 OR col0 < 6 AND col1 < 65.54
----

query I rowsort label-1815
SELECT pk FROM tab1 WHERE NOT (col0 >= 87 OR col0 < 6 AND col1 < 65.54)
----
3
6
7
9

statement ok
DELETE FROM tab2 WHERE col0 >= 87 OR col0 < 6 AND col1 < 65.54

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 87 OR col0 < 6 AND col1 < 65.54
----

query I rowsort label-1815
SELECT pk FROM tab2 WHERE NOT (col0 >= 87 OR col0 < 6 AND col1 < 65.54)
----
3
6
7
9

statement ok
DELETE FROM tab3 WHERE col0 >= 87 OR col0 < 6 AND col1 < 65.54

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 87 OR col0 < 6 AND col1 < 65.54
----

query I rowsort label-1815
SELECT pk FROM tab3 WHERE NOT (col0 >= 87 OR col0 < 6 AND col1 < 65.54)
----
3
6
7
9

statement ok
DELETE FROM tab4 WHERE col0 >= 87 OR col0 < 6 AND col1 < 65.54

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 87 OR col0 < 6 AND col1 < 65.54
----

query I rowsort label-1815
SELECT pk FROM tab4 WHERE NOT (col0 >= 87 OR col0 < 6 AND col1 < 65.54)
----
3
6
7
9

statement ok
DELETE FROM tab0 WHERE ((col3 IN (22,39,48,29)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 IN (22,39,48,29)))
----

query I rowsort label-1830
SELECT pk FROM tab0 WHERE NOT (((col3 IN (22,39,48,29))))
----
3
7
9

statement ok
DELETE FROM tab1 WHERE ((col3 IN (22,39,48,29)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 IN (22,39,48,29)))
----

query I rowsort label-1830
SELECT pk FROM tab1 WHERE NOT (((col3 IN (22,39,48,29))))
----
3
7
9

statement ok
DELETE FROM tab2 WHERE ((col3 IN (22,39,48,29)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 IN (22,39,48,29)))
----

query I rowsort label-1830
SELECT pk FROM tab2 WHERE NOT (((col3 IN (22,39,48,29))))
----
3
7
9

statement ok
DELETE FROM tab3 WHERE ((col3 IN (22,39,48,29)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 IN (22,39,48,29)))
----

query I rowsort label-1830
SELECT pk FROM tab3 WHERE NOT (((col3 IN (22,39,48,29))))
----
3
7
9

statement ok
DELETE FROM tab4 WHERE ((col3 IN (22,39,48,29)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 IN (22,39,48,29)))
----

query I rowsort label-1830
SELECT pk FROM tab4 WHERE NOT (((col3 IN (22,39,48,29))))
----
3
7
9

statement ok
DELETE FROM tab0 WHERE col1 > 32.41

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 32.41
----

query I rowsort label-1845
SELECT pk FROM tab0 WHERE NOT (col1 > 32.41)
----
3
9

statement ok
DELETE FROM tab1 WHERE col1 > 32.41

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 32.41
----

query I rowsort label-1845
SELECT pk FROM tab1 WHERE NOT (col1 > 32.41)
----
3
9

statement ok
DELETE FROM tab2 WHERE col1 > 32.41

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 32.41
----

query I rowsort label-1845
SELECT pk FROM tab2 WHERE NOT (col1 > 32.41)
----
3
9

statement ok
DELETE FROM tab3 WHERE col1 > 32.41

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 32.41
----

query I rowsort label-1845
SELECT pk FROM tab3 WHERE NOT (col1 > 32.41)
----
3
9

statement ok
DELETE FROM tab4 WHERE col1 > 32.41

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 32.41
----

query I rowsort label-1845
SELECT pk FROM tab4 WHERE NOT (col1 > 32.41)
----
3
9

statement ok
DELETE FROM tab0 WHERE col0 > 90 AND (col0 <= 17 AND col1 = 75.83)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 90 AND (col0 <= 17 AND col1 = 75.83)
----

query I rowsort label-1860
SELECT pk FROM tab0 WHERE NOT (col0 > 90 AND (col0 <= 17 AND col1 = 75.83))
----
3
9

statement ok
DELETE FROM tab1 WHERE col0 > 90 AND (col0 <= 17 AND col1 = 75.83)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 90 AND (col0 <= 17 AND col1 = 75.83)
----

query I rowsort label-1860
SELECT pk FROM tab1 WHERE NOT (col0 > 90 AND (col0 <= 17 AND col1 = 75.83))
----
3
9

statement ok
DELETE FROM tab2 WHERE col0 > 90 AND (col0 <= 17 AND col1 = 75.83)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 90 AND (col0 <= 17 AND col1 = 75.83)
----

query I rowsort label-1860
SELECT pk FROM tab2 WHERE NOT (col0 > 90 AND (col0 <= 17 AND col1 = 75.83))
----
3
9

statement ok
DELETE FROM tab3 WHERE col0 > 90 AND (col0 <= 17 AND col1 = 75.83)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 90 AND (col0 <= 17 AND col1 = 75.83)
----

query I rowsort label-1860
SELECT pk FROM tab3 WHERE NOT (col0 > 90 AND (col0 <= 17 AND col1 = 75.83))
----
3
9

statement ok
DELETE FROM tab4 WHERE col0 > 90 AND (col0 <= 17 AND col1 = 75.83)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 90 AND (col0 <= 17 AND col1 = 75.83)
----

query I rowsort label-1860
SELECT pk FROM tab4 WHERE NOT (col0 > 90 AND (col0 <= 17 AND col1 = 75.83))
----
3
9

statement ok
DELETE FROM tab0 WHERE col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66
----

query I rowsort label-1875
SELECT pk FROM tab0 WHERE NOT (col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66
----

query I rowsort label-1875
SELECT pk FROM tab1 WHERE NOT (col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66
----

query I rowsort label-1875
SELECT pk FROM tab2 WHERE NOT (col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66
----

query I rowsort label-1875
SELECT pk FROM tab3 WHERE NOT (col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66
----

query I rowsort label-1875
SELECT pk FROM tab4 WHERE NOT (col3 >= 21 OR col1 > 98.18 OR col0 < 98 AND col3 BETWEEN 24 AND 41 AND col3 <= 45 AND col0 >= 66)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,67,63.19,'ncrmg',66,61.90,'axomo')

statement ok
INSERT INTO tab0 VALUES(1,47,19.27,'iqqbp',33,22.4,'hmmyc')

statement ok
INSERT INTO tab0 VALUES(2,20,6.55,'pcnia',62,86.92,'hnwkz')

statement ok
INSERT INTO tab0 VALUES(3,31,93.87,'cijlv',28,29.17,'kvprm')

statement ok
INSERT INTO tab0 VALUES(4,65,29.68,'unanr',4,39.7,'dimpb')

statement ok
INSERT INTO tab0 VALUES(5,60,7.13,'mnone',70,77.71,'lbczw')

statement ok
INSERT INTO tab0 VALUES(6,17,20.25,'jubsn',27,40.6,'sffxo')

statement ok
INSERT INTO tab0 VALUES(7,18,33.4,'sqeme',13,24.17,'blmsv')

statement ok
INSERT INTO tab0 VALUES(8,29,40.58,'oitsj',8,85.24,'fvdhx')

statement ok
INSERT INTO tab0 VALUES(9,26,27.23,'ebnsx',55,4.75,'ydlzl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col3 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0,col1 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 IN (58,25))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 IN (58,25))
----

query I rowsort label-1890
SELECT pk FROM tab0 WHERE NOT ((col3 IN (58,25)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 IN (58,25))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 IN (58,25))
----

query I rowsort label-1890
SELECT pk FROM tab1 WHERE NOT ((col3 IN (58,25)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 IN (58,25))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 IN (58,25))
----

query I rowsort label-1890
SELECT pk FROM tab2 WHERE NOT ((col3 IN (58,25)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 IN (58,25))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 IN (58,25))
----

query I rowsort label-1890
SELECT pk FROM tab3 WHERE NOT ((col3 IN (58,25)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 IN (58,25))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 IN (58,25))
----

query I rowsort label-1890
SELECT pk FROM tab4 WHERE NOT ((col3 IN (58,25)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20))))
----

query I rowsort label-1905
SELECT pk FROM tab0 WHERE NOT (((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20)))))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab1 WHERE ((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20))))
----

query I rowsort label-1905
SELECT pk FROM tab1 WHERE NOT (((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20)))))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab2 WHERE ((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20))))
----

query I rowsort label-1905
SELECT pk FROM tab2 WHERE NOT (((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20)))))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab3 WHERE ((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20))))
----

query I rowsort label-1905
SELECT pk FROM tab3 WHERE NOT (((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20)))))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab4 WHERE ((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20))))
----

query I rowsort label-1905
SELECT pk FROM tab4 WHERE NOT (((col0 IN (21,36,72,66) OR (col0 IN (13,1,49,73,32,20)))))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab0 WHERE (col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6
----

query I rowsort label-1920
SELECT pk FROM tab0 WHERE NOT ((col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6)
----
5
8

statement ok
DELETE FROM tab1 WHERE (col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6
----

query I rowsort label-1920
SELECT pk FROM tab1 WHERE NOT ((col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6)
----
5
8

statement ok
DELETE FROM tab2 WHERE (col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6
----

query I rowsort label-1920
SELECT pk FROM tab2 WHERE NOT ((col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6)
----
5
8

statement ok
DELETE FROM tab3 WHERE (col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6
----

query I rowsort label-1920
SELECT pk FROM tab3 WHERE NOT ((col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6)
----
5
8

statement ok
DELETE FROM tab4 WHERE (col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6
----

query I rowsort label-1920
SELECT pk FROM tab4 WHERE NOT ((col3 IS NULL OR col4 <= 15.26 OR (col3 < 72) OR col1 = 70.37 AND col0 > 46) AND col4 <= 71.6)
----
5
8

statement ok
DELETE FROM tab0 WHERE (col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96)))))
----

query I rowsort label-1935
SELECT pk FROM tab0 WHERE NOT ((col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96))))))
----
5
8

statement ok
DELETE FROM tab1 WHERE (col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96)))))
----

query I rowsort label-1935
SELECT pk FROM tab1 WHERE NOT ((col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96))))))
----
5
8

statement ok
DELETE FROM tab2 WHERE (col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96)))))
----

query I rowsort label-1935
SELECT pk FROM tab2 WHERE NOT ((col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96))))))
----
5
8

statement ok
DELETE FROM tab3 WHERE (col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96)))))
----

query I rowsort label-1935
SELECT pk FROM tab3 WHERE NOT ((col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96))))))
----
5
8

statement ok
DELETE FROM tab4 WHERE (col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96)))))
----

query I rowsort label-1935
SELECT pk FROM tab4 WHERE NOT ((col3 < 99) AND (((((((col0 >= 49 OR col0 > 67 OR col0 = 34 AND (col0 IS NULL))) AND col0 IN (33,42,49) AND (col0 <= 30) OR col3 >= 0 AND col3 IN (65,76)) AND (col0 <= 49 OR col4 >= 67.91 OR col4 < 46.6 AND col3 >= 51 OR col1 < 52.99) AND (col4 >= 18.48) AND col4 > 16.24 AND (col0 <= 96))))))
----
5
8

statement ok
DELETE FROM tab0 WHERE ((col0 IS NULL)) AND col3 > 50 OR (col0 > 58)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 IS NULL)) AND col3 > 50 OR (col0 > 58)
----

query I rowsort label-1950
SELECT pk FROM tab0 WHERE NOT (((col0 IS NULL)) AND col3 > 50 OR (col0 > 58))
----
8

statement ok
DELETE FROM tab1 WHERE ((col0 IS NULL)) AND col3 > 50 OR (col0 > 58)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 IS NULL)) AND col3 > 50 OR (col0 > 58)
----

query I rowsort label-1950
SELECT pk FROM tab1 WHERE NOT (((col0 IS NULL)) AND col3 > 50 OR (col0 > 58))
----
8

statement ok
DELETE FROM tab2 WHERE ((col0 IS NULL)) AND col3 > 50 OR (col0 > 58)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 IS NULL)) AND col3 > 50 OR (col0 > 58)
----

query I rowsort label-1950
SELECT pk FROM tab2 WHERE NOT (((col0 IS NULL)) AND col3 > 50 OR (col0 > 58))
----
8

statement ok
DELETE FROM tab3 WHERE ((col0 IS NULL)) AND col3 > 50 OR (col0 > 58)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 IS NULL)) AND col3 > 50 OR (col0 > 58)
----

query I rowsort label-1950
SELECT pk FROM tab3 WHERE NOT (((col0 IS NULL)) AND col3 > 50 OR (col0 > 58))
----
8

statement ok
DELETE FROM tab4 WHERE ((col0 IS NULL)) AND col3 > 50 OR (col0 > 58)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 IS NULL)) AND col3 > 50 OR (col0 > 58)
----

query I rowsort label-1950
SELECT pk FROM tab4 WHERE NOT (((col0 IS NULL)) AND col3 > 50 OR (col0 > 58))
----
8

statement ok
DELETE FROM tab0 WHERE col3 IN (51,26)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (51,26)
----

query I rowsort label-1965
SELECT pk FROM tab0 WHERE NOT (col3 IN (51,26))
----
8

statement ok
DELETE FROM tab1 WHERE col3 IN (51,26)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (51,26)
----

query I rowsort label-1965
SELECT pk FROM tab1 WHERE NOT (col3 IN (51,26))
----
8

statement ok
DELETE FROM tab2 WHERE col3 IN (51,26)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (51,26)
----

query I rowsort label-1965
SELECT pk FROM tab2 WHERE NOT (col3 IN (51,26))
----
8

statement ok
DELETE FROM tab3 WHERE col3 IN (51,26)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (51,26)
----

query I rowsort label-1965
SELECT pk FROM tab3 WHERE NOT (col3 IN (51,26))
----
8

statement ok
DELETE FROM tab4 WHERE col3 IN (51,26)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (51,26)
----

query I rowsort label-1965
SELECT pk FROM tab4 WHERE NOT (col3 IN (51,26))
----
8

statement ok
DELETE FROM tab0 WHERE col4 = 5.94

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 5.94
----

query I rowsort label-1980
SELECT pk FROM tab0 WHERE NOT (col4 = 5.94)
----
8

statement ok
DELETE FROM tab1 WHERE col4 = 5.94

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 5.94
----

query I rowsort label-1980
SELECT pk FROM tab1 WHERE NOT (col4 = 5.94)
----
8

statement ok
DELETE FROM tab2 WHERE col4 = 5.94

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 5.94
----

query I rowsort label-1980
SELECT pk FROM tab2 WHERE NOT (col4 = 5.94)
----
8

statement ok
DELETE FROM tab3 WHERE col4 = 5.94

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 5.94
----

query I rowsort label-1980
SELECT pk FROM tab3 WHERE NOT (col4 = 5.94)
----
8

statement ok
DELETE FROM tab4 WHERE col4 = 5.94

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 5.94
----

query I rowsort label-1980
SELECT pk FROM tab4 WHERE NOT (col4 = 5.94)
----
8

statement ok
DELETE FROM tab0 WHERE ((col0 <= 68))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 <= 68))
----

query I rowsort label-1995
SELECT pk FROM tab0 WHERE NOT (((col0 <= 68)))
----

statement ok
DELETE FROM tab1 WHERE ((col0 <= 68))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 <= 68))
----

query I rowsort label-1995
SELECT pk FROM tab1 WHERE NOT (((col0 <= 68)))
----

statement ok
DELETE FROM tab2 WHERE ((col0 <= 68))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 <= 68))
----

query I rowsort label-1995
SELECT pk FROM tab2 WHERE NOT (((col0 <= 68)))
----

statement ok
DELETE FROM tab3 WHERE ((col0 <= 68))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 <= 68))
----

query I rowsort label-1995
SELECT pk FROM tab3 WHERE NOT (((col0 <= 68)))
----

statement ok
DELETE FROM tab4 WHERE ((col0 <= 68))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 <= 68))
----

query I rowsort label-1995
SELECT pk FROM tab4 WHERE NOT (((col0 <= 68)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,91,29.33,'zmjze',33,19.30,'rtcrf')

statement ok
INSERT INTO tab0 VALUES(1,9,53.19,'aiaam',65,92.24,'dtgjj')

statement ok
INSERT INTO tab0 VALUES(2,77,64.81,'egpzk',63,42.6,'ublvh')

statement ok
INSERT INTO tab0 VALUES(3,46,37.11,'flnik',91,4.88,'wikhh')

statement ok
INSERT INTO tab0 VALUES(4,96,59.62,'zolvl',50,8.97,'cvdrr')

statement ok
INSERT INTO tab0 VALUES(5,51,92.65,'ebwjq',87,40.89,'hqftd')

statement ok
INSERT INTO tab0 VALUES(6,84,36.34,'wcyjy',9,5.68,'wqqgm')

statement ok
INSERT INTO tab0 VALUES(7,40,93.86,'dyxst',97,86.90,'swiah')

statement ok
INSERT INTO tab0 VALUES(8,41,22.46,'rtvxl',18,18.81,'ohwcm')

statement ok
INSERT INTO tab0 VALUES(9,97,15.66,'macgd',34,35.45,'ujyvz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col3 DESC,col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1,col4 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,12,15.34,'pxlrf',0,21.30,'uuyel')

statement ok
INSERT INTO tab0 VALUES(1,51,54.92,'duprl',16,86.66,'ojrgn')

statement ok
INSERT INTO tab0 VALUES(2,90,50.69,'zobzx',58,34.17,'mhuvh')

statement ok
INSERT INTO tab0 VALUES(3,38,38.59,'gclqv',43,83.33,'ypgfc')

statement ok
INSERT INTO tab0 VALUES(4,58,96.32,'tlomg',21,46.76,'bhevh')

statement ok
INSERT INTO tab0 VALUES(5,28,53.4,'vpzoi',39,47.79,'qbrpg')

statement ok
INSERT INTO tab0 VALUES(6,6,3.95,'xuuzh',6,29.13,'mugvq')

statement ok
INSERT INTO tab0 VALUES(7,91,19.92,'glzip',48,71.47,'mhrrh')

statement ok
INSERT INTO tab0 VALUES(8,81,63.11,'frmld',82,97.12,'pwevr')

statement ok
INSERT INTO tab0 VALUES(9,45,99.62,'lwebi',67,90.61,'cxscr')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4,col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,80,95.49,'abfjx',11,26.85,'auqmo')

statement ok
INSERT INTO tab0 VALUES(1,96,73.98,'czdsm',42,1.42,'erceo')

statement ok
INSERT INTO tab0 VALUES(2,24,32.7,'xmccj',78,65.65,'yqhjn')

statement ok
INSERT INTO tab0 VALUES(3,61,7.81,'vzshy',66,12.85,'vksfd')

statement ok
INSERT INTO tab0 VALUES(4,4,41.7,'uctot',52,25.73,'hdxsh')

statement ok
INSERT INTO tab0 VALUES(5,56,46.65,'xxylw',3,34.47,'igcxy')

statement ok
INSERT INTO tab0 VALUES(6,47,66.43,'cykho',12,86.89,'zytbl')

statement ok
INSERT INTO tab0 VALUES(7,40,37.43,'ujizc',16,0.54,'eyfok')

statement ok
INSERT INTO tab0 VALUES(8,48,53.0,'ndthb',6,35.84,'dxmjg')

statement ok
INSERT INTO tab0 VALUES(9,39,26.93,'kbybh',36,47.21,'djpvt')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 = 34.36

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 34.36
----

query I rowsort label-2010
SELECT pk FROM tab0 WHERE NOT (col1 = 34.36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 = 34.36

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 34.36
----

query I rowsort label-2010
SELECT pk FROM tab1 WHERE NOT (col1 = 34.36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 = 34.36

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 34.36
----

query I rowsort label-2010
SELECT pk FROM tab2 WHERE NOT (col1 = 34.36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 = 34.36

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 34.36
----

query I rowsort label-2010
SELECT pk FROM tab3 WHERE NOT (col1 = 34.36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 = 34.36

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 34.36
----

query I rowsort label-2010
SELECT pk FROM tab4 WHERE NOT (col1 = 34.36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51))))
----

query I rowsort label-2025
SELECT pk FROM tab0 WHERE NOT ((((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51)))))
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE (((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51))))
----

query I rowsort label-2025
SELECT pk FROM tab1 WHERE NOT ((((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51)))))
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE (((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51))))
----

query I rowsort label-2025
SELECT pk FROM tab2 WHERE NOT ((((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51)))))
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE (((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51))))
----

query I rowsort label-2025
SELECT pk FROM tab3 WHERE NOT ((((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51)))))
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE (((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51))))
----

query I rowsort label-2025
SELECT pk FROM tab4 WHERE NOT ((((col0 > 78) AND col4 > 9.54 OR (col0 IN (5,36,45,40,51)))))
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE col0 = 8

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 8
----

query I rowsort label-2040
SELECT pk FROM tab0 WHERE NOT (col0 = 8)
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE col0 = 8

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 8
----

query I rowsort label-2040
SELECT pk FROM tab1 WHERE NOT (col0 = 8)
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE col0 = 8

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 8
----

query I rowsort label-2040
SELECT pk FROM tab2 WHERE NOT (col0 = 8)
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE col0 = 8

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 8
----

query I rowsort label-2040
SELECT pk FROM tab3 WHERE NOT (col0 = 8)
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE col0 = 8

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 8
----

query I rowsort label-2040
SELECT pk FROM tab4 WHERE NOT (col0 = 8)
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE ((col0 >= 31) AND col3 > 93 AND col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 31) AND col3 > 93 AND col0 IS NULL)
----

query I rowsort label-2055
SELECT pk FROM tab0 WHERE NOT (((col0 >= 31) AND col3 > 93 AND col0 IS NULL))
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE ((col0 >= 31) AND col3 > 93 AND col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 31) AND col3 > 93 AND col0 IS NULL)
----

query I rowsort label-2055
SELECT pk FROM tab1 WHERE NOT (((col0 >= 31) AND col3 > 93 AND col0 IS NULL))
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE ((col0 >= 31) AND col3 > 93 AND col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 31) AND col3 > 93 AND col0 IS NULL)
----

query I rowsort label-2055
SELECT pk FROM tab2 WHERE NOT (((col0 >= 31) AND col3 > 93 AND col0 IS NULL))
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE ((col0 >= 31) AND col3 > 93 AND col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 31) AND col3 > 93 AND col0 IS NULL)
----

query I rowsort label-2055
SELECT pk FROM tab3 WHERE NOT (((col0 >= 31) AND col3 > 93 AND col0 IS NULL))
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE ((col0 >= 31) AND col3 > 93 AND col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 31) AND col3 > 93 AND col0 IS NULL)
----

query I rowsort label-2055
SELECT pk FROM tab4 WHERE NOT (((col0 >= 31) AND col3 > 93 AND col0 IS NULL))
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE col0 BETWEEN 81 AND 49

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 BETWEEN 81 AND 49
----

query I rowsort label-2070
SELECT pk FROM tab0 WHERE NOT (col0 BETWEEN 81 AND 49)
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE col0 BETWEEN 81 AND 49

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 BETWEEN 81 AND 49
----

query I rowsort label-2070
SELECT pk FROM tab1 WHERE NOT (col0 BETWEEN 81 AND 49)
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE col0 BETWEEN 81 AND 49

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 BETWEEN 81 AND 49
----

query I rowsort label-2070
SELECT pk FROM tab2 WHERE NOT (col0 BETWEEN 81 AND 49)
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE col0 BETWEEN 81 AND 49

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 BETWEEN 81 AND 49
----

query I rowsort label-2070
SELECT pk FROM tab3 WHERE NOT (col0 BETWEEN 81 AND 49)
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE col0 BETWEEN 81 AND 49

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 BETWEEN 81 AND 49
----

query I rowsort label-2070
SELECT pk FROM tab4 WHERE NOT (col0 BETWEEN 81 AND 49)
----
1
2
3
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE col0 < 73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 73
----

query I rowsort label-2085
SELECT pk FROM tab0 WHERE NOT (col0 < 73)
----
1

statement ok
DELETE FROM tab1 WHERE col0 < 73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 73
----

query I rowsort label-2085
SELECT pk FROM tab1 WHERE NOT (col0 < 73)
----
1

statement ok
DELETE FROM tab2 WHERE col0 < 73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 73
----

query I rowsort label-2085
SELECT pk FROM tab2 WHERE NOT (col0 < 73)
----
1

statement ok
DELETE FROM tab3 WHERE col0 < 73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 73
----

query I rowsort label-2085
SELECT pk FROM tab3 WHERE NOT (col0 < 73)
----
1

statement ok
DELETE FROM tab4 WHERE col0 < 73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 73
----

query I rowsort label-2085
SELECT pk FROM tab4 WHERE NOT (col0 < 73)
----
1

statement ok
DELETE FROM tab0 WHERE ((col3 > 91))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 91))
----

query I rowsort label-2100
SELECT pk FROM tab0 WHERE NOT (((col3 > 91)))
----
1

statement ok
DELETE FROM tab1 WHERE ((col3 > 91))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 91))
----

query I rowsort label-2100
SELECT pk FROM tab1 WHERE NOT (((col3 > 91)))
----
1

statement ok
DELETE FROM tab2 WHERE ((col3 > 91))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 91))
----

query I rowsort label-2100
SELECT pk FROM tab2 WHERE NOT (((col3 > 91)))
----
1

statement ok
DELETE FROM tab3 WHERE ((col3 > 91))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 91))
----

query I rowsort label-2100
SELECT pk FROM tab3 WHERE NOT (((col3 > 91)))
----
1

statement ok
DELETE FROM tab4 WHERE ((col3 > 91))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 91))
----

query I rowsort label-2100
SELECT pk FROM tab4 WHERE NOT (((col3 > 91)))
----
1

statement ok
DELETE FROM tab0 WHERE col0 <= 59

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 59
----

query I rowsort label-2115
SELECT pk FROM tab0 WHERE NOT (col0 <= 59)
----
1

statement ok
DELETE FROM tab1 WHERE col0 <= 59

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 59
----

query I rowsort label-2115
SELECT pk FROM tab1 WHERE NOT (col0 <= 59)
----
1

statement ok
DELETE FROM tab2 WHERE col0 <= 59

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 59
----

query I rowsort label-2115
SELECT pk FROM tab2 WHERE NOT (col0 <= 59)
----
1

statement ok
DELETE FROM tab3 WHERE col0 <= 59

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 59
----

query I rowsort label-2115
SELECT pk FROM tab3 WHERE NOT (col0 <= 59)
----
1

statement ok
DELETE FROM tab4 WHERE col0 <= 59

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 59
----

query I rowsort label-2115
SELECT pk FROM tab4 WHERE NOT (col0 <= 59)
----
1

statement ok
DELETE FROM tab0 WHERE col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38)
----

query I rowsort label-2130
SELECT pk FROM tab0 WHERE NOT (col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38))
----
1

statement ok
DELETE FROM tab1 WHERE col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38)
----

query I rowsort label-2130
SELECT pk FROM tab1 WHERE NOT (col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38))
----
1

statement ok
DELETE FROM tab2 WHERE col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38)
----

query I rowsort label-2130
SELECT pk FROM tab2 WHERE NOT (col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38))
----
1

statement ok
DELETE FROM tab3 WHERE col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38)
----

query I rowsort label-2130
SELECT pk FROM tab3 WHERE NOT (col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38))
----
1

statement ok
DELETE FROM tab4 WHERE col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38)
----

query I rowsort label-2130
SELECT pk FROM tab4 WHERE NOT (col0 > 65 AND col4 = 26.89 AND ((col0 < 9) OR col0 >= 38))
----
1

statement ok
DELETE FROM tab0 WHERE col0 < 63 AND col0 <= 72

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 63 AND col0 <= 72
----

query I rowsort label-2145
SELECT pk FROM tab0 WHERE NOT (col0 < 63 AND col0 <= 72)
----
1

statement ok
DELETE FROM tab1 WHERE col0 < 63 AND col0 <= 72

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 63 AND col0 <= 72
----

query I rowsort label-2145
SELECT pk FROM tab1 WHERE NOT (col0 < 63 AND col0 <= 72)
----
1

statement ok
DELETE FROM tab2 WHERE col0 < 63 AND col0 <= 72

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 63 AND col0 <= 72
----

query I rowsort label-2145
SELECT pk FROM tab2 WHERE NOT (col0 < 63 AND col0 <= 72)
----
1

statement ok
DELETE FROM tab3 WHERE col0 < 63 AND col0 <= 72

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 63 AND col0 <= 72
----

query I rowsort label-2145
SELECT pk FROM tab3 WHERE NOT (col0 < 63 AND col0 <= 72)
----
1

statement ok
DELETE FROM tab4 WHERE col0 < 63 AND col0 <= 72

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 63 AND col0 <= 72
----

query I rowsort label-2145
SELECT pk FROM tab4 WHERE NOT (col0 < 63 AND col0 <= 72)
----
1

statement ok
DELETE FROM tab0 WHERE ((col0 < 33))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 33))
----

query I rowsort label-2160
SELECT pk FROM tab0 WHERE NOT (((col0 < 33)))
----
1

statement ok
DELETE FROM tab1 WHERE ((col0 < 33))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 33))
----

query I rowsort label-2160
SELECT pk FROM tab1 WHERE NOT (((col0 < 33)))
----
1

statement ok
DELETE FROM tab2 WHERE ((col0 < 33))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 33))
----

query I rowsort label-2160
SELECT pk FROM tab2 WHERE NOT (((col0 < 33)))
----
1

statement ok
DELETE FROM tab3 WHERE ((col0 < 33))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 33))
----

query I rowsort label-2160
SELECT pk FROM tab3 WHERE NOT (((col0 < 33)))
----
1

statement ok
DELETE FROM tab4 WHERE ((col0 < 33))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 33))
----

query I rowsort label-2160
SELECT pk FROM tab4 WHERE NOT (((col0 < 33)))
----
1

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 72 AND 3

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 72 AND 3
----

query I rowsort label-2175
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 72 AND 3)
----
1

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 72 AND 3

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 72 AND 3
----

query I rowsort label-2175
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 72 AND 3)
----
1

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 72 AND 3

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 72 AND 3
----

query I rowsort label-2175
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 72 AND 3)
----
1

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 72 AND 3

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 72 AND 3
----

query I rowsort label-2175
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 72 AND 3)
----
1

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 72 AND 3

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 72 AND 3
----

query I rowsort label-2175
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 72 AND 3)
----
1

statement ok
DELETE FROM tab0 WHERE (col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12)))
----

query I rowsort label-2190
SELECT pk FROM tab0 WHERE NOT ((col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12))))
----

statement ok
DELETE FROM tab1 WHERE (col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12)))
----

query I rowsort label-2190
SELECT pk FROM tab1 WHERE NOT ((col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12))))
----

statement ok
DELETE FROM tab2 WHERE (col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12)))
----

query I rowsort label-2190
SELECT pk FROM tab2 WHERE NOT ((col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12))))
----

statement ok
DELETE FROM tab3 WHERE (col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12)))
----

query I rowsort label-2190
SELECT pk FROM tab3 WHERE NOT ((col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12))))
----

statement ok
DELETE FROM tab4 WHERE (col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12)))
----

query I rowsort label-2190
SELECT pk FROM tab4 WHERE NOT ((col0 >= 23) AND (col0 >= 17 OR (col4 > 83.7) OR (((col0 > 60))) AND col3 <= 3 AND (col3 <= 76) AND (col0 IN (91,83,93,12))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,41,50.16,'njqdj',91,55.23,'ykdlt')

statement ok
INSERT INTO tab0 VALUES(1,28,37.53,'edhmf',52,46.5,'uhokl')

statement ok
INSERT INTO tab0 VALUES(2,51,24.12,'xyfyk',43,4.55,'yocpa')

statement ok
INSERT INTO tab0 VALUES(3,61,14.32,'isyxc',26,99.6,'frkzy')

statement ok
INSERT INTO tab0 VALUES(4,58,58.97,'rhvyu',68,82.47,'ssjvr')

statement ok
INSERT INTO tab0 VALUES(5,3,22.47,'nqybx',55,50.25,'ujtum')

statement ok
INSERT INTO tab0 VALUES(6,34,51.94,'iclqm',3,9.67,'mhtdz')

statement ok
INSERT INTO tab0 VALUES(7,74,25.31,'bjfsr',70,32.86,'dbtrw')

statement ok
INSERT INTO tab0 VALUES(8,46,30.45,'xqsbn',72,30.97,'ahuck')

statement ok
INSERT INTO tab0 VALUES(9,85,15.32,'ttihk',92,7.29,'ewizb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC,col0)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4,col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 < 11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 11
----

query I rowsort label-2205
SELECT pk FROM tab0 WHERE NOT (col0 < 11)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE col0 < 11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 11
----

query I rowsort label-2205
SELECT pk FROM tab1 WHERE NOT (col0 < 11)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE col0 < 11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 11
----

query I rowsort label-2205
SELECT pk FROM tab2 WHERE NOT (col0 < 11)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE col0 < 11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 11
----

query I rowsort label-2205
SELECT pk FROM tab3 WHERE NOT (col0 < 11)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE col0 < 11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 11
----

query I rowsort label-2205
SELECT pk FROM tab4 WHERE NOT (col0 < 11)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col0 <= 16

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 16
----

query I rowsort label-2220
SELECT pk FROM tab0 WHERE NOT (col0 <= 16)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE col0 <= 16

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 16
----

query I rowsort label-2220
SELECT pk FROM tab1 WHERE NOT (col0 <= 16)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE col0 <= 16

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 16
----

query I rowsort label-2220
SELECT pk FROM tab2 WHERE NOT (col0 <= 16)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE col0 <= 16

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 16
----

query I rowsort label-2220
SELECT pk FROM tab3 WHERE NOT (col0 <= 16)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE col0 <= 16

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 16
----

query I rowsort label-2220
SELECT pk FROM tab4 WHERE NOT (col0 <= 16)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col4 BETWEEN 67.46 AND 29.64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 BETWEEN 67.46 AND 29.64
----

query I rowsort label-2235
SELECT pk FROM tab0 WHERE NOT (col4 BETWEEN 67.46 AND 29.64)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE col4 BETWEEN 67.46 AND 29.64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 BETWEEN 67.46 AND 29.64
----

query I rowsort label-2235
SELECT pk FROM tab1 WHERE NOT (col4 BETWEEN 67.46 AND 29.64)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE col4 BETWEEN 67.46 AND 29.64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 BETWEEN 67.46 AND 29.64
----

query I rowsort label-2235
SELECT pk FROM tab2 WHERE NOT (col4 BETWEEN 67.46 AND 29.64)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE col4 BETWEEN 67.46 AND 29.64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 BETWEEN 67.46 AND 29.64
----

query I rowsort label-2235
SELECT pk FROM tab3 WHERE NOT (col4 BETWEEN 67.46 AND 29.64)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE col4 BETWEEN 67.46 AND 29.64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 BETWEEN 67.46 AND 29.64
----

query I rowsort label-2235
SELECT pk FROM tab4 WHERE NOT (col4 BETWEEN 67.46 AND 29.64)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col4 IS NULL OR col4 > 58.98

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IS NULL OR col4 > 58.98
----

query I rowsort label-2250
SELECT pk FROM tab0 WHERE NOT (col4 IS NULL OR col4 > 58.98)
----
0
1
2
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col4 IS NULL OR col4 > 58.98

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IS NULL OR col4 > 58.98
----

query I rowsort label-2250
SELECT pk FROM tab1 WHERE NOT (col4 IS NULL OR col4 > 58.98)
----
0
1
2
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col4 IS NULL OR col4 > 58.98

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IS NULL OR col4 > 58.98
----

query I rowsort label-2250
SELECT pk FROM tab2 WHERE NOT (col4 IS NULL OR col4 > 58.98)
----
0
1
2
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col4 IS NULL OR col4 > 58.98

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IS NULL OR col4 > 58.98
----

query I rowsort label-2250
SELECT pk FROM tab3 WHERE NOT (col4 IS NULL OR col4 > 58.98)
----
0
1
2
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col4 IS NULL OR col4 > 58.98

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IS NULL OR col4 > 58.98
----

query I rowsort label-2250
SELECT pk FROM tab4 WHERE NOT (col4 IS NULL OR col4 > 58.98)
----
0
1
2
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 < 82.99

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 82.99
----

query I rowsort label-2265
SELECT pk FROM tab0 WHERE NOT (col4 < 82.99)
----

statement ok
DELETE FROM tab1 WHERE col4 < 82.99

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 82.99
----

query I rowsort label-2265
SELECT pk FROM tab1 WHERE NOT (col4 < 82.99)
----

statement ok
DELETE FROM tab2 WHERE col4 < 82.99

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 82.99
----

query I rowsort label-2265
SELECT pk FROM tab2 WHERE NOT (col4 < 82.99)
----

statement ok
DELETE FROM tab3 WHERE col4 < 82.99

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 82.99
----

query I rowsort label-2265
SELECT pk FROM tab3 WHERE NOT (col4 < 82.99)
----

statement ok
DELETE FROM tab4 WHERE col4 < 82.99

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 82.99
----

query I rowsort label-2265
SELECT pk FROM tab4 WHERE NOT (col4 < 82.99)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,61,53.40,'nstxf',92,10.92,'gtuze')

statement ok
INSERT INTO tab0 VALUES(1,13,29.65,'uflrv',16,3.86,'bzjfz')

statement ok
INSERT INTO tab0 VALUES(2,92,34.19,'ddmat',21,75.38,'tddql')

statement ok
INSERT INTO tab0 VALUES(3,66,32.18,'ynzkh',91,31.36,'rljzq')

statement ok
INSERT INTO tab0 VALUES(4,81,48.85,'nuqcx',75,98.1,'aooiy')

statement ok
INSERT INTO tab0 VALUES(5,23,89.6,'dnzbh',40,38.55,'cwopx')

statement ok
INSERT INTO tab0 VALUES(6,83,49.2,'cynin',39,56.78,'igter')

statement ok
INSERT INTO tab0 VALUES(7,18,25.82,'aotwf',71,19.78,'mvcsv')

statement ok
INSERT INTO tab0 VALUES(8,11,30.13,'uwkco',47,65.44,'tkins')

statement ok
INSERT INTO tab0 VALUES(9,38,3.77,'wynmp',48,13.18,'teako')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1,col0,col4 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4 DESC,col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4,col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 = 67.93 AND col3 > 49

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 67.93 AND col3 > 49
----

query I rowsort label-2280
SELECT pk FROM tab0 WHERE NOT (col4 = 67.93 AND col3 > 49)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 = 67.93 AND col3 > 49

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 67.93 AND col3 > 49
----

query I rowsort label-2280
SELECT pk FROM tab1 WHERE NOT (col4 = 67.93 AND col3 > 49)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 = 67.93 AND col3 > 49

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 67.93 AND col3 > 49
----

query I rowsort label-2280
SELECT pk FROM tab2 WHERE NOT (col4 = 67.93 AND col3 > 49)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 = 67.93 AND col3 > 49

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 67.93 AND col3 > 49
----

query I rowsort label-2280
SELECT pk FROM tab3 WHERE NOT (col4 = 67.93 AND col3 > 49)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 = 67.93 AND col3 > 49

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 67.93 AND col3 > 49
----

query I rowsort label-2280
SELECT pk FROM tab4 WHERE NOT (col4 = 67.93 AND col3 > 49)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55
----

query I rowsort label-2295
SELECT pk FROM tab0 WHERE NOT (((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55)
----
1
5
7
8
9

statement ok
DELETE FROM tab1 WHERE ((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55
----

query I rowsort label-2295
SELECT pk FROM tab1 WHERE NOT (((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55)
----
1
5
7
8
9

statement ok
DELETE FROM tab2 WHERE ((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55
----

query I rowsort label-2295
SELECT pk FROM tab2 WHERE NOT (((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55)
----
1
5
7
8
9

statement ok
DELETE FROM tab3 WHERE ((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55
----

query I rowsort label-2295
SELECT pk FROM tab3 WHERE NOT (((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55)
----
1
5
7
8
9

statement ok
DELETE FROM tab4 WHERE ((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55
----

query I rowsort label-2295
SELECT pk FROM tab4 WHERE NOT (((((col0 IN (24,39,54,98,51) AND ((col3 < 48)) AND col3 >= 94) AND col1 < 95.84 OR col0 < 95 OR ((col0 > 6)) AND (col1 <= 27.94) OR col0 > 26 OR col0 = 88 AND col1 < 92.14 OR col4 >= 96.30) OR ((col0 > 76 AND ((col3 > 57)))) OR col4 <= 69.30)) AND col0 > 55)
----
1
5
7
8
9

statement ok
DELETE FROM tab0 WHERE (col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45
----

query I rowsort label-2310
SELECT pk FROM tab0 WHERE NOT ((col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45)
----

statement ok
DELETE FROM tab1 WHERE (col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45
----

query I rowsort label-2310
SELECT pk FROM tab1 WHERE NOT ((col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45)
----

statement ok
DELETE FROM tab2 WHERE (col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45
----

query I rowsort label-2310
SELECT pk FROM tab2 WHERE NOT ((col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45)
----

statement ok
DELETE FROM tab3 WHERE (col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45
----

query I rowsort label-2310
SELECT pk FROM tab3 WHERE NOT ((col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45)
----

statement ok
DELETE FROM tab4 WHERE (col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45
----

query I rowsort label-2310
SELECT pk FROM tab4 WHERE NOT ((col1 >= 46.85) OR ((col3 > 99) OR col0 IN (13,2)) OR col0 > 64 OR col3 > 45)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,47,29.57,'sllpd',84,90.90,'gztma')

statement ok
INSERT INTO tab0 VALUES(1,6,53.11,'povgy',89,58.96,'iprkq')

statement ok
INSERT INTO tab0 VALUES(2,20,68.72,'gyblm',27,94.36,'qgrzd')

statement ok
INSERT INTO tab0 VALUES(3,63,28.50,'kgtmk',59,95.95,'qnkob')

statement ok
INSERT INTO tab0 VALUES(4,37,7.85,'xakzd',81,52.49,'bbcja')

statement ok
INSERT INTO tab0 VALUES(5,81,65.67,'baaft',30,32.78,'qsivo')

statement ok
INSERT INTO tab0 VALUES(6,87,6.42,'nhswj',3,24.74,'nutko')

statement ok
INSERT INTO tab0 VALUES(7,8,48.30,'tjiow',64,10.60,'cajzd')

statement ok
INSERT INTO tab0 VALUES(8,74,78.31,'seerp',61,25.97,'qrnuz')

statement ok
INSERT INTO tab0 VALUES(9,4,18.45,'nklqx',38,17.97,'rvirf')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3,col4,col1 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 > 92.64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 92.64
----

query I rowsort label-2325
SELECT pk FROM tab0 WHERE NOT (col4 > 92.64)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col4 > 92.64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 92.64
----

query I rowsort label-2325
SELECT pk FROM tab1 WHERE NOT (col4 > 92.64)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col4 > 92.64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 92.64
----

query I rowsort label-2325
SELECT pk FROM tab2 WHERE NOT (col4 > 92.64)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col4 > 92.64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 92.64
----

query I rowsort label-2325
SELECT pk FROM tab3 WHERE NOT (col4 > 92.64)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col4 > 92.64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 92.64
----

query I rowsort label-2325
SELECT pk FROM tab4 WHERE NOT (col4 > 92.64)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 >= 0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 0
----

query I rowsort label-2340
SELECT pk FROM tab0 WHERE NOT (col3 >= 0)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 0

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 0
----

query I rowsort label-2340
SELECT pk FROM tab1 WHERE NOT (col3 >= 0)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 0

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 0
----

query I rowsort label-2340
SELECT pk FROM tab2 WHERE NOT (col3 >= 0)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 0

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 0
----

query I rowsort label-2340
SELECT pk FROM tab3 WHERE NOT (col3 >= 0)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 0

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 0
----

query I rowsort label-2340
SELECT pk FROM tab4 WHERE NOT (col3 >= 0)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,89,32.50,'uhetd',66,49.51,'fmiaz')

statement ok
INSERT INTO tab0 VALUES(1,71,31.28,'yitao',75,10.46,'bbsyl')

statement ok
INSERT INTO tab0 VALUES(2,54,12.49,'nfups',10,8.18,'hufkj')

statement ok
INSERT INTO tab0 VALUES(3,97,19.39,'grvur',64,90.88,'talna')

statement ok
INSERT INTO tab0 VALUES(4,12,25.28,'pahhe',62,85.14,'apmhm')

statement ok
INSERT INTO tab0 VALUES(5,33,47.18,'wcpzn',35,25.58,'soubl')

statement ok
INSERT INTO tab0 VALUES(6,74,57.46,'lpflw',72,52.45,'ntpjl')

statement ok
INSERT INTO tab0 VALUES(7,93,98.41,'uvwre',90,34.26,'fkxgb')

statement ok
INSERT INTO tab0 VALUES(8,55,89.93,'rjoop',93,75.43,'atney')

statement ok
INSERT INTO tab0 VALUES(9,94,46.9,'fptrj',34,27.88,'ntklx')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col3,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55)
----

query I rowsort label-2355
SELECT pk FROM tab0 WHERE NOT (col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55))
----
0
3
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55)
----

query I rowsort label-2355
SELECT pk FROM tab1 WHERE NOT (col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55))
----
0
3
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55)
----

query I rowsort label-2355
SELECT pk FROM tab2 WHERE NOT (col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55))
----
0
3
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55)
----

query I rowsort label-2355
SELECT pk FROM tab3 WHERE NOT (col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55))
----
0
3
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55)
----

query I rowsort label-2355
SELECT pk FROM tab4 WHERE NOT (col0 <= 18 AND col4 >= 92.20 OR (col4 < 26.55))
----
0
3
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 > 1.68 AND col3 > 80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 1.68 AND col3 > 80
----

query I rowsort label-2370
SELECT pk FROM tab0 WHERE NOT (col4 > 1.68 AND col3 > 80)
----
0
3
4
6
9

statement ok
DELETE FROM tab1 WHERE col4 > 1.68 AND col3 > 80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 1.68 AND col3 > 80
----

query I rowsort label-2370
SELECT pk FROM tab1 WHERE NOT (col4 > 1.68 AND col3 > 80)
----
0
3
4
6
9

statement ok
DELETE FROM tab2 WHERE col4 > 1.68 AND col3 > 80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 1.68 AND col3 > 80
----

query I rowsort label-2370
SELECT pk FROM tab2 WHERE NOT (col4 > 1.68 AND col3 > 80)
----
0
3
4
6
9

statement ok
DELETE FROM tab3 WHERE col4 > 1.68 AND col3 > 80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 1.68 AND col3 > 80
----

query I rowsort label-2370
SELECT pk FROM tab3 WHERE NOT (col4 > 1.68 AND col3 > 80)
----
0
3
4
6
9

statement ok
DELETE FROM tab4 WHERE col4 > 1.68 AND col3 > 80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 1.68 AND col3 > 80
----

query I rowsort label-2370
SELECT pk FROM tab4 WHERE NOT (col4 > 1.68 AND col3 > 80)
----
0
3
4
6
9

statement ok
DELETE FROM tab0 WHERE col3 > 19 AND col0 IN (20) AND col3 <= 30

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 19 AND col0 IN (20) AND col3 <= 30
----

query I rowsort label-2385
SELECT pk FROM tab0 WHERE NOT (col3 > 19 AND col0 IN (20) AND col3 <= 30)
----
0
3
4
6
9

statement ok
DELETE FROM tab1 WHERE col3 > 19 AND col0 IN (20) AND col3 <= 30

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 19 AND col0 IN (20) AND col3 <= 30
----

query I rowsort label-2385
SELECT pk FROM tab1 WHERE NOT (col3 > 19 AND col0 IN (20) AND col3 <= 30)
----
0
3
4
6
9

statement ok
DELETE FROM tab2 WHERE col3 > 19 AND col0 IN (20) AND col3 <= 30

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 19 AND col0 IN (20) AND col3 <= 30
----

query I rowsort label-2385
SELECT pk FROM tab2 WHERE NOT (col3 > 19 AND col0 IN (20) AND col3 <= 30)
----
0
3
4
6
9

statement ok
DELETE FROM tab3 WHERE col3 > 19 AND col0 IN (20) AND col3 <= 30

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 19 AND col0 IN (20) AND col3 <= 30
----

query I rowsort label-2385
SELECT pk FROM tab3 WHERE NOT (col3 > 19 AND col0 IN (20) AND col3 <= 30)
----
0
3
4
6
9

statement ok
DELETE FROM tab4 WHERE col3 > 19 AND col0 IN (20) AND col3 <= 30

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 19 AND col0 IN (20) AND col3 <= 30
----

query I rowsort label-2385
SELECT pk FROM tab4 WHERE NOT (col3 > 19 AND col0 IN (20) AND col3 <= 30)
----
0
3
4
6
9

statement ok
DELETE FROM tab0 WHERE col3 IN (93,50)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (93,50)
----

query I rowsort label-2400
SELECT pk FROM tab0 WHERE NOT (col3 IN (93,50))
----
0
3
4
6
9

statement ok
DELETE FROM tab1 WHERE col3 IN (93,50)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (93,50)
----

query I rowsort label-2400
SELECT pk FROM tab1 WHERE NOT (col3 IN (93,50))
----
0
3
4
6
9

statement ok
DELETE FROM tab2 WHERE col3 IN (93,50)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (93,50)
----

query I rowsort label-2400
SELECT pk FROM tab2 WHERE NOT (col3 IN (93,50))
----
0
3
4
6
9

statement ok
DELETE FROM tab3 WHERE col3 IN (93,50)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (93,50)
----

query I rowsort label-2400
SELECT pk FROM tab3 WHERE NOT (col3 IN (93,50))
----
0
3
4
6
9

statement ok
DELETE FROM tab4 WHERE col3 IN (93,50)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (93,50)
----

query I rowsort label-2400
SELECT pk FROM tab4 WHERE NOT (col3 IN (93,50))
----
0
3
4
6
9

statement ok
DELETE FROM tab0 WHERE col0 < 26

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 26
----

query I rowsort label-2415
SELECT pk FROM tab0 WHERE NOT (col0 < 26)
----
0
3
6
9

statement ok
DELETE FROM tab1 WHERE col0 < 26

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 26
----

query I rowsort label-2415
SELECT pk FROM tab1 WHERE NOT (col0 < 26)
----
0
3
6
9

statement ok
DELETE FROM tab2 WHERE col0 < 26

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 26
----

query I rowsort label-2415
SELECT pk FROM tab2 WHERE NOT (col0 < 26)
----
0
3
6
9

statement ok
DELETE FROM tab3 WHERE col0 < 26

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 26
----

query I rowsort label-2415
SELECT pk FROM tab3 WHERE NOT (col0 < 26)
----
0
3
6
9

statement ok
DELETE FROM tab4 WHERE col0 < 26

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 26
----

query I rowsort label-2415
SELECT pk FROM tab4 WHERE NOT (col0 < 26)
----
0
3
6
9

statement ok
DELETE FROM tab0 WHERE col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10
----

query I rowsort label-2430
SELECT pk FROM tab0 WHERE NOT (col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10)
----
0
6
9

statement ok
DELETE FROM tab1 WHERE col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10
----

query I rowsort label-2430
SELECT pk FROM tab1 WHERE NOT (col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10)
----
0
6
9

statement ok
DELETE FROM tab2 WHERE col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10
----

query I rowsort label-2430
SELECT pk FROM tab2 WHERE NOT (col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10)
----
0
6
9

statement ok
DELETE FROM tab3 WHERE col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10
----

query I rowsort label-2430
SELECT pk FROM tab3 WHERE NOT (col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10)
----
0
6
9

statement ok
DELETE FROM tab4 WHERE col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10
----

query I rowsort label-2430
SELECT pk FROM tab4 WHERE NOT (col0 >= 92 AND col4 >= 73.37 AND col3 > 29 OR col3 < 64 AND col0 < 94 AND col1 = 32.90 AND col0 <= 10)
----
0
6
9

statement ok
DELETE FROM tab0 WHERE col1 < 94.55

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 94.55
----

query I rowsort label-2445
SELECT pk FROM tab0 WHERE NOT (col1 < 94.55)
----

statement ok
DELETE FROM tab1 WHERE col1 < 94.55

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 94.55
----

query I rowsort label-2445
SELECT pk FROM tab1 WHERE NOT (col1 < 94.55)
----

statement ok
DELETE FROM tab2 WHERE col1 < 94.55

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 94.55
----

query I rowsort label-2445
SELECT pk FROM tab2 WHERE NOT (col1 < 94.55)
----

statement ok
DELETE FROM tab3 WHERE col1 < 94.55

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 94.55
----

query I rowsort label-2445
SELECT pk FROM tab3 WHERE NOT (col1 < 94.55)
----

statement ok
DELETE FROM tab4 WHERE col1 < 94.55

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 94.55
----

query I rowsort label-2445
SELECT pk FROM tab4 WHERE NOT (col1 < 94.55)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,21,37.3,'juqjr',58,79.28,'wbpie')

statement ok
INSERT INTO tab0 VALUES(1,26,78.95,'ybqgf',86,90.10,'yidkw')

statement ok
INSERT INTO tab0 VALUES(2,88,72.96,'qztfu',69,77.91,'utqvk')

statement ok
INSERT INTO tab0 VALUES(3,17,71.15,'hdlap',97,51.1,'lwtvm')

statement ok
INSERT INTO tab0 VALUES(4,35,87.83,'abksc',76,65.49,'tednk')

statement ok
INSERT INTO tab0 VALUES(5,90,54.62,'xifso',49,75.33,'vjfvt')

statement ok
INSERT INTO tab0 VALUES(6,68,91.64,'sraww',1,3.53,'qhsxu')

statement ok
INSERT INTO tab0 VALUES(7,7,63.57,'kcytz',74,98.24,'teeyi')

statement ok
INSERT INTO tab0 VALUES(8,8,45.82,'tbaot',81,2.91,'yqwnh')

statement ok
INSERT INTO tab0 VALUES(9,48,85.62,'cnomg',17,8.35,'sbeog')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3,col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,30,42.72,'sbbpr',69,72.55,'mpnfe')

statement ok
INSERT INTO tab0 VALUES(1,84,70.16,'nfnco',60,31.12,'xdkzz')

statement ok
INSERT INTO tab0 VALUES(2,10,30.70,'idded',89,86.0,'mquql')

statement ok
INSERT INTO tab0 VALUES(3,64,32.73,'ycjre',59,7.68,'smuzu')

statement ok
INSERT INTO tab0 VALUES(4,48,50.67,'frwqj',23,13.27,'ijqlg')

statement ok
INSERT INTO tab0 VALUES(5,18,87.6,'mrkes',98,33.57,'xijev')

statement ok
INSERT INTO tab0 VALUES(6,5,37.76,'fmctk',76,67.23,'pcheb')

statement ok
INSERT INTO tab0 VALUES(7,17,49.0,'ualgi',39,50.87,'owwnh')

statement ok
INSERT INTO tab0 VALUES(8,60,83.53,'xardr',70,14.18,'tvbir')

statement ok
INSERT INTO tab0 VALUES(9,47,84.79,'jzlmo',61,49.6,'mxczo')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC,col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,40,61.68,'hqqqd',43,36.10,'dmmdi')

statement ok
INSERT INTO tab0 VALUES(1,74,38.14,'aaudi',22,84.60,'lyrtn')

statement ok
INSERT INTO tab0 VALUES(2,78,51.70,'jzswp',8,54.58,'mojvk')

statement ok
INSERT INTO tab0 VALUES(3,87,44.44,'yqibj',96,17.29,'eyozm')

statement ok
INSERT INTO tab0 VALUES(4,82,33.33,'pzpsb',80,48.94,'sivny')

statement ok
INSERT INTO tab0 VALUES(5,97,63.34,'fdgpr',63,82.80,'bmssp')

statement ok
INSERT INTO tab0 VALUES(6,35,80.58,'ejijn',76,86.36,'oanqd')

statement ok
INSERT INTO tab0 VALUES(7,83,83.43,'ejxrs',85,12.41,'pltqa')

statement ok
INSERT INTO tab0 VALUES(8,12,95.64,'tfsla',6,66.19,'fhweb')

statement ok
INSERT INTO tab0 VALUES(9,11,20.48,'xrpvd',18,68.53,'sewdz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL
----

query I rowsort label-2460
SELECT pk FROM tab0 WHERE NOT (col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL)
----

statement ok
DELETE FROM tab1 WHERE col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL
----

query I rowsort label-2460
SELECT pk FROM tab1 WHERE NOT (col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL)
----

statement ok
DELETE FROM tab2 WHERE col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL
----

query I rowsort label-2460
SELECT pk FROM tab2 WHERE NOT (col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL)
----

statement ok
DELETE FROM tab3 WHERE col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL
----

query I rowsort label-2460
SELECT pk FROM tab3 WHERE NOT (col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL)
----

statement ok
DELETE FROM tab4 WHERE col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL
----

query I rowsort label-2460
SELECT pk FROM tab4 WHERE NOT (col3 <= 97 OR col0 < 1 AND col3 <= 98 OR col4 < 55.66 OR col0 >= 57 OR col3 IS NULL)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,42,44.7,'tjpdk',75,27.83,'pexnu')

statement ok
INSERT INTO tab0 VALUES(1,87,63.89,'xuzuu',96,82.92,'cbhji')

statement ok
INSERT INTO tab0 VALUES(2,69,27.28,'ckjix',37,9.46,'ysxgd')

statement ok
INSERT INTO tab0 VALUES(3,76,69.16,'uxdqu',48,56.98,'sfars')

statement ok
INSERT INTO tab0 VALUES(4,2,14.71,'ubsdz',42,90.29,'hiena')

statement ok
INSERT INTO tab0 VALUES(5,55,41.41,'xsvxc',1,68.64,'gkont')

statement ok
INSERT INTO tab0 VALUES(6,70,48.28,'jejuk',91,94.80,'ntvef')

statement ok
INSERT INTO tab0 VALUES(7,21,12.89,'tbxlr',76,83.20,'brqww')

statement ok
INSERT INTO tab0 VALUES(8,37,51.58,'ioipm',24,25.9,'mphda')

statement ok
INSERT INTO tab0 VALUES(9,12,92.52,'vpmcd',30,45.61,'oeisf')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 >= 50)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 50)
----

query I rowsort label-2475
SELECT pk FROM tab0 WHERE NOT ((col0 >= 50))
----
0
4
7
8
9

statement ok
DELETE FROM tab1 WHERE (col0 >= 50)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 50)
----

query I rowsort label-2475
SELECT pk FROM tab1 WHERE NOT ((col0 >= 50))
----
0
4
7
8
9

statement ok
DELETE FROM tab2 WHERE (col0 >= 50)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 50)
----

query I rowsort label-2475
SELECT pk FROM tab2 WHERE NOT ((col0 >= 50))
----
0
4
7
8
9

statement ok
DELETE FROM tab3 WHERE (col0 >= 50)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 50)
----

query I rowsort label-2475
SELECT pk FROM tab3 WHERE NOT ((col0 >= 50))
----
0
4
7
8
9

statement ok
DELETE FROM tab4 WHERE (col0 >= 50)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 50)
----

query I rowsort label-2475
SELECT pk FROM tab4 WHERE NOT ((col0 >= 50))
----
0
4
7
8
9

statement ok
DELETE FROM tab0 WHERE col1 < 33.16 OR (col3 < 43) AND col4 < 2.12

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 33.16 OR (col3 < 43) AND col4 < 2.12
----

query I rowsort label-2490
SELECT pk FROM tab0 WHERE NOT (col1 < 33.16 OR (col3 < 43) AND col4 < 2.12)
----
0
8
9

statement ok
DELETE FROM tab1 WHERE col1 < 33.16 OR (col3 < 43) AND col4 < 2.12

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 33.16 OR (col3 < 43) AND col4 < 2.12
----

query I rowsort label-2490
SELECT pk FROM tab1 WHERE NOT (col1 < 33.16 OR (col3 < 43) AND col4 < 2.12)
----
0
8
9

statement ok
DELETE FROM tab2 WHERE col1 < 33.16 OR (col3 < 43) AND col4 < 2.12

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 33.16 OR (col3 < 43) AND col4 < 2.12
----

query I rowsort label-2490
SELECT pk FROM tab2 WHERE NOT (col1 < 33.16 OR (col3 < 43) AND col4 < 2.12)
----
0
8
9

statement ok
DELETE FROM tab3 WHERE col1 < 33.16 OR (col3 < 43) AND col4 < 2.12

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 33.16 OR (col3 < 43) AND col4 < 2.12
----

query I rowsort label-2490
SELECT pk FROM tab3 WHERE NOT (col1 < 33.16 OR (col3 < 43) AND col4 < 2.12)
----
0
8
9

statement ok
DELETE FROM tab4 WHERE col1 < 33.16 OR (col3 < 43) AND col4 < 2.12

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 33.16 OR (col3 < 43) AND col4 < 2.12
----

query I rowsort label-2490
SELECT pk FROM tab4 WHERE NOT (col1 < 33.16 OR (col3 < 43) AND col4 < 2.12)
----
0
8
9

statement ok
DELETE FROM tab0 WHERE (col3 <= 98) AND col0 >= 1

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 98) AND col0 >= 1
----

query I rowsort label-2505
SELECT pk FROM tab0 WHERE NOT ((col3 <= 98) AND col0 >= 1)
----

statement ok
DELETE FROM tab1 WHERE (col3 <= 98) AND col0 >= 1

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 98) AND col0 >= 1
----

query I rowsort label-2505
SELECT pk FROM tab1 WHERE NOT ((col3 <= 98) AND col0 >= 1)
----

statement ok
DELETE FROM tab2 WHERE (col3 <= 98) AND col0 >= 1

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 98) AND col0 >= 1
----

query I rowsort label-2505
SELECT pk FROM tab2 WHERE NOT ((col3 <= 98) AND col0 >= 1)
----

statement ok
DELETE FROM tab3 WHERE (col3 <= 98) AND col0 >= 1

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 98) AND col0 >= 1
----

query I rowsort label-2505
SELECT pk FROM tab3 WHERE NOT ((col3 <= 98) AND col0 >= 1)
----

statement ok
DELETE FROM tab4 WHERE (col3 <= 98) AND col0 >= 1

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 98) AND col0 >= 1
----

query I rowsort label-2505
SELECT pk FROM tab4 WHERE NOT ((col3 <= 98) AND col0 >= 1)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,84,9.30,'ohoch',38,9.62,'gxrxh')

statement ok
INSERT INTO tab0 VALUES(1,71,63.22,'koxcj',13,54.37,'adwnl')

statement ok
INSERT INTO tab0 VALUES(2,83,65.48,'isukc',47,97.46,'pgibj')

statement ok
INSERT INTO tab0 VALUES(3,40,8.70,'hkfbv',52,55.75,'ckrjt')

statement ok
INSERT INTO tab0 VALUES(4,74,51.53,'cafuj',8,40.24,'hxagk')

statement ok
INSERT INTO tab0 VALUES(5,41,78.85,'yrkno',76,26.21,'fkhpd')

statement ok
INSERT INTO tab0 VALUES(6,33,62.84,'ahwby',9,3.29,'sbfkd')

statement ok
INSERT INTO tab0 VALUES(7,95,31.14,'famqi',67,47.65,'aqpzu')

statement ok
INSERT INTO tab0 VALUES(8,29,23.96,'qyssp',27,78.6,'qmebf')

statement ok
INSERT INTO tab0 VALUES(9,15,56.21,'kqfga',97,25.9,'ryfvx')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3,col4)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 DESC,col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1 DESC,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,43,72.13,'gycjr',42,37.45,'zchwb')

statement ok
INSERT INTO tab0 VALUES(1,47,43.51,'tbnjx',3,24.1,'fjgkj')

statement ok
INSERT INTO tab0 VALUES(2,86,93.42,'kvuys',58,63.36,'mwcfe')

statement ok
INSERT INTO tab0 VALUES(3,93,77.64,'srqwa',59,58.82,'psleu')

statement ok
INSERT INTO tab0 VALUES(4,64,63.54,'gfgip',72,57.33,'ovutl')

statement ok
INSERT INTO tab0 VALUES(5,69,95.17,'sicxw',98,17.60,'yuduq')

statement ok
INSERT INTO tab0 VALUES(6,62,58.43,'egjwk',78,66.21,'vhpxw')

statement ok
INSERT INTO tab0 VALUES(7,1,37.15,'xvsdp',10,62.79,'dazli')

statement ok
INSERT INTO tab0 VALUES(8,53,82.23,'alxph',60,64.5,'lzosm')

statement ok
INSERT INTO tab0 VALUES(9,9,71.76,'zjfzj',73,80.99,'pkmcn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,19,63.70,'pigme',3,93.91,'waxmp')

statement ok
INSERT INTO tab0 VALUES(1,58,87.4,'nhjrm',91,52.94,'sossd')

statement ok
INSERT INTO tab0 VALUES(2,43,13.64,'fybsl',11,28.71,'ecbwo')

statement ok
INSERT INTO tab0 VALUES(3,93,71.91,'nddub',39,77.78,'uuapp')

statement ok
INSERT INTO tab0 VALUES(4,11,48.48,'uljlk',65,23.71,'ytotk')

statement ok
INSERT INTO tab0 VALUES(5,38,7.76,'yumdr',51,69.69,'hutxw')

statement ok
INSERT INTO tab0 VALUES(6,23,95.62,'mylbd',97,10.16,'pzvbp')

statement ok
INSERT INTO tab0 VALUES(7,81,58.98,'uiilm',99,45.45,'cfjhc')

statement ok
INSERT INTO tab0 VALUES(8,56,50.47,'eqsmy',15,89.38,'mylhy')

statement ok
INSERT INTO tab0 VALUES(9,86,51.2,'afqve',28,86.89,'bvqbw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,59,81.88,'hivli',80,45.83,'vruoa')

statement ok
INSERT INTO tab0 VALUES(1,48,47.41,'uustu',84,87.65,'ybubm')

statement ok
INSERT INTO tab0 VALUES(2,4,96.33,'vbmxs',5,74.81,'lozld')

statement ok
INSERT INTO tab0 VALUES(3,62,92.86,'rpybz',45,60.73,'alxvg')

statement ok
INSERT INTO tab0 VALUES(4,36,58.25,'khnir',69,21.16,'gffme')

statement ok
INSERT INTO tab0 VALUES(5,79,98.44,'fcolc',61,66.87,'udcrs')

statement ok
INSERT INTO tab0 VALUES(6,49,7.66,'gsehx',93,50.21,'ldbea')

statement ok
INSERT INTO tab0 VALUES(7,68,78.5,'zaspj',81,89.80,'iekuv')

statement ok
INSERT INTO tab0 VALUES(8,89,25.34,'faqoh',50,67.9,'yzafp')

statement ok
INSERT INTO tab0 VALUES(9,55,84.39,'ecplh',1,53.3,'irtmp')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC,col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1,col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1 DESC,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 = 27.50

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 27.50
----

query I rowsort label-2520
SELECT pk FROM tab0 WHERE NOT (col1 = 27.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 = 27.50

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 27.50
----

query I rowsort label-2520
SELECT pk FROM tab1 WHERE NOT (col1 = 27.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 = 27.50

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 27.50
----

query I rowsort label-2520
SELECT pk FROM tab2 WHERE NOT (col1 = 27.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 = 27.50

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 27.50
----

query I rowsort label-2520
SELECT pk FROM tab3 WHERE NOT (col1 = 27.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 = 27.50

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 27.50
----

query I rowsort label-2520
SELECT pk FROM tab4 WHERE NOT (col1 = 27.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 >= 75

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 75
----

query I rowsort label-2535
SELECT pk FROM tab0 WHERE NOT (col0 >= 75)
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab1 WHERE col0 >= 75

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 75
----

query I rowsort label-2535
SELECT pk FROM tab1 WHERE NOT (col0 >= 75)
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab2 WHERE col0 >= 75

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 75
----

query I rowsort label-2535
SELECT pk FROM tab2 WHERE NOT (col0 >= 75)
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab3 WHERE col0 >= 75

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 75
----

query I rowsort label-2535
SELECT pk FROM tab3 WHERE NOT (col0 >= 75)
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab4 WHERE col0 >= 75

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 75
----

query I rowsort label-2535
SELECT pk FROM tab4 WHERE NOT (col0 >= 75)
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab0 WHERE (col0 < 3)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 3)
----

query I rowsort label-2550
SELECT pk FROM tab0 WHERE NOT ((col0 < 3))
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab1 WHERE (col0 < 3)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 3)
----

query I rowsort label-2550
SELECT pk FROM tab1 WHERE NOT ((col0 < 3))
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab2 WHERE (col0 < 3)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 3)
----

query I rowsort label-2550
SELECT pk FROM tab2 WHERE NOT ((col0 < 3))
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab3 WHERE (col0 < 3)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 3)
----

query I rowsort label-2550
SELECT pk FROM tab3 WHERE NOT ((col0 < 3))
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab4 WHERE (col0 < 3)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 3)
----

query I rowsort label-2550
SELECT pk FROM tab4 WHERE NOT ((col0 < 3))
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab0 WHERE col1 > 10.89

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 10.89
----

query I rowsort label-2565
SELECT pk FROM tab0 WHERE NOT (col1 > 10.89)
----
6

statement ok
DELETE FROM tab1 WHERE col1 > 10.89

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 10.89
----

query I rowsort label-2565
SELECT pk FROM tab1 WHERE NOT (col1 > 10.89)
----
6

statement ok
DELETE FROM tab2 WHERE col1 > 10.89

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 10.89
----

query I rowsort label-2565
SELECT pk FROM tab2 WHERE NOT (col1 > 10.89)
----
6

statement ok
DELETE FROM tab3 WHERE col1 > 10.89

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 10.89
----

query I rowsort label-2565
SELECT pk FROM tab3 WHERE NOT (col1 > 10.89)
----
6

statement ok
DELETE FROM tab4 WHERE col1 > 10.89

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 10.89
----

query I rowsort label-2565
SELECT pk FROM tab4 WHERE NOT (col1 > 10.89)
----
6

statement ok
DELETE FROM tab0 WHERE (((((col3 > 75)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col3 > 75)))))
----

query I rowsort label-2580
SELECT pk FROM tab0 WHERE NOT ((((((col3 > 75))))))
----

statement ok
DELETE FROM tab1 WHERE (((((col3 > 75)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col3 > 75)))))
----

query I rowsort label-2580
SELECT pk FROM tab1 WHERE NOT ((((((col3 > 75))))))
----

statement ok
DELETE FROM tab2 WHERE (((((col3 > 75)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col3 > 75)))))
----

query I rowsort label-2580
SELECT pk FROM tab2 WHERE NOT ((((((col3 > 75))))))
----

statement ok
DELETE FROM tab3 WHERE (((((col3 > 75)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col3 > 75)))))
----

query I rowsort label-2580
SELECT pk FROM tab3 WHERE NOT ((((((col3 > 75))))))
----

statement ok
DELETE FROM tab4 WHERE (((((col3 > 75)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col3 > 75)))))
----

query I rowsort label-2580
SELECT pk FROM tab4 WHERE NOT ((((((col3 > 75))))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,25,63.68,'zctdy',39,77.20,'xfexf')

statement ok
INSERT INTO tab0 VALUES(1,10,3.98,'tphvp',3,74.16,'tikdp')

statement ok
INSERT INTO tab0 VALUES(2,74,68.12,'srbph',92,29.87,'masct')

statement ok
INSERT INTO tab0 VALUES(3,84,49.63,'nwuae',81,12.47,'urmgu')

statement ok
INSERT INTO tab0 VALUES(4,86,0.17,'hlcyf',52,62.9,'kqbim')

statement ok
INSERT INTO tab0 VALUES(5,68,47.26,'rzqeq',64,96.51,'fvzse')

statement ok
INSERT INTO tab0 VALUES(6,23,1.84,'zafdu',11,22.75,'hovfa')

statement ok
INSERT INTO tab0 VALUES(7,12,71.90,'jswoi',85,54.71,'czpsa')

statement ok
INSERT INTO tab0 VALUES(8,26,77.16,'wizwm',41,20.78,'prrui')

statement ok
INSERT INTO tab0 VALUES(9,45,62.62,'rcobz',55,79.49,'jocfb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1,col3,col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3,col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 >= 97) AND col3 >= 97

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 97) AND col3 >= 97
----

query I rowsort label-2595
SELECT pk FROM tab0 WHERE NOT ((col3 >= 97) AND col3 >= 97)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 >= 97) AND col3 >= 97

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 97) AND col3 >= 97
----

query I rowsort label-2595
SELECT pk FROM tab1 WHERE NOT ((col3 >= 97) AND col3 >= 97)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 >= 97) AND col3 >= 97

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 97) AND col3 >= 97
----

query I rowsort label-2595
SELECT pk FROM tab2 WHERE NOT ((col3 >= 97) AND col3 >= 97)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 >= 97) AND col3 >= 97

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 97) AND col3 >= 97
----

query I rowsort label-2595
SELECT pk FROM tab3 WHERE NOT ((col3 >= 97) AND col3 >= 97)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 >= 97) AND col3 >= 97

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 97) AND col3 >= 97
----

query I rowsort label-2595
SELECT pk FROM tab4 WHERE NOT ((col3 >= 97) AND col3 >= 97)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 <= 93 OR (col1 > 72.79 OR col3 < 75)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 93 OR (col1 > 72.79 OR col3 < 75)
----

query I rowsort label-2610
SELECT pk FROM tab0 WHERE NOT (col0 <= 93 OR (col1 > 72.79 OR col3 < 75))
----

statement ok
DELETE FROM tab1 WHERE col0 <= 93 OR (col1 > 72.79 OR col3 < 75)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 93 OR (col1 > 72.79 OR col3 < 75)
----

query I rowsort label-2610
SELECT pk FROM tab1 WHERE NOT (col0 <= 93 OR (col1 > 72.79 OR col3 < 75))
----

statement ok
DELETE FROM tab2 WHERE col0 <= 93 OR (col1 > 72.79 OR col3 < 75)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 93 OR (col1 > 72.79 OR col3 < 75)
----

query I rowsort label-2610
SELECT pk FROM tab2 WHERE NOT (col0 <= 93 OR (col1 > 72.79 OR col3 < 75))
----

statement ok
DELETE FROM tab3 WHERE col0 <= 93 OR (col1 > 72.79 OR col3 < 75)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 93 OR (col1 > 72.79 OR col3 < 75)
----

query I rowsort label-2610
SELECT pk FROM tab3 WHERE NOT (col0 <= 93 OR (col1 > 72.79 OR col3 < 75))
----

statement ok
DELETE FROM tab4 WHERE col0 <= 93 OR (col1 > 72.79 OR col3 < 75)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 93 OR (col1 > 72.79 OR col3 < 75)
----

query I rowsort label-2610
SELECT pk FROM tab4 WHERE NOT (col0 <= 93 OR (col1 > 72.79 OR col3 < 75))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,95,4.11,'diwsq',87,50.37,'reqin')

statement ok
INSERT INTO tab0 VALUES(1,30,42.40,'zoxgn',50,51.68,'ajlqg')

statement ok
INSERT INTO tab0 VALUES(2,60,93.76,'slqfj',58,59.85,'zvygi')

statement ok
INSERT INTO tab0 VALUES(3,29,71.59,'tqyge',72,35.89,'dvbrp')

statement ok
INSERT INTO tab0 VALUES(4,31,32.95,'pvwkx',37,88.31,'pxblm')

statement ok
INSERT INTO tab0 VALUES(5,73,92.18,'wcxrv',41,90.71,'hnowi')

statement ok
INSERT INTO tab0 VALUES(6,43,33.54,'mvwpm',82,91.39,'wouqd')

statement ok
INSERT INTO tab0 VALUES(7,65,24.81,'rcjxu',27,27.2,'bbpka')

statement ok
INSERT INTO tab0 VALUES(8,64,25.93,'impef',78,38.23,'otqoe')

statement ok
INSERT INTO tab0 VALUES(9,33,5.64,'xqrja',30,75.26,'ksnpc')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3,col4 DESC,col0)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0 DESC,col3)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 > 71.69

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 71.69
----

query I rowsort label-2625
SELECT pk FROM tab0 WHERE NOT (col1 > 71.69)
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col1 > 71.69

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 71.69
----

query I rowsort label-2625
SELECT pk FROM tab1 WHERE NOT (col1 > 71.69)
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col1 > 71.69

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 71.69
----

query I rowsort label-2625
SELECT pk FROM tab2 WHERE NOT (col1 > 71.69)
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col1 > 71.69

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 71.69
----

query I rowsort label-2625
SELECT pk FROM tab3 WHERE NOT (col1 > 71.69)
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col1 > 71.69

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 71.69
----

query I rowsort label-2625
SELECT pk FROM tab4 WHERE NOT (col1 > 71.69)
----
0
1
3
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 > 50 OR col3 > 56 AND (col3 < 44)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 50 OR col3 > 56 AND (col3 < 44)
----

query I rowsort label-2640
SELECT pk FROM tab0 WHERE NOT (col0 > 50 OR col3 > 56 AND (col3 < 44))
----
1
3
4
6
9

statement ok
DELETE FROM tab1 WHERE col0 > 50 OR col3 > 56 AND (col3 < 44)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 50 OR col3 > 56 AND (col3 < 44)
----

query I rowsort label-2640
SELECT pk FROM tab1 WHERE NOT (col0 > 50 OR col3 > 56 AND (col3 < 44))
----
1
3
4
6
9

statement ok
DELETE FROM tab2 WHERE col0 > 50 OR col3 > 56 AND (col3 < 44)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 50 OR col3 > 56 AND (col3 < 44)
----

query I rowsort label-2640
SELECT pk FROM tab2 WHERE NOT (col0 > 50 OR col3 > 56 AND (col3 < 44))
----
1
3
4
6
9

statement ok
DELETE FROM tab3 WHERE col0 > 50 OR col3 > 56 AND (col3 < 44)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 50 OR col3 > 56 AND (col3 < 44)
----

query I rowsort label-2640
SELECT pk FROM tab3 WHERE NOT (col0 > 50 OR col3 > 56 AND (col3 < 44))
----
1
3
4
6
9

statement ok
DELETE FROM tab4 WHERE col0 > 50 OR col3 > 56 AND (col3 < 44)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 50 OR col3 > 56 AND (col3 < 44)
----

query I rowsort label-2640
SELECT pk FROM tab4 WHERE NOT (col0 > 50 OR col3 > 56 AND (col3 < 44))
----
1
3
4
6
9

statement ok
DELETE FROM tab0 WHERE col0 >= 50 AND col3 <= 20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 50 AND col3 <= 20
----

query I rowsort label-2655
SELECT pk FROM tab0 WHERE NOT (col0 >= 50 AND col3 <= 20)
----
1
3
4
6
9

statement ok
DELETE FROM tab1 WHERE col0 >= 50 AND col3 <= 20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 50 AND col3 <= 20
----

query I rowsort label-2655
SELECT pk FROM tab1 WHERE NOT (col0 >= 50 AND col3 <= 20)
----
1
3
4
6
9

statement ok
DELETE FROM tab2 WHERE col0 >= 50 AND col3 <= 20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 50 AND col3 <= 20
----

query I rowsort label-2655
SELECT pk FROM tab2 WHERE NOT (col0 >= 50 AND col3 <= 20)
----
1
3
4
6
9

statement ok
DELETE FROM tab3 WHERE col0 >= 50 AND col3 <= 20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 50 AND col3 <= 20
----

query I rowsort label-2655
SELECT pk FROM tab3 WHERE NOT (col0 >= 50 AND col3 <= 20)
----
1
3
4
6
9

statement ok
DELETE FROM tab4 WHERE col0 >= 50 AND col3 <= 20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 50 AND col3 <= 20
----

query I rowsort label-2655
SELECT pk FROM tab4 WHERE NOT (col0 >= 50 AND col3 <= 20)
----
1
3
4
6
9

statement ok
DELETE FROM tab0 WHERE (col0 <= 96) AND col1 >= 93.74

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 96) AND col1 >= 93.74
----

query I rowsort label-2670
SELECT pk FROM tab0 WHERE NOT ((col0 <= 96) AND col1 >= 93.74)
----
1
3
4
6
9

statement ok
DELETE FROM tab1 WHERE (col0 <= 96) AND col1 >= 93.74

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 96) AND col1 >= 93.74
----

query I rowsort label-2670
SELECT pk FROM tab1 WHERE NOT ((col0 <= 96) AND col1 >= 93.74)
----
1
3
4
6
9

statement ok
DELETE FROM tab2 WHERE (col0 <= 96) AND col1 >= 93.74

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 96) AND col1 >= 93.74
----

query I rowsort label-2670
SELECT pk FROM tab2 WHERE NOT ((col0 <= 96) AND col1 >= 93.74)
----
1
3
4
6
9

statement ok
DELETE FROM tab3 WHERE (col0 <= 96) AND col1 >= 93.74

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 96) AND col1 >= 93.74
----

query I rowsort label-2670
SELECT pk FROM tab3 WHERE NOT ((col0 <= 96) AND col1 >= 93.74)
----
1
3
4
6
9

statement ok
DELETE FROM tab4 WHERE (col0 <= 96) AND col1 >= 93.74

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 96) AND col1 >= 93.74
----

query I rowsort label-2670
SELECT pk FROM tab4 WHERE NOT ((col0 <= 96) AND col1 >= 93.74)
----
1
3
4
6
9

statement ok
DELETE FROM tab0 WHERE col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91
----

query I rowsort label-2685
SELECT pk FROM tab0 WHERE NOT (col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91
----

query I rowsort label-2685
SELECT pk FROM tab1 WHERE NOT (col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91
----

query I rowsort label-2685
SELECT pk FROM tab2 WHERE NOT (col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91
----

query I rowsort label-2685
SELECT pk FROM tab3 WHERE NOT (col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91
----

query I rowsort label-2685
SELECT pk FROM tab4 WHERE NOT (col3 >= 29 OR ((col4 >= 41.61) OR col3 = 80 OR col4 > 84.33 OR col0 >= 85) AND (col4 = 59.79 AND (col3 > 31)) AND col3 > 12 OR col0 <= 91)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,0,85.38,'qufxh',7,4.53,'hisnp')

statement ok
INSERT INTO tab0 VALUES(1,85,18.62,'lwrih',69,41.90,'hpvra')

statement ok
INSERT INTO tab0 VALUES(2,73,46.44,'thdpf',58,93.37,'ullhf')

statement ok
INSERT INTO tab0 VALUES(3,95,16.22,'cpqnt',52,70.46,'vumao')

statement ok
INSERT INTO tab0 VALUES(4,90,49.7,'sxyjg',68,60.28,'umlqw')

statement ok
INSERT INTO tab0 VALUES(5,68,58.45,'xkkjf',25,49.6,'ruorn')

statement ok
INSERT INTO tab0 VALUES(6,72,52.80,'cacke',4,27.82,'zxygp')

statement ok
INSERT INTO tab0 VALUES(7,41,59.13,'vzdna',17,8.0,'evpkx')

statement ok
INSERT INTO tab0 VALUES(8,71,28.68,'zpouv',61,35.6,'kurzf')

statement ok
INSERT INTO tab0 VALUES(9,80,50.56,'atrrj',88,96.12,'ayqal')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4,col1 DESC,col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 >= 94

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 94
----

query I rowsort label-2700
SELECT pk FROM tab0 WHERE NOT (col0 >= 94)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab1 WHERE col0 >= 94

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 94
----

query I rowsort label-2700
SELECT pk FROM tab1 WHERE NOT (col0 >= 94)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab2 WHERE col0 >= 94

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 94
----

query I rowsort label-2700
SELECT pk FROM tab2 WHERE NOT (col0 >= 94)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab3 WHERE col0 >= 94

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 94
----

query I rowsort label-2700
SELECT pk FROM tab3 WHERE NOT (col0 >= 94)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab4 WHERE col0 >= 94

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 94
----

query I rowsort label-2700
SELECT pk FROM tab4 WHERE NOT (col0 >= 94)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab0 WHERE col1 < 5.44

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 5.44
----

query I rowsort label-2715
SELECT pk FROM tab0 WHERE NOT (col1 < 5.44)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab1 WHERE col1 < 5.44

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 5.44
----

query I rowsort label-2715
SELECT pk FROM tab1 WHERE NOT (col1 < 5.44)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab2 WHERE col1 < 5.44

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 5.44
----

query I rowsort label-2715
SELECT pk FROM tab2 WHERE NOT (col1 < 5.44)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab3 WHERE col1 < 5.44

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 5.44
----

query I rowsort label-2715
SELECT pk FROM tab3 WHERE NOT (col1 < 5.44)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab4 WHERE col1 < 5.44

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 5.44
----

query I rowsort label-2715
SELECT pk FROM tab4 WHERE NOT (col1 < 5.44)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab0 WHERE col4 < 72.58 OR (col0 = 51 AND col0 = 26)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 72.58 OR (col0 = 51 AND col0 = 26)
----

query I rowsort label-2730
SELECT pk FROM tab0 WHERE NOT (col4 < 72.58 OR (col0 = 51 AND col0 = 26))
----
2
9

statement ok
DELETE FROM tab1 WHERE col4 < 72.58 OR (col0 = 51 AND col0 = 26)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 72.58 OR (col0 = 51 AND col0 = 26)
----

query I rowsort label-2730
SELECT pk FROM tab1 WHERE NOT (col4 < 72.58 OR (col0 = 51 AND col0 = 26))
----
2
9

statement ok
DELETE FROM tab2 WHERE col4 < 72.58 OR (col0 = 51 AND col0 = 26)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 72.58 OR (col0 = 51 AND col0 = 26)
----

query I rowsort label-2730
SELECT pk FROM tab2 WHERE NOT (col4 < 72.58 OR (col0 = 51 AND col0 = 26))
----
2
9

statement ok
DELETE FROM tab3 WHERE col4 < 72.58 OR (col0 = 51 AND col0 = 26)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 72.58 OR (col0 = 51 AND col0 = 26)
----

query I rowsort label-2730
SELECT pk FROM tab3 WHERE NOT (col4 < 72.58 OR (col0 = 51 AND col0 = 26))
----
2
9

statement ok
DELETE FROM tab4 WHERE col4 < 72.58 OR (col0 = 51 AND col0 = 26)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 72.58 OR (col0 = 51 AND col0 = 26)
----

query I rowsort label-2730
SELECT pk FROM tab4 WHERE NOT (col4 < 72.58 OR (col0 = 51 AND col0 = 26))
----
2
9

statement ok
DELETE FROM tab0 WHERE col0 < 89

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 89
----

query I rowsort label-2745
SELECT pk FROM tab0 WHERE NOT (col0 < 89)
----

statement ok
DELETE FROM tab1 WHERE col0 < 89

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 89
----

query I rowsort label-2745
SELECT pk FROM tab1 WHERE NOT (col0 < 89)
----

statement ok
DELETE FROM tab2 WHERE col0 < 89

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 89
----

query I rowsort label-2745
SELECT pk FROM tab2 WHERE NOT (col0 < 89)
----

statement ok
DELETE FROM tab3 WHERE col0 < 89

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 89
----

query I rowsort label-2745
SELECT pk FROM tab3 WHERE NOT (col0 < 89)
----

statement ok
DELETE FROM tab4 WHERE col0 < 89

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 89
----

query I rowsort label-2745
SELECT pk FROM tab4 WHERE NOT (col0 < 89)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,78,57.93,'uleib',36,10.63,'hpovv')

statement ok
INSERT INTO tab0 VALUES(1,3,94.37,'yddvp',65,23.48,'moraa')

statement ok
INSERT INTO tab0 VALUES(2,38,86.11,'xotnx',27,74.54,'lmora')

statement ok
INSERT INTO tab0 VALUES(3,43,10.20,'kkyke',96,92.35,'isdal')

statement ok
INSERT INTO tab0 VALUES(4,37,59.26,'hmfxk',67,51.13,'gjdqr')

statement ok
INSERT INTO tab0 VALUES(5,14,3.59,'mzhwh',63,33.83,'eivso')

statement ok
INSERT INTO tab0 VALUES(6,56,52.33,'hipvr',51,88.28,'imocv')

statement ok
INSERT INTO tab0 VALUES(7,44,16.56,'iqayd',53,4.35,'ywkjx')

statement ok
INSERT INTO tab0 VALUES(8,69,70.44,'wpojv',61,59.3,'wqwdm')

statement ok
INSERT INTO tab0 VALUES(9,50,17.31,'qquav',46,93.54,'ciixb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((col4 < 79.23)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 < 79.23)))
----

query I rowsort label-2760
SELECT pk FROM tab0 WHERE NOT ((((col4 < 79.23))))
----
3
6
9

statement ok
DELETE FROM tab1 WHERE (((col4 < 79.23)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 < 79.23)))
----

query I rowsort label-2760
SELECT pk FROM tab1 WHERE NOT ((((col4 < 79.23))))
----
3
6
9

statement ok
DELETE FROM tab2 WHERE (((col4 < 79.23)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 < 79.23)))
----

query I rowsort label-2760
SELECT pk FROM tab2 WHERE NOT ((((col4 < 79.23))))
----
3
6
9

statement ok
DELETE FROM tab3 WHERE (((col4 < 79.23)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 < 79.23)))
----

query I rowsort label-2760
SELECT pk FROM tab3 WHERE NOT ((((col4 < 79.23))))
----
3
6
9

statement ok
DELETE FROM tab4 WHERE (((col4 < 79.23)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 < 79.23)))
----

query I rowsort label-2760
SELECT pk FROM tab4 WHERE NOT ((((col4 < 79.23))))
----
3
6
9

statement ok
DELETE FROM tab0 WHERE ((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15))
----

query I rowsort label-2775
SELECT pk FROM tab0 WHERE NOT (((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15)))
----
6
9

statement ok
DELETE FROM tab1 WHERE ((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15))
----

query I rowsort label-2775
SELECT pk FROM tab1 WHERE NOT (((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15)))
----
6
9

statement ok
DELETE FROM tab2 WHERE ((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15))
----

query I rowsort label-2775
SELECT pk FROM tab2 WHERE NOT (((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15)))
----
6
9

statement ok
DELETE FROM tab3 WHERE ((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15))
----

query I rowsort label-2775
SELECT pk FROM tab3 WHERE NOT (((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15)))
----
6
9

statement ok
DELETE FROM tab4 WHERE ((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15))
----

query I rowsort label-2775
SELECT pk FROM tab4 WHERE NOT (((col0 IN (3,53,89,85,54) OR (((col0 = 90)) OR col0 < 33 AND col0 >= 22 OR col0 < 15) AND (col3 <= 92) AND ((col0 > 6)) OR ((col3 >= 78 AND col3 > 72 OR col4 < 62.71 AND col0 >= 10)) AND col1 > 1.15)))
----
6
9

statement ok
DELETE FROM tab0 WHERE ((col3 = 49) AND col1 < 78.35)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 = 49) AND col1 < 78.35)
----

query I rowsort label-2790
SELECT pk FROM tab0 WHERE NOT (((col3 = 49) AND col1 < 78.35))
----
6
9

statement ok
DELETE FROM tab1 WHERE ((col3 = 49) AND col1 < 78.35)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 = 49) AND col1 < 78.35)
----

query I rowsort label-2790
SELECT pk FROM tab1 WHERE NOT (((col3 = 49) AND col1 < 78.35))
----
6
9

statement ok
DELETE FROM tab2 WHERE ((col3 = 49) AND col1 < 78.35)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 = 49) AND col1 < 78.35)
----

query I rowsort label-2790
SELECT pk FROM tab2 WHERE NOT (((col3 = 49) AND col1 < 78.35))
----
6
9

statement ok
DELETE FROM tab3 WHERE ((col3 = 49) AND col1 < 78.35)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 = 49) AND col1 < 78.35)
----

query I rowsort label-2790
SELECT pk FROM tab3 WHERE NOT (((col3 = 49) AND col1 < 78.35))
----
6
9

statement ok
DELETE FROM tab4 WHERE ((col3 = 49) AND col1 < 78.35)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 = 49) AND col1 < 78.35)
----

query I rowsort label-2790
SELECT pk FROM tab4 WHERE NOT (((col3 = 49) AND col1 < 78.35))
----
6
9

statement ok
DELETE FROM tab0 WHERE col0 <= 9 AND col4 >= 33.20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 9 AND col4 >= 33.20
----

query I rowsort label-2805
SELECT pk FROM tab0 WHERE NOT (col0 <= 9 AND col4 >= 33.20)
----
6
9

statement ok
DELETE FROM tab1 WHERE col0 <= 9 AND col4 >= 33.20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 9 AND col4 >= 33.20
----

query I rowsort label-2805
SELECT pk FROM tab1 WHERE NOT (col0 <= 9 AND col4 >= 33.20)
----
6
9

statement ok
DELETE FROM tab2 WHERE col0 <= 9 AND col4 >= 33.20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 9 AND col4 >= 33.20
----

query I rowsort label-2805
SELECT pk FROM tab2 WHERE NOT (col0 <= 9 AND col4 >= 33.20)
----
6
9

statement ok
DELETE FROM tab3 WHERE col0 <= 9 AND col4 >= 33.20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 9 AND col4 >= 33.20
----

query I rowsort label-2805
SELECT pk FROM tab3 WHERE NOT (col0 <= 9 AND col4 >= 33.20)
----
6
9

statement ok
DELETE FROM tab4 WHERE col0 <= 9 AND col4 >= 33.20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 9 AND col4 >= 33.20
----

query I rowsort label-2805
SELECT pk FROM tab4 WHERE NOT (col0 <= 9 AND col4 >= 33.20)
----
6
9

statement ok
DELETE FROM tab0 WHERE col1 > 3.51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 3.51
----

query I rowsort label-2820
SELECT pk FROM tab0 WHERE NOT (col1 > 3.51)
----

statement ok
DELETE FROM tab1 WHERE col1 > 3.51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 3.51
----

query I rowsort label-2820
SELECT pk FROM tab1 WHERE NOT (col1 > 3.51)
----

statement ok
DELETE FROM tab2 WHERE col1 > 3.51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 3.51
----

query I rowsort label-2820
SELECT pk FROM tab2 WHERE NOT (col1 > 3.51)
----

statement ok
DELETE FROM tab3 WHERE col1 > 3.51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 3.51
----

query I rowsort label-2820
SELECT pk FROM tab3 WHERE NOT (col1 > 3.51)
----

statement ok
DELETE FROM tab4 WHERE col1 > 3.51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 3.51
----

query I rowsort label-2820
SELECT pk FROM tab4 WHERE NOT (col1 > 3.51)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,90,23.46,'mvakp',11,69.76,'lmsqd')

statement ok
INSERT INTO tab0 VALUES(1,12,28.31,'lshxd',94,17.81,'oznzc')

statement ok
INSERT INTO tab0 VALUES(2,5,33.32,'wbmla',6,36.58,'ojogz')

statement ok
INSERT INTO tab0 VALUES(3,61,98.52,'heoeu',26,23.89,'ohxor')

statement ok
INSERT INTO tab0 VALUES(4,64,14.97,'fpsaa',57,16.44,'dzsmo')

statement ok
INSERT INTO tab0 VALUES(5,49,15.38,'dxhef',83,2.38,'nwptp')

statement ok
INSERT INTO tab0 VALUES(6,66,95.76,'rdasd',34,32.96,'qhluq')

statement ok
INSERT INTO tab0 VALUES(7,40,16.1,'vnakw',47,33.15,'ecsmg')

statement ok
INSERT INTO tab0 VALUES(8,37,22.58,'wcecv',31,20.28,'vdpqc')

statement ok
INSERT INTO tab0 VALUES(9,24,53.6,'sizoc',27,10.62,'ldbtw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC,col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4,col0)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 DESC,col3,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4,col1 DESC,col0)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0 DESC,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 > 28

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 28
----

query I rowsort label-2835
SELECT pk FROM tab0 WHERE NOT (col0 > 28)
----
1
2
9

statement ok
DELETE FROM tab1 WHERE col0 > 28

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 28
----

query I rowsort label-2835
SELECT pk FROM tab1 WHERE NOT (col0 > 28)
----
1
2
9

statement ok
DELETE FROM tab2 WHERE col0 > 28

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 28
----

query I rowsort label-2835
SELECT pk FROM tab2 WHERE NOT (col0 > 28)
----
1
2
9

statement ok
DELETE FROM tab3 WHERE col0 > 28

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 28
----

query I rowsort label-2835
SELECT pk FROM tab3 WHERE NOT (col0 > 28)
----
1
2
9

statement ok
DELETE FROM tab4 WHERE col0 > 28

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 28
----

query I rowsort label-2835
SELECT pk FROM tab4 WHERE NOT (col0 > 28)
----
1
2
9

statement ok
DELETE FROM tab0 WHERE (col3 > 93) AND col3 > 94

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 93) AND col3 > 94
----

query I rowsort label-2850
SELECT pk FROM tab0 WHERE NOT ((col3 > 93) AND col3 > 94)
----
1
2
9

statement ok
DELETE FROM tab1 WHERE (col3 > 93) AND col3 > 94

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 93) AND col3 > 94
----

query I rowsort label-2850
SELECT pk FROM tab1 WHERE NOT ((col3 > 93) AND col3 > 94)
----
1
2
9

statement ok
DELETE FROM tab2 WHERE (col3 > 93) AND col3 > 94

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 93) AND col3 > 94
----

query I rowsort label-2850
SELECT pk FROM tab2 WHERE NOT ((col3 > 93) AND col3 > 94)
----
1
2
9

statement ok
DELETE FROM tab3 WHERE (col3 > 93) AND col3 > 94

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 93) AND col3 > 94
----

query I rowsort label-2850
SELECT pk FROM tab3 WHERE NOT ((col3 > 93) AND col3 > 94)
----
1
2
9

statement ok
DELETE FROM tab4 WHERE (col3 > 93) AND col3 > 94

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 93) AND col3 > 94
----

query I rowsort label-2850
SELECT pk FROM tab4 WHERE NOT ((col3 > 93) AND col3 > 94)
----
1
2
9

statement ok
DELETE FROM tab0 WHERE (col0 >= 87)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 87)
----

query I rowsort label-2865
SELECT pk FROM tab0 WHERE NOT ((col0 >= 87))
----
1
2
9

statement ok
DELETE FROM tab1 WHERE (col0 >= 87)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 87)
----

query I rowsort label-2865
SELECT pk FROM tab1 WHERE NOT ((col0 >= 87))
----
1
2
9

statement ok
DELETE FROM tab2 WHERE (col0 >= 87)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 87)
----

query I rowsort label-2865
SELECT pk FROM tab2 WHERE NOT ((col0 >= 87))
----
1
2
9

statement ok
DELETE FROM tab3 WHERE (col0 >= 87)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 87)
----

query I rowsort label-2865
SELECT pk FROM tab3 WHERE NOT ((col0 >= 87))
----
1
2
9

statement ok
DELETE FROM tab4 WHERE (col0 >= 87)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 87)
----

query I rowsort label-2865
SELECT pk FROM tab4 WHERE NOT ((col0 >= 87))
----
1
2
9

statement ok
DELETE FROM tab0 WHERE col0 IN (70,15,68)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (70,15,68)
----

query I rowsort label-2880
SELECT pk FROM tab0 WHERE NOT (col0 IN (70,15,68))
----
1
2
9

statement ok
DELETE FROM tab1 WHERE col0 IN (70,15,68)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (70,15,68)
----

query I rowsort label-2880
SELECT pk FROM tab1 WHERE NOT (col0 IN (70,15,68))
----
1
2
9

statement ok
DELETE FROM tab2 WHERE col0 IN (70,15,68)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (70,15,68)
----

query I rowsort label-2880
SELECT pk FROM tab2 WHERE NOT (col0 IN (70,15,68))
----
1
2
9

statement ok
DELETE FROM tab3 WHERE col0 IN (70,15,68)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (70,15,68)
----

query I rowsort label-2880
SELECT pk FROM tab3 WHERE NOT (col0 IN (70,15,68))
----
1
2
9

statement ok
DELETE FROM tab4 WHERE col0 IN (70,15,68)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (70,15,68)
----

query I rowsort label-2880
SELECT pk FROM tab4 WHERE NOT (col0 IN (70,15,68))
----
1
2
9

statement ok
DELETE FROM tab0 WHERE (((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43))
----

query I rowsort label-2895
SELECT pk FROM tab0 WHERE NOT ((((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43)))
----
1
2
9

statement ok
DELETE FROM tab1 WHERE (((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43))
----

query I rowsort label-2895
SELECT pk FROM tab1 WHERE NOT ((((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43)))
----
1
2
9

statement ok
DELETE FROM tab2 WHERE (((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43))
----

query I rowsort label-2895
SELECT pk FROM tab2 WHERE NOT ((((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43)))
----
1
2
9

statement ok
DELETE FROM tab3 WHERE (((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43))
----

query I rowsort label-2895
SELECT pk FROM tab3 WHERE NOT ((((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43)))
----
1
2
9

statement ok
DELETE FROM tab4 WHERE (((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43))
----

query I rowsort label-2895
SELECT pk FROM tab4 WHERE NOT ((((col4 > 40.30)) AND (col1 = 14.37) OR (((((col3 = 65) AND (col3 < 85 AND col0 = 99 AND col3 IN (6,88,38,23,45))) OR col0 < 22))) AND col1 > 71.81 AND col3 IN (33,43)))
----
1
2
9

statement ok
DELETE FROM tab0 WHERE (col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65))))
----

query I rowsort label-2910
SELECT pk FROM tab0 WHERE NOT ((col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65)))))
----
1
2
9

statement ok
DELETE FROM tab1 WHERE (col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65))))
----

query I rowsort label-2910
SELECT pk FROM tab1 WHERE NOT ((col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65)))))
----
1
2
9

statement ok
DELETE FROM tab2 WHERE (col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65))))
----

query I rowsort label-2910
SELECT pk FROM tab2 WHERE NOT ((col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65)))))
----
1
2
9

statement ok
DELETE FROM tab3 WHERE (col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65))))
----

query I rowsort label-2910
SELECT pk FROM tab3 WHERE NOT ((col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65)))))
----
1
2
9

statement ok
DELETE FROM tab4 WHERE (col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65))))
----

query I rowsort label-2910
SELECT pk FROM tab4 WHERE NOT ((col4 > 35.35 AND col0 >= 8) AND ((col0 >= 69) AND ((col0 < 9 OR ((col3 < 24)) OR (col0 >= 65)))))
----
1
2
9

statement ok
DELETE FROM tab0 WHERE (((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85))
----

query I rowsort label-2925
SELECT pk FROM tab0 WHERE NOT ((((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85)))
----

statement ok
DELETE FROM tab1 WHERE (((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85))
----

query I rowsort label-2925
SELECT pk FROM tab1 WHERE NOT ((((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85)))
----

statement ok
DELETE FROM tab2 WHERE (((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85))
----

query I rowsort label-2925
SELECT pk FROM tab2 WHERE NOT ((((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85)))
----

statement ok
DELETE FROM tab3 WHERE (((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85))
----

query I rowsort label-2925
SELECT pk FROM tab3 WHERE NOT ((((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85)))
----

statement ok
DELETE FROM tab4 WHERE (((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85))
----

query I rowsort label-2925
SELECT pk FROM tab4 WHERE NOT ((((col3 < 29) AND (col4 < 86.39) OR ((col1 IS NULL)) OR col3 > 57 OR col4 > 93.82 AND col0 BETWEEN 70 AND 83 OR ((col0 = 24)) OR col3 <= 85)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,43,1.23,'nybfq',50,7.20,'kzfup')

statement ok
INSERT INTO tab0 VALUES(1,67,76.5,'nnqxd',68,40.30,'ubmqc')

statement ok
INSERT INTO tab0 VALUES(2,99,70.41,'avtth',17,75.90,'ksuyg')

statement ok
INSERT INTO tab0 VALUES(3,84,6.8,'mczxa',28,78.47,'rkodz')

statement ok
INSERT INTO tab0 VALUES(4,65,7.76,'ozkdb',84,46.47,'wucmu')

statement ok
INSERT INTO tab0 VALUES(5,96,58.22,'tubfr',40,73.54,'arxdn')

statement ok
INSERT INTO tab0 VALUES(6,58,77.44,'wossc',30,9.53,'gepiu')

statement ok
INSERT INTO tab0 VALUES(7,68,66.73,'ujjmi',79,27.70,'oyiku')

statement ok
INSERT INTO tab0 VALUES(8,90,81.82,'cfamp',23,80.82,'mdnbu')

statement ok
INSERT INTO tab0 VALUES(9,52,91.4,'pgfcd',10,69.29,'otliv')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3 DESC,col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1,col4 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3,col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC,col0)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0,col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3,col1 DESC,col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0,col3,col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1,col3)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 < 6.8

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 6.8
----

query I rowsort label-2940
SELECT pk FROM tab0 WHERE NOT (col1 < 6.8)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab1 WHERE col1 < 6.8

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 6.8
----

query I rowsort label-2940
SELECT pk FROM tab1 WHERE NOT (col1 < 6.8)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab2 WHERE col1 < 6.8

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 6.8
----

query I rowsort label-2940
SELECT pk FROM tab2 WHERE NOT (col1 < 6.8)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab3 WHERE col1 < 6.8

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 6.8
----

query I rowsort label-2940
SELECT pk FROM tab3 WHERE NOT (col1 < 6.8)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab4 WHERE col1 < 6.8

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 6.8
----

query I rowsort label-2940
SELECT pk FROM tab4 WHERE NOT (col1 < 6.8)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab0 WHERE ((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20
----

query I rowsort label-2955
SELECT pk FROM tab0 WHERE NOT (((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20)
----
3
4

statement ok
DELETE FROM tab1 WHERE ((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20
----

query I rowsort label-2955
SELECT pk FROM tab1 WHERE NOT (((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20)
----
3
4

statement ok
DELETE FROM tab2 WHERE ((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20
----

query I rowsort label-2955
SELECT pk FROM tab2 WHERE NOT (((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20)
----
3
4

statement ok
DELETE FROM tab3 WHERE ((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20
----

query I rowsort label-2955
SELECT pk FROM tab3 WHERE NOT (((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20)
----
3
4

statement ok
DELETE FROM tab4 WHERE ((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20
----

query I rowsort label-2955
SELECT pk FROM tab4 WHERE NOT (((col4 < 42.86) OR col3 >= 96 AND (col4 < 60.78) OR ((((col0 < 23) AND ((col1 >= 98.88) AND col3 IS NULL AND ((col0 > 17)) AND col4 <= 80.39 AND col3 > 49) OR (col4 IN (95.86,97.38,67.74,18.80,64.56) OR col0 > 89 AND col1 < 86.36 AND col4 >= 23.64 OR col3 <= 51)) AND (col3 IS NULL) AND (col3 <= 5) AND col3 >= 56 AND col3 IS NULL)) AND (((col3 BETWEEN 90 AND 31 AND col0 <= 5)) OR col3 > 89 OR (col3 >= 70 AND col4 > 2.51 OR col1 > 59.67 OR col3 < 97 AND (((col1 < 73.34) OR (col3 > 71) OR col1 > 70.91)) OR col3 < 69 OR ((((col1 <= 41.87 OR col3 >= 32 OR col1 = 23.20) OR ((col3 <= 25 AND col0 = 21)) AND col0 >= 20 AND (col1 <= 82.8 OR (col0 IS NULL) AND col3 > 61 OR col3 = 51) OR (col0 = 22) OR col3 > 25))) OR col4 < 44.46)) OR ((col3 > 53 AND (col1 > 27.25 OR (col1 > 36.26) AND col0 = 58 OR (col1 >= 57.65) OR col3 IN (55,40) OR ((col4 > 66.86)) OR (col4 < 56.15) AND col0 <= 36))) AND col3 > 63) OR col1 > 10.20)
----
3
4

statement ok
DELETE FROM tab0 WHERE col4 >= 72.66

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 72.66
----

query I rowsort label-2970
SELECT pk FROM tab0 WHERE NOT (col4 >= 72.66)
----
4

statement ok
DELETE FROM tab1 WHERE col4 >= 72.66

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 72.66
----

query I rowsort label-2970
SELECT pk FROM tab1 WHERE NOT (col4 >= 72.66)
----
4

statement ok
DELETE FROM tab2 WHERE col4 >= 72.66

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 72.66
----

query I rowsort label-2970
SELECT pk FROM tab2 WHERE NOT (col4 >= 72.66)
----
4

statement ok
DELETE FROM tab3 WHERE col4 >= 72.66

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 72.66
----

query I rowsort label-2970
SELECT pk FROM tab3 WHERE NOT (col4 >= 72.66)
----
4

statement ok
DELETE FROM tab4 WHERE col4 >= 72.66

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 72.66
----

query I rowsort label-2970
SELECT pk FROM tab4 WHERE NOT (col4 >= 72.66)
----
4

statement ok
DELETE FROM tab0 WHERE col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22))
----

query I rowsort label-2985
SELECT pk FROM tab0 WHERE NOT (col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22)))
----
4

statement ok
DELETE FROM tab1 WHERE col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22))
----

query I rowsort label-2985
SELECT pk FROM tab1 WHERE NOT (col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22)))
----
4

statement ok
DELETE FROM tab2 WHERE col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22))
----

query I rowsort label-2985
SELECT pk FROM tab2 WHERE NOT (col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22)))
----
4

statement ok
DELETE FROM tab3 WHERE col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22))
----

query I rowsort label-2985
SELECT pk FROM tab3 WHERE NOT (col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22)))
----
4

statement ok
DELETE FROM tab4 WHERE col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22))
----

query I rowsort label-2985
SELECT pk FROM tab4 WHERE NOT (col0 >= 97 AND col1 IS NULL AND ((col4 >= 11.22)))
----
4

statement ok
DELETE FROM tab0 WHERE col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13))
----

query I rowsort label-3000
SELECT pk FROM tab0 WHERE NOT (col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13)))
----

statement ok
DELETE FROM tab1 WHERE col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13))
----

query I rowsort label-3000
SELECT pk FROM tab1 WHERE NOT (col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13)))
----

statement ok
DELETE FROM tab2 WHERE col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13))
----

query I rowsort label-3000
SELECT pk FROM tab2 WHERE NOT (col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13)))
----

statement ok
DELETE FROM tab3 WHERE col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13))
----

query I rowsort label-3000
SELECT pk FROM tab3 WHERE NOT (col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13)))
----

statement ok
DELETE FROM tab4 WHERE col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13))
----

query I rowsort label-3000
SELECT pk FROM tab4 WHERE NOT (col1 > 5.72 AND (col0 <= 96 AND col0 <= 7 AND col3 < 67) AND col1 < 91.43 OR ((col0 > 13)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,47,83.31,'pahag',22,46.99,'fuwhy')

statement ok
INSERT INTO tab0 VALUES(1,21,90.23,'kwrsp',55,41.61,'fqbgm')

statement ok
INSERT INTO tab0 VALUES(2,20,20.3,'jkzem',18,4.83,'yzqch')

statement ok
INSERT INTO tab0 VALUES(3,28,98.61,'urijp',43,24.66,'kaipl')

statement ok
INSERT INTO tab0 VALUES(4,75,15.93,'waagn',11,34.75,'teagb')

statement ok
INSERT INTO tab0 VALUES(5,46,89.7,'iblbf',66,78.42,'xjjgd')

statement ok
INSERT INTO tab0 VALUES(6,98,30.41,'cylft',28,73.87,'lalrz')

statement ok
INSERT INTO tab0 VALUES(7,70,1.70,'ykdrw',8,68.23,'xdgnz')

statement ok
INSERT INTO tab0 VALUES(8,95,80.26,'ywkxs',15,12.73,'srlac')

statement ok
INSERT INTO tab0 VALUES(9,12,25.2,'jsobi',73,11.81,'njypq')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4 DESC,col3 DESC,col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC,col1,col0 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,27,59.47,'agljf',22,67.69,'enlim')

statement ok
INSERT INTO tab0 VALUES(1,4,97.42,'osgar',13,39.61,'cgmou')

statement ok
INSERT INTO tab0 VALUES(2,3,2.87,'nokri',64,51.17,'aqfjw')

statement ok
INSERT INTO tab0 VALUES(3,2,66.21,'gdrxl',83,8.36,'odvwf')

statement ok
INSERT INTO tab0 VALUES(4,41,0.28,'wqagj',44,19.13,'jirut')

statement ok
INSERT INTO tab0 VALUES(5,31,98.45,'rkmjf',0,50.57,'sttnm')

statement ok
INSERT INTO tab0 VALUES(6,70,95.78,'burcn',95,98.0,'ddrca')

statement ok
INSERT INTO tab0 VALUES(7,52,33.16,'xljpt',79,44.13,'dozqj')

statement ok
INSERT INTO tab0 VALUES(8,84,26.38,'jlhoz',16,20.14,'poudi')

statement ok
INSERT INTO tab0 VALUES(9,93,16.29,'khofo',1,71.84,'rfqvk')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4,col1)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 > 30.62

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 30.62
----

query I rowsort label-3015
SELECT pk FROM tab0 WHERE NOT (col1 > 30.62)
----
2
4
8
9

statement ok
DELETE FROM tab1 WHERE col1 > 30.62

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 30.62
----

query I rowsort label-3015
SELECT pk FROM tab1 WHERE NOT (col1 > 30.62)
----
2
4
8
9

statement ok
DELETE FROM tab2 WHERE col1 > 30.62

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 30.62
----

query I rowsort label-3015
SELECT pk FROM tab2 WHERE NOT (col1 > 30.62)
----
2
4
8
9

statement ok
DELETE FROM tab3 WHERE col1 > 30.62

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 30.62
----

query I rowsort label-3015
SELECT pk FROM tab3 WHERE NOT (col1 > 30.62)
----
2
4
8
9

statement ok
DELETE FROM tab4 WHERE col1 > 30.62

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 30.62
----

query I rowsort label-3015
SELECT pk FROM tab4 WHERE NOT (col1 > 30.62)
----
2
4
8
9

statement ok
DELETE FROM tab0 WHERE col3 = 9 OR col3 < 84

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 9 OR col3 < 84
----

query I rowsort label-3030
SELECT pk FROM tab0 WHERE NOT (col3 = 9 OR col3 < 84)
----

statement ok
DELETE FROM tab1 WHERE col3 = 9 OR col3 < 84

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 9 OR col3 < 84
----

query I rowsort label-3030
SELECT pk FROM tab1 WHERE NOT (col3 = 9 OR col3 < 84)
----

statement ok
DELETE FROM tab2 WHERE col3 = 9 OR col3 < 84

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 9 OR col3 < 84
----

query I rowsort label-3030
SELECT pk FROM tab2 WHERE NOT (col3 = 9 OR col3 < 84)
----

statement ok
DELETE FROM tab3 WHERE col3 = 9 OR col3 < 84

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 9 OR col3 < 84
----

query I rowsort label-3030
SELECT pk FROM tab3 WHERE NOT (col3 = 9 OR col3 < 84)
----

statement ok
DELETE FROM tab4 WHERE col3 = 9 OR col3 < 84

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 9 OR col3 < 84
----

query I rowsort label-3030
SELECT pk FROM tab4 WHERE NOT (col3 = 9 OR col3 < 84)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,83,90.20,'mrbzd',37,56.48,'limwq')

statement ok
INSERT INTO tab0 VALUES(1,15,84.4,'xogkk',22,18.76,'ldikk')

statement ok
INSERT INTO tab0 VALUES(2,1,98.33,'jwhhv',65,69.89,'sgiii')

statement ok
INSERT INTO tab0 VALUES(3,38,55.91,'trsby',12,89.8,'adawm')

statement ok
INSERT INTO tab0 VALUES(4,12,15.48,'gbymn',78,47.73,'oynxe')

statement ok
INSERT INTO tab0 VALUES(5,57,89.31,'prlel',9,21.7,'bjlnb')

statement ok
INSERT INTO tab0 VALUES(6,23,48.77,'aqujb',46,6.79,'vddsc')

statement ok
INSERT INTO tab0 VALUES(7,31,37.0,'nvyld',86,26.67,'ztuxx')

statement ok
INSERT INTO tab0 VALUES(8,43,91.56,'uscna',43,50.17,'nboqq')

statement ok
INSERT INTO tab0 VALUES(9,20,40.1,'qwdhv',15,2.10,'jwsgj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC,col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4,col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 < 56

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 56
----

query I rowsort label-3045
SELECT pk FROM tab0 WHERE NOT (col3 < 56)
----
2
4
7

statement ok
DELETE FROM tab1 WHERE col3 < 56

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 56
----

query I rowsort label-3045
SELECT pk FROM tab1 WHERE NOT (col3 < 56)
----
2
4
7

statement ok
DELETE FROM tab2 WHERE col3 < 56

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 56
----

query I rowsort label-3045
SELECT pk FROM tab2 WHERE NOT (col3 < 56)
----
2
4
7

statement ok
DELETE FROM tab3 WHERE col3 < 56

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 56
----

query I rowsort label-3045
SELECT pk FROM tab3 WHERE NOT (col3 < 56)
----
2
4
7

statement ok
DELETE FROM tab4 WHERE col3 < 56

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 56
----

query I rowsort label-3045
SELECT pk FROM tab4 WHERE NOT (col3 < 56)
----
2
4
7

statement ok
DELETE FROM tab0 WHERE col3 > 74

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 74
----

query I rowsort label-3060
SELECT pk FROM tab0 WHERE NOT (col3 > 74)
----
2

statement ok
DELETE FROM tab1 WHERE col3 > 74

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 74
----

query I rowsort label-3060
SELECT pk FROM tab1 WHERE NOT (col3 > 74)
----
2

statement ok
DELETE FROM tab2 WHERE col3 > 74

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 74
----

query I rowsort label-3060
SELECT pk FROM tab2 WHERE NOT (col3 > 74)
----
2

statement ok
DELETE FROM tab3 WHERE col3 > 74

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 74
----

query I rowsort label-3060
SELECT pk FROM tab3 WHERE NOT (col3 > 74)
----
2

statement ok
DELETE FROM tab4 WHERE col3 > 74

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 74
----

query I rowsort label-3060
SELECT pk FROM tab4 WHERE NOT (col3 > 74)
----
2

statement ok
DELETE FROM tab0 WHERE col4 = 1.43 OR (col1 = 18.47)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 1.43 OR (col1 = 18.47)
----

query I rowsort label-3075
SELECT pk FROM tab0 WHERE NOT (col4 = 1.43 OR (col1 = 18.47))
----
2

statement ok
DELETE FROM tab1 WHERE col4 = 1.43 OR (col1 = 18.47)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 1.43 OR (col1 = 18.47)
----

query I rowsort label-3075
SELECT pk FROM tab1 WHERE NOT (col4 = 1.43 OR (col1 = 18.47))
----
2

statement ok
DELETE FROM tab2 WHERE col4 = 1.43 OR (col1 = 18.47)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 1.43 OR (col1 = 18.47)
----

query I rowsort label-3075
SELECT pk FROM tab2 WHERE NOT (col4 = 1.43 OR (col1 = 18.47))
----
2

statement ok
DELETE FROM tab3 WHERE col4 = 1.43 OR (col1 = 18.47)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 1.43 OR (col1 = 18.47)
----

query I rowsort label-3075
SELECT pk FROM tab3 WHERE NOT (col4 = 1.43 OR (col1 = 18.47))
----
2

statement ok
DELETE FROM tab4 WHERE col4 = 1.43 OR (col1 = 18.47)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 1.43 OR (col1 = 18.47)
----

query I rowsort label-3075
SELECT pk FROM tab4 WHERE NOT (col4 = 1.43 OR (col1 = 18.47))
----
2

statement ok
DELETE FROM tab0 WHERE col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23)
----

query I rowsort label-3090
SELECT pk FROM tab0 WHERE NOT (col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23))
----

statement ok
DELETE FROM tab1 WHERE col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23)
----

query I rowsort label-3090
SELECT pk FROM tab1 WHERE NOT (col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23))
----

statement ok
DELETE FROM tab2 WHERE col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23)
----

query I rowsort label-3090
SELECT pk FROM tab2 WHERE NOT (col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23))
----

statement ok
DELETE FROM tab3 WHERE col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23)
----

query I rowsort label-3090
SELECT pk FROM tab3 WHERE NOT (col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23))
----

statement ok
DELETE FROM tab4 WHERE col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23)
----

query I rowsort label-3090
SELECT pk FROM tab4 WHERE NOT (col3 > 96 OR (((col3 <= 64)) AND (col4 < 64.64 OR col1 = 53.74)) AND (col0 > 68) OR (col0 IN (97)) OR (((col0 > 73 AND (col3 < 86) AND col4 < 85.69 OR col3 = 47 AND col4 >= 86.12) AND ((col0 < 88)))) OR col3 < 76 AND col1 > 7.10 AND (col1 IS NULL AND col0 >= 29 AND ((((((((col4 > 33.93)))))))) AND col1 IS NULL AND (col3 < 55) OR col4 < 9.2 AND col3 > 91 OR col1 <= 74.17 AND (col4 IS NULL AND (col1 <= 60.64) AND (((col0 > 39) OR ((((col0 > 47))))))) AND ((col3 < 94)) OR col3 IN (9,87,51,50,62,94) AND col0 <= 3 AND (col0 >= 0)) AND col3 > 10 AND col0 < 92 OR ((col0 <= 57)) OR col0 > 79 OR col3 >= 21 AND col0 < 42 AND ((col1 > 7.47)) AND col0 BETWEEN 34 AND 14 OR ((col0 >= 53) AND col3 < 23))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,92,75.14,'fcdtc',96,36.87,'zbjha')

statement ok
INSERT INTO tab0 VALUES(1,8,21.13,'pumfw',86,93.86,'qgixq')

statement ok
INSERT INTO tab0 VALUES(2,65,43.30,'lldri',84,25.2,'ynmyc')

statement ok
INSERT INTO tab0 VALUES(3,66,94.53,'xiihh',62,73.54,'cvzax')

statement ok
INSERT INTO tab0 VALUES(4,74,19.84,'syrfv',15,6.80,'tzpsp')

statement ok
INSERT INTO tab0 VALUES(5,45,22.50,'vatmx',74,79.50,'ppkrl')

statement ok
INSERT INTO tab0 VALUES(6,18,29.19,'ayvky',22,2.80,'yijwa')

statement ok
INSERT INTO tab0 VALUES(7,43,47.7,'omhnn',1,96.42,'kabmt')

statement ok
INSERT INTO tab0 VALUES(8,86,30.94,'vgmwy',31,62.78,'mueit')

statement ok
INSERT INTO tab0 VALUES(9,46,37.38,'xqexy',16,38.13,'gchsg')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1 DESC,col0 DESC,col4)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col1 DESC,col4,col0 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 IS NULL OR col0 < 15 OR col0 = 62

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IS NULL OR col0 < 15 OR col0 = 62
----

query I rowsort label-3105
SELECT pk FROM tab0 WHERE NOT (col3 IS NULL OR col0 < 15 OR col0 = 62)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab1 WHERE col3 IS NULL OR col0 < 15 OR col0 = 62

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IS NULL OR col0 < 15 OR col0 = 62
----

query I rowsort label-3105
SELECT pk FROM tab1 WHERE NOT (col3 IS NULL OR col0 < 15 OR col0 = 62)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab2 WHERE col3 IS NULL OR col0 < 15 OR col0 = 62

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IS NULL OR col0 < 15 OR col0 = 62
----

query I rowsort label-3105
SELECT pk FROM tab2 WHERE NOT (col3 IS NULL OR col0 < 15 OR col0 = 62)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab3 WHERE col3 IS NULL OR col0 < 15 OR col0 = 62

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IS NULL OR col0 < 15 OR col0 = 62
----

query I rowsort label-3105
SELECT pk FROM tab3 WHERE NOT (col3 IS NULL OR col0 < 15 OR col0 = 62)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab4 WHERE col3 IS NULL OR col0 < 15 OR col0 = 62

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IS NULL OR col0 < 15 OR col0 = 62
----

query I rowsort label-3105
SELECT pk FROM tab4 WHERE NOT (col3 IS NULL OR col0 < 15 OR col0 = 62)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab0 WHERE col4 > 85.86

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 85.86
----

query I rowsort label-3120
SELECT pk FROM tab0 WHERE NOT (col4 > 85.86)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE col4 > 85.86

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 85.86
----

query I rowsort label-3120
SELECT pk FROM tab1 WHERE NOT (col4 > 85.86)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE col4 > 85.86

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 85.86
----

query I rowsort label-3120
SELECT pk FROM tab2 WHERE NOT (col4 > 85.86)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE col4 > 85.86

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 85.86
----

query I rowsort label-3120
SELECT pk FROM tab3 WHERE NOT (col4 > 85.86)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE col4 > 85.86

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 85.86
----

query I rowsort label-3120
SELECT pk FROM tab4 WHERE NOT (col4 > 85.86)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE col0 < 98

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 98
----

query I rowsort label-3135
SELECT pk FROM tab0 WHERE NOT (col0 < 98)
----

statement ok
DELETE FROM tab1 WHERE col0 < 98

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 98
----

query I rowsort label-3135
SELECT pk FROM tab1 WHERE NOT (col0 < 98)
----

statement ok
DELETE FROM tab2 WHERE col0 < 98

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 98
----

query I rowsort label-3135
SELECT pk FROM tab2 WHERE NOT (col0 < 98)
----

statement ok
DELETE FROM tab3 WHERE col0 < 98

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 98
----

query I rowsort label-3135
SELECT pk FROM tab3 WHERE NOT (col0 < 98)
----

statement ok
DELETE FROM tab4 WHERE col0 < 98

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 98
----

query I rowsort label-3135
SELECT pk FROM tab4 WHERE NOT (col0 < 98)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,57,63.0,'ooexa',23,2.67,'fvnjb')

statement ok
INSERT INTO tab0 VALUES(1,66,45.27,'ouibo',47,99.94,'gftwz')

statement ok
INSERT INTO tab0 VALUES(2,98,70.36,'jlkmj',32,34.88,'fpmcq')

statement ok
INSERT INTO tab0 VALUES(3,68,61.59,'xybyk',67,7.60,'rhtip')

statement ok
INSERT INTO tab0 VALUES(4,81,69.46,'omdkl',13,100.66,'xcohh')

statement ok
INSERT INTO tab0 VALUES(5,94,84.28,'ihxja',66,88.75,'rsupz')

statement ok
INSERT INTO tab0 VALUES(6,83,51.76,'ymiwt',19,61.29,'qnpqf')

statement ok
INSERT INTO tab0 VALUES(7,99,78.70,'apwsl',25,27.6,'kcfzm')

statement ok
INSERT INTO tab0 VALUES(8,35,52.52,'bgxkc',57,28.84,'nyjdu')

statement ok
INSERT INTO tab0 VALUES(9,88,46.99,'srtpc',76,51.0,'tcfbn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col1 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4 DESC,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,46,27.76,'vrjvg',7,73.65,'wabru')

statement ok
INSERT INTO tab0 VALUES(1,98,34.64,'byhgm',13,0.80,'zocgu')

statement ok
INSERT INTO tab0 VALUES(2,48,20.46,'cirwg',58,30.57,'oohmq')

statement ok
INSERT INTO tab0 VALUES(3,81,81.71,'gpzbt',21,86.72,'zhuut')

statement ok
INSERT INTO tab0 VALUES(4,96,79.97,'pitbm',48,84.18,'jefht')

statement ok
INSERT INTO tab0 VALUES(5,14,1.1,'osgbc',63,98.11,'yddhe')

statement ok
INSERT INTO tab0 VALUES(6,93,24.93,'qyzlx',88,24.6,'wjrfb')

statement ok
INSERT INTO tab0 VALUES(7,42,77.26,'zglto',46,39.9,'rvfsn')

statement ok
INSERT INTO tab0 VALUES(8,31,3.14,'byovq',81,67.91,'dbbzn')

statement ok
INSERT INTO tab0 VALUES(9,4,22.35,'fqoch',67,41.96,'pmxqg')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1,col3 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3 DESC,col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3 DESC,col4 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1 DESC,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0,col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0 DESC,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 IS NULL OR col3 < 9

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IS NULL OR col3 < 9
----

query I rowsort label-3150
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL OR col3 < 9)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab1 WHERE col0 IS NULL OR col3 < 9

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IS NULL OR col3 < 9
----

query I rowsort label-3150
SELECT pk FROM tab1 WHERE NOT (col0 IS NULL OR col3 < 9)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab2 WHERE col0 IS NULL OR col3 < 9

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IS NULL OR col3 < 9
----

query I rowsort label-3150
SELECT pk FROM tab2 WHERE NOT (col0 IS NULL OR col3 < 9)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab3 WHERE col0 IS NULL OR col3 < 9

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IS NULL OR col3 < 9
----

query I rowsort label-3150
SELECT pk FROM tab3 WHERE NOT (col0 IS NULL OR col3 < 9)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab4 WHERE col0 IS NULL OR col3 < 9

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IS NULL OR col3 < 9
----

query I rowsort label-3150
SELECT pk FROM tab4 WHERE NOT (col0 IS NULL OR col3 < 9)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab0 WHERE ((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94)
----

query I rowsort label-3165
SELECT pk FROM tab0 WHERE NOT (((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94))
----

statement ok
DELETE FROM tab1 WHERE ((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94)
----

query I rowsort label-3165
SELECT pk FROM tab1 WHERE NOT (((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94))
----

statement ok
DELETE FROM tab2 WHERE ((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94)
----

query I rowsort label-3165
SELECT pk FROM tab2 WHERE NOT (((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94))
----

statement ok
DELETE FROM tab3 WHERE ((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94)
----

query I rowsort label-3165
SELECT pk FROM tab3 WHERE NOT (((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94))
----

statement ok
DELETE FROM tab4 WHERE ((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94)
----

query I rowsort label-3165
SELECT pk FROM tab4 WHERE NOT (((col0 IN (70,9,62)) OR ((col3 < 46) OR col4 < 71.85) AND col3 <= 99 OR (col1 > 23.99) AND col3 IN (81,62,24,72) OR (col0 >= 2) AND col1 < 86.51 AND col0 < 57 OR col3 > 58 AND col3 < 96 AND ((((col3 <= 40 OR (col0 > 56))) AND col4 >= 39.66 AND ((col3 < 72)) AND col3 IS NULL OR col3 = 7 AND col0 < 2 AND col4 = 92.40 OR col3 > 24 AND col0 >= 16 OR col4 = 70.57 AND (col4 < 5.10) OR ((col4 > 76.13) OR (((col3 >= 41)) AND col4 IN (41.23,90.93) OR (((col3 > 18))))) AND col1 <= 69.47 AND col3 <= 55 OR (col4 = 16.93) AND col3 < 87 OR (((col3 < 38))) AND ((col4 <= 84.68)) OR (col1 < 54.98 OR col4 = 38.20) AND col3 = 11)) AND col1 <= 3.92 AND (col0 > 0) AND col3 > 82 OR col3 = 20 OR col4 > 33.94))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,68,44.79,'vxhsi',52,94.15,'gehcn')

statement ok
INSERT INTO tab0 VALUES(1,12,24.9,'mfvvv',46,80.90,'wulfi')

statement ok
INSERT INTO tab0 VALUES(2,67,83.20,'tdtsy',17,77.52,'wwacx')

statement ok
INSERT INTO tab0 VALUES(3,98,40.5,'errpz',15,55.41,'lodkh')

statement ok
INSERT INTO tab0 VALUES(4,28,46.67,'epzds',24,72.37,'ppkob')

statement ok
INSERT INTO tab0 VALUES(5,96,93.78,'yzcfq',32,86.20,'jvwkp')

statement ok
INSERT INTO tab0 VALUES(6,25,32.43,'swnhz',87,65.35,'sxewd')

statement ok
INSERT INTO tab0 VALUES(7,81,80.64,'wyziz',63,4.56,'ywwmv')

statement ok
INSERT INTO tab0 VALUES(8,36,34.99,'banfv',21,33.43,'pvhdz')

statement ok
INSERT INTO tab0 VALUES(9,33,86.28,'ivplx',74,31.10,'rnxqc')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3,col4)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0,col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26))
----

query I rowsort label-3180
SELECT pk FROM tab0 WHERE NOT (col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26))
----

query I rowsort label-3180
SELECT pk FROM tab1 WHERE NOT (col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26))
----

query I rowsort label-3180
SELECT pk FROM tab2 WHERE NOT (col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26))
----

query I rowsort label-3180
SELECT pk FROM tab3 WHERE NOT (col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26))
----

query I rowsort label-3180
SELECT pk FROM tab4 WHERE NOT (col1 = 25.51 AND (col3 < 24 AND col3 <= 13 OR col4 <= 71.2) AND ((col1 < 64.26)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col1 < 36.79)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 36.79)
----

query I rowsort label-3195
SELECT pk FROM tab0 WHERE NOT ((col1 < 36.79))
----
0
2
3
4
5
7
9

statement ok
DELETE FROM tab1 WHERE (col1 < 36.79)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 36.79)
----

query I rowsort label-3195
SELECT pk FROM tab1 WHERE NOT ((col1 < 36.79))
----
0
2
3
4
5
7
9

statement ok
DELETE FROM tab2 WHERE (col1 < 36.79)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 36.79)
----

query I rowsort label-3195
SELECT pk FROM tab2 WHERE NOT ((col1 < 36.79))
----
0
2
3
4
5
7
9

statement ok
DELETE FROM tab3 WHERE (col1 < 36.79)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 36.79)
----

query I rowsort label-3195
SELECT pk FROM tab3 WHERE NOT ((col1 < 36.79))
----
0
2
3
4
5
7
9

statement ok
DELETE FROM tab4 WHERE (col1 < 36.79)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 36.79)
----

query I rowsort label-3195
SELECT pk FROM tab4 WHERE NOT ((col1 < 36.79))
----
0
2
3
4
5
7
9

statement ok
DELETE FROM tab0 WHERE ((col4 < 32.10))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 < 32.10))
----

query I rowsort label-3210
SELECT pk FROM tab0 WHERE NOT (((col4 < 32.10)))
----
0
2
3
4
5

statement ok
DELETE FROM tab1 WHERE ((col4 < 32.10))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 < 32.10))
----

query I rowsort label-3210
SELECT pk FROM tab1 WHERE NOT (((col4 < 32.10)))
----
0
2
3
4
5

statement ok
DELETE FROM tab2 WHERE ((col4 < 32.10))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 < 32.10))
----

query I rowsort label-3210
SELECT pk FROM tab2 WHERE NOT (((col4 < 32.10)))
----
0
2
3
4
5

statement ok
DELETE FROM tab3 WHERE ((col4 < 32.10))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 < 32.10))
----

query I rowsort label-3210
SELECT pk FROM tab3 WHERE NOT (((col4 < 32.10)))
----
0
2
3
4
5

statement ok
DELETE FROM tab4 WHERE ((col4 < 32.10))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 < 32.10))
----

query I rowsort label-3210
SELECT pk FROM tab4 WHERE NOT (((col4 < 32.10)))
----
0
2
3
4
5

statement ok
DELETE FROM tab0 WHERE col4 IN (53.41,48.66,89.95,59.93,12.2)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (53.41,48.66,89.95,59.93,12.2)
----

query I rowsort label-3225
SELECT pk FROM tab0 WHERE NOT (col4 IN (53.41,48.66,89.95,59.93,12.2))
----
0
2
3
4
5

statement ok
DELETE FROM tab1 WHERE col4 IN (53.41,48.66,89.95,59.93,12.2)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (53.41,48.66,89.95,59.93,12.2)
----

query I rowsort label-3225
SELECT pk FROM tab1 WHERE NOT (col4 IN (53.41,48.66,89.95,59.93,12.2))
----
0
2
3
4
5

statement ok
DELETE FROM tab2 WHERE col4 IN (53.41,48.66,89.95,59.93,12.2)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (53.41,48.66,89.95,59.93,12.2)
----

query I rowsort label-3225
SELECT pk FROM tab2 WHERE NOT (col4 IN (53.41,48.66,89.95,59.93,12.2))
----
0
2
3
4
5

statement ok
DELETE FROM tab3 WHERE col4 IN (53.41,48.66,89.95,59.93,12.2)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (53.41,48.66,89.95,59.93,12.2)
----

query I rowsort label-3225
SELECT pk FROM tab3 WHERE NOT (col4 IN (53.41,48.66,89.95,59.93,12.2))
----
0
2
3
4
5

statement ok
DELETE FROM tab4 WHERE col4 IN (53.41,48.66,89.95,59.93,12.2)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (53.41,48.66,89.95,59.93,12.2)
----

query I rowsort label-3225
SELECT pk FROM tab4 WHERE NOT (col4 IN (53.41,48.66,89.95,59.93,12.2))
----
0
2
3
4
5

statement ok
DELETE FROM tab0 WHERE col3 = 65 OR col0 >= 30

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 65 OR col0 >= 30
----

query I rowsort label-3240
SELECT pk FROM tab0 WHERE NOT (col3 = 65 OR col0 >= 30)
----
4

statement ok
DELETE FROM tab1 WHERE col3 = 65 OR col0 >= 30

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 65 OR col0 >= 30
----

query I rowsort label-3240
SELECT pk FROM tab1 WHERE NOT (col3 = 65 OR col0 >= 30)
----
4

statement ok
DELETE FROM tab2 WHERE col3 = 65 OR col0 >= 30

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 65 OR col0 >= 30
----

query I rowsort label-3240
SELECT pk FROM tab2 WHERE NOT (col3 = 65 OR col0 >= 30)
----
4

statement ok
DELETE FROM tab3 WHERE col3 = 65 OR col0 >= 30

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 65 OR col0 >= 30
----

query I rowsort label-3240
SELECT pk FROM tab3 WHERE NOT (col3 = 65 OR col0 >= 30)
----
4

statement ok
DELETE FROM tab4 WHERE col3 = 65 OR col0 >= 30

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 65 OR col0 >= 30
----

query I rowsort label-3240
SELECT pk FROM tab4 WHERE NOT (col3 = 65 OR col0 >= 30)
----
4

statement ok
DELETE FROM tab0 WHERE (col4 = 4.46)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 = 4.46)
----

query I rowsort label-3255
SELECT pk FROM tab0 WHERE NOT ((col4 = 4.46))
----
4

statement ok
DELETE FROM tab1 WHERE (col4 = 4.46)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 = 4.46)
----

query I rowsort label-3255
SELECT pk FROM tab1 WHERE NOT ((col4 = 4.46))
----
4

statement ok
DELETE FROM tab2 WHERE (col4 = 4.46)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 = 4.46)
----

query I rowsort label-3255
SELECT pk FROM tab2 WHERE NOT ((col4 = 4.46))
----
4

statement ok
DELETE FROM tab3 WHERE (col4 = 4.46)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 = 4.46)
----

query I rowsort label-3255
SELECT pk FROM tab3 WHERE NOT ((col4 = 4.46))
----
4

statement ok
DELETE FROM tab4 WHERE (col4 = 4.46)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 = 4.46)
----

query I rowsort label-3255
SELECT pk FROM tab4 WHERE NOT ((col4 = 4.46))
----
4

statement ok
DELETE FROM tab0 WHERE col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81)
----

query I rowsort label-3270
SELECT pk FROM tab0 WHERE NOT (col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81))
----

statement ok
DELETE FROM tab1 WHERE col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81)
----

query I rowsort label-3270
SELECT pk FROM tab1 WHERE NOT (col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81))
----

statement ok
DELETE FROM tab2 WHERE col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81)
----

query I rowsort label-3270
SELECT pk FROM tab2 WHERE NOT (col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81))
----

statement ok
DELETE FROM tab3 WHERE col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81)
----

query I rowsort label-3270
SELECT pk FROM tab3 WHERE NOT (col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81))
----

statement ok
DELETE FROM tab4 WHERE col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81)
----

query I rowsort label-3270
SELECT pk FROM tab4 WHERE NOT (col0 >= 79 AND ((((col1 IS NULL AND (col4 <= 40.87))))) OR (col1 < 85.36 AND col0 <= 81))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,30,65.10,'ydche',92,73.22,'xjzua')

statement ok
INSERT INTO tab0 VALUES(1,43,95.23,'ikhnz',99,6.93,'rermr')

statement ok
INSERT INTO tab0 VALUES(2,79,51.16,'yjinv',62,46.75,'syjor')

statement ok
INSERT INTO tab0 VALUES(3,20,91.9,'ncskd',11,1.33,'ibslk')

statement ok
INSERT INTO tab0 VALUES(4,26,40.18,'wlkno',12,78.38,'qegyg')

statement ok
INSERT INTO tab0 VALUES(5,47,52.71,'kdqrq',78,45.76,'ikzjh')

statement ok
INSERT INTO tab0 VALUES(6,33,74.19,'xalbi',79,93.66,'enelt')

statement ok
INSERT INTO tab0 VALUES(7,53,7.45,'cciqs',56,0.63,'ucttz')

statement ok
INSERT INTO tab0 VALUES(8,2,71.85,'grxbp',35,91.81,'anbpr')

statement ok
INSERT INTO tab0 VALUES(9,13,64.31,'volve',39,5.97,'udmhv')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col4 < 59.96)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 59.96)
----

query I rowsort label-3285
SELECT pk FROM tab0 WHERE NOT ((col4 < 59.96))
----
0
4
6
8

statement ok
DELETE FROM tab1 WHERE (col4 < 59.96)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 59.96)
----

query I rowsort label-3285
SELECT pk FROM tab1 WHERE NOT ((col4 < 59.96))
----
0
4
6
8

statement ok
DELETE FROM tab2 WHERE (col4 < 59.96)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 59.96)
----

query I rowsort label-3285
SELECT pk FROM tab2 WHERE NOT ((col4 < 59.96))
----
0
4
6
8

statement ok
DELETE FROM tab3 WHERE (col4 < 59.96)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 59.96)
----

query I rowsort label-3285
SELECT pk FROM tab3 WHERE NOT ((col4 < 59.96))
----
0
4
6
8

statement ok
DELETE FROM tab4 WHERE (col4 < 59.96)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 59.96)
----

query I rowsort label-3285
SELECT pk FROM tab4 WHERE NOT ((col4 < 59.96))
----
0
4
6
8

statement ok
DELETE FROM tab0 WHERE col4 = 64.18 OR col4 = 98.37

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 64.18 OR col4 = 98.37
----

query I rowsort label-3300
SELECT pk FROM tab0 WHERE NOT (col4 = 64.18 OR col4 = 98.37)
----
0
4
6
8

statement ok
DELETE FROM tab1 WHERE col4 = 64.18 OR col4 = 98.37

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 64.18 OR col4 = 98.37
----

query I rowsort label-3300
SELECT pk FROM tab1 WHERE NOT (col4 = 64.18 OR col4 = 98.37)
----
0
4
6
8

statement ok
DELETE FROM tab2 WHERE col4 = 64.18 OR col4 = 98.37

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 64.18 OR col4 = 98.37
----

query I rowsort label-3300
SELECT pk FROM tab2 WHERE NOT (col4 = 64.18 OR col4 = 98.37)
----
0
4
6
8

statement ok
DELETE FROM tab3 WHERE col4 = 64.18 OR col4 = 98.37

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 64.18 OR col4 = 98.37
----

query I rowsort label-3300
SELECT pk FROM tab3 WHERE NOT (col4 = 64.18 OR col4 = 98.37)
----
0
4
6
8

statement ok
DELETE FROM tab4 WHERE col4 = 64.18 OR col4 = 98.37

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 64.18 OR col4 = 98.37
----

query I rowsort label-3300
SELECT pk FROM tab4 WHERE NOT (col4 = 64.18 OR col4 = 98.37)
----
0
4
6
8

statement ok
DELETE FROM tab0 WHERE (col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL)
----

query I rowsort label-3315
SELECT pk FROM tab0 WHERE NOT ((col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL))
----
6
8

statement ok
DELETE FROM tab1 WHERE (col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL)
----

query I rowsort label-3315
SELECT pk FROM tab1 WHERE NOT ((col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL))
----
6
8

statement ok
DELETE FROM tab2 WHERE (col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL)
----

query I rowsort label-3315
SELECT pk FROM tab2 WHERE NOT ((col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL))
----
6
8

statement ok
DELETE FROM tab3 WHERE (col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL)
----

query I rowsort label-3315
SELECT pk FROM tab3 WHERE NOT ((col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL))
----
6
8

statement ok
DELETE FROM tab4 WHERE (col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL)
----

query I rowsort label-3315
SELECT pk FROM tab4 WHERE NOT ((col4 < 77.54) OR ((col0 IS NULL OR col3 > 39) AND col0 >= 57) OR ((((col1 < 61.66))) OR col0 IS NULL))
----
6
8

statement ok
DELETE FROM tab0 WHERE (col0 < 97 AND col1 > 74.66)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 97 AND col1 > 74.66)
----

query I rowsort label-3330
SELECT pk FROM tab0 WHERE NOT ((col0 < 97 AND col1 > 74.66))
----
6
8

statement ok
DELETE FROM tab1 WHERE (col0 < 97 AND col1 > 74.66)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 97 AND col1 > 74.66)
----

query I rowsort label-3330
SELECT pk FROM tab1 WHERE NOT ((col0 < 97 AND col1 > 74.66))
----
6
8

statement ok
DELETE FROM tab2 WHERE (col0 < 97 AND col1 > 74.66)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 97 AND col1 > 74.66)
----

query I rowsort label-3330
SELECT pk FROM tab2 WHERE NOT ((col0 < 97 AND col1 > 74.66))
----
6
8

statement ok
DELETE FROM tab3 WHERE (col0 < 97 AND col1 > 74.66)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 97 AND col1 > 74.66)
----

query I rowsort label-3330
SELECT pk FROM tab3 WHERE NOT ((col0 < 97 AND col1 > 74.66))
----
6
8

statement ok
DELETE FROM tab4 WHERE (col0 < 97 AND col1 > 74.66)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 97 AND col1 > 74.66)
----

query I rowsort label-3330
SELECT pk FROM tab4 WHERE NOT ((col0 < 97 AND col1 > 74.66))
----
6
8

statement ok
DELETE FROM tab0 WHERE col3 <= 94

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 94
----

query I rowsort label-3345
SELECT pk FROM tab0 WHERE NOT (col3 <= 94)
----

statement ok
DELETE FROM tab1 WHERE col3 <= 94

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 94
----

query I rowsort label-3345
SELECT pk FROM tab1 WHERE NOT (col3 <= 94)
----

statement ok
DELETE FROM tab2 WHERE col3 <= 94

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 94
----

query I rowsort label-3345
SELECT pk FROM tab2 WHERE NOT (col3 <= 94)
----

statement ok
DELETE FROM tab3 WHERE col3 <= 94

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 94
----

query I rowsort label-3345
SELECT pk FROM tab3 WHERE NOT (col3 <= 94)
----

statement ok
DELETE FROM tab4 WHERE col3 <= 94

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 94
----

query I rowsort label-3345
SELECT pk FROM tab4 WHERE NOT (col3 <= 94)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,92,42.68,'xvunn',33,87.38,'eehbr')

statement ok
INSERT INTO tab0 VALUES(1,95,94.62,'hxafu',21,72.4,'oyjlk')

statement ok
INSERT INTO tab0 VALUES(2,18,45.45,'zltzs',44,1.38,'mwgkx')

statement ok
INSERT INTO tab0 VALUES(3,3,5.63,'hseli',49,76.8,'ocdmu')

statement ok
INSERT INTO tab0 VALUES(4,14,22.47,'xorvc',34,45.47,'kvpns')

statement ok
INSERT INTO tab0 VALUES(5,99,98.75,'fbxog',9,14.20,'vtlgp')

statement ok
INSERT INTO tab0 VALUES(6,49,95.34,'edyqp',64,58.78,'xrzzo')

statement ok
INSERT INTO tab0 VALUES(7,64,53.84,'rhiny',26,34.29,'ahcgf')

statement ok
INSERT INTO tab0 VALUES(8,17,0.20,'oajtz',27,94.95,'fsnkt')

statement ok
INSERT INTO tab0 VALUES(9,10,65.32,'tpdkp',56,96.76,'carfa')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC,col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 >= 64.63

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 64.63
----

query I rowsort label-3360
SELECT pk FROM tab0 WHERE NOT (col4 >= 64.63)
----
2
4
5
6
7

statement ok
DELETE FROM tab1 WHERE col4 >= 64.63

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 64.63
----

query I rowsort label-3360
SELECT pk FROM tab1 WHERE NOT (col4 >= 64.63)
----
2
4
5
6
7

statement ok
DELETE FROM tab2 WHERE col4 >= 64.63

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 64.63
----

query I rowsort label-3360
SELECT pk FROM tab2 WHERE NOT (col4 >= 64.63)
----
2
4
5
6
7

statement ok
DELETE FROM tab3 WHERE col4 >= 64.63

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 64.63
----

query I rowsort label-3360
SELECT pk FROM tab3 WHERE NOT (col4 >= 64.63)
----
2
4
5
6
7

statement ok
DELETE FROM tab4 WHERE col4 >= 64.63

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 64.63
----

query I rowsort label-3360
SELECT pk FROM tab4 WHERE NOT (col4 >= 64.63)
----
2
4
5
6
7

statement ok
DELETE FROM tab0 WHERE col3 > 17

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 17
----

query I rowsort label-3375
SELECT pk FROM tab0 WHERE NOT (col3 > 17)
----
5

statement ok
DELETE FROM tab1 WHERE col3 > 17

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 17
----

query I rowsort label-3375
SELECT pk FROM tab1 WHERE NOT (col3 > 17)
----
5

statement ok
DELETE FROM tab2 WHERE col3 > 17

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 17
----

query I rowsort label-3375
SELECT pk FROM tab2 WHERE NOT (col3 > 17)
----
5

statement ok
DELETE FROM tab3 WHERE col3 > 17

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 17
----

query I rowsort label-3375
SELECT pk FROM tab3 WHERE NOT (col3 > 17)
----
5

statement ok
DELETE FROM tab4 WHERE col3 > 17

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 17
----

query I rowsort label-3375
SELECT pk FROM tab4 WHERE NOT (col3 > 17)
----
5

statement ok
DELETE FROM tab0 WHERE col3 IN (35,63,73)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (35,63,73)
----

query I rowsort label-3390
SELECT pk FROM tab0 WHERE NOT (col3 IN (35,63,73))
----
5

statement ok
DELETE FROM tab1 WHERE col3 IN (35,63,73)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (35,63,73)
----

query I rowsort label-3390
SELECT pk FROM tab1 WHERE NOT (col3 IN (35,63,73))
----
5

statement ok
DELETE FROM tab2 WHERE col3 IN (35,63,73)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (35,63,73)
----

query I rowsort label-3390
SELECT pk FROM tab2 WHERE NOT (col3 IN (35,63,73))
----
5

statement ok
DELETE FROM tab3 WHERE col3 IN (35,63,73)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (35,63,73)
----

query I rowsort label-3390
SELECT pk FROM tab3 WHERE NOT (col3 IN (35,63,73))
----
5

statement ok
DELETE FROM tab4 WHERE col3 IN (35,63,73)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (35,63,73)
----

query I rowsort label-3390
SELECT pk FROM tab4 WHERE NOT (col3 IN (35,63,73))
----
5

statement ok
DELETE FROM tab0 WHERE col1 > 29.10

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 29.10
----

query I rowsort label-3405
SELECT pk FROM tab0 WHERE NOT (col1 > 29.10)
----

statement ok
DELETE FROM tab1 WHERE col1 > 29.10

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 29.10
----

query I rowsort label-3405
SELECT pk FROM tab1 WHERE NOT (col1 > 29.10)
----

statement ok
DELETE FROM tab2 WHERE col1 > 29.10

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 29.10
----

query I rowsort label-3405
SELECT pk FROM tab2 WHERE NOT (col1 > 29.10)
----

statement ok
DELETE FROM tab3 WHERE col1 > 29.10

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 29.10
----

query I rowsort label-3405
SELECT pk FROM tab3 WHERE NOT (col1 > 29.10)
----

statement ok
DELETE FROM tab4 WHERE col1 > 29.10

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 29.10
----

query I rowsort label-3405
SELECT pk FROM tab4 WHERE NOT (col1 > 29.10)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,64,47.9,'bsozp',65,28.35,'vdhhf')

statement ok
INSERT INTO tab0 VALUES(1,77,1.12,'uugnp',86,48.91,'svhyv')

statement ok
INSERT INTO tab0 VALUES(2,22,26.49,'puidd',43,24.37,'ozepc')

statement ok
INSERT INTO tab0 VALUES(3,29,76.35,'txajw',91,30.33,'hbmvm')

statement ok
INSERT INTO tab0 VALUES(4,95,94.15,'mmhsk',89,32.56,'fxozc')

statement ok
INSERT INTO tab0 VALUES(5,53,27.35,'dougp',58,6.59,'kmnwq')

statement ok
INSERT INTO tab0 VALUES(6,32,31.98,'fpglk',47,46.37,'rinjs')

statement ok
INSERT INTO tab0 VALUES(7,15,91.31,'qzhnf',94,78.88,'sjvau')

statement ok
INSERT INTO tab0 VALUES(8,9,29.45,'rssfx',88,74.75,'ikxrk')

statement ok
INSERT INTO tab0 VALUES(9,4,18.96,'hbskz',35,63.92,'iuodh')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0,col4 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC,col0)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0,col4)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4 DESC,col0 DESC,col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,62,17.4,'ibvak',16,73.58,'uzejt')

statement ok
INSERT INTO tab0 VALUES(1,49,16.87,'ophdm',29,63.82,'rchkn')

statement ok
INSERT INTO tab0 VALUES(2,15,71.67,'mrsca',48,67.29,'mjgbr')

statement ok
INSERT INTO tab0 VALUES(3,52,27.62,'ajmzu',62,25.30,'pehnr')

statement ok
INSERT INTO tab0 VALUES(4,44,46.33,'rxpqz',41,53.95,'fxaam')

statement ok
INSERT INTO tab0 VALUES(5,30,24.52,'tfzmk',88,51.71,'gllsq')

statement ok
INSERT INTO tab0 VALUES(6,70,97.60,'knlak',7,20.9,'qvzel')

statement ok
INSERT INTO tab0 VALUES(7,6,58.31,'udxmf',68,75.23,'jywyc')

statement ok
INSERT INTO tab0 VALUES(8,21,70.34,'hvnlx',63,52.53,'pzzhq')

statement ok
INSERT INTO tab0 VALUES(9,8,72.98,'ksvns',70,26.30,'vhdui')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 < 55.49 AND col0 > 21)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 55.49 AND col0 > 21)
----

query I rowsort label-3420
SELECT pk FROM tab0 WHERE NOT ((col1 < 55.49 AND col0 > 21))
----
2
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col1 < 55.49 AND col0 > 21)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 55.49 AND col0 > 21)
----

query I rowsort label-3420
SELECT pk FROM tab1 WHERE NOT ((col1 < 55.49 AND col0 > 21))
----
2
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col1 < 55.49 AND col0 > 21)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 55.49 AND col0 > 21)
----

query I rowsort label-3420
SELECT pk FROM tab2 WHERE NOT ((col1 < 55.49 AND col0 > 21))
----
2
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col1 < 55.49 AND col0 > 21)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 55.49 AND col0 > 21)
----

query I rowsort label-3420
SELECT pk FROM tab3 WHERE NOT ((col1 < 55.49 AND col0 > 21))
----
2
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col1 < 55.49 AND col0 > 21)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 55.49 AND col0 > 21)
----

query I rowsort label-3420
SELECT pk FROM tab4 WHERE NOT ((col1 < 55.49 AND col0 > 21))
----
2
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 >= 38

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 38
----

query I rowsort label-3435
SELECT pk FROM tab0 WHERE NOT (col3 >= 38)
----
6

statement ok
DELETE FROM tab1 WHERE col3 >= 38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 38
----

query I rowsort label-3435
SELECT pk FROM tab1 WHERE NOT (col3 >= 38)
----
6

statement ok
DELETE FROM tab2 WHERE col3 >= 38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 38
----

query I rowsort label-3435
SELECT pk FROM tab2 WHERE NOT (col3 >= 38)
----
6

statement ok
DELETE FROM tab3 WHERE col3 >= 38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 38
----

query I rowsort label-3435
SELECT pk FROM tab3 WHERE NOT (col3 >= 38)
----
6

statement ok
DELETE FROM tab4 WHERE col3 >= 38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 38
----

query I rowsort label-3435
SELECT pk FROM tab4 WHERE NOT (col3 >= 38)
----
6

statement ok
DELETE FROM tab0 WHERE col4 <= 8.71 OR col0 > 42 OR col3 < 38

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 8.71 OR col0 > 42 OR col3 < 38
----

query I rowsort label-3450
SELECT pk FROM tab0 WHERE NOT (col4 <= 8.71 OR col0 > 42 OR col3 < 38)
----

statement ok
DELETE FROM tab1 WHERE col4 <= 8.71 OR col0 > 42 OR col3 < 38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 8.71 OR col0 > 42 OR col3 < 38
----

query I rowsort label-3450
SELECT pk FROM tab1 WHERE NOT (col4 <= 8.71 OR col0 > 42 OR col3 < 38)
----

statement ok
DELETE FROM tab2 WHERE col4 <= 8.71 OR col0 > 42 OR col3 < 38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 8.71 OR col0 > 42 OR col3 < 38
----

query I rowsort label-3450
SELECT pk FROM tab2 WHERE NOT (col4 <= 8.71 OR col0 > 42 OR col3 < 38)
----

statement ok
DELETE FROM tab3 WHERE col4 <= 8.71 OR col0 > 42 OR col3 < 38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 8.71 OR col0 > 42 OR col3 < 38
----

query I rowsort label-3450
SELECT pk FROM tab3 WHERE NOT (col4 <= 8.71 OR col0 > 42 OR col3 < 38)
----

statement ok
DELETE FROM tab4 WHERE col4 <= 8.71 OR col0 > 42 OR col3 < 38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 8.71 OR col0 > 42 OR col3 < 38
----

query I rowsort label-3450
SELECT pk FROM tab4 WHERE NOT (col4 <= 8.71 OR col0 > 42 OR col3 < 38)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,30,46.73,'tupho',49,31.73,'umggr')

statement ok
INSERT INTO tab0 VALUES(1,25,85.57,'epaha',65,86.97,'rdsva')

statement ok
INSERT INTO tab0 VALUES(2,18,97.64,'ejwoy',20,36.37,'lptxn')

statement ok
INSERT INTO tab0 VALUES(3,52,96.31,'imxzw',12,32.29,'rgfkk')

statement ok
INSERT INTO tab0 VALUES(4,97,14.35,'xaxmc',97,43.32,'flwej')

statement ok
INSERT INTO tab0 VALUES(5,10,19.57,'ehtrw',52,83.89,'lfron')

statement ok
INSERT INTO tab0 VALUES(6,1,20.44,'kpoon',36,14.91,'hsyaq')

statement ok
INSERT INTO tab0 VALUES(7,96,84.71,'zsuzn',53,62.38,'kajtg')

statement ok
INSERT INTO tab0 VALUES(8,95,50.4,'pqjks',17,29.2,'hrekr')

statement ok
INSERT INTO tab0 VALUES(9,37,37.61,'idxmh',11,6.90,'jlfnj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 < 39

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 39
----

query I rowsort label-3465
SELECT pk FROM tab0 WHERE NOT (col0 < 39)
----
3
4
7
8

statement ok
DELETE FROM tab1 WHERE col0 < 39

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 39
----

query I rowsort label-3465
SELECT pk FROM tab1 WHERE NOT (col0 < 39)
----
3
4
7
8

statement ok
DELETE FROM tab2 WHERE col0 < 39

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 39
----

query I rowsort label-3465
SELECT pk FROM tab2 WHERE NOT (col0 < 39)
----
3
4
7
8

statement ok
DELETE FROM tab3 WHERE col0 < 39

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 39
----

query I rowsort label-3465
SELECT pk FROM tab3 WHERE NOT (col0 < 39)
----
3
4
7
8

statement ok
DELETE FROM tab4 WHERE col0 < 39

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 39
----

query I rowsort label-3465
SELECT pk FROM tab4 WHERE NOT (col0 < 39)
----
3
4
7
8

statement ok
DELETE FROM tab0 WHERE (((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77)
----

query I rowsort label-3480
SELECT pk FROM tab0 WHERE NOT ((((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77))
----
3
4
7
8

statement ok
DELETE FROM tab1 WHERE (((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77)
----

query I rowsort label-3480
SELECT pk FROM tab1 WHERE NOT ((((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77))
----
3
4
7
8

statement ok
DELETE FROM tab2 WHERE (((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77)
----

query I rowsort label-3480
SELECT pk FROM tab2 WHERE NOT ((((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77))
----
3
4
7
8

statement ok
DELETE FROM tab3 WHERE (((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77)
----

query I rowsort label-3480
SELECT pk FROM tab3 WHERE NOT ((((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77))
----
3
4
7
8

statement ok
DELETE FROM tab4 WHERE (((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77)
----

query I rowsort label-3480
SELECT pk FROM tab4 WHERE NOT ((((col1 IN (60.13,38.37,80.76,79.63,80.46))) AND col4 > 60.77))
----
3
4
7
8

statement ok
DELETE FROM tab0 WHERE col4 > 51.68 AND col1 > 90.51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 51.68 AND col1 > 90.51
----

query I rowsort label-3495
SELECT pk FROM tab0 WHERE NOT (col4 > 51.68 AND col1 > 90.51)
----
3
4
7
8

statement ok
DELETE FROM tab1 WHERE col4 > 51.68 AND col1 > 90.51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 51.68 AND col1 > 90.51
----

query I rowsort label-3495
SELECT pk FROM tab1 WHERE NOT (col4 > 51.68 AND col1 > 90.51)
----
3
4
7
8

statement ok
DELETE FROM tab2 WHERE col4 > 51.68 AND col1 > 90.51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 51.68 AND col1 > 90.51
----

query I rowsort label-3495
SELECT pk FROM tab2 WHERE NOT (col4 > 51.68 AND col1 > 90.51)
----
3
4
7
8

statement ok
DELETE FROM tab3 WHERE col4 > 51.68 AND col1 > 90.51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 51.68 AND col1 > 90.51
----

query I rowsort label-3495
SELECT pk FROM tab3 WHERE NOT (col4 > 51.68 AND col1 > 90.51)
----
3
4
7
8

statement ok
DELETE FROM tab4 WHERE col4 > 51.68 AND col1 > 90.51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 51.68 AND col1 > 90.51
----

query I rowsort label-3495
SELECT pk FROM tab4 WHERE NOT (col4 > 51.68 AND col1 > 90.51)
----
3
4
7
8

statement ok
DELETE FROM tab0 WHERE col3 < 92 AND col0 <= 5

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 92 AND col0 <= 5
----

query I rowsort label-3510
SELECT pk FROM tab0 WHERE NOT (col3 < 92 AND col0 <= 5)
----
3
4
7
8

statement ok
DELETE FROM tab1 WHERE col3 < 92 AND col0 <= 5

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 92 AND col0 <= 5
----

query I rowsort label-3510
SELECT pk FROM tab1 WHERE NOT (col3 < 92 AND col0 <= 5)
----
3
4
7
8

statement ok
DELETE FROM tab2 WHERE col3 < 92 AND col0 <= 5

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 92 AND col0 <= 5
----

query I rowsort label-3510
SELECT pk FROM tab2 WHERE NOT (col3 < 92 AND col0 <= 5)
----
3
4
7
8

statement ok
DELETE FROM tab3 WHERE col3 < 92 AND col0 <= 5

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 92 AND col0 <= 5
----

query I rowsort label-3510
SELECT pk FROM tab3 WHERE NOT (col3 < 92 AND col0 <= 5)
----
3
4
7
8

statement ok
DELETE FROM tab4 WHERE col3 < 92 AND col0 <= 5

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 92 AND col0 <= 5
----

query I rowsort label-3510
SELECT pk FROM tab4 WHERE NOT (col3 < 92 AND col0 <= 5)
----
3
4
7
8

statement ok
DELETE FROM tab0 WHERE col4 > 32.47

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 32.47
----

query I rowsort label-3525
SELECT pk FROM tab0 WHERE NOT (col4 > 32.47)
----
3
8

statement ok
DELETE FROM tab1 WHERE col4 > 32.47

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 32.47
----

query I rowsort label-3525
SELECT pk FROM tab1 WHERE NOT (col4 > 32.47)
----
3
8

statement ok
DELETE FROM tab2 WHERE col4 > 32.47

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 32.47
----

query I rowsort label-3525
SELECT pk FROM tab2 WHERE NOT (col4 > 32.47)
----
3
8

statement ok
DELETE FROM tab3 WHERE col4 > 32.47

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 32.47
----

query I rowsort label-3525
SELECT pk FROM tab3 WHERE NOT (col4 > 32.47)
----
3
8

statement ok
DELETE FROM tab4 WHERE col4 > 32.47

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 32.47
----

query I rowsort label-3525
SELECT pk FROM tab4 WHERE NOT (col4 > 32.47)
----
3
8

statement ok
DELETE FROM tab0 WHERE (col4 >= 17.79)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 17.79)
----

query I rowsort label-3540
SELECT pk FROM tab0 WHERE NOT ((col4 >= 17.79))
----

statement ok
DELETE FROM tab1 WHERE (col4 >= 17.79)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 17.79)
----

query I rowsort label-3540
SELECT pk FROM tab1 WHERE NOT ((col4 >= 17.79))
----

statement ok
DELETE FROM tab2 WHERE (col4 >= 17.79)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 17.79)
----

query I rowsort label-3540
SELECT pk FROM tab2 WHERE NOT ((col4 >= 17.79))
----

statement ok
DELETE FROM tab3 WHERE (col4 >= 17.79)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 17.79)
----

query I rowsort label-3540
SELECT pk FROM tab3 WHERE NOT ((col4 >= 17.79))
----

statement ok
DELETE FROM tab4 WHERE (col4 >= 17.79)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 17.79)
----

query I rowsort label-3540
SELECT pk FROM tab4 WHERE NOT ((col4 >= 17.79))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,7,1.83,'ytprb',13,75.97,'xfylt')

statement ok
INSERT INTO tab0 VALUES(1,87,92.10,'isekc',64,20.84,'bhzij')

statement ok
INSERT INTO tab0 VALUES(2,74,12.55,'nnnwt',98,19.61,'ntzjg')

statement ok
INSERT INTO tab0 VALUES(3,95,30.49,'kfsap',83,15.34,'xqbxq')

statement ok
INSERT INTO tab0 VALUES(4,90,81.28,'rmtpn',59,49.24,'javgb')

statement ok
INSERT INTO tab0 VALUES(5,23,27.50,'jsikm',42,18.78,'hltqx')

statement ok
INSERT INTO tab0 VALUES(6,96,18.4,'qhnig',44,42.81,'xwzob')

statement ok
INSERT INTO tab0 VALUES(7,56,56.23,'gofkt',84,22.68,'wwzun')

statement ok
INSERT INTO tab0 VALUES(8,18,58.99,'eaxdx',95,5.39,'bqxmb')

statement ok
INSERT INTO tab0 VALUES(9,68,16.94,'llhkh',45,46.70,'yinju')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3,col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col4,col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21)
----

query I rowsort label-3555
SELECT pk FROM tab0 WHERE NOT ((col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21))
----
4
7
8

statement ok
DELETE FROM tab1 WHERE (col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21)
----

query I rowsort label-3555
SELECT pk FROM tab1 WHERE NOT ((col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21))
----
4
7
8

statement ok
DELETE FROM tab2 WHERE (col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21)
----

query I rowsort label-3555
SELECT pk FROM tab2 WHERE NOT ((col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21))
----
4
7
8

statement ok
DELETE FROM tab3 WHERE (col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21)
----

query I rowsort label-3555
SELECT pk FROM tab3 WHERE NOT ((col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21))
----
4
7
8

statement ok
DELETE FROM tab4 WHERE (col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21)
----

query I rowsort label-3555
SELECT pk FROM tab4 WHERE NOT ((col1 <= 41.50 OR (col3 BETWEEN 64 AND 70) OR col1 > 7.79 AND col3 < 21))
----
4
7
8

statement ok
DELETE FROM tab0 WHERE col0 >= 95

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 95
----

query I rowsort label-3570
SELECT pk FROM tab0 WHERE NOT (col0 >= 95)
----
4
7
8

statement ok
DELETE FROM tab1 WHERE col0 >= 95

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 95
----

query I rowsort label-3570
SELECT pk FROM tab1 WHERE NOT (col0 >= 95)
----
4
7
8

statement ok
DELETE FROM tab2 WHERE col0 >= 95

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 95
----

query I rowsort label-3570
SELECT pk FROM tab2 WHERE NOT (col0 >= 95)
----
4
7
8

statement ok
DELETE FROM tab3 WHERE col0 >= 95

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 95
----

query I rowsort label-3570
SELECT pk FROM tab3 WHERE NOT (col0 >= 95)
----
4
7
8

statement ok
DELETE FROM tab4 WHERE col0 >= 95

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 95
----

query I rowsort label-3570
SELECT pk FROM tab4 WHERE NOT (col0 >= 95)
----
4
7
8

statement ok
DELETE FROM tab0 WHERE (col1 < 22.41)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 22.41)
----

query I rowsort label-3585
SELECT pk FROM tab0 WHERE NOT ((col1 < 22.41))
----
4
7
8

statement ok
DELETE FROM tab1 WHERE (col1 < 22.41)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 22.41)
----

query I rowsort label-3585
SELECT pk FROM tab1 WHERE NOT ((col1 < 22.41))
----
4
7
8

statement ok
DELETE FROM tab2 WHERE (col1 < 22.41)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 22.41)
----

query I rowsort label-3585
SELECT pk FROM tab2 WHERE NOT ((col1 < 22.41))
----
4
7
8

statement ok
DELETE FROM tab3 WHERE (col1 < 22.41)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 22.41)
----

query I rowsort label-3585
SELECT pk FROM tab3 WHERE NOT ((col1 < 22.41))
----
4
7
8

statement ok
DELETE FROM tab4 WHERE (col1 < 22.41)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 22.41)
----

query I rowsort label-3585
SELECT pk FROM tab4 WHERE NOT ((col1 < 22.41))
----
4
7
8

statement ok
DELETE FROM tab0 WHERE ((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46)
----

query I rowsort label-3600
SELECT pk FROM tab0 WHERE NOT (((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46))
----
4
7
8

statement ok
DELETE FROM tab1 WHERE ((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46)
----

query I rowsort label-3600
SELECT pk FROM tab1 WHERE NOT (((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46))
----
4
7
8

statement ok
DELETE FROM tab2 WHERE ((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46)
----

query I rowsort label-3600
SELECT pk FROM tab2 WHERE NOT (((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46))
----
4
7
8

statement ok
DELETE FROM tab3 WHERE ((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46)
----

query I rowsort label-3600
SELECT pk FROM tab3 WHERE NOT (((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46))
----
4
7
8

statement ok
DELETE FROM tab4 WHERE ((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46)
----

query I rowsort label-3600
SELECT pk FROM tab4 WHERE NOT (((((col1 >= 6.91) AND col3 < 55 OR col3 = 77 AND col3 <= 55 OR (col0 < 69 OR col1 BETWEEN 93.38 AND 92.64) AND col4 > 68.44 AND col0 < 64 AND col0 = 90 AND col0 < 89 AND col4 < 94.75 AND col1 >= 61.71 OR col3 <= 74 AND col3 < 18 AND col3 < 90 OR col0 > 29 AND col0 IN (61,28,59) AND ((col0 < 25 AND (((((col4 > 84.3 AND col4 <= 58.82))) AND col1 = 82.93 AND col1 IS NULL)) OR (col0 > 31))) AND col1 IN (45.98,44.39,77.36,95.56,59.26,12.56) AND (col3 < 93)) AND col3 = 99 OR col1 >= 82.89 AND col3 IS NULL)) AND (col3 < 46))
----
4
7
8

statement ok
DELETE FROM tab0 WHERE col0 < 76 AND col3 <= 58

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 76 AND col3 <= 58
----

query I rowsort label-3615
SELECT pk FROM tab0 WHERE NOT (col0 < 76 AND col3 <= 58)
----
4
7
8

statement ok
DELETE FROM tab1 WHERE col0 < 76 AND col3 <= 58

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 76 AND col3 <= 58
----

query I rowsort label-3615
SELECT pk FROM tab1 WHERE NOT (col0 < 76 AND col3 <= 58)
----
4
7
8

statement ok
DELETE FROM tab2 WHERE col0 < 76 AND col3 <= 58

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 76 AND col3 <= 58
----

query I rowsort label-3615
SELECT pk FROM tab2 WHERE NOT (col0 < 76 AND col3 <= 58)
----
4
7
8

statement ok
DELETE FROM tab3 WHERE col0 < 76 AND col3 <= 58

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 76 AND col3 <= 58
----

query I rowsort label-3615
SELECT pk FROM tab3 WHERE NOT (col0 < 76 AND col3 <= 58)
----
4
7
8

statement ok
DELETE FROM tab4 WHERE col0 < 76 AND col3 <= 58

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 76 AND col3 <= 58
----

query I rowsort label-3615
SELECT pk FROM tab4 WHERE NOT (col0 < 76 AND col3 <= 58)
----
4
7
8

statement ok
DELETE FROM tab0 WHERE col3 = 11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 11
----

query I rowsort label-3630
SELECT pk FROM tab0 WHERE NOT (col3 = 11)
----
4
7
8

statement ok
DELETE FROM tab1 WHERE col3 = 11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 11
----

query I rowsort label-3630
SELECT pk FROM tab1 WHERE NOT (col3 = 11)
----
4
7
8

statement ok
DELETE FROM tab2 WHERE col3 = 11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 11
----

query I rowsort label-3630
SELECT pk FROM tab2 WHERE NOT (col3 = 11)
----
4
7
8

statement ok
DELETE FROM tab3 WHERE col3 = 11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 11
----

query I rowsort label-3630
SELECT pk FROM tab3 WHERE NOT (col3 = 11)
----
4
7
8

statement ok
DELETE FROM tab4 WHERE col3 = 11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 11
----

query I rowsort label-3630
SELECT pk FROM tab4 WHERE NOT (col3 = 11)
----
4
7
8

statement ok
DELETE FROM tab0 WHERE col4 > 32.91

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 32.91
----

query I rowsort label-3645
SELECT pk FROM tab0 WHERE NOT (col4 > 32.91)
----
7
8

statement ok
DELETE FROM tab1 WHERE col4 > 32.91

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 32.91
----

query I rowsort label-3645
SELECT pk FROM tab1 WHERE NOT (col4 > 32.91)
----
7
8

statement ok
DELETE FROM tab2 WHERE col4 > 32.91

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 32.91
----

query I rowsort label-3645
SELECT pk FROM tab2 WHERE NOT (col4 > 32.91)
----
7
8

statement ok
DELETE FROM tab3 WHERE col4 > 32.91

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 32.91
----

query I rowsort label-3645
SELECT pk FROM tab3 WHERE NOT (col4 > 32.91)
----
7
8

statement ok
DELETE FROM tab4 WHERE col4 > 32.91

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 32.91
----

query I rowsort label-3645
SELECT pk FROM tab4 WHERE NOT (col4 > 32.91)
----
7
8

statement ok
DELETE FROM tab0 WHERE (col3 < 62)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 62)
----

query I rowsort label-3660
SELECT pk FROM tab0 WHERE NOT ((col3 < 62))
----
7
8

statement ok
DELETE FROM tab1 WHERE (col3 < 62)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 62)
----

query I rowsort label-3660
SELECT pk FROM tab1 WHERE NOT ((col3 < 62))
----
7
8

statement ok
DELETE FROM tab2 WHERE (col3 < 62)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 62)
----

query I rowsort label-3660
SELECT pk FROM tab2 WHERE NOT ((col3 < 62))
----
7
8

statement ok
DELETE FROM tab3 WHERE (col3 < 62)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 62)
----

query I rowsort label-3660
SELECT pk FROM tab3 WHERE NOT ((col3 < 62))
----
7
8

statement ok
DELETE FROM tab4 WHERE (col3 < 62)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 62)
----

query I rowsort label-3660
SELECT pk FROM tab4 WHERE NOT ((col3 < 62))
----
7
8

statement ok
DELETE FROM tab0 WHERE (col4 < 30.78)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 30.78)
----

query I rowsort label-3675
SELECT pk FROM tab0 WHERE NOT ((col4 < 30.78))
----

statement ok
DELETE FROM tab1 WHERE (col4 < 30.78)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 30.78)
----

query I rowsort label-3675
SELECT pk FROM tab1 WHERE NOT ((col4 < 30.78))
----

statement ok
DELETE FROM tab2 WHERE (col4 < 30.78)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 30.78)
----

query I rowsort label-3675
SELECT pk FROM tab2 WHERE NOT ((col4 < 30.78))
----

statement ok
DELETE FROM tab3 WHERE (col4 < 30.78)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 30.78)
----

query I rowsort label-3675
SELECT pk FROM tab3 WHERE NOT ((col4 < 30.78))
----

statement ok
DELETE FROM tab4 WHERE (col4 < 30.78)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 30.78)
----

query I rowsort label-3675
SELECT pk FROM tab4 WHERE NOT ((col4 < 30.78))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,58,24.16,'abycr',97,49.96,'gjlqg')

statement ok
INSERT INTO tab0 VALUES(1,61,28.0,'mifdu',8,57.15,'nwcmq')

statement ok
INSERT INTO tab0 VALUES(2,89,17.1,'tnpnp',33,21.21,'zqpkl')

statement ok
INSERT INTO tab0 VALUES(3,86,88.45,'pzzdn',22,17.2,'pjnis')

statement ok
INSERT INTO tab0 VALUES(4,12,86.9,'flywa',50,52.52,'bjxwv')

statement ok
INSERT INTO tab0 VALUES(5,56,71.33,'yejsy',26,28.83,'nmwgy')

statement ok
INSERT INTO tab0 VALUES(6,52,77.29,'aebam',6,2.36,'hjhpv')

statement ok
INSERT INTO tab0 VALUES(7,83,76.98,'whiln',7,50.99,'gohbe')

statement ok
INSERT INTO tab0 VALUES(8,1,39.39,'cgqgj',19,31.13,'todsp')

statement ok
INSERT INTO tab0 VALUES(9,39,2.63,'vzgil',20,47.86,'zcmzy')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4,col0)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,17,12.89,'lpgeu',21,32.67,'gaoze')

statement ok
INSERT INTO tab0 VALUES(1,69,75.62,'zyrfh',69,30.83,'huejr')

statement ok
INSERT INTO tab0 VALUES(2,19,76.77,'gwtmd',26,22.3,'esang')

statement ok
INSERT INTO tab0 VALUES(3,90,73.66,'sgvou',44,83.17,'srbpn')

statement ok
INSERT INTO tab0 VALUES(4,65,47.7,'qspxv',39,88.16,'sqgfq')

statement ok
INSERT INTO tab0 VALUES(5,99,61.31,'pzvdo',10,74.1,'rqkqu')

statement ok
INSERT INTO tab0 VALUES(6,34,18.39,'cwsyq',45,5.99,'iurzt')

statement ok
INSERT INTO tab0 VALUES(7,8,30.11,'hmvos',33,33.74,'hries')

statement ok
INSERT INTO tab0 VALUES(8,71,78.21,'lgnmd',87,55.38,'tfffr')

statement ok
INSERT INTO tab0 VALUES(9,94,74.50,'sgqyi',46,89.67,'yzpgi')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC,col0,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3 DESC,col1)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4,col0 DESC,col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col0 >= 75)) AND col4 < 55.77

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 75)) AND col4 < 55.77
----

query I rowsort label-3690
SELECT pk FROM tab0 WHERE NOT (((col0 >= 75)) AND col4 < 55.77)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col0 >= 75)) AND col4 < 55.77

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 75)) AND col4 < 55.77
----

query I rowsort label-3690
SELECT pk FROM tab1 WHERE NOT (((col0 >= 75)) AND col4 < 55.77)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col0 >= 75)) AND col4 < 55.77

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 75)) AND col4 < 55.77
----

query I rowsort label-3690
SELECT pk FROM tab2 WHERE NOT (((col0 >= 75)) AND col4 < 55.77)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col0 >= 75)) AND col4 < 55.77

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 75)) AND col4 < 55.77
----

query I rowsort label-3690
SELECT pk FROM tab3 WHERE NOT (((col0 >= 75)) AND col4 < 55.77)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col0 >= 75)) AND col4 < 55.77

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 75)) AND col4 < 55.77
----

query I rowsort label-3690
SELECT pk FROM tab4 WHERE NOT (((col0 >= 75)) AND col4 < 55.77)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 <= 40.12

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 40.12
----

query I rowsort label-3705
SELECT pk FROM tab0 WHERE NOT (col4 <= 40.12)
----
3
4
5
8
9

statement ok
DELETE FROM tab1 WHERE col4 <= 40.12

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 40.12
----

query I rowsort label-3705
SELECT pk FROM tab1 WHERE NOT (col4 <= 40.12)
----
3
4
5
8
9

statement ok
DELETE FROM tab2 WHERE col4 <= 40.12

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 40.12
----

query I rowsort label-3705
SELECT pk FROM tab2 WHERE NOT (col4 <= 40.12)
----
3
4
5
8
9

statement ok
DELETE FROM tab3 WHERE col4 <= 40.12

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 40.12
----

query I rowsort label-3705
SELECT pk FROM tab3 WHERE NOT (col4 <= 40.12)
----
3
4
5
8
9

statement ok
DELETE FROM tab4 WHERE col4 <= 40.12

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 40.12
----

query I rowsort label-3705
SELECT pk FROM tab4 WHERE NOT (col4 <= 40.12)
----
3
4
5
8
9

statement ok
DELETE FROM tab0 WHERE col0 > 68

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 68
----

query I rowsort label-3720
SELECT pk FROM tab0 WHERE NOT (col0 > 68)
----
4

statement ok
DELETE FROM tab1 WHERE col0 > 68

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 68
----

query I rowsort label-3720
SELECT pk FROM tab1 WHERE NOT (col0 > 68)
----
4

statement ok
DELETE FROM tab2 WHERE col0 > 68

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 68
----

query I rowsort label-3720
SELECT pk FROM tab2 WHERE NOT (col0 > 68)
----
4

statement ok
DELETE FROM tab3 WHERE col0 > 68

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 68
----

query I rowsort label-3720
SELECT pk FROM tab3 WHERE NOT (col0 > 68)
----
4

statement ok
DELETE FROM tab4 WHERE col0 > 68

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 68
----

query I rowsort label-3720
SELECT pk FROM tab4 WHERE NOT (col0 > 68)
----
4

statement ok
DELETE FROM tab0 WHERE col1 >= 42.28

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 42.28
----

query I rowsort label-3735
SELECT pk FROM tab0 WHERE NOT (col1 >= 42.28)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 42.28

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 42.28
----

query I rowsort label-3735
SELECT pk FROM tab1 WHERE NOT (col1 >= 42.28)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 42.28

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 42.28
----

query I rowsort label-3735
SELECT pk FROM tab2 WHERE NOT (col1 >= 42.28)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 42.28

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 42.28
----

query I rowsort label-3735
SELECT pk FROM tab3 WHERE NOT (col1 >= 42.28)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 42.28

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 42.28
----

query I rowsort label-3735
SELECT pk FROM tab4 WHERE NOT (col1 >= 42.28)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,90,52.59,'yqqai',3,88.4,'njywb')

statement ok
INSERT INTO tab0 VALUES(1,21,76.62,'wfyuc',24,90.61,'metoa')

statement ok
INSERT INTO tab0 VALUES(2,1,40.33,'nspsq',25,49.92,'gwpfw')

statement ok
INSERT INTO tab0 VALUES(3,92,34.72,'yxqtk',19,9.36,'rtomy')

statement ok
INSERT INTO tab0 VALUES(4,10,93.37,'lufpy',76,38.49,'fouhe')

statement ok
INSERT INTO tab0 VALUES(5,30,63.58,'ewhqq',34,0.13,'ioyum')

statement ok
INSERT INTO tab0 VALUES(6,8,60.47,'ubcde',14,7.50,'mmvqo')

statement ok
INSERT INTO tab0 VALUES(7,85,38.13,'adzih',32,91.34,'kydzi')

statement ok
INSERT INTO tab0 VALUES(8,4,45.76,'ilvql',12,58.5,'yhysv')

statement ok
INSERT INTO tab0 VALUES(9,22,91.75,'okwsf',97,61.82,'qxkmo')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0,col1 DESC,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 > 4.37

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 4.37
----

query I rowsort label-3750
SELECT pk FROM tab0 WHERE NOT (col1 > 4.37)
----

statement ok
DELETE FROM tab1 WHERE col1 > 4.37

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 4.37
----

query I rowsort label-3750
SELECT pk FROM tab1 WHERE NOT (col1 > 4.37)
----

statement ok
DELETE FROM tab2 WHERE col1 > 4.37

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 4.37
----

query I rowsort label-3750
SELECT pk FROM tab2 WHERE NOT (col1 > 4.37)
----

statement ok
DELETE FROM tab3 WHERE col1 > 4.37

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 4.37
----

query I rowsort label-3750
SELECT pk FROM tab3 WHERE NOT (col1 > 4.37)
----

statement ok
DELETE FROM tab4 WHERE col1 > 4.37

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 4.37
----

query I rowsort label-3750
SELECT pk FROM tab4 WHERE NOT (col1 > 4.37)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,91,76.21,'zroql',77,11.64,'nowhw')

statement ok
INSERT INTO tab0 VALUES(1,8,54.58,'xbobw',2,27.28,'simna')

statement ok
INSERT INTO tab0 VALUES(2,72,70.1,'qvsgh',72,18.86,'zsecu')

statement ok
INSERT INTO tab0 VALUES(3,50,34.72,'vrqrj',19,3.38,'rkqcp')

statement ok
INSERT INTO tab0 VALUES(4,32,98.67,'arvuk',78,97.88,'egzep')

statement ok
INSERT INTO tab0 VALUES(5,84,71.13,'xwvxo',41,29.3,'uubxx')

statement ok
INSERT INTO tab0 VALUES(6,22,30.32,'cvlqu',32,53.77,'dcjpo')

statement ok
INSERT INTO tab0 VALUES(7,63,33.6,'qlvqf',58,58.93,'egluq')

statement ok
INSERT INTO tab0 VALUES(8,96,31.35,'vjpba',79,84.87,'eytcm')

statement ok
INSERT INTO tab0 VALUES(9,42,77.5,'qtyku',66,31.8,'ceamx')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC,col0,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1,col4 DESC,col3)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0,col1)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4,col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13))))
----

query I rowsort label-3765
SELECT pk FROM tab0 WHERE NOT ((((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13)))))
----
3
4
5
6
7
9

statement ok
DELETE FROM tab1 WHERE (((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13))))
----

query I rowsort label-3765
SELECT pk FROM tab1 WHERE NOT ((((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13)))))
----
3
4
5
6
7
9

statement ok
DELETE FROM tab2 WHERE (((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13))))
----

query I rowsort label-3765
SELECT pk FROM tab2 WHERE NOT ((((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13)))))
----
3
4
5
6
7
9

statement ok
DELETE FROM tab3 WHERE (((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13))))
----

query I rowsort label-3765
SELECT pk FROM tab3 WHERE NOT ((((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13)))))
----
3
4
5
6
7
9

statement ok
DELETE FROM tab4 WHERE (((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13))))
----

query I rowsort label-3765
SELECT pk FROM tab4 WHERE NOT ((((col0 >= 64 AND col3 > 67 OR (col3 = 2 OR col1 < 13.13)))))
----
3
4
5
6
7
9

statement ok
DELETE FROM tab0 WHERE col0 > 14

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 14
----

query I rowsort label-3780
SELECT pk FROM tab0 WHERE NOT (col0 > 14)
----

statement ok
DELETE FROM tab1 WHERE col0 > 14

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 14
----

query I rowsort label-3780
SELECT pk FROM tab1 WHERE NOT (col0 > 14)
----

statement ok
DELETE FROM tab2 WHERE col0 > 14

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 14
----

query I rowsort label-3780
SELECT pk FROM tab2 WHERE NOT (col0 > 14)
----

statement ok
DELETE FROM tab3 WHERE col0 > 14

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 14
----

query I rowsort label-3780
SELECT pk FROM tab3 WHERE NOT (col0 > 14)
----

statement ok
DELETE FROM tab4 WHERE col0 > 14

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 14
----

query I rowsort label-3780
SELECT pk FROM tab4 WHERE NOT (col0 > 14)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,32,52.41,'okfoe',35,81.65,'xzamz')

statement ok
INSERT INTO tab0 VALUES(1,85,53.10,'rmkmu',2,4.99,'lwodu')

statement ok
INSERT INTO tab0 VALUES(2,58,23.40,'liczg',64,93.38,'eozse')

statement ok
INSERT INTO tab0 VALUES(3,75,79.6,'xskmo',4,86.99,'tqybj')

statement ok
INSERT INTO tab0 VALUES(4,47,80.56,'pebnb',24,68.55,'etyrp')

statement ok
INSERT INTO tab0 VALUES(5,33,41.80,'drram',7,83.0,'uggkz')

statement ok
INSERT INTO tab0 VALUES(6,1,40.64,'adudd',76,50.5,'nveaq')

statement ok
INSERT INTO tab0 VALUES(7,98,38.59,'xebtx',60,73.90,'bdeaa')

statement ok
INSERT INTO tab0 VALUES(8,2,85.40,'rqifl',56,52.78,'ulyzx')

statement ok
INSERT INTO tab0 VALUES(9,93,37.70,'phrwk',91,0.62,'cdqjm')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0,col4,col3 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1,col0,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 < 19

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 19
----

query I rowsort label-3795
SELECT pk FROM tab0 WHERE NOT (col3 < 19)
----
0
2
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 < 19

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 19
----

query I rowsort label-3795
SELECT pk FROM tab1 WHERE NOT (col3 < 19)
----
0
2
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 < 19

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 19
----

query I rowsort label-3795
SELECT pk FROM tab2 WHERE NOT (col3 < 19)
----
0
2
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 < 19

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 19
----

query I rowsort label-3795
SELECT pk FROM tab3 WHERE NOT (col3 < 19)
----
0
2
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 < 19

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 19
----

query I rowsort label-3795
SELECT pk FROM tab4 WHERE NOT (col3 < 19)
----
0
2
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col0 < 44 OR col1 < 46.61)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 44 OR col1 < 46.61)
----

query I rowsort label-3810
SELECT pk FROM tab0 WHERE NOT ((col0 < 44 OR col1 < 46.61))
----
4

statement ok
DELETE FROM tab1 WHERE (col0 < 44 OR col1 < 46.61)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 44 OR col1 < 46.61)
----

query I rowsort label-3810
SELECT pk FROM tab1 WHERE NOT ((col0 < 44 OR col1 < 46.61))
----
4

statement ok
DELETE FROM tab2 WHERE (col0 < 44 OR col1 < 46.61)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 44 OR col1 < 46.61)
----

query I rowsort label-3810
SELECT pk FROM tab2 WHERE NOT ((col0 < 44 OR col1 < 46.61))
----
4

statement ok
DELETE FROM tab3 WHERE (col0 < 44 OR col1 < 46.61)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 44 OR col1 < 46.61)
----

query I rowsort label-3810
SELECT pk FROM tab3 WHERE NOT ((col0 < 44 OR col1 < 46.61))
----
4

statement ok
DELETE FROM tab4 WHERE (col0 < 44 OR col1 < 46.61)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 44 OR col1 < 46.61)
----

query I rowsort label-3810
SELECT pk FROM tab4 WHERE NOT ((col0 < 44 OR col1 < 46.61))
----
4

statement ok
DELETE FROM tab0 WHERE ((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13)))
----

query I rowsort label-3825
SELECT pk FROM tab0 WHERE NOT (((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13))))
----

statement ok
DELETE FROM tab1 WHERE ((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13)))
----

query I rowsort label-3825
SELECT pk FROM tab1 WHERE NOT (((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13))))
----

statement ok
DELETE FROM tab2 WHERE ((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13)))
----

query I rowsort label-3825
SELECT pk FROM tab2 WHERE NOT (((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13))))
----

statement ok
DELETE FROM tab3 WHERE ((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13)))
----

query I rowsort label-3825
SELECT pk FROM tab3 WHERE NOT (((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13))))
----

statement ok
DELETE FROM tab4 WHERE ((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13)))
----

query I rowsort label-3825
SELECT pk FROM tab4 WHERE NOT (((((col0 = 21 AND ((col1 >= 84.9) AND (col0 <= 80 AND (col0 >= 30 AND col0 >= 22))) OR col0 > 68 AND (((col4 < 43.36 AND col3 IS NULL AND col0 > 0) OR (col4 = 42.58) AND col3 < 96) AND col3 < 29 AND col0 >= 11) OR (col4 > 34.35) AND ((((col3 >= 30) OR (col0 > 97 OR (((col0 >= 29)) OR col3 < 56 OR (col3 = 65 OR col3 IS NULL) OR col1 < 67.82 AND col0 > 34))))) AND col4 >= 98.96 OR (col1 <= 6.11) OR (col0 IS NULL) OR col1 > 93.53 AND (col3 < 21 OR (col3 > 3 OR col3 > 74 AND (col1 > 4.23))) OR col3 > 90) AND (((((col1 <= 33.62)) OR (col4 < 50.97))) AND col0 IS NULL AND col0 = 27 OR (col3 = 86 OR col0 IN (12,21)) OR col3 = 18 AND col3 IN (51) OR (col3 > 99) AND col1 > 83.97 AND (col3 < 71) OR col0 >= 89 AND col0 > 10 OR ((col0 > 38) OR (col3 < 52 AND col0 > 59))) AND col4 > 49.31 OR col0 < 26 OR (col1 = 82.23 AND (col0 = 40 OR col1 >= 45.99 OR col3 >= 43) OR col0 > 31 OR (col0 < 88) AND col3 <= 32) AND (col0 < 90 AND col0 >= 64) AND ((col3 IN (48,66,66,62,76,26)) AND col3 < 52) OR col4 >= 64.25 OR col0 >= 13))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,39,45.64,'tmczd',31,78.10,'uwxsy')

statement ok
INSERT INTO tab0 VALUES(1,87,33.55,'ndfkk',28,74.48,'ispyr')

statement ok
INSERT INTO tab0 VALUES(2,27,8.61,'cdjqy',6,17.19,'casau')

statement ok
INSERT INTO tab0 VALUES(3,41,32.49,'vffwc',77,89.34,'dadkq')

statement ok
INSERT INTO tab0 VALUES(4,59,35.84,'fpnoe',76,97.25,'xkmim')

statement ok
INSERT INTO tab0 VALUES(5,15,26.87,'avnio',29,84.17,'bxgiu')

statement ok
INSERT INTO tab0 VALUES(6,16,10.99,'lfugs',9,41.86,'swyuf')

statement ok
INSERT INTO tab0 VALUES(7,92,96.47,'bpqrm',4,23.22,'pzirs')

statement ok
INSERT INTO tab0 VALUES(8,77,11.99,'fvxxb',78,60.91,'dthdt')

statement ok
INSERT INTO tab0 VALUES(9,56,14.35,'yqkof',25,66.99,'njfdk')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4,col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0,col4 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col3,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 = 22.61

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 22.61
----

query I rowsort label-3840
SELECT pk FROM tab0 WHERE NOT (col1 = 22.61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 = 22.61

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 22.61
----

query I rowsort label-3840
SELECT pk FROM tab1 WHERE NOT (col1 = 22.61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 = 22.61

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 22.61
----

query I rowsort label-3840
SELECT pk FROM tab2 WHERE NOT (col1 = 22.61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 = 22.61

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 22.61
----

query I rowsort label-3840
SELECT pk FROM tab3 WHERE NOT (col1 = 22.61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 = 22.61

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 22.61
----

query I rowsort label-3840
SELECT pk FROM tab4 WHERE NOT (col1 = 22.61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36
----

query I rowsort label-3855
SELECT pk FROM tab0 WHERE NOT ((((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36
----

query I rowsort label-3855
SELECT pk FROM tab1 WHERE NOT ((((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36
----

query I rowsort label-3855
SELECT pk FROM tab2 WHERE NOT ((((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36
----

query I rowsort label-3855
SELECT pk FROM tab3 WHERE NOT ((((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36
----

query I rowsort label-3855
SELECT pk FROM tab4 WHERE NOT ((((col3 > 78)) OR col4 > 46.4 OR col3 < 48 AND col3 > 83 AND col1 = 74.65) AND col0 BETWEEN 83 AND 68 OR col0 BETWEEN 52 AND 36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 < 3 OR (col3 < 60)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 3 OR (col3 < 60)
----

query I rowsort label-3870
SELECT pk FROM tab0 WHERE NOT (col0 < 3 OR (col3 < 60))
----
3
4
8

statement ok
DELETE FROM tab1 WHERE col0 < 3 OR (col3 < 60)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 3 OR (col3 < 60)
----

query I rowsort label-3870
SELECT pk FROM tab1 WHERE NOT (col0 < 3 OR (col3 < 60))
----
3
4
8

statement ok
DELETE FROM tab2 WHERE col0 < 3 OR (col3 < 60)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 3 OR (col3 < 60)
----

query I rowsort label-3870
SELECT pk FROM tab2 WHERE NOT (col0 < 3 OR (col3 < 60))
----
3
4
8

statement ok
DELETE FROM tab3 WHERE col0 < 3 OR (col3 < 60)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 3 OR (col3 < 60)
----

query I rowsort label-3870
SELECT pk FROM tab3 WHERE NOT (col0 < 3 OR (col3 < 60))
----
3
4
8

statement ok
DELETE FROM tab4 WHERE col0 < 3 OR (col3 < 60)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 3 OR (col3 < 60)
----

query I rowsort label-3870
SELECT pk FROM tab4 WHERE NOT (col0 < 3 OR (col3 < 60))
----
3
4
8

statement ok
DELETE FROM tab0 WHERE (col0 < 54 OR col3 >= 71) OR col3 IN (65)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 54 OR col3 >= 71) OR col3 IN (65)
----

query I rowsort label-3885
SELECT pk FROM tab0 WHERE NOT ((col0 < 54 OR col3 >= 71) OR col3 IN (65))
----

statement ok
DELETE FROM tab1 WHERE (col0 < 54 OR col3 >= 71) OR col3 IN (65)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 54 OR col3 >= 71) OR col3 IN (65)
----

query I rowsort label-3885
SELECT pk FROM tab1 WHERE NOT ((col0 < 54 OR col3 >= 71) OR col3 IN (65))
----

statement ok
DELETE FROM tab2 WHERE (col0 < 54 OR col3 >= 71) OR col3 IN (65)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 54 OR col3 >= 71) OR col3 IN (65)
----

query I rowsort label-3885
SELECT pk FROM tab2 WHERE NOT ((col0 < 54 OR col3 >= 71) OR col3 IN (65))
----

statement ok
DELETE FROM tab3 WHERE (col0 < 54 OR col3 >= 71) OR col3 IN (65)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 54 OR col3 >= 71) OR col3 IN (65)
----

query I rowsort label-3885
SELECT pk FROM tab3 WHERE NOT ((col0 < 54 OR col3 >= 71) OR col3 IN (65))
----

statement ok
DELETE FROM tab4 WHERE (col0 < 54 OR col3 >= 71) OR col3 IN (65)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 54 OR col3 >= 71) OR col3 IN (65)
----

query I rowsort label-3885
SELECT pk FROM tab4 WHERE NOT ((col0 < 54 OR col3 >= 71) OR col3 IN (65))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,66,93.36,'knhqf',86,31.53,'gglqz')

statement ok
INSERT INTO tab0 VALUES(1,51,33.43,'zpzqu',33,93.99,'sqoqw')

statement ok
INSERT INTO tab0 VALUES(2,10,47.94,'uvhzb',87,18.53,'orxvf')

statement ok
INSERT INTO tab0 VALUES(3,72,73.87,'lsnlt',30,86.93,'yhlvf')

statement ok
INSERT INTO tab0 VALUES(4,78,21.11,'vcvhe',63,25.48,'nxxhy')

statement ok
INSERT INTO tab0 VALUES(5,90,30.61,'okviv',15,76.8,'ckeza')

statement ok
INSERT INTO tab0 VALUES(6,5,36.51,'trecd',56,58.37,'ileah')

statement ok
INSERT INTO tab0 VALUES(7,71,27.25,'rqiaz',10,26.88,'cnhwj')

statement ok
INSERT INTO tab0 VALUES(8,93,14.70,'fbbkj',69,32.12,'nzbmh')

statement ok
INSERT INTO tab0 VALUES(9,49,88.30,'qncra',2,94.71,'djunc')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 < 11.30)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 11.30)
----

query I rowsort label-3900
SELECT pk FROM tab0 WHERE NOT ((col1 < 11.30))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col1 < 11.30)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 11.30)
----

query I rowsort label-3900
SELECT pk FROM tab1 WHERE NOT ((col1 < 11.30))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col1 < 11.30)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 11.30)
----

query I rowsort label-3900
SELECT pk FROM tab2 WHERE NOT ((col1 < 11.30))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col1 < 11.30)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 11.30)
----

query I rowsort label-3900
SELECT pk FROM tab3 WHERE NOT ((col1 < 11.30))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col1 < 11.30)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 11.30)
----

query I rowsort label-3900
SELECT pk FROM tab4 WHERE NOT ((col1 < 11.30))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 = 7.59

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 7.59
----

query I rowsort label-3915
SELECT pk FROM tab0 WHERE NOT (col4 = 7.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 = 7.59

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 7.59
----

query I rowsort label-3915
SELECT pk FROM tab1 WHERE NOT (col4 = 7.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 = 7.59

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 7.59
----

query I rowsort label-3915
SELECT pk FROM tab2 WHERE NOT (col4 = 7.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 = 7.59

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 7.59
----

query I rowsort label-3915
SELECT pk FROM tab3 WHERE NOT (col4 = 7.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 = 7.59

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 7.59
----

query I rowsort label-3915
SELECT pk FROM tab4 WHERE NOT (col4 = 7.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46))))
----

query I rowsort label-3930
SELECT pk FROM tab0 WHERE NOT (((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46)))))
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab1 WHERE ((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46))))
----

query I rowsort label-3930
SELECT pk FROM tab1 WHERE NOT (((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46)))))
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab2 WHERE ((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46))))
----

query I rowsort label-3930
SELECT pk FROM tab2 WHERE NOT (((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46)))))
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab3 WHERE ((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46))))
----

query I rowsort label-3930
SELECT pk FROM tab3 WHERE NOT (((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46)))))
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab4 WHERE ((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46))))
----

query I rowsort label-3930
SELECT pk FROM tab4 WHERE NOT (((((col0 > 88))) AND (col3 >= 68 OR ((col3 > 45 AND col0 < 9)) OR (col3 <= 69) OR ((col4 > 35.46)))))
----
0
1
2
3
4
6
7
9

statement ok
DELETE FROM tab0 WHERE col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20)))
----

query I rowsort label-3945
SELECT pk FROM tab0 WHERE NOT (col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20))))
----
0
3
9

statement ok
DELETE FROM tab1 WHERE col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20)))
----

query I rowsort label-3945
SELECT pk FROM tab1 WHERE NOT (col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20))))
----
0
3
9

statement ok
DELETE FROM tab2 WHERE col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20)))
----

query I rowsort label-3945
SELECT pk FROM tab2 WHERE NOT (col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20))))
----
0
3
9

statement ok
DELETE FROM tab3 WHERE col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20)))
----

query I rowsort label-3945
SELECT pk FROM tab3 WHERE NOT (col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20))))
----
0
3
9

statement ok
DELETE FROM tab4 WHERE col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20)))
----

query I rowsort label-3945
SELECT pk FROM tab4 WHERE NOT (col1 IN (32.88,61.43,39.32,68.22) OR (((col1 < 58.20))))
----
0
3
9

statement ok
DELETE FROM tab0 WHERE col1 > 33.58

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 33.58
----

query I rowsort label-3960
SELECT pk FROM tab0 WHERE NOT (col1 > 33.58)
----

statement ok
DELETE FROM tab1 WHERE col1 > 33.58

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 33.58
----

query I rowsort label-3960
SELECT pk FROM tab1 WHERE NOT (col1 > 33.58)
----

statement ok
DELETE FROM tab2 WHERE col1 > 33.58

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 33.58
----

query I rowsort label-3960
SELECT pk FROM tab2 WHERE NOT (col1 > 33.58)
----

statement ok
DELETE FROM tab3 WHERE col1 > 33.58

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 33.58
----

query I rowsort label-3960
SELECT pk FROM tab3 WHERE NOT (col1 > 33.58)
----

statement ok
DELETE FROM tab4 WHERE col1 > 33.58

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 33.58
----

query I rowsort label-3960
SELECT pk FROM tab4 WHERE NOT (col1 > 33.58)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,13,92.59,'thmnk',3,87.50,'rxyzh')

statement ok
INSERT INTO tab0 VALUES(1,60,49.95,'lcley',58,62.31,'hgmvt')

statement ok
INSERT INTO tab0 VALUES(2,10,50.89,'fozya',36,86.62,'ayges')

statement ok
INSERT INTO tab0 VALUES(3,81,20.31,'kqmwd',13,9.59,'kgzyr')

statement ok
INSERT INTO tab0 VALUES(4,61,74.40,'nuxfy',40,53.20,'nwtdp')

statement ok
INSERT INTO tab0 VALUES(5,19,81.72,'vajsu',60,74.41,'nfrni')

statement ok
INSERT INTO tab0 VALUES(6,20,28.40,'bewqh',12,28.26,'ilmcm')

statement ok
INSERT INTO tab0 VALUES(7,34,76.19,'yvtad',52,26.1,'grcew')

statement ok
INSERT INTO tab0 VALUES(8,54,31.62,'xpnom',61,5.24,'lakhe')

statement ok
INSERT INTO tab0 VALUES(9,3,99.13,'tfhat',59,84.2,'wwuns')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49)))))
----

query I rowsort label-3975
SELECT pk FROM tab0 WHERE NOT ((col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49))))))
----
1
3
4
5
6
7
9

statement ok
DELETE FROM tab1 WHERE (col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49)))))
----

query I rowsort label-3975
SELECT pk FROM tab1 WHERE NOT ((col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49))))))
----
1
3
4
5
6
7
9

statement ok
DELETE FROM tab2 WHERE (col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49)))))
----

query I rowsort label-3975
SELECT pk FROM tab2 WHERE NOT ((col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49))))))
----
1
3
4
5
6
7
9

statement ok
DELETE FROM tab3 WHERE (col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49)))))
----

query I rowsort label-3975
SELECT pk FROM tab3 WHERE NOT ((col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49))))))
----
1
3
4
5
6
7
9

statement ok
DELETE FROM tab4 WHERE (col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49)))))
----

query I rowsort label-3975
SELECT pk FROM tab4 WHERE NOT ((col3 > 60 OR (((col1 IN (73.60,26.63,53.86,71.70,10.75,40.44))) OR (((col0 < 22) AND col4 > 48.9 AND (col3 < 49))))))
----
1
3
4
5
6
7
9

statement ok
DELETE FROM tab0 WHERE col4 <= 57.62

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 57.62
----

query I rowsort label-3990
SELECT pk FROM tab0 WHERE NOT (col4 <= 57.62)
----
1
5
9

statement ok
DELETE FROM tab1 WHERE col4 <= 57.62

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 57.62
----

query I rowsort label-3990
SELECT pk FROM tab1 WHERE NOT (col4 <= 57.62)
----
1
5
9

statement ok
DELETE FROM tab2 WHERE col4 <= 57.62

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 57.62
----

query I rowsort label-3990
SELECT pk FROM tab2 WHERE NOT (col4 <= 57.62)
----
1
5
9

statement ok
DELETE FROM tab3 WHERE col4 <= 57.62

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 57.62
----

query I rowsort label-3990
SELECT pk FROM tab3 WHERE NOT (col4 <= 57.62)
----
1
5
9

statement ok
DELETE FROM tab4 WHERE col4 <= 57.62

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 57.62
----

query I rowsort label-3990
SELECT pk FROM tab4 WHERE NOT (col4 <= 57.62)
----
1
5
9

statement ok
DELETE FROM tab0 WHERE ((col4 < 6.96))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 < 6.96))
----

query I rowsort label-4005
SELECT pk FROM tab0 WHERE NOT (((col4 < 6.96)))
----
1
5
9

statement ok
DELETE FROM tab1 WHERE ((col4 < 6.96))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 < 6.96))
----

query I rowsort label-4005
SELECT pk FROM tab1 WHERE NOT (((col4 < 6.96)))
----
1
5
9

statement ok
DELETE FROM tab2 WHERE ((col4 < 6.96))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 < 6.96))
----

query I rowsort label-4005
SELECT pk FROM tab2 WHERE NOT (((col4 < 6.96)))
----
1
5
9

statement ok
DELETE FROM tab3 WHERE ((col4 < 6.96))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 < 6.96))
----

query I rowsort label-4005
SELECT pk FROM tab3 WHERE NOT (((col4 < 6.96)))
----
1
5
9

statement ok
DELETE FROM tab4 WHERE ((col4 < 6.96))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 < 6.96))
----

query I rowsort label-4005
SELECT pk FROM tab4 WHERE NOT (((col4 < 6.96)))
----
1
5
9

statement ok
DELETE FROM tab0 WHERE col3 IS NULL OR col1 < 15.63

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IS NULL OR col1 < 15.63
----

query I rowsort label-4020
SELECT pk FROM tab0 WHERE NOT (col3 IS NULL OR col1 < 15.63)
----
1
5
9

statement ok
DELETE FROM tab1 WHERE col3 IS NULL OR col1 < 15.63

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IS NULL OR col1 < 15.63
----

query I rowsort label-4020
SELECT pk FROM tab1 WHERE NOT (col3 IS NULL OR col1 < 15.63)
----
1
5
9

statement ok
DELETE FROM tab2 WHERE col3 IS NULL OR col1 < 15.63

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IS NULL OR col1 < 15.63
----

query I rowsort label-4020
SELECT pk FROM tab2 WHERE NOT (col3 IS NULL OR col1 < 15.63)
----
1
5
9

statement ok
DELETE FROM tab3 WHERE col3 IS NULL OR col1 < 15.63

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IS NULL OR col1 < 15.63
----

query I rowsort label-4020
SELECT pk FROM tab3 WHERE NOT (col3 IS NULL OR col1 < 15.63)
----
1
5
9

statement ok
DELETE FROM tab4 WHERE col3 IS NULL OR col1 < 15.63

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IS NULL OR col1 < 15.63
----

query I rowsort label-4020
SELECT pk FROM tab4 WHERE NOT (col3 IS NULL OR col1 < 15.63)
----
1
5
9

statement ok
DELETE FROM tab0 WHERE col4 < 28.13 AND col0 > 70

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 28.13 AND col0 > 70
----

query I rowsort label-4035
SELECT pk FROM tab0 WHERE NOT (col4 < 28.13 AND col0 > 70)
----
1
5
9

statement ok
DELETE FROM tab1 WHERE col4 < 28.13 AND col0 > 70

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 28.13 AND col0 > 70
----

query I rowsort label-4035
SELECT pk FROM tab1 WHERE NOT (col4 < 28.13 AND col0 > 70)
----
1
5
9

statement ok
DELETE FROM tab2 WHERE col4 < 28.13 AND col0 > 70

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 28.13 AND col0 > 70
----

query I rowsort label-4035
SELECT pk FROM tab2 WHERE NOT (col4 < 28.13 AND col0 > 70)
----
1
5
9

statement ok
DELETE FROM tab3 WHERE col4 < 28.13 AND col0 > 70

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 28.13 AND col0 > 70
----

query I rowsort label-4035
SELECT pk FROM tab3 WHERE NOT (col4 < 28.13 AND col0 > 70)
----
1
5
9

statement ok
DELETE FROM tab4 WHERE col4 < 28.13 AND col0 > 70

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 28.13 AND col0 > 70
----

query I rowsort label-4035
SELECT pk FROM tab4 WHERE NOT (col4 < 28.13 AND col0 > 70)
----
1
5
9

statement ok
DELETE FROM tab0 WHERE col0 < 76 OR col3 < 29

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 76 OR col3 < 29
----

query I rowsort label-4050
SELECT pk FROM tab0 WHERE NOT (col0 < 76 OR col3 < 29)
----

statement ok
DELETE FROM tab1 WHERE col0 < 76 OR col3 < 29

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 76 OR col3 < 29
----

query I rowsort label-4050
SELECT pk FROM tab1 WHERE NOT (col0 < 76 OR col3 < 29)
----

statement ok
DELETE FROM tab2 WHERE col0 < 76 OR col3 < 29

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 76 OR col3 < 29
----

query I rowsort label-4050
SELECT pk FROM tab2 WHERE NOT (col0 < 76 OR col3 < 29)
----

statement ok
DELETE FROM tab3 WHERE col0 < 76 OR col3 < 29

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 76 OR col3 < 29
----

query I rowsort label-4050
SELECT pk FROM tab3 WHERE NOT (col0 < 76 OR col3 < 29)
----

statement ok
DELETE FROM tab4 WHERE col0 < 76 OR col3 < 29

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 76 OR col3 < 29
----

query I rowsort label-4050
SELECT pk FROM tab4 WHERE NOT (col0 < 76 OR col3 < 29)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,96,48.6,'hxsbr',18,81.77,'ukboh')

statement ok
INSERT INTO tab0 VALUES(1,46,76.89,'inire',57,62.79,'ejoza')

statement ok
INSERT INTO tab0 VALUES(2,26,34.95,'xebqa',96,46.16,'tjizv')

statement ok
INSERT INTO tab0 VALUES(3,9,20.39,'dbfpj',2,58.23,'bjgje')

statement ok
INSERT INTO tab0 VALUES(4,59,79.4,'bkulp',34,52.60,'vnrue')

statement ok
INSERT INTO tab0 VALUES(5,33,61.53,'htwie',56,66.22,'rizug')

statement ok
INSERT INTO tab0 VALUES(6,2,86.43,'qclzd',45,91.55,'uqfyq')

statement ok
INSERT INTO tab0 VALUES(7,58,6.38,'vvbqs',11,30.67,'larai')

statement ok
INSERT INTO tab0 VALUES(8,28,65.17,'waffb',4,60.39,'tpoxh')

statement ok
INSERT INTO tab0 VALUES(9,88,64.92,'bneou',28,97.41,'ekrck')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0,col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3 DESC,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,55,48.57,'lqvyp',92,41.17,'wkwlj')

statement ok
INSERT INTO tab0 VALUES(1,15,85.72,'ecrfm',32,61.37,'bbspy')

statement ok
INSERT INTO tab0 VALUES(2,48,35.92,'xuvze',56,62.55,'omtxv')

statement ok
INSERT INTO tab0 VALUES(3,2,10.25,'cubsr',2,89.78,'ypzxp')

statement ok
INSERT INTO tab0 VALUES(4,31,2.31,'uuldz',67,0.69,'bnept')

statement ok
INSERT INTO tab0 VALUES(5,5,53.32,'cdyky',24,32.65,'srcig')

statement ok
INSERT INTO tab0 VALUES(6,26,8.28,'ubxgs',33,58.80,'dvjel')

statement ok
INSERT INTO tab0 VALUES(7,40,86.6,'brwan',50,55.27,'ticvh')

statement ok
INSERT INTO tab0 VALUES(8,49,36.54,'aicwe',51,63.23,'vejyh')

statement ok
INSERT INTO tab0 VALUES(9,17,6.74,'lldvs',26,51.8,'zcxab')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72
----

query I rowsort label-4065
SELECT pk FROM tab0 WHERE NOT (col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72
----

query I rowsort label-4065
SELECT pk FROM tab1 WHERE NOT (col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72
----

query I rowsort label-4065
SELECT pk FROM tab2 WHERE NOT (col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72
----

query I rowsort label-4065
SELECT pk FROM tab3 WHERE NOT (col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72
----

query I rowsort label-4065
SELECT pk FROM tab4 WHERE NOT (col4 BETWEEN 23.0 AND 90.0 AND col4 > 57.86 AND col0 > 72)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63
----

query I rowsort label-4080
SELECT pk FROM tab0 WHERE NOT (((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab1 WHERE ((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63
----

query I rowsort label-4080
SELECT pk FROM tab1 WHERE NOT (((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab2 WHERE ((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63
----

query I rowsort label-4080
SELECT pk FROM tab2 WHERE NOT (((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab3 WHERE ((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63
----

query I rowsort label-4080
SELECT pk FROM tab3 WHERE NOT (((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab4 WHERE ((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63
----

query I rowsort label-4080
SELECT pk FROM tab4 WHERE NOT (((col0 >= 58) AND col0 < 13) OR col3 > 80 AND col0 <= 63)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab0 WHERE col1 = 59.87

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 59.87
----

query I rowsort label-4095
SELECT pk FROM tab0 WHERE NOT (col1 = 59.87)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab1 WHERE col1 = 59.87

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 59.87
----

query I rowsort label-4095
SELECT pk FROM tab1 WHERE NOT (col1 = 59.87)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab2 WHERE col1 = 59.87

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 59.87
----

query I rowsort label-4095
SELECT pk FROM tab2 WHERE NOT (col1 = 59.87)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab3 WHERE col1 = 59.87

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 59.87
----

query I rowsort label-4095
SELECT pk FROM tab3 WHERE NOT (col1 = 59.87)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab4 WHERE col1 = 59.87

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 59.87
----

query I rowsort label-4095
SELECT pk FROM tab4 WHERE NOT (col1 = 59.87)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab0 WHERE (col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34))
----

query I rowsort label-4110
SELECT pk FROM tab0 WHERE NOT ((col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34)))
----
3

statement ok
DELETE FROM tab1 WHERE (col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34))
----

query I rowsort label-4110
SELECT pk FROM tab1 WHERE NOT ((col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34)))
----
3

statement ok
DELETE FROM tab2 WHERE (col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34))
----

query I rowsort label-4110
SELECT pk FROM tab2 WHERE NOT ((col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34)))
----
3

statement ok
DELETE FROM tab3 WHERE (col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34))
----

query I rowsort label-4110
SELECT pk FROM tab3 WHERE NOT ((col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34)))
----
3

statement ok
DELETE FROM tab4 WHERE (col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34))
----

query I rowsort label-4110
SELECT pk FROM tab4 WHERE NOT ((col4 <= 61.76 OR col3 > 95 OR col3 >= 36) AND ((((col4 < 3.0 OR col3 < 31 AND ((col3 IS NULL) OR col1 BETWEEN 15.75 AND 7.59) OR ((col0 < 73) OR (col0 BETWEEN 56 AND 32) AND (col0 > 86) OR col1 <= 40.73))) OR col4 < 69.34)))
----
3

statement ok
DELETE FROM tab0 WHERE col4 < 94.83

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 94.83
----

query I rowsort label-4125
SELECT pk FROM tab0 WHERE NOT (col4 < 94.83)
----

statement ok
DELETE FROM tab1 WHERE col4 < 94.83

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 94.83
----

query I rowsort label-4125
SELECT pk FROM tab1 WHERE NOT (col4 < 94.83)
----

statement ok
DELETE FROM tab2 WHERE col4 < 94.83

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 94.83
----

query I rowsort label-4125
SELECT pk FROM tab2 WHERE NOT (col4 < 94.83)
----

statement ok
DELETE FROM tab3 WHERE col4 < 94.83

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 94.83
----

query I rowsort label-4125
SELECT pk FROM tab3 WHERE NOT (col4 < 94.83)
----

statement ok
DELETE FROM tab4 WHERE col4 < 94.83

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 94.83
----

query I rowsort label-4125
SELECT pk FROM tab4 WHERE NOT (col4 < 94.83)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,13,46.94,'ciyte',83,89.36,'qikxj')

statement ok
INSERT INTO tab0 VALUES(1,67,83.15,'ooszx',70,55.17,'fwwlf')

statement ok
INSERT INTO tab0 VALUES(2,33,91.61,'qifkj',6,4.3,'jsiza')

statement ok
INSERT INTO tab0 VALUES(3,98,8.8,'ivmkf',71,6.82,'ufflu')

statement ok
INSERT INTO tab0 VALUES(4,9,95.63,'turwj',54,81.80,'zwnht')

statement ok
INSERT INTO tab0 VALUES(5,86,1.71,'tvrno',81,69.68,'cohxt')

statement ok
INSERT INTO tab0 VALUES(6,29,22.34,'qiuvg',11,90.79,'jmfkz')

statement ok
INSERT INTO tab0 VALUES(7,39,65.20,'pqkfv',59,3.19,'ynlbr')

statement ok
INSERT INTO tab0 VALUES(8,21,13.75,'ojker',3,78.80,'jdydq')

statement ok
INSERT INTO tab0 VALUES(9,5,82.38,'pfcjl',0,47.49,'grigv')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 > 56.20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 56.20
----

query I rowsort label-4140
SELECT pk FROM tab0 WHERE NOT (col1 > 56.20)
----
0
3
5
6
8

statement ok
DELETE FROM tab1 WHERE col1 > 56.20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 56.20
----

query I rowsort label-4140
SELECT pk FROM tab1 WHERE NOT (col1 > 56.20)
----
0
3
5
6
8

statement ok
DELETE FROM tab2 WHERE col1 > 56.20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 56.20
----

query I rowsort label-4140
SELECT pk FROM tab2 WHERE NOT (col1 > 56.20)
----
0
3
5
6
8

statement ok
DELETE FROM tab3 WHERE col1 > 56.20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 56.20
----

query I rowsort label-4140
SELECT pk FROM tab3 WHERE NOT (col1 > 56.20)
----
0
3
5
6
8

statement ok
DELETE FROM tab4 WHERE col1 > 56.20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 56.20
----

query I rowsort label-4140
SELECT pk FROM tab4 WHERE NOT (col1 > 56.20)
----
0
3
5
6
8

statement ok
DELETE FROM tab0 WHERE (col3 > 48)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 48)
----

query I rowsort label-4155
SELECT pk FROM tab0 WHERE NOT ((col3 > 48))
----
6
8

statement ok
DELETE FROM tab1 WHERE (col3 > 48)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 48)
----

query I rowsort label-4155
SELECT pk FROM tab1 WHERE NOT ((col3 > 48))
----
6
8

statement ok
DELETE FROM tab2 WHERE (col3 > 48)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 48)
----

query I rowsort label-4155
SELECT pk FROM tab2 WHERE NOT ((col3 > 48))
----
6
8

statement ok
DELETE FROM tab3 WHERE (col3 > 48)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 48)
----

query I rowsort label-4155
SELECT pk FROM tab3 WHERE NOT ((col3 > 48))
----
6
8

statement ok
DELETE FROM tab4 WHERE (col3 > 48)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 48)
----

query I rowsort label-4155
SELECT pk FROM tab4 WHERE NOT ((col3 > 48))
----
6
8

statement ok
DELETE FROM tab0 WHERE ((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67
----

query I rowsort label-4170
SELECT pk FROM tab0 WHERE NOT (((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67)
----

statement ok
DELETE FROM tab1 WHERE ((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67
----

query I rowsort label-4170
SELECT pk FROM tab1 WHERE NOT (((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67)
----

statement ok
DELETE FROM tab2 WHERE ((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67
----

query I rowsort label-4170
SELECT pk FROM tab2 WHERE NOT (((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67)
----

statement ok
DELETE FROM tab3 WHERE ((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67
----

query I rowsort label-4170
SELECT pk FROM tab3 WHERE NOT (((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67)
----

statement ok
DELETE FROM tab4 WHERE ((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67
----

query I rowsort label-4170
SELECT pk FROM tab4 WHERE NOT (((((col0 > 42)) AND (col3 IS NULL) OR col4 >= 60.54)) OR col4 > 72.67)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,96,30.30,'rsaqw',71,13.89,'rgjpe')

statement ok
INSERT INTO tab0 VALUES(1,97,72.7,'meyyc',52,29.18,'bybjy')

statement ok
INSERT INTO tab0 VALUES(2,53,73.69,'mjedr',69,82.50,'ileli')

statement ok
INSERT INTO tab0 VALUES(3,16,63.85,'qjwyb',6,96.83,'pjkcd')

statement ok
INSERT INTO tab0 VALUES(4,60,98.57,'xgbit',81,97.3,'iialn')

statement ok
INSERT INTO tab0 VALUES(5,98,16.36,'tfhwq',56,76.0,'vetrk')

statement ok
INSERT INTO tab0 VALUES(6,93,3.29,'bwgtt',51,54.78,'zdced')

statement ok
INSERT INTO tab0 VALUES(7,74,55.15,'ldiua',53,43.71,'xzhqe')

statement ok
INSERT INTO tab0 VALUES(8,44,38.59,'bmjvo',36,7.50,'kzrfr')

statement ok
INSERT INTO tab0 VALUES(9,95,56.18,'cdcos',63,26.40,'ueine')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col4 < 8.32 OR col3 >= 17)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 8.32 OR col3 >= 17)
----

query I rowsort label-4185
SELECT pk FROM tab0 WHERE NOT ((col4 < 8.32 OR col3 >= 17))
----
3

statement ok
DELETE FROM tab1 WHERE (col4 < 8.32 OR col3 >= 17)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 8.32 OR col3 >= 17)
----

query I rowsort label-4185
SELECT pk FROM tab1 WHERE NOT ((col4 < 8.32 OR col3 >= 17))
----
3

statement ok
DELETE FROM tab2 WHERE (col4 < 8.32 OR col3 >= 17)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 8.32 OR col3 >= 17)
----

query I rowsort label-4185
SELECT pk FROM tab2 WHERE NOT ((col4 < 8.32 OR col3 >= 17))
----
3

statement ok
DELETE FROM tab3 WHERE (col4 < 8.32 OR col3 >= 17)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 8.32 OR col3 >= 17)
----

query I rowsort label-4185
SELECT pk FROM tab3 WHERE NOT ((col4 < 8.32 OR col3 >= 17))
----
3

statement ok
DELETE FROM tab4 WHERE (col4 < 8.32 OR col3 >= 17)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 8.32 OR col3 >= 17)
----

query I rowsort label-4185
SELECT pk FROM tab4 WHERE NOT ((col4 < 8.32 OR col3 >= 17))
----
3

statement ok
DELETE FROM tab0 WHERE col0 >= 55

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 55
----

query I rowsort label-4200
SELECT pk FROM tab0 WHERE NOT (col0 >= 55)
----
3

statement ok
DELETE FROM tab1 WHERE col0 >= 55

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 55
----

query I rowsort label-4200
SELECT pk FROM tab1 WHERE NOT (col0 >= 55)
----
3

statement ok
DELETE FROM tab2 WHERE col0 >= 55

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 55
----

query I rowsort label-4200
SELECT pk FROM tab2 WHERE NOT (col0 >= 55)
----
3

statement ok
DELETE FROM tab3 WHERE col0 >= 55

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 55
----

query I rowsort label-4200
SELECT pk FROM tab3 WHERE NOT (col0 >= 55)
----
3

statement ok
DELETE FROM tab4 WHERE col0 >= 55

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 55
----

query I rowsort label-4200
SELECT pk FROM tab4 WHERE NOT (col0 >= 55)
----
3

statement ok
DELETE FROM tab0 WHERE col3 = 29

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 29
----

query I rowsort label-4215
SELECT pk FROM tab0 WHERE NOT (col3 = 29)
----
3

statement ok
DELETE FROM tab1 WHERE col3 = 29

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 29
----

query I rowsort label-4215
SELECT pk FROM tab1 WHERE NOT (col3 = 29)
----
3

statement ok
DELETE FROM tab2 WHERE col3 = 29

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 29
----

query I rowsort label-4215
SELECT pk FROM tab2 WHERE NOT (col3 = 29)
----
3

statement ok
DELETE FROM tab3 WHERE col3 = 29

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 29
----

query I rowsort label-4215
SELECT pk FROM tab3 WHERE NOT (col3 = 29)
----
3

statement ok
DELETE FROM tab4 WHERE col3 = 29

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 29
----

query I rowsort label-4215
SELECT pk FROM tab4 WHERE NOT (col3 = 29)
----
3

statement ok
DELETE FROM tab0 WHERE (col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81)
----

query I rowsort label-4230
SELECT pk FROM tab0 WHERE NOT ((col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81))
----

statement ok
DELETE FROM tab1 WHERE (col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81)
----

query I rowsort label-4230
SELECT pk FROM tab1 WHERE NOT ((col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81))
----

statement ok
DELETE FROM tab2 WHERE (col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81)
----

query I rowsort label-4230
SELECT pk FROM tab2 WHERE NOT ((col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81))
----

statement ok
DELETE FROM tab3 WHERE (col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81)
----

query I rowsort label-4230
SELECT pk FROM tab3 WHERE NOT ((col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81))
----

statement ok
DELETE FROM tab4 WHERE (col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81)
----

query I rowsort label-4230
SELECT pk FROM tab4 WHERE NOT ((col0 IN (52) OR (col3 >= 93) OR col1 <= 77.98 OR col3 BETWEEN 54 AND 50 AND (col3 > 62) AND col1 <= 77.81))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,47,54.47,'ydaop',75,22.37,'awhmp')

statement ok
INSERT INTO tab0 VALUES(1,0,69.37,'mzupv',68,16.17,'hjowl')

statement ok
INSERT INTO tab0 VALUES(2,35,11.75,'hlavk',62,58.51,'nukcv')

statement ok
INSERT INTO tab0 VALUES(3,62,58.14,'aparq',21,59.98,'hndni')

statement ok
INSERT INTO tab0 VALUES(4,77,19.17,'clhbs',56,89.29,'qmpad')

statement ok
INSERT INTO tab0 VALUES(5,81,96.70,'fafhi',35,47.48,'uevau')

statement ok
INSERT INTO tab0 VALUES(6,91,46.96,'aqome',99,15.97,'tvoqs')

statement ok
INSERT INTO tab0 VALUES(7,48,42.62,'rvfhu',72,24.76,'wpyvu')

statement ok
INSERT INTO tab0 VALUES(8,36,37.0,'pntmx',74,14.47,'lpemd')

statement ok
INSERT INTO tab0 VALUES(9,92,29.10,'ahbpj',34,3.56,'lbanr')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0,col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1,col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7)
----

query I rowsort label-4245
SELECT pk FROM tab0 WHERE NOT (col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7))
----
2
3
4
5
9

statement ok
DELETE FROM tab1 WHERE col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7)
----

query I rowsort label-4245
SELECT pk FROM tab1 WHERE NOT (col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7))
----
2
3
4
5
9

statement ok
DELETE FROM tab2 WHERE col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7)
----

query I rowsort label-4245
SELECT pk FROM tab2 WHERE NOT (col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7))
----
2
3
4
5
9

statement ok
DELETE FROM tab3 WHERE col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7)
----

query I rowsort label-4245
SELECT pk FROM tab3 WHERE NOT (col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7))
----
2
3
4
5
9

statement ok
DELETE FROM tab4 WHERE col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7)
----

query I rowsort label-4245
SELECT pk FROM tab4 WHERE NOT (col1 >= 15.97 AND (col0 < 44) OR col3 > 67 OR col1 IN (67.74,17.11,4.69,9.29) AND (col1 <= 29.7))
----
2
3
4
5
9

statement ok
DELETE FROM tab0 WHERE (((col0 < 57))) AND col3 IS NULL AND col3 >= 45

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 < 57))) AND col3 IS NULL AND col3 >= 45
----

query I rowsort label-4260
SELECT pk FROM tab0 WHERE NOT ((((col0 < 57))) AND col3 IS NULL AND col3 >= 45)
----
2
3
4
5
9

statement ok
DELETE FROM tab1 WHERE (((col0 < 57))) AND col3 IS NULL AND col3 >= 45

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 < 57))) AND col3 IS NULL AND col3 >= 45
----

query I rowsort label-4260
SELECT pk FROM tab1 WHERE NOT ((((col0 < 57))) AND col3 IS NULL AND col3 >= 45)
----
2
3
4
5
9

statement ok
DELETE FROM tab2 WHERE (((col0 < 57))) AND col3 IS NULL AND col3 >= 45

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 < 57))) AND col3 IS NULL AND col3 >= 45
----

query I rowsort label-4260
SELECT pk FROM tab2 WHERE NOT ((((col0 < 57))) AND col3 IS NULL AND col3 >= 45)
----
2
3
4
5
9

statement ok
DELETE FROM tab3 WHERE (((col0 < 57))) AND col3 IS NULL AND col3 >= 45

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 < 57))) AND col3 IS NULL AND col3 >= 45
----

query I rowsort label-4260
SELECT pk FROM tab3 WHERE NOT ((((col0 < 57))) AND col3 IS NULL AND col3 >= 45)
----
2
3
4
5
9

statement ok
DELETE FROM tab4 WHERE (((col0 < 57))) AND col3 IS NULL AND col3 >= 45

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 < 57))) AND col3 IS NULL AND col3 >= 45
----

query I rowsort label-4260
SELECT pk FROM tab4 WHERE NOT ((((col0 < 57))) AND col3 IS NULL AND col3 >= 45)
----
2
3
4
5
9

statement ok
DELETE FROM tab0 WHERE ((col0 < 22) OR (col4 > 77.81))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 22) OR (col4 > 77.81))
----

query I rowsort label-4275
SELECT pk FROM tab0 WHERE NOT (((col0 < 22) OR (col4 > 77.81)))
----
2
3
5
9

statement ok
DELETE FROM tab1 WHERE ((col0 < 22) OR (col4 > 77.81))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 22) OR (col4 > 77.81))
----

query I rowsort label-4275
SELECT pk FROM tab1 WHERE NOT (((col0 < 22) OR (col4 > 77.81)))
----
2
3
5
9

statement ok
DELETE FROM tab2 WHERE ((col0 < 22) OR (col4 > 77.81))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 22) OR (col4 > 77.81))
----

query I rowsort label-4275
SELECT pk FROM tab2 WHERE NOT (((col0 < 22) OR (col4 > 77.81)))
----
2
3
5
9

statement ok
DELETE FROM tab3 WHERE ((col0 < 22) OR (col4 > 77.81))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 22) OR (col4 > 77.81))
----

query I rowsort label-4275
SELECT pk FROM tab3 WHERE NOT (((col0 < 22) OR (col4 > 77.81)))
----
2
3
5
9

statement ok
DELETE FROM tab4 WHERE ((col0 < 22) OR (col4 > 77.81))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 22) OR (col4 > 77.81))
----

query I rowsort label-4275
SELECT pk FROM tab4 WHERE NOT (((col0 < 22) OR (col4 > 77.81)))
----
2
3
5
9

statement ok
DELETE FROM tab0 WHERE (col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3)
----

query I rowsort label-4290
SELECT pk FROM tab0 WHERE NOT ((col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3))
----

statement ok
DELETE FROM tab1 WHERE (col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3)
----

query I rowsort label-4290
SELECT pk FROM tab1 WHERE NOT ((col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3))
----

statement ok
DELETE FROM tab2 WHERE (col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3)
----

query I rowsort label-4290
SELECT pk FROM tab2 WHERE NOT ((col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3))
----

statement ok
DELETE FROM tab3 WHERE (col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3)
----

query I rowsort label-4290
SELECT pk FROM tab3 WHERE NOT ((col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3))
----

statement ok
DELETE FROM tab4 WHERE (col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3)
----

query I rowsort label-4290
SELECT pk FROM tab4 WHERE NOT ((col4 < 28.21 OR col3 < 39 AND ((col1 IS NULL)) OR col0 BETWEEN 12 AND 33 OR ((col0 = 49)) AND (col0 > 60 AND col1 IN (47.61,70.8,78.5,5.77) OR (col1 > 62.95)) OR col3 <= 77 OR col4 < 96.3))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,69,1.93,'wikoj',63,24.10,'tuikd')

statement ok
INSERT INTO tab0 VALUES(1,48,49.5,'ibohs',39,56.68,'bkptd')

statement ok
INSERT INTO tab0 VALUES(2,21,26.49,'sqmme',21,29.91,'ljwsz')

statement ok
INSERT INTO tab0 VALUES(3,88,73.83,'akzvp',95,20.18,'iiyzv')

statement ok
INSERT INTO tab0 VALUES(4,39,61.70,'yaavv',68,49.75,'qpzrj')

statement ok
INSERT INTO tab0 VALUES(5,14,6.37,'ibtgs',33,82.33,'wqgcz')

statement ok
INSERT INTO tab0 VALUES(6,70,83.41,'eqtti',24,54.73,'gxmgr')

statement ok
INSERT INTO tab0 VALUES(7,38,35.29,'rcapa',86,72.50,'vgaok')

statement ok
INSERT INTO tab0 VALUES(8,90,89.1,'omdhp',34,32.50,'qquld')

statement ok
INSERT INTO tab0 VALUES(9,0,65.73,'xilbk',15,33.60,'tvnxx')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,35,7.12,'twdyh',70,12.56,'ssmuq')

statement ok
INSERT INTO tab0 VALUES(1,72,81.33,'rvfix',15,60.98,'aouaj')

statement ok
INSERT INTO tab0 VALUES(2,6,4.47,'ehash',54,81.94,'ympnd')

statement ok
INSERT INTO tab0 VALUES(3,43,45.71,'yaywr',24,61.24,'gsvnu')

statement ok
INSERT INTO tab0 VALUES(4,14,3.36,'cvvxm',14,14.59,'wwyjz')

statement ok
INSERT INTO tab0 VALUES(5,36,20.50,'sihvh',35,10.30,'csdef')

statement ok
INSERT INTO tab0 VALUES(6,73,89.54,'pntef',72,74.86,'qpohv')

statement ok
INSERT INTO tab0 VALUES(7,1,72.94,'pknqu',58,6.55,'sjjdk')

statement ok
INSERT INTO tab0 VALUES(8,74,11.75,'qqcsg',26,90.13,'irurq')

statement ok
INSERT INTO tab0 VALUES(9,75,36.30,'ydcgp',81,9.39,'ewjcp')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0,col3)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col3,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 >= 92

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 92
----

query I rowsort label-4305
SELECT pk FROM tab0 WHERE NOT (col3 >= 92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 >= 92

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 92
----

query I rowsort label-4305
SELECT pk FROM tab1 WHERE NOT (col3 >= 92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 >= 92

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 92
----

query I rowsort label-4305
SELECT pk FROM tab2 WHERE NOT (col3 >= 92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 >= 92

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 92
----

query I rowsort label-4305
SELECT pk FROM tab3 WHERE NOT (col3 >= 92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 >= 92

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 92
----

query I rowsort label-4305
SELECT pk FROM tab4 WHERE NOT (col3 >= 92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 < 31

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 31
----

query I rowsort label-4320
SELECT pk FROM tab0 WHERE NOT (col0 < 31)
----
0
1
3
5
6
8
9

statement ok
DELETE FROM tab1 WHERE col0 < 31

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 31
----

query I rowsort label-4320
SELECT pk FROM tab1 WHERE NOT (col0 < 31)
----
0
1
3
5
6
8
9

statement ok
DELETE FROM tab2 WHERE col0 < 31

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 31
----

query I rowsort label-4320
SELECT pk FROM tab2 WHERE NOT (col0 < 31)
----
0
1
3
5
6
8
9

statement ok
DELETE FROM tab3 WHERE col0 < 31

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 31
----

query I rowsort label-4320
SELECT pk FROM tab3 WHERE NOT (col0 < 31)
----
0
1
3
5
6
8
9

statement ok
DELETE FROM tab4 WHERE col0 < 31

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 31
----

query I rowsort label-4320
SELECT pk FROM tab4 WHERE NOT (col0 < 31)
----
0
1
3
5
6
8
9

statement ok
DELETE FROM tab0 WHERE ((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL)))
----

query I rowsort label-4335
SELECT pk FROM tab0 WHERE NOT (((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL))))
----
0
5

statement ok
DELETE FROM tab1 WHERE ((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL)))
----

query I rowsort label-4335
SELECT pk FROM tab1 WHERE NOT (((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL))))
----
0
5

statement ok
DELETE FROM tab2 WHERE ((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL)))
----

query I rowsort label-4335
SELECT pk FROM tab2 WHERE NOT (((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL))))
----
0
5

statement ok
DELETE FROM tab3 WHERE ((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL)))
----

query I rowsort label-4335
SELECT pk FROM tab3 WHERE NOT (((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL))))
----
0
5

statement ok
DELETE FROM tab4 WHERE ((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL)))
----

query I rowsort label-4335
SELECT pk FROM tab4 WHERE NOT (((col0 > 36 OR (col0 > 13 AND col0 = 41 AND col3 <= 82) AND (col0 IS NULL))))
----
0
5

statement ok
DELETE FROM tab0 WHERE (col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99)
----

query I rowsort label-4350
SELECT pk FROM tab0 WHERE NOT ((col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99))
----

statement ok
DELETE FROM tab1 WHERE (col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99)
----

query I rowsort label-4350
SELECT pk FROM tab1 WHERE NOT ((col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99))
----

statement ok
DELETE FROM tab2 WHERE (col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99)
----

query I rowsort label-4350
SELECT pk FROM tab2 WHERE NOT ((col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99))
----

statement ok
DELETE FROM tab3 WHERE (col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99)
----

query I rowsort label-4350
SELECT pk FROM tab3 WHERE NOT ((col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99))
----

statement ok
DELETE FROM tab4 WHERE (col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99)
----

query I rowsort label-4350
SELECT pk FROM tab4 WHERE NOT ((col1 IN (74.80,72.47,47.82,8.64) AND col0 > 83 OR col0 > 23 AND col1 < 54.42 OR col0 < 69 OR col4 IS NULL AND col1 <= 91.99))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,39,8.35,'bmxwp',61,48.36,'bdmfs')

statement ok
INSERT INTO tab0 VALUES(1,94,26.34,'qzlfh',14,49.81,'rolzl')

statement ok
INSERT INTO tab0 VALUES(2,89,68.72,'bhbps',38,89.98,'wmrdu')

statement ok
INSERT INTO tab0 VALUES(3,7,52.6,'oxhxu',54,72.80,'swkqj')

statement ok
INSERT INTO tab0 VALUES(4,47,45.32,'eegfi',79,10.96,'eiyav')

statement ok
INSERT INTO tab0 VALUES(5,87,82.53,'sxtsi',92,37.48,'zuvdb')

statement ok
INSERT INTO tab0 VALUES(6,45,72.38,'zxkdc',91,19.39,'axztg')

statement ok
INSERT INTO tab0 VALUES(7,41,19.89,'wutjh',62,69.30,'hzwcb')

statement ok
INSERT INTO tab0 VALUES(8,65,24.96,'ojjfa',32,60.10,'djnqq')

statement ok
INSERT INTO tab0 VALUES(9,30,7.7,'nkbuc',47,35.51,'feslx')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 IN (28,85,47,51,64))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 IN (28,85,47,51,64))
----

query I rowsort label-4365
SELECT pk FROM tab0 WHERE NOT ((col3 IN (28,85,47,51,64)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab1 WHERE (col3 IN (28,85,47,51,64))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 IN (28,85,47,51,64))
----

query I rowsort label-4365
SELECT pk FROM tab1 WHERE NOT ((col3 IN (28,85,47,51,64)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab2 WHERE (col3 IN (28,85,47,51,64))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 IN (28,85,47,51,64))
----

query I rowsort label-4365
SELECT pk FROM tab2 WHERE NOT ((col3 IN (28,85,47,51,64)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab3 WHERE (col3 IN (28,85,47,51,64))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 IN (28,85,47,51,64))
----

query I rowsort label-4365
SELECT pk FROM tab3 WHERE NOT ((col3 IN (28,85,47,51,64)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab4 WHERE (col3 IN (28,85,47,51,64))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 IN (28,85,47,51,64))
----

query I rowsort label-4365
SELECT pk FROM tab4 WHERE NOT ((col3 IN (28,85,47,51,64)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab0 WHERE (col4 > 69.46 OR (col0 > 42))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 69.46 OR (col0 > 42))
----

query I rowsort label-4380
SELECT pk FROM tab0 WHERE NOT ((col4 > 69.46 OR (col0 > 42)))
----
0
7

statement ok
DELETE FROM tab1 WHERE (col4 > 69.46 OR (col0 > 42))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 69.46 OR (col0 > 42))
----

query I rowsort label-4380
SELECT pk FROM tab1 WHERE NOT ((col4 > 69.46 OR (col0 > 42)))
----
0
7

statement ok
DELETE FROM tab2 WHERE (col4 > 69.46 OR (col0 > 42))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 69.46 OR (col0 > 42))
----

query I rowsort label-4380
SELECT pk FROM tab2 WHERE NOT ((col4 > 69.46 OR (col0 > 42)))
----
0
7

statement ok
DELETE FROM tab3 WHERE (col4 > 69.46 OR (col0 > 42))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 69.46 OR (col0 > 42))
----

query I rowsort label-4380
SELECT pk FROM tab3 WHERE NOT ((col4 > 69.46 OR (col0 > 42)))
----
0
7

statement ok
DELETE FROM tab4 WHERE (col4 > 69.46 OR (col0 > 42))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 69.46 OR (col0 > 42))
----

query I rowsort label-4380
SELECT pk FROM tab4 WHERE NOT ((col4 > 69.46 OR (col0 > 42)))
----
0
7

statement ok
DELETE FROM tab0 WHERE col0 > 74

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 74
----

query I rowsort label-4395
SELECT pk FROM tab0 WHERE NOT (col0 > 74)
----
0
7

statement ok
DELETE FROM tab1 WHERE col0 > 74

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 74
----

query I rowsort label-4395
SELECT pk FROM tab1 WHERE NOT (col0 > 74)
----
0
7

statement ok
DELETE FROM tab2 WHERE col0 > 74

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 74
----

query I rowsort label-4395
SELECT pk FROM tab2 WHERE NOT (col0 > 74)
----
0
7

statement ok
DELETE FROM tab3 WHERE col0 > 74

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 74
----

query I rowsort label-4395
SELECT pk FROM tab3 WHERE NOT (col0 > 74)
----
0
7

statement ok
DELETE FROM tab4 WHERE col0 > 74

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 74
----

query I rowsort label-4395
SELECT pk FROM tab4 WHERE NOT (col0 > 74)
----
0
7

statement ok
DELETE FROM tab0 WHERE col1 > 1.42

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 1.42
----

query I rowsort label-4410
SELECT pk FROM tab0 WHERE NOT (col1 > 1.42)
----

statement ok
DELETE FROM tab1 WHERE col1 > 1.42

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 1.42
----

query I rowsort label-4410
SELECT pk FROM tab1 WHERE NOT (col1 > 1.42)
----

statement ok
DELETE FROM tab2 WHERE col1 > 1.42

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 1.42
----

query I rowsort label-4410
SELECT pk FROM tab2 WHERE NOT (col1 > 1.42)
----

statement ok
DELETE FROM tab3 WHERE col1 > 1.42

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 1.42
----

query I rowsort label-4410
SELECT pk FROM tab3 WHERE NOT (col1 > 1.42)
----

statement ok
DELETE FROM tab4 WHERE col1 > 1.42

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 1.42
----

query I rowsort label-4410
SELECT pk FROM tab4 WHERE NOT (col1 > 1.42)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,79,73.89,'paowj',51,44.26,'kddkv')

statement ok
INSERT INTO tab0 VALUES(1,53,79.70,'ixdyy',59,38.14,'fefec')

statement ok
INSERT INTO tab0 VALUES(2,67,57.30,'kzzjt',65,74.8,'faoyl')

statement ok
INSERT INTO tab0 VALUES(3,52,58.51,'frtxs',20,56.41,'ftvri')

statement ok
INSERT INTO tab0 VALUES(4,4,52.67,'mpttp',91,34.7,'efmtw')

statement ok
INSERT INTO tab0 VALUES(5,92,82.85,'uqjmw',77,63.78,'ucodo')

statement ok
INSERT INTO tab0 VALUES(6,73,34.94,'havka',21,70.11,'zbdia')

statement ok
INSERT INTO tab0 VALUES(7,1,93.76,'fnulm',19,17.68,'vucuj')

statement ok
INSERT INTO tab0 VALUES(8,46,9.23,'qrxkc',38,58.22,'uhqsz')

statement ok
INSERT INTO tab0 VALUES(9,99,59.44,'cqqdt',24,7.73,'ttxnf')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1 DESC,col3 DESC,col4)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 >= 12)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 12)
----

query I rowsort label-4425
SELECT pk FROM tab0 WHERE NOT ((col3 >= 12))
----

statement ok
DELETE FROM tab1 WHERE (col3 >= 12)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 12)
----

query I rowsort label-4425
SELECT pk FROM tab1 WHERE NOT ((col3 >= 12))
----

statement ok
DELETE FROM tab2 WHERE (col3 >= 12)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 12)
----

query I rowsort label-4425
SELECT pk FROM tab2 WHERE NOT ((col3 >= 12))
----

statement ok
DELETE FROM tab3 WHERE (col3 >= 12)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 12)
----

query I rowsort label-4425
SELECT pk FROM tab3 WHERE NOT ((col3 >= 12))
----

statement ok
DELETE FROM tab4 WHERE (col3 >= 12)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 12)
----

query I rowsort label-4425
SELECT pk FROM tab4 WHERE NOT ((col3 >= 12))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,83,76.8,'kjzlb',51,19.60,'oejkg')

statement ok
INSERT INTO tab0 VALUES(1,93,32.50,'vbdwu',44,52.18,'jfepc')

statement ok
INSERT INTO tab0 VALUES(2,96,72.2,'rvkpf',84,53.95,'lsmrb')

statement ok
INSERT INTO tab0 VALUES(3,4,99.27,'qsqhq',26,97.44,'tpniq')

statement ok
INSERT INTO tab0 VALUES(4,32,14.9,'xbmiy',58,61.16,'mnjqj')

statement ok
INSERT INTO tab0 VALUES(5,57,21.8,'jkjqr',64,33.21,'ykyde')

statement ok
INSERT INTO tab0 VALUES(6,84,46.25,'qwucf',86,29.91,'whgce')

statement ok
INSERT INTO tab0 VALUES(7,9,47.63,'fyiiw',87,2.43,'kskjb')

statement ok
INSERT INTO tab0 VALUES(8,76,28.93,'ryrha',9,58.42,'gnxve')

statement ok
INSERT INTO tab0 VALUES(9,46,48.14,'svbue',47,63.61,'wjoho')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4,col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3,col1 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col3 DESC,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC,col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1,col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3,col1 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 <= 60

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 60
----

query I rowsort label-4440
SELECT pk FROM tab0 WHERE NOT (col0 <= 60)
----
0
1
2
6
8

statement ok
DELETE FROM tab1 WHERE col0 <= 60

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 60
----

query I rowsort label-4440
SELECT pk FROM tab1 WHERE NOT (col0 <= 60)
----
0
1
2
6
8

statement ok
DELETE FROM tab2 WHERE col0 <= 60

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 60
----

query I rowsort label-4440
SELECT pk FROM tab2 WHERE NOT (col0 <= 60)
----
0
1
2
6
8

statement ok
DELETE FROM tab3 WHERE col0 <= 60

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 60
----

query I rowsort label-4440
SELECT pk FROM tab3 WHERE NOT (col0 <= 60)
----
0
1
2
6
8

statement ok
DELETE FROM tab4 WHERE col0 <= 60

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 60
----

query I rowsort label-4440
SELECT pk FROM tab4 WHERE NOT (col0 <= 60)
----
0
1
2
6
8

statement ok
DELETE FROM tab0 WHERE ((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50))))
----

query I rowsort label-4455
SELECT pk FROM tab0 WHERE NOT (((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50)))))
----

statement ok
DELETE FROM tab1 WHERE ((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50))))
----

query I rowsort label-4455
SELECT pk FROM tab1 WHERE NOT (((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50)))))
----

statement ok
DELETE FROM tab2 WHERE ((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50))))
----

query I rowsort label-4455
SELECT pk FROM tab2 WHERE NOT (((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50)))))
----

statement ok
DELETE FROM tab3 WHERE ((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50))))
----

query I rowsort label-4455
SELECT pk FROM tab3 WHERE NOT (((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50)))))
----

statement ok
DELETE FROM tab4 WHERE ((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50))))
----

query I rowsort label-4455
SELECT pk FROM tab4 WHERE NOT (((col3 < 5 AND ((col0 < 94 AND col3 > 81 OR (col0 >= 22))))) OR ((col1 >= 95.71 OR (col1 > 26.97 OR col3 >= 71))) AND ((((col4 > 0.40 OR col1 >= 74.50)))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,82,17.54,'nqmrb',47,27.1,'vqirh')

statement ok
INSERT INTO tab0 VALUES(1,54,33.17,'axusi',58,13.24,'rqgoc')

statement ok
INSERT INTO tab0 VALUES(2,16,54.92,'vucrk',7,91.99,'ofxnj')

statement ok
INSERT INTO tab0 VALUES(3,59,23.4,'odlss',93,81.24,'zqakn')

statement ok
INSERT INTO tab0 VALUES(4,79,64.36,'ddayt',3,37.84,'thgjd')

statement ok
INSERT INTO tab0 VALUES(5,44,92.95,'vsqec',73,65.18,'cdeky')

statement ok
INSERT INTO tab0 VALUES(6,51,29.66,'kiqkt',53,32.78,'ymrdc')

statement ok
INSERT INTO tab0 VALUES(7,93,15.84,'gnbkb',68,79.93,'snwhe')

statement ok
INSERT INTO tab0 VALUES(8,17,22.88,'pnvpv',81,35.32,'vzdnj')

statement ok
INSERT INTO tab0 VALUES(9,91,62.91,'mxukr',54,26.65,'osptq')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1 DESC,col3)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4 DESC,col0)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0,col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 BETWEEN 1 AND 27

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 BETWEEN 1 AND 27
----

query I rowsort label-4470
SELECT pk FROM tab0 WHERE NOT (col0 BETWEEN 1 AND 27)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col0 BETWEEN 1 AND 27

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 BETWEEN 1 AND 27
----

query I rowsort label-4470
SELECT pk FROM tab1 WHERE NOT (col0 BETWEEN 1 AND 27)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col0 BETWEEN 1 AND 27

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 BETWEEN 1 AND 27
----

query I rowsort label-4470
SELECT pk FROM tab2 WHERE NOT (col0 BETWEEN 1 AND 27)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col0 BETWEEN 1 AND 27

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 BETWEEN 1 AND 27
----

query I rowsort label-4470
SELECT pk FROM tab3 WHERE NOT (col0 BETWEEN 1 AND 27)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col0 BETWEEN 1 AND 27

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 BETWEEN 1 AND 27
----

query I rowsort label-4470
SELECT pk FROM tab4 WHERE NOT (col0 BETWEEN 1 AND 27)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab0 WHERE col1 > 62.37

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 62.37
----

query I rowsort label-4485
SELECT pk FROM tab0 WHERE NOT (col1 > 62.37)
----
0
1
3
6
7

statement ok
DELETE FROM tab1 WHERE col1 > 62.37

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 62.37
----

query I rowsort label-4485
SELECT pk FROM tab1 WHERE NOT (col1 > 62.37)
----
0
1
3
6
7

statement ok
DELETE FROM tab2 WHERE col1 > 62.37

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 62.37
----

query I rowsort label-4485
SELECT pk FROM tab2 WHERE NOT (col1 > 62.37)
----
0
1
3
6
7

statement ok
DELETE FROM tab3 WHERE col1 > 62.37

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 62.37
----

query I rowsort label-4485
SELECT pk FROM tab3 WHERE NOT (col1 > 62.37)
----
0
1
3
6
7

statement ok
DELETE FROM tab4 WHERE col1 > 62.37

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 62.37
----

query I rowsort label-4485
SELECT pk FROM tab4 WHERE NOT (col1 > 62.37)
----
0
1
3
6
7

statement ok
DELETE FROM tab0 WHERE col3 > 11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 11
----

query I rowsort label-4500
SELECT pk FROM tab0 WHERE NOT (col3 > 11)
----

statement ok
DELETE FROM tab1 WHERE col3 > 11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 11
----

query I rowsort label-4500
SELECT pk FROM tab1 WHERE NOT (col3 > 11)
----

statement ok
DELETE FROM tab2 WHERE col3 > 11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 11
----

query I rowsort label-4500
SELECT pk FROM tab2 WHERE NOT (col3 > 11)
----

statement ok
DELETE FROM tab3 WHERE col3 > 11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 11
----

query I rowsort label-4500
SELECT pk FROM tab3 WHERE NOT (col3 > 11)
----

statement ok
DELETE FROM tab4 WHERE col3 > 11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 11
----

query I rowsort label-4500
SELECT pk FROM tab4 WHERE NOT (col3 > 11)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,4,10.93,'cbydm',69,80.41,'mdsqd')

statement ok
INSERT INTO tab0 VALUES(1,84,2.86,'jucve',76,32.60,'accgn')

statement ok
INSERT INTO tab0 VALUES(2,24,26.1,'yddep',8,8.58,'ewyhr')

statement ok
INSERT INTO tab0 VALUES(3,9,52.42,'giekz',86,72.55,'wwrdj')

statement ok
INSERT INTO tab0 VALUES(4,99,32.70,'apjwj',10,55.81,'trnwk')

statement ok
INSERT INTO tab0 VALUES(5,36,62.12,'whiea',72,9.89,'szbig')

statement ok
INSERT INTO tab0 VALUES(6,65,44.77,'daagg',67,75.73,'owygt')

statement ok
INSERT INTO tab0 VALUES(7,37,50.69,'gueja',7,46.72,'pullp')

statement ok
INSERT INTO tab0 VALUES(8,25,81.94,'ndbpm',34,26.90,'fvetb')

statement ok
INSERT INTO tab0 VALUES(9,42,35.78,'rfanq',31,93.4,'rtpmp')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0,col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC,col3 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1,col0 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28)
----

query I rowsort label-4515
SELECT pk FROM tab0 WHERE NOT (col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28))
----
2

statement ok
DELETE FROM tab1 WHERE col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28)
----

query I rowsort label-4515
SELECT pk FROM tab1 WHERE NOT (col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28))
----
2

statement ok
DELETE FROM tab2 WHERE col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28)
----

query I rowsort label-4515
SELECT pk FROM tab2 WHERE NOT (col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28))
----
2

statement ok
DELETE FROM tab3 WHERE col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28)
----

query I rowsort label-4515
SELECT pk FROM tab3 WHERE NOT (col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28))
----
2

statement ok
DELETE FROM tab4 WHERE col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28)
----

query I rowsort label-4515
SELECT pk FROM tab4 WHERE NOT (col3 > 54 AND col3 IS NULL OR col3 >= 41 OR col1 > 28.92 OR (col3 < 69 AND col1 > 8.53 OR col1 > 25.94) AND (col3 BETWEEN 26 AND 28))
----
2

statement ok
DELETE FROM tab0 WHERE col0 BETWEEN 36 AND 94

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 BETWEEN 36 AND 94
----

query I rowsort label-4530
SELECT pk FROM tab0 WHERE NOT (col0 BETWEEN 36 AND 94)
----
2

statement ok
DELETE FROM tab1 WHERE col0 BETWEEN 36 AND 94

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 BETWEEN 36 AND 94
----

query I rowsort label-4530
SELECT pk FROM tab1 WHERE NOT (col0 BETWEEN 36 AND 94)
----
2

statement ok
DELETE FROM tab2 WHERE col0 BETWEEN 36 AND 94

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 BETWEEN 36 AND 94
----

query I rowsort label-4530
SELECT pk FROM tab2 WHERE NOT (col0 BETWEEN 36 AND 94)
----
2

statement ok
DELETE FROM tab3 WHERE col0 BETWEEN 36 AND 94

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 BETWEEN 36 AND 94
----

query I rowsort label-4530
SELECT pk FROM tab3 WHERE NOT (col0 BETWEEN 36 AND 94)
----
2

statement ok
DELETE FROM tab4 WHERE col0 BETWEEN 36 AND 94

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 BETWEEN 36 AND 94
----

query I rowsort label-4530
SELECT pk FROM tab4 WHERE NOT (col0 BETWEEN 36 AND 94)
----
2

statement ok
DELETE FROM tab0 WHERE col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58)
----

query I rowsort label-4545
SELECT pk FROM tab0 WHERE NOT (col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58))
----
2

statement ok
DELETE FROM tab1 WHERE col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58)
----

query I rowsort label-4545
SELECT pk FROM tab1 WHERE NOT (col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58))
----
2

statement ok
DELETE FROM tab2 WHERE col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58)
----

query I rowsort label-4545
SELECT pk FROM tab2 WHERE NOT (col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58))
----
2

statement ok
DELETE FROM tab3 WHERE col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58)
----

query I rowsort label-4545
SELECT pk FROM tab3 WHERE NOT (col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58))
----
2

statement ok
DELETE FROM tab4 WHERE col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58)
----

query I rowsort label-4545
SELECT pk FROM tab4 WHERE NOT (col3 = 67 AND ((col3 < 85) OR (col0 = 73) OR col0 IS NULL AND col1 < 60.36 OR col1 <= 56.86 AND col4 <= 71.16 OR ((col3 <= 55)) AND col3 > 49 OR (col0 > 92) OR ((col3 > 39 AND (col4 = 41.58) AND col0 >= 98)) AND (col0 >= 47) OR (col0 >= 15) OR col4 <= 88.33 AND col4 >= 16.58))
----
2

statement ok
DELETE FROM tab0 WHERE col1 >= 22.87

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 22.87
----

query I rowsort label-4560
SELECT pk FROM tab0 WHERE NOT (col1 >= 22.87)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 22.87

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 22.87
----

query I rowsort label-4560
SELECT pk FROM tab1 WHERE NOT (col1 >= 22.87)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 22.87

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 22.87
----

query I rowsort label-4560
SELECT pk FROM tab2 WHERE NOT (col1 >= 22.87)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 22.87

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 22.87
----

query I rowsort label-4560
SELECT pk FROM tab3 WHERE NOT (col1 >= 22.87)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 22.87

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 22.87
----

query I rowsort label-4560
SELECT pk FROM tab4 WHERE NOT (col1 >= 22.87)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,2,40.88,'sngxi',8,47.15,'viyfs')

statement ok
INSERT INTO tab0 VALUES(1,74,37.14,'viuez',69,96.45,'gczyj')

statement ok
INSERT INTO tab0 VALUES(2,67,10.37,'slibh',35,97.90,'swnma')

statement ok
INSERT INTO tab0 VALUES(3,35,92.92,'kbsvc',42,21.53,'iverb')

statement ok
INSERT INTO tab0 VALUES(4,66,4.40,'iqzdc',96,46.41,'xvymf')

statement ok
INSERT INTO tab0 VALUES(5,49,74.28,'ennsw',36,53.34,'jxdsp')

statement ok
INSERT INTO tab0 VALUES(6,33,45.53,'eodxy',84,49.38,'oxnqa')

statement ok
INSERT INTO tab0 VALUES(7,90,89.26,'eueib',28,76.58,'odqsz')

statement ok
INSERT INTO tab0 VALUES(8,80,21.33,'uysng',67,23.53,'uaqzu')

statement ok
INSERT INTO tab0 VALUES(9,9,9.97,'kgspy',81,41.99,'zrszs')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col3 DESC,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96))))
----

query I rowsort label-4575
SELECT pk FROM tab0 WHERE NOT ((((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96))))
----

query I rowsort label-4575
SELECT pk FROM tab1 WHERE NOT ((((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96))))
----

query I rowsort label-4575
SELECT pk FROM tab2 WHERE NOT ((((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96))))
----

query I rowsort label-4575
SELECT pk FROM tab3 WHERE NOT ((((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96))))
----

query I rowsort label-4575
SELECT pk FROM tab4 WHERE NOT ((((((((col1 >= 30.55 OR col0 IS NULL AND col3 IS NULL) AND ((col0 >= 75) AND col1 > 11.40) AND ((col1 = 1.5 OR col3 IS NULL)))) AND (col3 >= 24 AND col3 >= 39 AND (((col0 > 65)))) AND col0 = 96)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 IS NULL AND col0 <= 52 OR col3 < 7

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IS NULL AND col0 <= 52 OR col3 < 7
----

query I rowsort label-4590
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL AND col0 <= 52 OR col3 < 7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 IS NULL AND col0 <= 52 OR col3 < 7

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IS NULL AND col0 <= 52 OR col3 < 7
----

query I rowsort label-4590
SELECT pk FROM tab1 WHERE NOT (col0 IS NULL AND col0 <= 52 OR col3 < 7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 IS NULL AND col0 <= 52 OR col3 < 7

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IS NULL AND col0 <= 52 OR col3 < 7
----

query I rowsort label-4590
SELECT pk FROM tab2 WHERE NOT (col0 IS NULL AND col0 <= 52 OR col3 < 7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 IS NULL AND col0 <= 52 OR col3 < 7

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IS NULL AND col0 <= 52 OR col3 < 7
----

query I rowsort label-4590
SELECT pk FROM tab3 WHERE NOT (col0 IS NULL AND col0 <= 52 OR col3 < 7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 IS NULL AND col0 <= 52 OR col3 < 7

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IS NULL AND col0 <= 52 OR col3 < 7
----

query I rowsort label-4590
SELECT pk FROM tab4 WHERE NOT (col0 IS NULL AND col0 <= 52 OR col3 < 7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 = 86 AND col0 = 99 OR col3 > 69

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 86 AND col0 = 99 OR col3 > 69
----

query I rowsort label-4605
SELECT pk FROM tab0 WHERE NOT (col3 = 86 AND col0 = 99 OR col3 > 69)
----
0
1
2
3
5
7
8

statement ok
DELETE FROM tab1 WHERE col3 = 86 AND col0 = 99 OR col3 > 69

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 86 AND col0 = 99 OR col3 > 69
----

query I rowsort label-4605
SELECT pk FROM tab1 WHERE NOT (col3 = 86 AND col0 = 99 OR col3 > 69)
----
0
1
2
3
5
7
8

statement ok
DELETE FROM tab2 WHERE col3 = 86 AND col0 = 99 OR col3 > 69

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 86 AND col0 = 99 OR col3 > 69
----

query I rowsort label-4605
SELECT pk FROM tab2 WHERE NOT (col3 = 86 AND col0 = 99 OR col3 > 69)
----
0
1
2
3
5
7
8

statement ok
DELETE FROM tab3 WHERE col3 = 86 AND col0 = 99 OR col3 > 69

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 86 AND col0 = 99 OR col3 > 69
----

query I rowsort label-4605
SELECT pk FROM tab3 WHERE NOT (col3 = 86 AND col0 = 99 OR col3 > 69)
----
0
1
2
3
5
7
8

statement ok
DELETE FROM tab4 WHERE col3 = 86 AND col0 = 99 OR col3 > 69

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 86 AND col0 = 99 OR col3 > 69
----

query I rowsort label-4605
SELECT pk FROM tab4 WHERE NOT (col3 = 86 AND col0 = 99 OR col3 > 69)
----
0
1
2
3
5
7
8

statement ok
DELETE FROM tab0 WHERE col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22))
----

query I rowsort label-4620
SELECT pk FROM tab0 WHERE NOT (col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22)))
----

statement ok
DELETE FROM tab1 WHERE col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22))
----

query I rowsort label-4620
SELECT pk FROM tab1 WHERE NOT (col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22)))
----

statement ok
DELETE FROM tab2 WHERE col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22))
----

query I rowsort label-4620
SELECT pk FROM tab2 WHERE NOT (col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22)))
----

statement ok
DELETE FROM tab3 WHERE col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22))
----

query I rowsort label-4620
SELECT pk FROM tab3 WHERE NOT (col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22)))
----

statement ok
DELETE FROM tab4 WHERE col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22))
----

query I rowsort label-4620
SELECT pk FROM tab4 WHERE NOT (col3 > 19 OR (((col3 >= 5 OR col3 IS NULL) OR col0 = 74 OR col0 > 88 AND col0 < 22)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,43,89.97,'tmbpi',51,8.54,'fcfud')

statement ok
INSERT INTO tab0 VALUES(1,99,17.34,'rmbxm',65,69.97,'cdpph')

statement ok
INSERT INTO tab0 VALUES(2,84,73.84,'vpyiw',7,98.35,'qzkce')

statement ok
INSERT INTO tab0 VALUES(3,83,25.99,'zcpfj',54,75.78,'zerdb')

statement ok
INSERT INTO tab0 VALUES(4,59,94.64,'bfypn',48,94.3,'gbdqz')

statement ok
INSERT INTO tab0 VALUES(5,20,71.60,'augzy',55,72.10,'uhfhz')

statement ok
INSERT INTO tab0 VALUES(6,81,29.26,'cvzue',29,61.91,'hshye')

statement ok
INSERT INTO tab0 VALUES(7,25,31.20,'ygedy',74,67.89,'wsunz')

statement ok
INSERT INTO tab0 VALUES(8,69,49.85,'rkjfj',8,54.61,'ezgid')

statement ok
INSERT INTO tab0 VALUES(9,21,69.8,'ctxgu',19,62.40,'qelzv')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC,col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC,col1)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29)))
----

query I rowsort label-4635
SELECT pk FROM tab0 WHERE NOT ((((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29))))
----
1
3
6
7
8

statement ok
DELETE FROM tab1 WHERE (((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29)))
----

query I rowsort label-4635
SELECT pk FROM tab1 WHERE NOT ((((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29))))
----
1
3
6
7
8

statement ok
DELETE FROM tab2 WHERE (((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29)))
----

query I rowsort label-4635
SELECT pk FROM tab2 WHERE NOT ((((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29))))
----
1
3
6
7
8

statement ok
DELETE FROM tab3 WHERE (((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29)))
----

query I rowsort label-4635
SELECT pk FROM tab3 WHERE NOT ((((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29))))
----
1
3
6
7
8

statement ok
DELETE FROM tab4 WHERE (((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29)))
----

query I rowsort label-4635
SELECT pk FROM tab4 WHERE NOT ((((col1 < 98.17 AND col0 = 2 OR col1 >= 56.76 OR col0 > 94) AND (col1 > 55.29))))
----
1
3
6
7
8

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,58,87.0,'fmknw',75,66.38,'yjrao')

statement ok
INSERT INTO tab0 VALUES(1,57,24.73,'wxbhr',29,38.33,'kgnqb')

statement ok
INSERT INTO tab0 VALUES(2,88,23.43,'riexb',64,63.33,'guqry')

statement ok
INSERT INTO tab0 VALUES(3,36,55.9,'dknpf',15,62.91,'mlcoe')

statement ok
INSERT INTO tab0 VALUES(4,90,81.7,'udyoo',30,24.54,'efwbj')

statement ok
INSERT INTO tab0 VALUES(5,56,11.21,'qyxap',76,72.72,'kpkok')

statement ok
INSERT INTO tab0 VALUES(6,69,68.97,'tvfie',56,20.16,'npefy')

statement ok
INSERT INTO tab0 VALUES(7,6,51.57,'bmmcn',25,41.86,'cclwg')

statement ok
INSERT INTO tab0 VALUES(8,97,95.8,'wmzjm',94,25.25,'ivtno')

statement ok
INSERT INTO tab0 VALUES(9,40,37.58,'mgasm',49,43.32,'unsdz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1,col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 < 17.9

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 17.9
----

query I rowsort label-4650
SELECT pk FROM tab0 WHERE NOT (col4 < 17.9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 < 17.9

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 17.9
----

query I rowsort label-4650
SELECT pk FROM tab1 WHERE NOT (col4 < 17.9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 < 17.9

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 17.9
----

query I rowsort label-4650
SELECT pk FROM tab2 WHERE NOT (col4 < 17.9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 < 17.9

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 17.9
----

query I rowsort label-4650
SELECT pk FROM tab3 WHERE NOT (col4 < 17.9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 < 17.9

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 17.9
----

query I rowsort label-4650
SELECT pk FROM tab4 WHERE NOT (col4 < 17.9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 < 87 OR col4 > 90.45 AND col4 <= 82.62)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 87 OR col4 > 90.45 AND col4 <= 82.62)
----

query I rowsort label-4665
SELECT pk FROM tab0 WHERE NOT ((col0 < 87 OR col4 > 90.45 AND col4 <= 82.62))
----
2
4
8

statement ok
DELETE FROM tab1 WHERE (col0 < 87 OR col4 > 90.45 AND col4 <= 82.62)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 87 OR col4 > 90.45 AND col4 <= 82.62)
----

query I rowsort label-4665
SELECT pk FROM tab1 WHERE NOT ((col0 < 87 OR col4 > 90.45 AND col4 <= 82.62))
----
2
4
8

statement ok
DELETE FROM tab2 WHERE (col0 < 87 OR col4 > 90.45 AND col4 <= 82.62)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 87 OR col4 > 90.45 AND col4 <= 82.62)
----

query I rowsort label-4665
SELECT pk FROM tab2 WHERE NOT ((col0 < 87 OR col4 > 90.45 AND col4 <= 82.62))
----
2
4
8

statement ok
DELETE FROM tab3 WHERE (col0 < 87 OR col4 > 90.45 AND col4 <= 82.62)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 87 OR col4 > 90.45 AND col4 <= 82.62)
----

query I rowsort label-4665
SELECT pk FROM tab3 WHERE NOT ((col0 < 87 OR col4 > 90.45 AND col4 <= 82.62))
----
2
4
8

statement ok
DELETE FROM tab4 WHERE (col0 < 87 OR col4 > 90.45 AND col4 <= 82.62)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 87 OR col4 > 90.45 AND col4 <= 82.62)
----

query I rowsort label-4665
SELECT pk FROM tab4 WHERE NOT ((col0 < 87 OR col4 > 90.45 AND col4 <= 82.62))
----
2
4
8

statement ok
DELETE FROM tab0 WHERE col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84
----

query I rowsort label-4680
SELECT pk FROM tab0 WHERE NOT (col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84)
----
2
4
8

statement ok
DELETE FROM tab1 WHERE col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84
----

query I rowsort label-4680
SELECT pk FROM tab1 WHERE NOT (col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84)
----
2
4
8

statement ok
DELETE FROM tab2 WHERE col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84
----

query I rowsort label-4680
SELECT pk FROM tab2 WHERE NOT (col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84)
----
2
4
8

statement ok
DELETE FROM tab3 WHERE col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84
----

query I rowsort label-4680
SELECT pk FROM tab3 WHERE NOT (col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84)
----
2
4
8

statement ok
DELETE FROM tab4 WHERE col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84
----

query I rowsort label-4680
SELECT pk FROM tab4 WHERE NOT (col1 > 45.58 AND col4 > 75.65 AND col4 >= 15.84)
----
2
4
8

statement ok
DELETE FROM tab0 WHERE col1 < 22.79

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 22.79
----

query I rowsort label-4695
SELECT pk FROM tab0 WHERE NOT (col1 < 22.79)
----
2
4
8

statement ok
DELETE FROM tab1 WHERE col1 < 22.79

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 22.79
----

query I rowsort label-4695
SELECT pk FROM tab1 WHERE NOT (col1 < 22.79)
----
2
4
8

statement ok
DELETE FROM tab2 WHERE col1 < 22.79

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 22.79
----

query I rowsort label-4695
SELECT pk FROM tab2 WHERE NOT (col1 < 22.79)
----
2
4
8

statement ok
DELETE FROM tab3 WHERE col1 < 22.79

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 22.79
----

query I rowsort label-4695
SELECT pk FROM tab3 WHERE NOT (col1 < 22.79)
----
2
4
8

statement ok
DELETE FROM tab4 WHERE col1 < 22.79

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 22.79
----

query I rowsort label-4695
SELECT pk FROM tab4 WHERE NOT (col1 < 22.79)
----
2
4
8

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL) OR (col0 > 75 OR col0 > 26)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IS NULL) OR (col0 > 75 OR col0 > 26)
----

query I rowsort label-4710
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL) OR (col0 > 75 OR col0 > 26))
----

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL) OR (col0 > 75 OR col0 > 26)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IS NULL) OR (col0 > 75 OR col0 > 26)
----

query I rowsort label-4710
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL) OR (col0 > 75 OR col0 > 26))
----

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL) OR (col0 > 75 OR col0 > 26)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IS NULL) OR (col0 > 75 OR col0 > 26)
----

query I rowsort label-4710
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL) OR (col0 > 75 OR col0 > 26))
----

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL) OR (col0 > 75 OR col0 > 26)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IS NULL) OR (col0 > 75 OR col0 > 26)
----

query I rowsort label-4710
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL) OR (col0 > 75 OR col0 > 26))
----

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL) OR (col0 > 75 OR col0 > 26)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IS NULL) OR (col0 > 75 OR col0 > 26)
----

query I rowsort label-4710
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL) OR (col0 > 75 OR col0 > 26))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,74,40.50,'jnojj',53,68.59,'lqray')

statement ok
INSERT INTO tab0 VALUES(1,68,75.37,'luocs',30,57.9,'euxmb')

statement ok
INSERT INTO tab0 VALUES(2,49,71.35,'yakru',28,65.3,'akksb')

statement ok
INSERT INTO tab0 VALUES(3,7,36.82,'tnjmb',77,82.36,'gvkmj')

statement ok
INSERT INTO tab0 VALUES(4,62,82.7,'aujva',45,81.51,'qomzx')

statement ok
INSERT INTO tab0 VALUES(5,81,88.43,'ulrcd',51,86.46,'enmat')

statement ok
INSERT INTO tab0 VALUES(6,90,60.36,'snnvg',78,28.95,'uxwfr')

statement ok
INSERT INTO tab0 VALUES(7,82,94.61,'pppyh',80,9.51,'unoxx')

statement ok
INSERT INTO tab0 VALUES(8,30,42.32,'aryry',8,69.67,'tumqs')

statement ok
INSERT INTO tab0 VALUES(9,9,69.16,'arhxc',9,40.4,'uaewy')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3,col1 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col0 DESC,col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col3,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34)))
----

query I rowsort label-4725
SELECT pk FROM tab0 WHERE NOT (col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34))))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34)))
----

query I rowsort label-4725
SELECT pk FROM tab1 WHERE NOT (col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34))))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34)))
----

query I rowsort label-4725
SELECT pk FROM tab2 WHERE NOT (col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34))))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34)))
----

query I rowsort label-4725
SELECT pk FROM tab3 WHERE NOT (col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34))))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34)))
----

query I rowsort label-4725
SELECT pk FROM tab4 WHERE NOT (col0 IN (87,72) OR ((col3 <= 48 AND (col3 < 34))))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab0 WHERE ((col0 <= 58 AND col0 IN (99,47,99,52,22,24)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 <= 58 AND col0 IN (99,47,99,52,22,24)))
----

query I rowsort label-4740
SELECT pk FROM tab0 WHERE NOT (((col0 <= 58 AND col0 IN (99,47,99,52,22,24))))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab1 WHERE ((col0 <= 58 AND col0 IN (99,47,99,52,22,24)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 <= 58 AND col0 IN (99,47,99,52,22,24)))
----

query I rowsort label-4740
SELECT pk FROM tab1 WHERE NOT (((col0 <= 58 AND col0 IN (99,47,99,52,22,24))))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab2 WHERE ((col0 <= 58 AND col0 IN (99,47,99,52,22,24)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 <= 58 AND col0 IN (99,47,99,52,22,24)))
----

query I rowsort label-4740
SELECT pk FROM tab2 WHERE NOT (((col0 <= 58 AND col0 IN (99,47,99,52,22,24))))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab3 WHERE ((col0 <= 58 AND col0 IN (99,47,99,52,22,24)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 <= 58 AND col0 IN (99,47,99,52,22,24)))
----

query I rowsort label-4740
SELECT pk FROM tab3 WHERE NOT (((col0 <= 58 AND col0 IN (99,47,99,52,22,24))))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab4 WHERE ((col0 <= 58 AND col0 IN (99,47,99,52,22,24)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 <= 58 AND col0 IN (99,47,99,52,22,24)))
----

query I rowsort label-4740
SELECT pk FROM tab4 WHERE NOT (((col0 <= 58 AND col0 IN (99,47,99,52,22,24))))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab0 WHERE (col3 = 37)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 37)
----

query I rowsort label-4755
SELECT pk FROM tab0 WHERE NOT ((col3 = 37))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab1 WHERE (col3 = 37)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 37)
----

query I rowsort label-4755
SELECT pk FROM tab1 WHERE NOT ((col3 = 37))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab2 WHERE (col3 = 37)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 37)
----

query I rowsort label-4755
SELECT pk FROM tab2 WHERE NOT ((col3 = 37))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab3 WHERE (col3 = 37)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 37)
----

query I rowsort label-4755
SELECT pk FROM tab3 WHERE NOT ((col3 = 37))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab4 WHERE (col3 = 37)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 37)
----

query I rowsort label-4755
SELECT pk FROM tab4 WHERE NOT ((col3 = 37))
----
0
3
4
5
6
7

statement ok
DELETE FROM tab0 WHERE col3 = 49 AND col3 >= 69 OR col3 >= 0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 49 AND col3 >= 69 OR col3 >= 0
----

query I rowsort label-4770
SELECT pk FROM tab0 WHERE NOT (col3 = 49 AND col3 >= 69 OR col3 >= 0)
----

statement ok
DELETE FROM tab1 WHERE col3 = 49 AND col3 >= 69 OR col3 >= 0

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 49 AND col3 >= 69 OR col3 >= 0
----

query I rowsort label-4770
SELECT pk FROM tab1 WHERE NOT (col3 = 49 AND col3 >= 69 OR col3 >= 0)
----

statement ok
DELETE FROM tab2 WHERE col3 = 49 AND col3 >= 69 OR col3 >= 0

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 49 AND col3 >= 69 OR col3 >= 0
----

query I rowsort label-4770
SELECT pk FROM tab2 WHERE NOT (col3 = 49 AND col3 >= 69 OR col3 >= 0)
----

statement ok
DELETE FROM tab3 WHERE col3 = 49 AND col3 >= 69 OR col3 >= 0

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 49 AND col3 >= 69 OR col3 >= 0
----

query I rowsort label-4770
SELECT pk FROM tab3 WHERE NOT (col3 = 49 AND col3 >= 69 OR col3 >= 0)
----

statement ok
DELETE FROM tab4 WHERE col3 = 49 AND col3 >= 69 OR col3 >= 0

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 49 AND col3 >= 69 OR col3 >= 0
----

query I rowsort label-4770
SELECT pk FROM tab4 WHERE NOT (col3 = 49 AND col3 >= 69 OR col3 >= 0)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,23,2.64,'xazvv',70,31.31,'jueul')

statement ok
INSERT INTO tab0 VALUES(1,71,10.72,'cypal',82,21.95,'drgsr')

statement ok
INSERT INTO tab0 VALUES(2,69,75.38,'dgdfn',67,39.84,'ebpsa')

statement ok
INSERT INTO tab0 VALUES(3,99,80.31,'lbxyn',56,18.25,'hxwhw')

statement ok
INSERT INTO tab0 VALUES(4,46,95.59,'itjpi',93,55.33,'mqpne')

statement ok
INSERT INTO tab0 VALUES(5,13,38.78,'piqpr',43,83.34,'pevzc')

statement ok
INSERT INTO tab0 VALUES(6,33,44.6,'gfznv',7,25.68,'wcqzs')

statement ok
INSERT INTO tab0 VALUES(7,78,18.37,'bpsgh',34,62.7,'ssxso')

statement ok
INSERT INTO tab0 VALUES(8,79,7.50,'dlqaj',35,96.68,'eeuih')

statement ok
INSERT INTO tab0 VALUES(9,24,56.24,'qstor',90,6.21,'qulzi')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC,col3)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC,col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0,col4 DESC,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,79,90.7,'ehvqm',90,20.73,'hfbki')

statement ok
INSERT INTO tab0 VALUES(1,2,97.10,'bpvzl',82,18.26,'gxgdi')

statement ok
INSERT INTO tab0 VALUES(2,40,19.23,'lozaz',11,21.68,'zqicj')

statement ok
INSERT INTO tab0 VALUES(3,4,83.9,'gdjnj',10,82.70,'caeqo')

statement ok
INSERT INTO tab0 VALUES(4,77,91.0,'fpgom',42,70.81,'yscsl')

statement ok
INSERT INTO tab0 VALUES(5,29,85.11,'sqswh',12,19.36,'ggnxl')

statement ok
INSERT INTO tab0 VALUES(6,30,9.52,'fjezs',81,95.71,'reqqs')

statement ok
INSERT INTO tab0 VALUES(7,61,71.41,'arffz',80,63.37,'nkyeo')

statement ok
INSERT INTO tab0 VALUES(8,31,5.13,'udzwm',21,43.10,'hazxi')

statement ok
INSERT INTO tab0 VALUES(9,78,36.37,'fhzif',5,79.5,'htxhq')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 = 95

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 95
----

query I rowsort label-4785
SELECT pk FROM tab0 WHERE NOT (col0 = 95)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 = 95

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 95
----

query I rowsort label-4785
SELECT pk FROM tab1 WHERE NOT (col0 = 95)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 = 95

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 95
----

query I rowsort label-4785
SELECT pk FROM tab2 WHERE NOT (col0 = 95)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 = 95

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 95
----

query I rowsort label-4785
SELECT pk FROM tab3 WHERE NOT (col0 = 95)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 = 95

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 95
----

query I rowsort label-4785
SELECT pk FROM tab4 WHERE NOT (col0 = 95)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,37,15.56,'bzupn',13,91.40,'kixcu')

statement ok
INSERT INTO tab0 VALUES(1,87,70.33,'qxsrx',81,59.0,'dkiag')

statement ok
INSERT INTO tab0 VALUES(2,41,2.61,'uoxuo',82,52.70,'otxws')

statement ok
INSERT INTO tab0 VALUES(3,42,3.17,'nmlbd',46,93.30,'rfyqx')

statement ok
INSERT INTO tab0 VALUES(4,96,58.0,'icrel',54,57.11,'zetju')

statement ok
INSERT INTO tab0 VALUES(5,49,57.90,'ehscp',99,79.60,'mkwor')

statement ok
INSERT INTO tab0 VALUES(6,35,9.15,'ragod',49,70.0,'xnbxi')

statement ok
INSERT INTO tab0 VALUES(7,46,54.10,'dyxwe',11,25.93,'tqnye')

statement ok
INSERT INTO tab0 VALUES(8,93,74.79,'xdflj',91,42.3,'odyoi')

statement ok
INSERT INTO tab0 VALUES(9,68,8.61,'eqvii',59,30.59,'wcqut')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC,col0)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0,col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1,col3)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4,col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col4,col1)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col0,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,55,2.58,'skhqm',32,3.78,'dujnq')

statement ok
INSERT INTO tab0 VALUES(1,79,20.17,'cdhma',43,41.56,'umkwj')

statement ok
INSERT INTO tab0 VALUES(2,45,75.24,'tjgoz',46,91.79,'fdojk')

statement ok
INSERT INTO tab0 VALUES(3,53,73.52,'vzcob',1,81.53,'mlekh')

statement ok
INSERT INTO tab0 VALUES(4,97,31.40,'iutcd',18,82.54,'qsylo')

statement ok
INSERT INTO tab0 VALUES(5,81,40.7,'bwtyu',72,71.45,'zymzk')

statement ok
INSERT INTO tab0 VALUES(6,32,27.63,'ykxzb',17,89.88,'bwzvc')

statement ok
INSERT INTO tab0 VALUES(7,8,16.22,'vaalb',95,11.53,'yfwfw')

statement ok
INSERT INTO tab0 VALUES(8,15,96.16,'cugan',54,2.34,'etivk')

statement ok
INSERT INTO tab0 VALUES(9,17,76.4,'gkbzl',55,83.61,'ckcal')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC,col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1,col3)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3 DESC,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 <= 93.82

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 93.82
----

query I rowsort label-4800
SELECT pk FROM tab0 WHERE NOT (col4 <= 93.82)
----

statement ok
DELETE FROM tab1 WHERE col4 <= 93.82

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 93.82
----

query I rowsort label-4800
SELECT pk FROM tab1 WHERE NOT (col4 <= 93.82)
----

statement ok
DELETE FROM tab2 WHERE col4 <= 93.82

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 93.82
----

query I rowsort label-4800
SELECT pk FROM tab2 WHERE NOT (col4 <= 93.82)
----

statement ok
DELETE FROM tab3 WHERE col4 <= 93.82

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 93.82
----

query I rowsort label-4800
SELECT pk FROM tab3 WHERE NOT (col4 <= 93.82)
----

statement ok
DELETE FROM tab4 WHERE col4 <= 93.82

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 93.82
----

query I rowsort label-4800
SELECT pk FROM tab4 WHERE NOT (col4 <= 93.82)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,25,3.2,'xljkj',97,79.49,'onvra')

statement ok
INSERT INTO tab0 VALUES(1,60,42.25,'uaolo',18,68.25,'ykvou')

statement ok
INSERT INTO tab0 VALUES(2,59,50.16,'wstwp',3,39.89,'foqip')

statement ok
INSERT INTO tab0 VALUES(3,17,15.75,'eivfn',90,52.25,'wklod')

statement ok
INSERT INTO tab0 VALUES(4,70,10.49,'jvflv',65,33.20,'jntxx')

statement ok
INSERT INTO tab0 VALUES(5,4,56.42,'ikkgf',67,36.76,'qwygw')

statement ok
INSERT INTO tab0 VALUES(6,68,83.31,'vvryc',9,9.21,'xvctd')

statement ok
INSERT INTO tab0 VALUES(7,88,92.76,'bgqti',82,49.25,'cmjaj')

statement ok
INSERT INTO tab0 VALUES(8,77,20.33,'joyyr',75,70.8,'potet')

statement ok
INSERT INTO tab0 VALUES(9,51,0.67,'wlwws',83,67.59,'vrrag')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC,col0)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col4,col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,81,20.93,'tunjg',51,86.99,'ppejw')

statement ok
INSERT INTO tab0 VALUES(1,51,75.56,'kugwx',20,58.91,'icufa')

statement ok
INSERT INTO tab0 VALUES(2,56,93.74,'rwpod',86,10.78,'npppw')

statement ok
INSERT INTO tab0 VALUES(3,3,7.86,'cbmfo',62,54.70,'seggq')

statement ok
INSERT INTO tab0 VALUES(4,42,21.24,'niblw',63,2.69,'pmaoh')

statement ok
INSERT INTO tab0 VALUES(5,78,71.16,'wtgnj',14,31.87,'pubvi')

statement ok
INSERT INTO tab0 VALUES(6,85,90.7,'ooetp',64,44.53,'qcggi')

statement ok
INSERT INTO tab0 VALUES(7,17,69.67,'ikdja',0,33.31,'plufm')

statement ok
INSERT INTO tab0 VALUES(8,22,17.5,'qiwvo',60,45.28,'asuhi')

statement ok
INSERT INTO tab0 VALUES(9,52,28.80,'namwf',40,34.8,'tbwlj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC,col4,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC,col0 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 = 31.73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 31.73
----

query I rowsort label-4815
SELECT pk FROM tab0 WHERE NOT (col1 = 31.73)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 = 31.73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 31.73
----

query I rowsort label-4815
SELECT pk FROM tab1 WHERE NOT (col1 = 31.73)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 = 31.73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 31.73
----

query I rowsort label-4815
SELECT pk FROM tab2 WHERE NOT (col1 = 31.73)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 = 31.73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 31.73
----

query I rowsort label-4815
SELECT pk FROM tab3 WHERE NOT (col1 = 31.73)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 = 31.73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 31.73
----

query I rowsort label-4815
SELECT pk FROM tab4 WHERE NOT (col1 = 31.73)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 < 92.37

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 92.37
----

query I rowsort label-4830
SELECT pk FROM tab0 WHERE NOT (col4 < 92.37)
----

statement ok
DELETE FROM tab1 WHERE col4 < 92.37

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 92.37
----

query I rowsort label-4830
SELECT pk FROM tab1 WHERE NOT (col4 < 92.37)
----

statement ok
DELETE FROM tab2 WHERE col4 < 92.37

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 92.37
----

query I rowsort label-4830
SELECT pk FROM tab2 WHERE NOT (col4 < 92.37)
----

statement ok
DELETE FROM tab3 WHERE col4 < 92.37

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 92.37
----

query I rowsort label-4830
SELECT pk FROM tab3 WHERE NOT (col4 < 92.37)
----

statement ok
DELETE FROM tab4 WHERE col4 < 92.37

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 92.37
----

query I rowsort label-4830
SELECT pk FROM tab4 WHERE NOT (col4 < 92.37)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,85,2.94,'odzwj',76,70.23,'zfran')

statement ok
INSERT INTO tab0 VALUES(1,53,19.57,'aqlsq',86,31.70,'qanhj')

statement ok
INSERT INTO tab0 VALUES(2,57,13.88,'xtuts',13,36.43,'hbrfd')

statement ok
INSERT INTO tab0 VALUES(3,81,5.88,'giltt',37,28.78,'xijdf')

statement ok
INSERT INTO tab0 VALUES(4,50,3.6,'rpjzm',80,16.13,'jbfov')

statement ok
INSERT INTO tab0 VALUES(5,40,57.48,'zwqiu',23,38.1,'bwraq')

statement ok
INSERT INTO tab0 VALUES(6,88,32.92,'wycki',14,21.23,'ruxnk')

statement ok
INSERT INTO tab0 VALUES(7,9,61.99,'ngatc',88,49.0,'pncjp')

statement ok
INSERT INTO tab0 VALUES(8,7,15.27,'ftnve',69,18.4,'qljny')

statement ok
INSERT INTO tab0 VALUES(9,84,59.43,'ahohf',93,4.73,'svfng')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3 DESC,col0,col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC,col4 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3 DESC,col1,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79))
----

query I rowsort label-4845
SELECT pk FROM tab0 WHERE NOT ((((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79)))
----
2
6
8

statement ok
DELETE FROM tab1 WHERE (((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79))
----

query I rowsort label-4845
SELECT pk FROM tab1 WHERE NOT ((((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79)))
----
2
6
8

statement ok
DELETE FROM tab2 WHERE (((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79))
----

query I rowsort label-4845
SELECT pk FROM tab2 WHERE NOT ((((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79)))
----
2
6
8

statement ok
DELETE FROM tab3 WHERE (((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79))
----

query I rowsort label-4845
SELECT pk FROM tab3 WHERE NOT ((((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79)))
----
2
6
8

statement ok
DELETE FROM tab4 WHERE (((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79))
----

query I rowsort label-4845
SELECT pk FROM tab4 WHERE NOT ((((col4 > 69.51 AND col3 >= 64) OR ((col0 >= 16)) AND (col3 >= 22) OR (col1 > 47.27) OR col3 > 79)))
----
2
6
8

statement ok
DELETE FROM tab0 WHERE (col0 >= 85)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 85)
----

query I rowsort label-4860
SELECT pk FROM tab0 WHERE NOT ((col0 >= 85))
----
2
8

statement ok
DELETE FROM tab1 WHERE (col0 >= 85)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 85)
----

query I rowsort label-4860
SELECT pk FROM tab1 WHERE NOT ((col0 >= 85))
----
2
8

statement ok
DELETE FROM tab2 WHERE (col0 >= 85)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 85)
----

query I rowsort label-4860
SELECT pk FROM tab2 WHERE NOT ((col0 >= 85))
----
2
8

statement ok
DELETE FROM tab3 WHERE (col0 >= 85)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 85)
----

query I rowsort label-4860
SELECT pk FROM tab3 WHERE NOT ((col0 >= 85))
----
2
8

statement ok
DELETE FROM tab4 WHERE (col0 >= 85)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 85)
----

query I rowsort label-4860
SELECT pk FROM tab4 WHERE NOT ((col0 >= 85))
----
2
8

statement ok
DELETE FROM tab0 WHERE col4 < 88.23

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 88.23
----

query I rowsort label-4875
SELECT pk FROM tab0 WHERE NOT (col4 < 88.23)
----

statement ok
DELETE FROM tab1 WHERE col4 < 88.23

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 88.23
----

query I rowsort label-4875
SELECT pk FROM tab1 WHERE NOT (col4 < 88.23)
----

statement ok
DELETE FROM tab2 WHERE col4 < 88.23

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 88.23
----

query I rowsort label-4875
SELECT pk FROM tab2 WHERE NOT (col4 < 88.23)
----

statement ok
DELETE FROM tab3 WHERE col4 < 88.23

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 88.23
----

query I rowsort label-4875
SELECT pk FROM tab3 WHERE NOT (col4 < 88.23)
----

statement ok
DELETE FROM tab4 WHERE col4 < 88.23

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 88.23
----

query I rowsort label-4875
SELECT pk FROM tab4 WHERE NOT (col4 < 88.23)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,91,27.86,'xhmay',95,11.28,'kycpr')

statement ok
INSERT INTO tab0 VALUES(1,38,30.71,'vmbpr',24,88.52,'nnntm')

statement ok
INSERT INTO tab0 VALUES(2,53,65.96,'ucbme',96,89.1,'lpool')

statement ok
INSERT INTO tab0 VALUES(3,33,20.71,'qrbga',56,53.25,'tjvie')

statement ok
INSERT INTO tab0 VALUES(4,28,28.62,'idpfc',9,47.88,'mjwmv')

statement ok
INSERT INTO tab0 VALUES(5,47,29.8,'uteix',27,30.80,'ysuxn')

statement ok
INSERT INTO tab0 VALUES(6,81,35.32,'hillk',66,12.35,'gbyte')

statement ok
INSERT INTO tab0 VALUES(7,4,1.52,'ilglo',77,21.36,'xsluz')

statement ok
INSERT INTO tab0 VALUES(8,95,71.97,'djzgz',17,62.32,'kzwmc')

statement ok
INSERT INTO tab0 VALUES(9,43,49.15,'higdo',63,81.50,'bcvdi')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC,col3)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0 DESC,col4 DESC,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0,col4)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 <= 97.35)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 <= 97.35)
----

query I rowsort label-4890
SELECT pk FROM tab0 WHERE NOT ((col1 <= 97.35))
----

statement ok
DELETE FROM tab1 WHERE (col1 <= 97.35)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 <= 97.35)
----

query I rowsort label-4890
SELECT pk FROM tab1 WHERE NOT ((col1 <= 97.35))
----

statement ok
DELETE FROM tab2 WHERE (col1 <= 97.35)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 <= 97.35)
----

query I rowsort label-4890
SELECT pk FROM tab2 WHERE NOT ((col1 <= 97.35))
----

statement ok
DELETE FROM tab3 WHERE (col1 <= 97.35)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 <= 97.35)
----

query I rowsort label-4890
SELECT pk FROM tab3 WHERE NOT ((col1 <= 97.35))
----

statement ok
DELETE FROM tab4 WHERE (col1 <= 97.35)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 <= 97.35)
----

query I rowsort label-4890
SELECT pk FROM tab4 WHERE NOT ((col1 <= 97.35))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,31,7.59,'xgram',73,71.84,'eobxc')

statement ok
INSERT INTO tab0 VALUES(1,32,23.78,'owvcv',65,16.34,'pcjhp')

statement ok
INSERT INTO tab0 VALUES(2,87,79.30,'dnffm',51,93.98,'verhb')

statement ok
INSERT INTO tab0 VALUES(3,86,77.74,'xisaq',96,83.98,'cwcpx')

statement ok
INSERT INTO tab0 VALUES(4,24,15.80,'ugqmg',74,45.26,'vbhnq')

statement ok
INSERT INTO tab0 VALUES(5,6,54.36,'edtrl',78,78.49,'aoxhh')

statement ok
INSERT INTO tab0 VALUES(6,65,73.66,'kyodg',32,85.24,'ylhza')

statement ok
INSERT INTO tab0 VALUES(7,72,38.39,'kreuh',6,33.10,'vvbsz')

statement ok
INSERT INTO tab0 VALUES(8,49,61.84,'jtsif',29,21.83,'mixwq')

statement ok
INSERT INTO tab0 VALUES(9,81,64.0,'hxdao',95,36.46,'wzybq')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC,col0,col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1 DESC,col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 <= 66 AND col0 > 48

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 66 AND col0 > 48
----

query I rowsort label-4905
SELECT pk FROM tab0 WHERE NOT (col0 <= 66 AND col0 > 48)
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab1 WHERE col0 <= 66 AND col0 > 48

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 66 AND col0 > 48
----

query I rowsort label-4905
SELECT pk FROM tab1 WHERE NOT (col0 <= 66 AND col0 > 48)
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab2 WHERE col0 <= 66 AND col0 > 48

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 66 AND col0 > 48
----

query I rowsort label-4905
SELECT pk FROM tab2 WHERE NOT (col0 <= 66 AND col0 > 48)
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab3 WHERE col0 <= 66 AND col0 > 48

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 66 AND col0 > 48
----

query I rowsort label-4905
SELECT pk FROM tab3 WHERE NOT (col0 <= 66 AND col0 > 48)
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab4 WHERE col0 <= 66 AND col0 > 48

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 66 AND col0 > 48
----

query I rowsort label-4905
SELECT pk FROM tab4 WHERE NOT (col0 <= 66 AND col0 > 48)
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab0 WHERE col4 > 19.8

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 19.8
----

query I rowsort label-4920
SELECT pk FROM tab0 WHERE NOT (col4 > 19.8)
----
1

statement ok
DELETE FROM tab1 WHERE col4 > 19.8

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 19.8
----

query I rowsort label-4920
SELECT pk FROM tab1 WHERE NOT (col4 > 19.8)
----
1

statement ok
DELETE FROM tab2 WHERE col4 > 19.8

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 19.8
----

query I rowsort label-4920
SELECT pk FROM tab2 WHERE NOT (col4 > 19.8)
----
1

statement ok
DELETE FROM tab3 WHERE col4 > 19.8

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 19.8
----

query I rowsort label-4920
SELECT pk FROM tab3 WHERE NOT (col4 > 19.8)
----
1

statement ok
DELETE FROM tab4 WHERE col4 > 19.8

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 19.8
----

query I rowsort label-4920
SELECT pk FROM tab4 WHERE NOT (col4 > 19.8)
----
1

statement ok
DELETE FROM tab0 WHERE col4 < 24.78

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 24.78
----

query I rowsort label-4935
SELECT pk FROM tab0 WHERE NOT (col4 < 24.78)
----

statement ok
DELETE FROM tab1 WHERE col4 < 24.78

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 24.78
----

query I rowsort label-4935
SELECT pk FROM tab1 WHERE NOT (col4 < 24.78)
----

statement ok
DELETE FROM tab2 WHERE col4 < 24.78

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 24.78
----

query I rowsort label-4935
SELECT pk FROM tab2 WHERE NOT (col4 < 24.78)
----

statement ok
DELETE FROM tab3 WHERE col4 < 24.78

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 24.78
----

query I rowsort label-4935
SELECT pk FROM tab3 WHERE NOT (col4 < 24.78)
----

statement ok
DELETE FROM tab4 WHERE col4 < 24.78

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 24.78
----

query I rowsort label-4935
SELECT pk FROM tab4 WHERE NOT (col4 < 24.78)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,21,48.35,'dcmdt',56,88.29,'qlmtt')

statement ok
INSERT INTO tab0 VALUES(1,58,46.13,'qtrlz',34,45.5,'ehhts')

statement ok
INSERT INTO tab0 VALUES(2,8,62.17,'oebzm',86,46.10,'tzjpz')

statement ok
INSERT INTO tab0 VALUES(3,27,93.56,'ntrge',31,96.17,'bqsem')

statement ok
INSERT INTO tab0 VALUES(4,38,40.32,'jenqj',35,68.21,'ckulp')

statement ok
INSERT INTO tab0 VALUES(5,89,18.0,'hdywc',73,2.5,'jiwem')

statement ok
INSERT INTO tab0 VALUES(6,22,70.34,'bukve',91,21.99,'vrcnc')

statement ok
INSERT INTO tab0 VALUES(7,31,81.89,'xnxee',72,47.47,'cwnph')

statement ok
INSERT INTO tab0 VALUES(8,26,84.60,'xoatv',94,5.62,'pumib')

statement ok
INSERT INTO tab0 VALUES(9,95,82.48,'wnymx',96,50.98,'ttjsn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1 DESC,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34)
----

query I rowsort label-4950
SELECT pk FROM tab0 WHERE NOT ((col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34))
----
5
9

statement ok
DELETE FROM tab1 WHERE (col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34)
----

query I rowsort label-4950
SELECT pk FROM tab1 WHERE NOT ((col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34))
----
5
9

statement ok
DELETE FROM tab2 WHERE (col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34)
----

query I rowsort label-4950
SELECT pk FROM tab2 WHERE NOT ((col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34))
----
5
9

statement ok
DELETE FROM tab3 WHERE (col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34)
----

query I rowsort label-4950
SELECT pk FROM tab3 WHERE NOT ((col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34))
----
5
9

statement ok
DELETE FROM tab4 WHERE (col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34)
----

query I rowsort label-4950
SELECT pk FROM tab4 WHERE NOT ((col0 <= 85 OR col0 < 89 AND col3 >= 40 AND col1 >= 9.34))
----
5
9

statement ok
DELETE FROM tab0 WHERE col0 >= 81

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 81
----

query I rowsort label-4965
SELECT pk FROM tab0 WHERE NOT (col0 >= 81)
----

statement ok
DELETE FROM tab1 WHERE col0 >= 81

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 81
----

query I rowsort label-4965
SELECT pk FROM tab1 WHERE NOT (col0 >= 81)
----

statement ok
DELETE FROM tab2 WHERE col0 >= 81

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 81
----

query I rowsort label-4965
SELECT pk FROM tab2 WHERE NOT (col0 >= 81)
----

statement ok
DELETE FROM tab3 WHERE col0 >= 81

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 81
----

query I rowsort label-4965
SELECT pk FROM tab3 WHERE NOT (col0 >= 81)
----

statement ok
DELETE FROM tab4 WHERE col0 >= 81

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 81
----

query I rowsort label-4965
SELECT pk FROM tab4 WHERE NOT (col0 >= 81)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,96,77.18,'etbob',50,34.27,'fkvki')

statement ok
INSERT INTO tab0 VALUES(1,3,56.29,'ckdhp',21,41.23,'vlgpl')

statement ok
INSERT INTO tab0 VALUES(2,47,25.14,'ydkqm',83,24.77,'lmzpe')

statement ok
INSERT INTO tab0 VALUES(3,42,94.83,'ekqdk',51,0.85,'bkjlt')

statement ok
INSERT INTO tab0 VALUES(4,28,0.70,'qjghc',16,42.70,'tlreh')

statement ok
INSERT INTO tab0 VALUES(5,81,67.38,'ecbsz',67,40.90,'niuzm')

statement ok
INSERT INTO tab0 VALUES(6,25,73.97,'gtufv',94,75.56,'uivkb')

statement ok
INSERT INTO tab0 VALUES(7,48,10.12,'soobi',8,67.44,'emvjn')

statement ok
INSERT INTO tab0 VALUES(8,12,45.20,'hcxxr',52,46.4,'wqfht')

statement ok
INSERT INTO tab0 VALUES(9,65,86.37,'dhyaj',6,13.74,'oprir')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99
----

query I rowsort label-4980
SELECT pk FROM tab0 WHERE NOT (col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99)
----

statement ok
DELETE FROM tab1 WHERE col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99
----

query I rowsort label-4980
SELECT pk FROM tab1 WHERE NOT (col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99)
----

statement ok
DELETE FROM tab2 WHERE col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99
----

query I rowsort label-4980
SELECT pk FROM tab2 WHERE NOT (col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99)
----

statement ok
DELETE FROM tab3 WHERE col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99
----

query I rowsort label-4980
SELECT pk FROM tab3 WHERE NOT (col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99)
----

statement ok
DELETE FROM tab4 WHERE col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99
----

query I rowsort label-4980
SELECT pk FROM tab4 WHERE NOT (col4 <= 87.92 OR (col3 < 61) OR col3 >= 70 AND col3 <= 78 AND col0 <= 99)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,38,48.76,'nzipt',80,34.27,'hxaou')

statement ok
INSERT INTO tab0 VALUES(1,34,91.10,'xrgdo',92,98.17,'qcneg')

statement ok
INSERT INTO tab0 VALUES(2,17,86.1,'rofcg',33,62.93,'juigp')

statement ok
INSERT INTO tab0 VALUES(3,81,52.84,'basep',30,51.68,'khufo')

statement ok
INSERT INTO tab0 VALUES(4,61,88.51,'nubxs',4,3.19,'qbhgc')

statement ok
INSERT INTO tab0 VALUES(5,45,36.70,'jdxwu',86,30.5,'rpvty')

statement ok
INSERT INTO tab0 VALUES(6,84,42.92,'ibvsm',29,77.75,'gqrgf')

statement ok
INSERT INTO tab0 VALUES(7,8,19.67,'ejxls',17,91.83,'chasa')

statement ok
INSERT INTO tab0 VALUES(8,39,11.55,'jupii',82,78.98,'jepjf')

statement ok
INSERT INTO tab0 VALUES(9,95,54.40,'tdzgn',18,70.19,'knfdv')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3,col1 DESC,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1 DESC,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4,col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0,col1 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26))
----

query I rowsort label-4995
SELECT pk FROM tab0 WHERE NOT (col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26))
----

query I rowsort label-4995
SELECT pk FROM tab1 WHERE NOT (col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26))
----

query I rowsort label-4995
SELECT pk FROM tab2 WHERE NOT (col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26))
----

query I rowsort label-4995
SELECT pk FROM tab3 WHERE NOT (col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26))
----

query I rowsort label-4995
SELECT pk FROM tab4 WHERE NOT (col1 >= 22.49 AND col3 = 58 AND ((col4 = 58.96 AND col3 >= 26)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col1 < 92.1) AND col0 BETWEEN 50 AND 16

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 92.1) AND col0 BETWEEN 50 AND 16
----

query I rowsort label-5010
SELECT pk FROM tab0 WHERE NOT ((col1 < 92.1) AND col0 BETWEEN 50 AND 16)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col1 < 92.1) AND col0 BETWEEN 50 AND 16

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 92.1) AND col0 BETWEEN 50 AND 16
----

query I rowsort label-5010
SELECT pk FROM tab1 WHERE NOT ((col1 < 92.1) AND col0 BETWEEN 50 AND 16)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col1 < 92.1) AND col0 BETWEEN 50 AND 16

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 92.1) AND col0 BETWEEN 50 AND 16
----

query I rowsort label-5010
SELECT pk FROM tab2 WHERE NOT ((col1 < 92.1) AND col0 BETWEEN 50 AND 16)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col1 < 92.1) AND col0 BETWEEN 50 AND 16

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 92.1) AND col0 BETWEEN 50 AND 16
----

query I rowsort label-5010
SELECT pk FROM tab3 WHERE NOT ((col1 < 92.1) AND col0 BETWEEN 50 AND 16)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col1 < 92.1) AND col0 BETWEEN 50 AND 16

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 92.1) AND col0 BETWEEN 50 AND 16
----

query I rowsort label-5010
SELECT pk FROM tab4 WHERE NOT ((col1 < 92.1) AND col0 BETWEEN 50 AND 16)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col0 > 90))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 90))
----

query I rowsort label-5025
SELECT pk FROM tab0 WHERE NOT (((col0 > 90)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab1 WHERE ((col0 > 90))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 90))
----

query I rowsort label-5025
SELECT pk FROM tab1 WHERE NOT (((col0 > 90)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab2 WHERE ((col0 > 90))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 90))
----

query I rowsort label-5025
SELECT pk FROM tab2 WHERE NOT (((col0 > 90)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab3 WHERE ((col0 > 90))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 90))
----

query I rowsort label-5025
SELECT pk FROM tab3 WHERE NOT (((col0 > 90)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab4 WHERE ((col0 > 90))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 90))
----

query I rowsort label-5025
SELECT pk FROM tab4 WHERE NOT (((col0 > 90)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab0 WHERE (((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21
----

query I rowsort label-5040
SELECT pk FROM tab0 WHERE NOT ((((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21)
----
0
1
2
3
4
6
7
8

statement ok
DELETE FROM tab1 WHERE (((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21
----

query I rowsort label-5040
SELECT pk FROM tab1 WHERE NOT ((((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21)
----
0
1
2
3
4
6
7
8

statement ok
DELETE FROM tab2 WHERE (((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21
----

query I rowsort label-5040
SELECT pk FROM tab2 WHERE NOT ((((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21)
----
0
1
2
3
4
6
7
8

statement ok
DELETE FROM tab3 WHERE (((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21
----

query I rowsort label-5040
SELECT pk FROM tab3 WHERE NOT ((((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21)
----
0
1
2
3
4
6
7
8

statement ok
DELETE FROM tab4 WHERE (((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21
----

query I rowsort label-5040
SELECT pk FROM tab4 WHERE NOT ((((col4 IS NULL OR col3 > 62 AND ((col0 > 39))))) OR col3 BETWEEN 56 AND 21)
----
0
1
2
3
4
6
7
8

statement ok
DELETE FROM tab0 WHERE col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19)
----

query I rowsort label-5055
SELECT pk FROM tab0 WHERE NOT (col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19))
----
2
3
4
7

statement ok
DELETE FROM tab1 WHERE col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19)
----

query I rowsort label-5055
SELECT pk FROM tab1 WHERE NOT (col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19))
----
2
3
4
7

statement ok
DELETE FROM tab2 WHERE col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19)
----

query I rowsort label-5055
SELECT pk FROM tab2 WHERE NOT (col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19))
----
2
3
4
7

statement ok
DELETE FROM tab3 WHERE col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19)
----

query I rowsort label-5055
SELECT pk FROM tab3 WHERE NOT (col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19))
----
2
3
4
7

statement ok
DELETE FROM tab4 WHERE col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19)
----

query I rowsort label-5055
SELECT pk FROM tab4 WHERE NOT (col3 >= 75 AND col3 <= 99 OR col3 IN (75,83,51,29,19))
----
2
3
4
7

statement ok
DELETE FROM tab0 WHERE (col0 > 52)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 52)
----

query I rowsort label-5070
SELECT pk FROM tab0 WHERE NOT ((col0 > 52))
----
2
7

statement ok
DELETE FROM tab1 WHERE (col0 > 52)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 52)
----

query I rowsort label-5070
SELECT pk FROM tab1 WHERE NOT ((col0 > 52))
----
2
7

statement ok
DELETE FROM tab2 WHERE (col0 > 52)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 52)
----

query I rowsort label-5070
SELECT pk FROM tab2 WHERE NOT ((col0 > 52))
----
2
7

statement ok
DELETE FROM tab3 WHERE (col0 > 52)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 52)
----

query I rowsort label-5070
SELECT pk FROM tab3 WHERE NOT ((col0 > 52))
----
2
7

statement ok
DELETE FROM tab4 WHERE (col0 > 52)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 52)
----

query I rowsort label-5070
SELECT pk FROM tab4 WHERE NOT ((col0 > 52))
----
2
7

statement ok
DELETE FROM tab0 WHERE col4 > 6.95

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 6.95
----

query I rowsort label-5085
SELECT pk FROM tab0 WHERE NOT (col4 > 6.95)
----

statement ok
DELETE FROM tab1 WHERE col4 > 6.95

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 6.95
----

query I rowsort label-5085
SELECT pk FROM tab1 WHERE NOT (col4 > 6.95)
----

statement ok
DELETE FROM tab2 WHERE col4 > 6.95

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 6.95
----

query I rowsort label-5085
SELECT pk FROM tab2 WHERE NOT (col4 > 6.95)
----

statement ok
DELETE FROM tab3 WHERE col4 > 6.95

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 6.95
----

query I rowsort label-5085
SELECT pk FROM tab3 WHERE NOT (col4 > 6.95)
----

statement ok
DELETE FROM tab4 WHERE col4 > 6.95

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 6.95
----

query I rowsort label-5085
SELECT pk FROM tab4 WHERE NOT (col4 > 6.95)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,70,99.53,'bjhxb',85,35.60,'twdhk')

statement ok
INSERT INTO tab0 VALUES(1,35,62.68,'faulb',26,50.98,'bowgd')

statement ok
INSERT INTO tab0 VALUES(2,88,69.79,'gdstm',17,38.0,'mhtqt')

statement ok
INSERT INTO tab0 VALUES(3,98,91.31,'vtgfl',69,44.96,'eqgza')

statement ok
INSERT INTO tab0 VALUES(4,71,87.17,'fbfwn',38,79.19,'dlgzp')

statement ok
INSERT INTO tab0 VALUES(5,66,63.90,'vmjgm',36,82.17,'yvokm')

statement ok
INSERT INTO tab0 VALUES(6,4,29.73,'bzjtw',47,83.68,'illlv')

statement ok
INSERT INTO tab0 VALUES(7,82,75.72,'syeop',35,64.86,'wpmpn')

statement ok
INSERT INTO tab0 VALUES(8,86,20.90,'tmuwp',61,25.41,'oeabs')

statement ok
INSERT INTO tab0 VALUES(9,2,83.40,'umvzl',90,45.65,'kcvno')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 >= 17

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 17
----

query I rowsort label-5100
SELECT pk FROM tab0 WHERE NOT (col3 >= 17)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 17

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 17
----

query I rowsort label-5100
SELECT pk FROM tab1 WHERE NOT (col3 >= 17)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 17

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 17
----

query I rowsort label-5100
SELECT pk FROM tab2 WHERE NOT (col3 >= 17)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 17

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 17
----

query I rowsort label-5100
SELECT pk FROM tab3 WHERE NOT (col3 >= 17)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 17

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 17
----

query I rowsort label-5100
SELECT pk FROM tab4 WHERE NOT (col3 >= 17)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,7,18.32,'msrsx',7,39.2,'htunk')

statement ok
INSERT INTO tab0 VALUES(1,94,87.49,'rldtv',65,91.16,'ouhsb')

statement ok
INSERT INTO tab0 VALUES(2,23,77.12,'vyxia',47,59.51,'nyssj')

statement ok
INSERT INTO tab0 VALUES(3,75,88.2,'ctjsp',98,58.47,'sxbok')

statement ok
INSERT INTO tab0 VALUES(4,71,96.56,'bekoz',30,87.76,'oiefj')

statement ok
INSERT INTO tab0 VALUES(5,31,80.27,'tzqef',89,49.11,'prnjk')

statement ok
INSERT INTO tab0 VALUES(6,42,21.44,'azokz',17,61.82,'otqya')

statement ok
INSERT INTO tab0 VALUES(7,17,23.79,'hqrev',13,64.41,'nkzqa')

statement ok
INSERT INTO tab0 VALUES(8,57,19.6,'atmzd',99,38.26,'azgut')

statement ok
INSERT INTO tab0 VALUES(9,18,89.67,'qavtl',74,14.21,'ffjue')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col1)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 < 7)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 7)
----

query I rowsort label-5115
SELECT pk FROM tab0 WHERE NOT ((col3 < 7))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 < 7)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 7)
----

query I rowsort label-5115
SELECT pk FROM tab1 WHERE NOT ((col3 < 7))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 < 7)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 7)
----

query I rowsort label-5115
SELECT pk FROM tab2 WHERE NOT ((col3 < 7))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 < 7)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 7)
----

query I rowsort label-5115
SELECT pk FROM tab3 WHERE NOT ((col3 < 7))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 < 7)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 7)
----

query I rowsort label-5115
SELECT pk FROM tab4 WHERE NOT ((col3 < 7))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44))
----

query I rowsort label-5130
SELECT pk FROM tab0 WHERE NOT ((col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab1 WHERE (col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44))
----

query I rowsort label-5130
SELECT pk FROM tab1 WHERE NOT ((col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab2 WHERE (col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44))
----

query I rowsort label-5130
SELECT pk FROM tab2 WHERE NOT ((col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab3 WHERE (col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44))
----

query I rowsort label-5130
SELECT pk FROM tab3 WHERE NOT ((col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab4 WHERE (col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44))
----

query I rowsort label-5130
SELECT pk FROM tab4 WHERE NOT ((col3 >= 85) AND (col0 > 73) OR col0 IS NULL AND col3 < 44 AND (col3 < 12) OR (col4 IN (45.63,30.93,7.61,69.44)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab0 WHERE (col4 >= 85.47)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 85.47)
----

query I rowsort label-5145
SELECT pk FROM tab0 WHERE NOT ((col4 >= 85.47))
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col4 >= 85.47)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 85.47)
----

query I rowsort label-5145
SELECT pk FROM tab1 WHERE NOT ((col4 >= 85.47))
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col4 >= 85.47)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 85.47)
----

query I rowsort label-5145
SELECT pk FROM tab2 WHERE NOT ((col4 >= 85.47))
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col4 >= 85.47)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 85.47)
----

query I rowsort label-5145
SELECT pk FROM tab3 WHERE NOT ((col4 >= 85.47))
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col4 >= 85.47)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 85.47)
----

query I rowsort label-5145
SELECT pk FROM tab4 WHERE NOT ((col4 >= 85.47))
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE ((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97))
----

query I rowsort label-5160
SELECT pk FROM tab0 WHERE NOT (((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97)))
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE ((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97))
----

query I rowsort label-5160
SELECT pk FROM tab1 WHERE NOT (((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97)))
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE ((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97))
----

query I rowsort label-5160
SELECT pk FROM tab2 WHERE NOT (((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97)))
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE ((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97))
----

query I rowsort label-5160
SELECT pk FROM tab3 WHERE NOT (((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97)))
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE ((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97))
----

query I rowsort label-5160
SELECT pk FROM tab4 WHERE NOT (((col1 BETWEEN 32.4 AND 1.51) AND (((((col1 > 56.26) OR (col3 IS NULL OR (col4 IS NULL) AND col1 >= 64.38 OR ((col3 IS NULL AND ((col4 > 51.61))) OR (col0 < 16 AND (col1 > 45.71 OR col4 < 83.50) OR col0 > 87 OR ((col0 < 68) OR col0 < 55 OR col3 > 30))) OR col0 >= 36 AND (((col1 < 88.85 OR col3 >= 79 AND (col3 < 2) OR col3 IN (12))) OR col1 > 15.91 OR (col0 > 75) AND ((col0 > 68 AND (((((col4 < 7.92))) OR (col0 IS NULL OR (col0 <= 66 AND col0 >= 61) OR col3 IN (46,30,1) OR (col3 < 32) OR col3 < 23) AND col4 > 39.88 OR ((col3 = 79 OR (col4 IN (51.2,60.80,78.46)))) OR col3 > 87 AND col0 IN (51) AND ((col0 >= 52 AND (col0 <= 70) OR (col3 > 11))) AND (col3 > 33 AND col3 > 90 AND ((col3 >= 26)) OR col0 > 33 OR col0 = 83 OR (col1 = 77.12) AND col3 IS NULL) AND col0 > 73))) OR col4 > 45.57)) AND col0 >= 82 AND (col0 > 33)) AND (col3 IS NULL AND col3 <= 4) OR col3 <= 20 AND col0 >= 26 AND ((col3 < 39) OR col0 > 9 AND col0 > 40) AND col4 < 38.62))) OR col3 IS NULL AND col3 < 97)))
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91))
----

query I rowsort label-5175
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91)))
----
8

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91))
----

query I rowsort label-5175
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91)))
----
8

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91))
----

query I rowsort label-5175
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91)))
----
8

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91))
----

query I rowsort label-5175
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91)))
----
8

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91))
----

query I rowsort label-5175
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL AND (col0 >= 96) AND (col3 IN (26,3)) OR (col3 < 91)))
----
8

statement ok
DELETE FROM tab0 WHERE ((col3 < 34) OR col1 >= 82.74 AND col0 < 17)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 34) OR col1 >= 82.74 AND col0 < 17)
----

query I rowsort label-5190
SELECT pk FROM tab0 WHERE NOT (((col3 < 34) OR col1 >= 82.74 AND col0 < 17))
----
8

statement ok
DELETE FROM tab1 WHERE ((col3 < 34) OR col1 >= 82.74 AND col0 < 17)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 34) OR col1 >= 82.74 AND col0 < 17)
----

query I rowsort label-5190
SELECT pk FROM tab1 WHERE NOT (((col3 < 34) OR col1 >= 82.74 AND col0 < 17))
----
8

statement ok
DELETE FROM tab2 WHERE ((col3 < 34) OR col1 >= 82.74 AND col0 < 17)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 34) OR col1 >= 82.74 AND col0 < 17)
----

query I rowsort label-5190
SELECT pk FROM tab2 WHERE NOT (((col3 < 34) OR col1 >= 82.74 AND col0 < 17))
----
8

statement ok
DELETE FROM tab3 WHERE ((col3 < 34) OR col1 >= 82.74 AND col0 < 17)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 34) OR col1 >= 82.74 AND col0 < 17)
----

query I rowsort label-5190
SELECT pk FROM tab3 WHERE NOT (((col3 < 34) OR col1 >= 82.74 AND col0 < 17))
----
8

statement ok
DELETE FROM tab4 WHERE ((col3 < 34) OR col1 >= 82.74 AND col0 < 17)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 34) OR col1 >= 82.74 AND col0 < 17)
----

query I rowsort label-5190
SELECT pk FROM tab4 WHERE NOT (((col3 < 34) OR col1 >= 82.74 AND col0 < 17))
----
8

statement ok
DELETE FROM tab0 WHERE col1 >= 7.80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 7.80
----

query I rowsort label-5205
SELECT pk FROM tab0 WHERE NOT (col1 >= 7.80)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 7.80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 7.80
----

query I rowsort label-5205
SELECT pk FROM tab1 WHERE NOT (col1 >= 7.80)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 7.80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 7.80
----

query I rowsort label-5205
SELECT pk FROM tab2 WHERE NOT (col1 >= 7.80)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 7.80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 7.80
----

query I rowsort label-5205
SELECT pk FROM tab3 WHERE NOT (col1 >= 7.80)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 7.80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 7.80
----

query I rowsort label-5205
SELECT pk FROM tab4 WHERE NOT (col1 >= 7.80)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,3,62.90,'wijge',76,60.90,'mbrrq')

statement ok
INSERT INTO tab0 VALUES(1,89,86.33,'fyief',74,77.99,'vhnun')

statement ok
INSERT INTO tab0 VALUES(2,10,93.18,'bldoh',68,81.72,'ykjpy')

statement ok
INSERT INTO tab0 VALUES(3,17,53.53,'rlsli',95,86.83,'euvwt')

statement ok
INSERT INTO tab0 VALUES(4,38,17.3,'ppvyw',75,69.16,'pxiyx')

statement ok
INSERT INTO tab0 VALUES(5,83,77.1,'jsymx',12,32.81,'jkrza')

statement ok
INSERT INTO tab0 VALUES(6,61,35.61,'dvrth',23,65.24,'qfuzz')

statement ok
INSERT INTO tab0 VALUES(7,92,60.90,'gjoxp',35,8.40,'dueaq')

statement ok
INSERT INTO tab0 VALUES(8,19,54.0,'vgorq',8,14.88,'pcrii')

statement ok
INSERT INTO tab0 VALUES(9,20,11.22,'lbtoz',41,11.98,'rvylq')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col0 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3,col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3,col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 BETWEEN 8.88 AND 93.62) AND col3 < 10

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 BETWEEN 8.88 AND 93.62) AND col3 < 10
----

query I rowsort label-5220
SELECT pk FROM tab0 WHERE NOT ((col1 BETWEEN 8.88 AND 93.62) AND col3 < 10)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab1 WHERE (col1 BETWEEN 8.88 AND 93.62) AND col3 < 10

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 BETWEEN 8.88 AND 93.62) AND col3 < 10
----

query I rowsort label-5220
SELECT pk FROM tab1 WHERE NOT ((col1 BETWEEN 8.88 AND 93.62) AND col3 < 10)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab2 WHERE (col1 BETWEEN 8.88 AND 93.62) AND col3 < 10

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 BETWEEN 8.88 AND 93.62) AND col3 < 10
----

query I rowsort label-5220
SELECT pk FROM tab2 WHERE NOT ((col1 BETWEEN 8.88 AND 93.62) AND col3 < 10)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab3 WHERE (col1 BETWEEN 8.88 AND 93.62) AND col3 < 10

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 BETWEEN 8.88 AND 93.62) AND col3 < 10
----

query I rowsort label-5220
SELECT pk FROM tab3 WHERE NOT ((col1 BETWEEN 8.88 AND 93.62) AND col3 < 10)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab4 WHERE (col1 BETWEEN 8.88 AND 93.62) AND col3 < 10

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 BETWEEN 8.88 AND 93.62) AND col3 < 10
----

query I rowsort label-5220
SELECT pk FROM tab4 WHERE NOT ((col1 BETWEEN 8.88 AND 93.62) AND col3 < 10)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab0 WHERE col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71
----

query I rowsort label-5235
SELECT pk FROM tab0 WHERE NOT (col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71)
----

statement ok
DELETE FROM tab1 WHERE col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71
----

query I rowsort label-5235
SELECT pk FROM tab1 WHERE NOT (col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71)
----

statement ok
DELETE FROM tab2 WHERE col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71
----

query I rowsort label-5235
SELECT pk FROM tab2 WHERE NOT (col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71)
----

statement ok
DELETE FROM tab3 WHERE col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71
----

query I rowsort label-5235
SELECT pk FROM tab3 WHERE NOT (col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71)
----

statement ok
DELETE FROM tab4 WHERE col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71
----

query I rowsort label-5235
SELECT pk FROM tab4 WHERE NOT (col0 BETWEEN 85 AND 79 OR col3 <= 12 OR ((col0 <= 61 OR col4 BETWEEN 79.86 AND 75.56 OR col3 > 2) OR col0 IN (90,2,38,14,92,2) OR (col0 >= 62 AND col3 = 3)) OR col3 > 79 AND col3 >= 45 AND col0 = 71)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,1,64.72,'mcryt',43,9.76,'mtkqf')

statement ok
INSERT INTO tab0 VALUES(1,86,36.47,'fsvtf',57,55.84,'wvggc')

statement ok
INSERT INTO tab0 VALUES(2,90,12.84,'jvxjl',79,45.90,'vaotx')

statement ok
INSERT INTO tab0 VALUES(3,89,38.13,'aahol',31,98.8,'amcbj')

statement ok
INSERT INTO tab0 VALUES(4,0,42.13,'xczsv',78,95.56,'wqxec')

statement ok
INSERT INTO tab0 VALUES(5,91,1.19,'ycarh',41,48.66,'lfzgb')

statement ok
INSERT INTO tab0 VALUES(6,92,2.38,'zngfj',14,58.0,'zlwul')

statement ok
INSERT INTO tab0 VALUES(7,8,3.63,'glwvy',71,80.58,'nfiqa')

statement ok
INSERT INTO tab0 VALUES(8,37,93.80,'fmcbw',80,86.92,'lcyiz')

statement ok
INSERT INTO tab0 VALUES(9,74,66.86,'zdtpu',18,24.20,'ilszj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0 DESC,col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 > 57)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 57)
----

query I rowsort label-5250
SELECT pk FROM tab0 WHERE NOT ((col3 > 57))
----
0
1
3
5
6
9

statement ok
DELETE FROM tab1 WHERE (col3 > 57)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 57)
----

query I rowsort label-5250
SELECT pk FROM tab1 WHERE NOT ((col3 > 57))
----
0
1
3
5
6
9

statement ok
DELETE FROM tab2 WHERE (col3 > 57)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 57)
----

query I rowsort label-5250
SELECT pk FROM tab2 WHERE NOT ((col3 > 57))
----
0
1
3
5
6
9

statement ok
DELETE FROM tab3 WHERE (col3 > 57)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 57)
----

query I rowsort label-5250
SELECT pk FROM tab3 WHERE NOT ((col3 > 57))
----
0
1
3
5
6
9

statement ok
DELETE FROM tab4 WHERE (col3 > 57)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 57)
----

query I rowsort label-5250
SELECT pk FROM tab4 WHERE NOT ((col3 > 57))
----
0
1
3
5
6
9

statement ok
DELETE FROM tab0 WHERE (col0 < 91)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 91)
----

query I rowsort label-5265
SELECT pk FROM tab0 WHERE NOT ((col0 < 91))
----
5
6

statement ok
DELETE FROM tab1 WHERE (col0 < 91)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 91)
----

query I rowsort label-5265
SELECT pk FROM tab1 WHERE NOT ((col0 < 91))
----
5
6

statement ok
DELETE FROM tab2 WHERE (col0 < 91)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 91)
----

query I rowsort label-5265
SELECT pk FROM tab2 WHERE NOT ((col0 < 91))
----
5
6

statement ok
DELETE FROM tab3 WHERE (col0 < 91)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 91)
----

query I rowsort label-5265
SELECT pk FROM tab3 WHERE NOT ((col0 < 91))
----
5
6

statement ok
DELETE FROM tab4 WHERE (col0 < 91)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 91)
----

query I rowsort label-5265
SELECT pk FROM tab4 WHERE NOT ((col0 < 91))
----
5
6

statement ok
DELETE FROM tab0 WHERE (((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80))
----

query I rowsort label-5280
SELECT pk FROM tab0 WHERE NOT ((((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80)))
----

statement ok
DELETE FROM tab1 WHERE (((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80))
----

query I rowsort label-5280
SELECT pk FROM tab1 WHERE NOT ((((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80)))
----

statement ok
DELETE FROM tab2 WHERE (((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80))
----

query I rowsort label-5280
SELECT pk FROM tab2 WHERE NOT ((((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80)))
----

statement ok
DELETE FROM tab3 WHERE (((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80))
----

query I rowsort label-5280
SELECT pk FROM tab3 WHERE NOT ((((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80)))
----

statement ok
DELETE FROM tab4 WHERE (((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80))
----

query I rowsort label-5280
SELECT pk FROM tab4 WHERE NOT ((((col0 <= 72 OR col0 < 40 OR col1 < 30.13) OR col0 IS NULL OR col3 <= 80)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,5,46.83,'hrquj',60,46.93,'sfmle')

statement ok
INSERT INTO tab0 VALUES(1,83,37.98,'isybl',6,13.62,'wdwds')

statement ok
INSERT INTO tab0 VALUES(2,94,22.2,'ankps',45,81.38,'cjacr')

statement ok
INSERT INTO tab0 VALUES(3,45,6.0,'rjcym',84,59.2,'mbhrb')

statement ok
INSERT INTO tab0 VALUES(4,43,99.76,'iugca',32,49.72,'cqfdc')

statement ok
INSERT INTO tab0 VALUES(5,4,79.11,'cqzje',15,98.16,'jzvuz')

statement ok
INSERT INTO tab0 VALUES(6,67,58.88,'ajutd',89,70.62,'znqaj')

statement ok
INSERT INTO tab0 VALUES(7,6,38.10,'oykxu',50,1.16,'imwpf')

statement ok
INSERT INTO tab0 VALUES(8,46,82.10,'fgelr',51,66.67,'gtlqe')

statement ok
INSERT INTO tab0 VALUES(9,66,69.65,'fyuti',7,40.6,'pihsj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC,col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 < 58.57

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 58.57
----

query I rowsort label-5295
SELECT pk FROM tab0 WHERE NOT (col4 < 58.57)
----
2
3
5
6
8

statement ok
DELETE FROM tab1 WHERE col4 < 58.57

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 58.57
----

query I rowsort label-5295
SELECT pk FROM tab1 WHERE NOT (col4 < 58.57)
----
2
3
5
6
8

statement ok
DELETE FROM tab2 WHERE col4 < 58.57

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 58.57
----

query I rowsort label-5295
SELECT pk FROM tab2 WHERE NOT (col4 < 58.57)
----
2
3
5
6
8

statement ok
DELETE FROM tab3 WHERE col4 < 58.57

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 58.57
----

query I rowsort label-5295
SELECT pk FROM tab3 WHERE NOT (col4 < 58.57)
----
2
3
5
6
8

statement ok
DELETE FROM tab4 WHERE col4 < 58.57

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 58.57
----

query I rowsort label-5295
SELECT pk FROM tab4 WHERE NOT (col4 < 58.57)
----
2
3
5
6
8

statement ok
DELETE FROM tab0 WHERE ((col3 <= 73))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 <= 73))
----

query I rowsort label-5310
SELECT pk FROM tab0 WHERE NOT (((col3 <= 73)))
----
3
6

statement ok
DELETE FROM tab1 WHERE ((col3 <= 73))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 <= 73))
----

query I rowsort label-5310
SELECT pk FROM tab1 WHERE NOT (((col3 <= 73)))
----
3
6

statement ok
DELETE FROM tab2 WHERE ((col3 <= 73))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 <= 73))
----

query I rowsort label-5310
SELECT pk FROM tab2 WHERE NOT (((col3 <= 73)))
----
3
6

statement ok
DELETE FROM tab3 WHERE ((col3 <= 73))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 <= 73))
----

query I rowsort label-5310
SELECT pk FROM tab3 WHERE NOT (((col3 <= 73)))
----
3
6

statement ok
DELETE FROM tab4 WHERE ((col3 <= 73))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 <= 73))
----

query I rowsort label-5310
SELECT pk FROM tab4 WHERE NOT (((col3 <= 73)))
----
3
6

statement ok
DELETE FROM tab0 WHERE col3 IN (17,89,0,51,97)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (17,89,0,51,97)
----

query I rowsort label-5325
SELECT pk FROM tab0 WHERE NOT (col3 IN (17,89,0,51,97))
----
3

statement ok
DELETE FROM tab1 WHERE col3 IN (17,89,0,51,97)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (17,89,0,51,97)
----

query I rowsort label-5325
SELECT pk FROM tab1 WHERE NOT (col3 IN (17,89,0,51,97))
----
3

statement ok
DELETE FROM tab2 WHERE col3 IN (17,89,0,51,97)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (17,89,0,51,97)
----

query I rowsort label-5325
SELECT pk FROM tab2 WHERE NOT (col3 IN (17,89,0,51,97))
----
3

statement ok
DELETE FROM tab3 WHERE col3 IN (17,89,0,51,97)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (17,89,0,51,97)
----

query I rowsort label-5325
SELECT pk FROM tab3 WHERE NOT (col3 IN (17,89,0,51,97))
----
3

statement ok
DELETE FROM tab4 WHERE col3 IN (17,89,0,51,97)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (17,89,0,51,97)
----

query I rowsort label-5325
SELECT pk FROM tab4 WHERE NOT (col3 IN (17,89,0,51,97))
----
3

statement ok
DELETE FROM tab0 WHERE col4 < 53.78

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 53.78
----

query I rowsort label-5340
SELECT pk FROM tab0 WHERE NOT (col4 < 53.78)
----
3

statement ok
DELETE FROM tab1 WHERE col4 < 53.78

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 53.78
----

query I rowsort label-5340
SELECT pk FROM tab1 WHERE NOT (col4 < 53.78)
----
3

statement ok
DELETE FROM tab2 WHERE col4 < 53.78

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 53.78
----

query I rowsort label-5340
SELECT pk FROM tab2 WHERE NOT (col4 < 53.78)
----
3

statement ok
DELETE FROM tab3 WHERE col4 < 53.78

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 53.78
----

query I rowsort label-5340
SELECT pk FROM tab3 WHERE NOT (col4 < 53.78)
----
3

statement ok
DELETE FROM tab4 WHERE col4 < 53.78

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 53.78
----

query I rowsort label-5340
SELECT pk FROM tab4 WHERE NOT (col4 < 53.78)
----
3

statement ok
DELETE FROM tab0 WHERE col1 > 22.83

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 22.83
----

query I rowsort label-5355
SELECT pk FROM tab0 WHERE NOT (col1 > 22.83)
----
3

statement ok
DELETE FROM tab1 WHERE col1 > 22.83

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 22.83
----

query I rowsort label-5355
SELECT pk FROM tab1 WHERE NOT (col1 > 22.83)
----
3

statement ok
DELETE FROM tab2 WHERE col1 > 22.83

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 22.83
----

query I rowsort label-5355
SELECT pk FROM tab2 WHERE NOT (col1 > 22.83)
----
3

statement ok
DELETE FROM tab3 WHERE col1 > 22.83

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 22.83
----

query I rowsort label-5355
SELECT pk FROM tab3 WHERE NOT (col1 > 22.83)
----
3

statement ok
DELETE FROM tab4 WHERE col1 > 22.83

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 22.83
----

query I rowsort label-5355
SELECT pk FROM tab4 WHERE NOT (col1 > 22.83)
----
3

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,40,62.76,'dizku',72,29.25,'zshkn')

statement ok
INSERT INTO tab0 VALUES(1,62,44.24,'nwohc',55,74.79,'qcfxc')

statement ok
INSERT INTO tab0 VALUES(2,35,28.64,'udwoz',8,14.86,'ayjam')

statement ok
INSERT INTO tab0 VALUES(3,50,88.9,'ivwfo',20,30.45,'ymfhh')

statement ok
INSERT INTO tab0 VALUES(4,26,26.97,'vlfjz',64,61.81,'kgffc')

statement ok
INSERT INTO tab0 VALUES(5,15,33.94,'bhudb',5,66.56,'hfkqz')

statement ok
INSERT INTO tab0 VALUES(6,22,52.11,'mvlwy',11,87.86,'azcnb')

statement ok
INSERT INTO tab0 VALUES(7,12,40.19,'sppis',73,12.48,'zvkjf')

statement ok
INSERT INTO tab0 VALUES(8,24,31.57,'lkttc',10,37.94,'kxzev')

statement ok
INSERT INTO tab0 VALUES(9,86,98.44,'ulixv',82,27.68,'ugooe')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4 DESC,col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76)
----

query I rowsort label-5370
SELECT pk FROM tab0 WHERE NOT (col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76))
----
2
7

statement ok
DELETE FROM tab1 WHERE col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76)
----

query I rowsort label-5370
SELECT pk FROM tab1 WHERE NOT (col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76))
----
2
7

statement ok
DELETE FROM tab2 WHERE col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76)
----

query I rowsort label-5370
SELECT pk FROM tab2 WHERE NOT (col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76))
----
2
7

statement ok
DELETE FROM tab3 WHERE col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76)
----

query I rowsort label-5370
SELECT pk FROM tab3 WHERE NOT (col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76))
----
2
7

statement ok
DELETE FROM tab4 WHERE col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76)
----

query I rowsort label-5370
SELECT pk FROM tab4 WHERE NOT (col4 > 23.13 OR (col0 >= 57 AND col0 <= 1 OR col3 <= 3) AND (col1 <= 2.76))
----
2
7

statement ok
DELETE FROM tab0 WHERE ((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96
----

query I rowsort label-5385
SELECT pk FROM tab0 WHERE NOT (((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96)
----
2
7

statement ok
DELETE FROM tab1 WHERE ((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96
----

query I rowsort label-5385
SELECT pk FROM tab1 WHERE NOT (((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96)
----
2
7

statement ok
DELETE FROM tab2 WHERE ((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96
----

query I rowsort label-5385
SELECT pk FROM tab2 WHERE NOT (((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96)
----
2
7

statement ok
DELETE FROM tab3 WHERE ((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96
----

query I rowsort label-5385
SELECT pk FROM tab3 WHERE NOT (((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96)
----
2
7

statement ok
DELETE FROM tab4 WHERE ((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96
----

query I rowsort label-5385
SELECT pk FROM tab4 WHERE NOT (((col3 IS NULL) AND col1 IN (86.3,84.57,52.0,85.65) AND (((col0 >= 81))) OR (col4 BETWEEN 70.89 AND 59.52)) AND col4 >= 41.53 AND col3 = 96)
----
2
7

statement ok
DELETE FROM tab0 WHERE (col1 = 21.15)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 21.15)
----

query I rowsort label-5400
SELECT pk FROM tab0 WHERE NOT ((col1 = 21.15))
----
2
7

statement ok
DELETE FROM tab1 WHERE (col1 = 21.15)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 21.15)
----

query I rowsort label-5400
SELECT pk FROM tab1 WHERE NOT ((col1 = 21.15))
----
2
7

statement ok
DELETE FROM tab2 WHERE (col1 = 21.15)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 21.15)
----

query I rowsort label-5400
SELECT pk FROM tab2 WHERE NOT ((col1 = 21.15))
----
2
7

statement ok
DELETE FROM tab3 WHERE (col1 = 21.15)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 21.15)
----

query I rowsort label-5400
SELECT pk FROM tab3 WHERE NOT ((col1 = 21.15))
----
2
7

statement ok
DELETE FROM tab4 WHERE (col1 = 21.15)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 21.15)
----

query I rowsort label-5400
SELECT pk FROM tab4 WHERE NOT ((col1 = 21.15))
----
2
7

statement ok
DELETE FROM tab0 WHERE col3 > 36

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 36
----

query I rowsort label-5415
SELECT pk FROM tab0 WHERE NOT (col3 > 36)
----
2

statement ok
DELETE FROM tab1 WHERE col3 > 36

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 36
----

query I rowsort label-5415
SELECT pk FROM tab1 WHERE NOT (col3 > 36)
----
2

statement ok
DELETE FROM tab2 WHERE col3 > 36

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 36
----

query I rowsort label-5415
SELECT pk FROM tab2 WHERE NOT (col3 > 36)
----
2

statement ok
DELETE FROM tab3 WHERE col3 > 36

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 36
----

query I rowsort label-5415
SELECT pk FROM tab3 WHERE NOT (col3 > 36)
----
2

statement ok
DELETE FROM tab4 WHERE col3 > 36

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 36
----

query I rowsort label-5415
SELECT pk FROM tab4 WHERE NOT (col3 > 36)
----
2

statement ok
DELETE FROM tab0 WHERE (col0 = 77)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 77)
----

query I rowsort label-5430
SELECT pk FROM tab0 WHERE NOT ((col0 = 77))
----
2

statement ok
DELETE FROM tab1 WHERE (col0 = 77)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 77)
----

query I rowsort label-5430
SELECT pk FROM tab1 WHERE NOT ((col0 = 77))
----
2

statement ok
DELETE FROM tab2 WHERE (col0 = 77)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 77)
----

query I rowsort label-5430
SELECT pk FROM tab2 WHERE NOT ((col0 = 77))
----
2

statement ok
DELETE FROM tab3 WHERE (col0 = 77)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 77)
----

query I rowsort label-5430
SELECT pk FROM tab3 WHERE NOT ((col0 = 77))
----
2

statement ok
DELETE FROM tab4 WHERE (col0 = 77)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 77)
----

query I rowsort label-5430
SELECT pk FROM tab4 WHERE NOT ((col0 = 77))
----
2

statement ok
DELETE FROM tab0 WHERE (col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55
----

query I rowsort label-5445
SELECT pk FROM tab0 WHERE NOT ((col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55)
----

statement ok
DELETE FROM tab1 WHERE (col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55
----

query I rowsort label-5445
SELECT pk FROM tab1 WHERE NOT ((col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55)
----

statement ok
DELETE FROM tab2 WHERE (col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55
----

query I rowsort label-5445
SELECT pk FROM tab2 WHERE NOT ((col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55)
----

statement ok
DELETE FROM tab3 WHERE (col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55
----

query I rowsort label-5445
SELECT pk FROM tab3 WHERE NOT ((col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55)
----

statement ok
DELETE FROM tab4 WHERE (col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55
----

query I rowsort label-5445
SELECT pk FROM tab4 WHERE NOT ((col3 < 35) AND col1 < 25.90 OR ((col1 >= 4.42 OR col4 IS NULL OR col0 > 74 AND col0 >= 3)) OR col1 <= 36.55)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,56,58.34,'bbuyu',79,18.76,'xagxo')

statement ok
INSERT INTO tab0 VALUES(1,10,88.98,'rflxs',17,45.27,'vvong')

statement ok
INSERT INTO tab0 VALUES(2,45,47.13,'clxbb',93,99.24,'zjoto')

statement ok
INSERT INTO tab0 VALUES(3,5,89.48,'kdhrq',72,74.15,'earax')

statement ok
INSERT INTO tab0 VALUES(4,43,49.20,'gsypm',56,55.72,'hhodp')

statement ok
INSERT INTO tab0 VALUES(5,77,66.48,'ecjzw',47,31.57,'usgww')

statement ok
INSERT INTO tab0 VALUES(6,54,84.23,'rkptr',5,8.78,'lgetw')

statement ok
INSERT INTO tab0 VALUES(7,15,73.66,'hrzif',15,22.60,'sainz')

statement ok
INSERT INTO tab0 VALUES(8,57,36.92,'qisgr',49,48.99,'wzkvv')

statement ok
INSERT INTO tab0 VALUES(9,91,26.74,'twosy',27,19.33,'yjxyl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC,col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col1,col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0,col1,col4 DESC,col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 >= 41 OR (col3 < 54))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 41 OR (col3 < 54))
----

query I rowsort label-5460
SELECT pk FROM tab0 WHERE NOT ((col3 >= 41 OR (col3 < 54)))
----

statement ok
DELETE FROM tab1 WHERE (col3 >= 41 OR (col3 < 54))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 41 OR (col3 < 54))
----

query I rowsort label-5460
SELECT pk FROM tab1 WHERE NOT ((col3 >= 41 OR (col3 < 54)))
----

statement ok
DELETE FROM tab2 WHERE (col3 >= 41 OR (col3 < 54))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 41 OR (col3 < 54))
----

query I rowsort label-5460
SELECT pk FROM tab2 WHERE NOT ((col3 >= 41 OR (col3 < 54)))
----

statement ok
DELETE FROM tab3 WHERE (col3 >= 41 OR (col3 < 54))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 41 OR (col3 < 54))
----

query I rowsort label-5460
SELECT pk FROM tab3 WHERE NOT ((col3 >= 41 OR (col3 < 54)))
----

statement ok
DELETE FROM tab4 WHERE (col3 >= 41 OR (col3 < 54))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 41 OR (col3 < 54))
----

query I rowsort label-5460
SELECT pk FROM tab4 WHERE NOT ((col3 >= 41 OR (col3 < 54)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,47,7.13,'wzjqf',1,8.60,'ulxyh')

statement ok
INSERT INTO tab0 VALUES(1,92,5.53,'nueqw',7,66.17,'fmuos')

statement ok
INSERT INTO tab0 VALUES(2,93,31.85,'ooifm',94,11.77,'fhggl')

statement ok
INSERT INTO tab0 VALUES(3,48,12.48,'klebv',32,61.99,'ndhly')

statement ok
INSERT INTO tab0 VALUES(4,98,49.51,'ejwgt',39,89.76,'yatng')

statement ok
INSERT INTO tab0 VALUES(5,43,81.95,'nxefb',93,92.41,'ywruj')

statement ok
INSERT INTO tab0 VALUES(6,44,48.76,'yuzyu',45,43.83,'kmfqf')

statement ok
INSERT INTO tab0 VALUES(7,42,51.6,'urzbe',30,62.62,'bzzsy')

statement ok
INSERT INTO tab0 VALUES(8,73,17.17,'mlgxb',85,74.16,'jqyyt')

statement ok
INSERT INTO tab0 VALUES(9,74,62.82,'kjyvp',51,75.76,'vcutj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3,col1,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77)
----

query I rowsort label-5475
SELECT pk FROM tab0 WHERE NOT (col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77))
----
2
5
8

statement ok
DELETE FROM tab1 WHERE col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77)
----

query I rowsort label-5475
SELECT pk FROM tab1 WHERE NOT (col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77))
----
2
5
8

statement ok
DELETE FROM tab2 WHERE col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77)
----

query I rowsort label-5475
SELECT pk FROM tab2 WHERE NOT (col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77))
----
2
5
8

statement ok
DELETE FROM tab3 WHERE col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77)
----

query I rowsort label-5475
SELECT pk FROM tab3 WHERE NOT (col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77))
----
2
5
8

statement ok
DELETE FROM tab4 WHERE col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77)
----

query I rowsort label-5475
SELECT pk FROM tab4 WHERE NOT (col0 IN (92,85,27,23,57) AND col4 > 52.93 OR col3 < 83 AND col0 = 46 AND (col1 IS NULL OR col0 < 97 AND (col3 > 84) AND col0 <= 72) AND (col0 <= 66) OR col3 IS NULL OR (col0 <= 20) AND ((col0 > 38)) AND col0 = 90 OR (col3 < 77))
----
2
5
8

statement ok
DELETE FROM tab0 WHERE col1 <= 62.73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 62.73
----

query I rowsort label-5490
SELECT pk FROM tab0 WHERE NOT (col1 <= 62.73)
----
5

statement ok
DELETE FROM tab1 WHERE col1 <= 62.73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 62.73
----

query I rowsort label-5490
SELECT pk FROM tab1 WHERE NOT (col1 <= 62.73)
----
5

statement ok
DELETE FROM tab2 WHERE col1 <= 62.73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 62.73
----

query I rowsort label-5490
SELECT pk FROM tab2 WHERE NOT (col1 <= 62.73)
----
5

statement ok
DELETE FROM tab3 WHERE col1 <= 62.73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 62.73
----

query I rowsort label-5490
SELECT pk FROM tab3 WHERE NOT (col1 <= 62.73)
----
5

statement ok
DELETE FROM tab4 WHERE col1 <= 62.73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 62.73
----

query I rowsort label-5490
SELECT pk FROM tab4 WHERE NOT (col1 <= 62.73)
----
5

statement ok
DELETE FROM tab0 WHERE col4 < 21.48 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 21.48 OR col1 IS NULL
----

query I rowsort label-5505
SELECT pk FROM tab0 WHERE NOT (col4 < 21.48 OR col1 IS NULL)
----
5

statement ok
DELETE FROM tab1 WHERE col4 < 21.48 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 21.48 OR col1 IS NULL
----

query I rowsort label-5505
SELECT pk FROM tab1 WHERE NOT (col4 < 21.48 OR col1 IS NULL)
----
5

statement ok
DELETE FROM tab2 WHERE col4 < 21.48 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 21.48 OR col1 IS NULL
----

query I rowsort label-5505
SELECT pk FROM tab2 WHERE NOT (col4 < 21.48 OR col1 IS NULL)
----
5

statement ok
DELETE FROM tab3 WHERE col4 < 21.48 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 21.48 OR col1 IS NULL
----

query I rowsort label-5505
SELECT pk FROM tab3 WHERE NOT (col4 < 21.48 OR col1 IS NULL)
----
5

statement ok
DELETE FROM tab4 WHERE col4 < 21.48 OR col1 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 21.48 OR col1 IS NULL
----

query I rowsort label-5505
SELECT pk FROM tab4 WHERE NOT (col4 < 21.48 OR col1 IS NULL)
----
5

statement ok
DELETE FROM tab0 WHERE (((col1 <= 50.59))) AND col3 >= 1

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 <= 50.59))) AND col3 >= 1
----

query I rowsort label-5520
SELECT pk FROM tab0 WHERE NOT ((((col1 <= 50.59))) AND col3 >= 1)
----
5

statement ok
DELETE FROM tab1 WHERE (((col1 <= 50.59))) AND col3 >= 1

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 <= 50.59))) AND col3 >= 1
----

query I rowsort label-5520
SELECT pk FROM tab1 WHERE NOT ((((col1 <= 50.59))) AND col3 >= 1)
----
5

statement ok
DELETE FROM tab2 WHERE (((col1 <= 50.59))) AND col3 >= 1

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 <= 50.59))) AND col3 >= 1
----

query I rowsort label-5520
SELECT pk FROM tab2 WHERE NOT ((((col1 <= 50.59))) AND col3 >= 1)
----
5

statement ok
DELETE FROM tab3 WHERE (((col1 <= 50.59))) AND col3 >= 1

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 <= 50.59))) AND col3 >= 1
----

query I rowsort label-5520
SELECT pk FROM tab3 WHERE NOT ((((col1 <= 50.59))) AND col3 >= 1)
----
5

statement ok
DELETE FROM tab4 WHERE (((col1 <= 50.59))) AND col3 >= 1

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 <= 50.59))) AND col3 >= 1
----

query I rowsort label-5520
SELECT pk FROM tab4 WHERE NOT ((((col1 <= 50.59))) AND col3 >= 1)
----
5

statement ok
DELETE FROM tab0 WHERE col4 BETWEEN 62.55 AND 92.76

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 BETWEEN 62.55 AND 92.76
----

query I rowsort label-5535
SELECT pk FROM tab0 WHERE NOT (col4 BETWEEN 62.55 AND 92.76)
----

statement ok
DELETE FROM tab1 WHERE col4 BETWEEN 62.55 AND 92.76

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 BETWEEN 62.55 AND 92.76
----

query I rowsort label-5535
SELECT pk FROM tab1 WHERE NOT (col4 BETWEEN 62.55 AND 92.76)
----

statement ok
DELETE FROM tab2 WHERE col4 BETWEEN 62.55 AND 92.76

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 BETWEEN 62.55 AND 92.76
----

query I rowsort label-5535
SELECT pk FROM tab2 WHERE NOT (col4 BETWEEN 62.55 AND 92.76)
----

statement ok
DELETE FROM tab3 WHERE col4 BETWEEN 62.55 AND 92.76

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 BETWEEN 62.55 AND 92.76
----

query I rowsort label-5535
SELECT pk FROM tab3 WHERE NOT (col4 BETWEEN 62.55 AND 92.76)
----

statement ok
DELETE FROM tab4 WHERE col4 BETWEEN 62.55 AND 92.76

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 BETWEEN 62.55 AND 92.76
----

query I rowsort label-5535
SELECT pk FROM tab4 WHERE NOT (col4 BETWEEN 62.55 AND 92.76)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,57,85.37,'ubjue',8,9.85,'ghvqo')

statement ok
INSERT INTO tab0 VALUES(1,43,26.87,'ghhhg',46,15.1,'drcdo')

statement ok
INSERT INTO tab0 VALUES(2,72,9.38,'hrfen',90,63.54,'mdrvm')

statement ok
INSERT INTO tab0 VALUES(3,88,33.10,'wprkx',43,73.99,'goode')

statement ok
INSERT INTO tab0 VALUES(4,56,31.25,'tysrr',39,77.55,'ildqx')

statement ok
INSERT INTO tab0 VALUES(5,77,27.25,'iilgv',49,83.15,'myred')

statement ok
INSERT INTO tab0 VALUES(6,1,99.83,'warjx',1,37.59,'wczae')

statement ok
INSERT INTO tab0 VALUES(7,37,51.13,'nfqbp',91,84.66,'qubyq')

statement ok
INSERT INTO tab0 VALUES(8,67,63.87,'pejoh',92,30.28,'pbojj')

statement ok
INSERT INTO tab0 VALUES(9,58,61.43,'ngsjs',64,12.58,'udsnr')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((col4 = 7.76))) AND col3 < 87

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 = 7.76))) AND col3 < 87
----

query I rowsort label-5550
SELECT pk FROM tab0 WHERE NOT ((((col4 = 7.76))) AND col3 < 87)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (((col4 = 7.76))) AND col3 < 87

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 = 7.76))) AND col3 < 87
----

query I rowsort label-5550
SELECT pk FROM tab1 WHERE NOT ((((col4 = 7.76))) AND col3 < 87)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (((col4 = 7.76))) AND col3 < 87

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 = 7.76))) AND col3 < 87
----

query I rowsort label-5550
SELECT pk FROM tab2 WHERE NOT ((((col4 = 7.76))) AND col3 < 87)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (((col4 = 7.76))) AND col3 < 87

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 = 7.76))) AND col3 < 87
----

query I rowsort label-5550
SELECT pk FROM tab3 WHERE NOT ((((col4 = 7.76))) AND col3 < 87)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (((col4 = 7.76))) AND col3 < 87

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 = 7.76))) AND col3 < 87
----

query I rowsort label-5550
SELECT pk FROM tab4 WHERE NOT ((((col4 = 7.76))) AND col3 < 87)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 IN (97,81,21)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (97,81,21)
----

query I rowsort label-5565
SELECT pk FROM tab0 WHERE NOT (col3 IN (97,81,21))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 IN (97,81,21)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (97,81,21)
----

query I rowsort label-5565
SELECT pk FROM tab1 WHERE NOT (col3 IN (97,81,21))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 IN (97,81,21)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (97,81,21)
----

query I rowsort label-5565
SELECT pk FROM tab2 WHERE NOT (col3 IN (97,81,21))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 IN (97,81,21)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (97,81,21)
----

query I rowsort label-5565
SELECT pk FROM tab3 WHERE NOT (col3 IN (97,81,21))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 IN (97,81,21)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (97,81,21)
----

query I rowsort label-5565
SELECT pk FROM tab4 WHERE NOT (col3 IN (97,81,21))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86)))
----

query I rowsort label-5580
SELECT pk FROM tab0 WHERE NOT (col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86))))
----
0
1
3
4
5
6
9

statement ok
DELETE FROM tab1 WHERE col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86)))
----

query I rowsort label-5580
SELECT pk FROM tab1 WHERE NOT (col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86))))
----
0
1
3
4
5
6
9

statement ok
DELETE FROM tab2 WHERE col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86)))
----

query I rowsort label-5580
SELECT pk FROM tab2 WHERE NOT (col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86))))
----
0
1
3
4
5
6
9

statement ok
DELETE FROM tab3 WHERE col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86)))
----

query I rowsort label-5580
SELECT pk FROM tab3 WHERE NOT (col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86))))
----
0
1
3
4
5
6
9

statement ok
DELETE FROM tab4 WHERE col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86)))
----

query I rowsort label-5580
SELECT pk FROM tab4 WHERE NOT (col3 > 86 AND (((col0 < 39 OR col4 IS NULL OR col4 BETWEEN 12.99 AND 85.86))))
----
0
1
3
4
5
6
9

statement ok
DELETE FROM tab0 WHERE col4 <= 35.51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 35.51
----

query I rowsort label-5595
SELECT pk FROM tab0 WHERE NOT (col4 <= 35.51)
----
3
4
5
6

statement ok
DELETE FROM tab1 WHERE col4 <= 35.51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 35.51
----

query I rowsort label-5595
SELECT pk FROM tab1 WHERE NOT (col4 <= 35.51)
----
3
4
5
6

statement ok
DELETE FROM tab2 WHERE col4 <= 35.51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 35.51
----

query I rowsort label-5595
SELECT pk FROM tab2 WHERE NOT (col4 <= 35.51)
----
3
4
5
6

statement ok
DELETE FROM tab3 WHERE col4 <= 35.51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 35.51
----

query I rowsort label-5595
SELECT pk FROM tab3 WHERE NOT (col4 <= 35.51)
----
3
4
5
6

statement ok
DELETE FROM tab4 WHERE col4 <= 35.51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 35.51
----

query I rowsort label-5595
SELECT pk FROM tab4 WHERE NOT (col4 <= 35.51)
----
3
4
5
6

statement ok
DELETE FROM tab0 WHERE col4 > 26.46 OR col3 < 92

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 26.46 OR col3 < 92
----

query I rowsort label-5610
SELECT pk FROM tab0 WHERE NOT (col4 > 26.46 OR col3 < 92)
----

statement ok
DELETE FROM tab1 WHERE col4 > 26.46 OR col3 < 92

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 26.46 OR col3 < 92
----

query I rowsort label-5610
SELECT pk FROM tab1 WHERE NOT (col4 > 26.46 OR col3 < 92)
----

statement ok
DELETE FROM tab2 WHERE col4 > 26.46 OR col3 < 92

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 26.46 OR col3 < 92
----

query I rowsort label-5610
SELECT pk FROM tab2 WHERE NOT (col4 > 26.46 OR col3 < 92)
----

statement ok
DELETE FROM tab3 WHERE col4 > 26.46 OR col3 < 92

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 26.46 OR col3 < 92
----

query I rowsort label-5610
SELECT pk FROM tab3 WHERE NOT (col4 > 26.46 OR col3 < 92)
----

statement ok
DELETE FROM tab4 WHERE col4 > 26.46 OR col3 < 92

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 26.46 OR col3 < 92
----

query I rowsort label-5610
SELECT pk FROM tab4 WHERE NOT (col4 > 26.46 OR col3 < 92)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,5,12.60,'oqmud',92,53.24,'hunut')

statement ok
INSERT INTO tab0 VALUES(1,96,21.30,'euckm',89,54.16,'pwlum')

statement ok
INSERT INTO tab0 VALUES(2,25,99.98,'hksvx',78,12.80,'weuvl')

statement ok
INSERT INTO tab0 VALUES(3,36,67.32,'rztmk',63,72.29,'mhsmi')

statement ok
INSERT INTO tab0 VALUES(4,21,4.47,'sbrzi',53,57.30,'gmona')

statement ok
INSERT INTO tab0 VALUES(5,34,97.13,'ahljz',76,37.11,'bqpdc')

statement ok
INSERT INTO tab0 VALUES(6,4,15.70,'erecf',90,92.78,'npncq')

statement ok
INSERT INTO tab0 VALUES(7,47,62.41,'hovgc',95,70.24,'qadwp')

statement ok
INSERT INTO tab0 VALUES(8,79,47.45,'pvvpm',51,55.44,'itapp')

statement ok
INSERT INTO tab0 VALUES(9,26,41.5,'eamwr',81,20.45,'ewcno')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3 DESC,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0,col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,26,85.15,'xsunm',63,35.1,'lvvlk')

statement ok
INSERT INTO tab0 VALUES(1,44,5.88,'wqdsu',67,73.26,'aqoyb')

statement ok
INSERT INTO tab0 VALUES(2,82,69.74,'qdkvu',36,49.80,'wvgks')

statement ok
INSERT INTO tab0 VALUES(3,28,25.79,'ljtmx',74,69.99,'ibsmc')

statement ok
INSERT INTO tab0 VALUES(4,90,66.82,'ivhee',84,41.17,'tdfjr')

statement ok
INSERT INTO tab0 VALUES(5,58,40.90,'jahgn',32,80.36,'noshu')

statement ok
INSERT INTO tab0 VALUES(6,65,61.12,'wadmt',8,30.81,'fkyas')

statement ok
INSERT INTO tab0 VALUES(7,51,26.9,'hcroq',93,70.70,'upnvw')

statement ok
INSERT INTO tab0 VALUES(8,23,27.67,'ojbse',14,27.69,'qvcuv')

statement ok
INSERT INTO tab0 VALUES(9,24,56.53,'zmfns',15,93.61,'qckmq')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,44,55.14,'scuju',76,31.64,'vaguz')

statement ok
INSERT INTO tab0 VALUES(1,51,57.91,'ymkqq',27,47.1,'ocbld')

statement ok
INSERT INTO tab0 VALUES(2,28,72.33,'tzjzp',40,82.10,'svyqc')

statement ok
INSERT INTO tab0 VALUES(3,70,33.46,'nahfb',60,32.22,'vzion')

statement ok
INSERT INTO tab0 VALUES(4,73,86.18,'chzop',35,77.9,'ioveh')

statement ok
INSERT INTO tab0 VALUES(5,42,40.29,'qucqf',31,52.89,'feppi')

statement ok
INSERT INTO tab0 VALUES(6,6,41.65,'bbvrg',41,0.42,'nweyb')

statement ok
INSERT INTO tab0 VALUES(7,29,23.29,'whjrx',3,42.25,'emwuc')

statement ok
INSERT INTO tab0 VALUES(8,21,82.57,'llqiv',6,34.79,'kprzu')

statement ok
INSERT INTO tab0 VALUES(9,55,30.27,'ahamv',7,37.46,'nurwz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 <= 49.97

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 49.97
----

query I rowsort label-5625
SELECT pk FROM tab0 WHERE NOT (col4 <= 49.97)
----
2
4
5

statement ok
DELETE FROM tab1 WHERE col4 <= 49.97

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 49.97
----

query I rowsort label-5625
SELECT pk FROM tab1 WHERE NOT (col4 <= 49.97)
----
2
4
5

statement ok
DELETE FROM tab2 WHERE col4 <= 49.97

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 49.97
----

query I rowsort label-5625
SELECT pk FROM tab2 WHERE NOT (col4 <= 49.97)
----
2
4
5

statement ok
DELETE FROM tab3 WHERE col4 <= 49.97

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 49.97
----

query I rowsort label-5625
SELECT pk FROM tab3 WHERE NOT (col4 <= 49.97)
----
2
4
5

statement ok
DELETE FROM tab4 WHERE col4 <= 49.97

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 49.97
----

query I rowsort label-5625
SELECT pk FROM tab4 WHERE NOT (col4 <= 49.97)
----
2
4
5

statement ok
DELETE FROM tab0 WHERE ((col0 > 79) AND col3 <= 68)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 79) AND col3 <= 68)
----

query I rowsort label-5640
SELECT pk FROM tab0 WHERE NOT (((col0 > 79) AND col3 <= 68))
----
2
4
5

statement ok
DELETE FROM tab1 WHERE ((col0 > 79) AND col3 <= 68)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 79) AND col3 <= 68)
----

query I rowsort label-5640
SELECT pk FROM tab1 WHERE NOT (((col0 > 79) AND col3 <= 68))
----
2
4
5

statement ok
DELETE FROM tab2 WHERE ((col0 > 79) AND col3 <= 68)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 79) AND col3 <= 68)
----

query I rowsort label-5640
SELECT pk FROM tab2 WHERE NOT (((col0 > 79) AND col3 <= 68))
----
2
4
5

statement ok
DELETE FROM tab3 WHERE ((col0 > 79) AND col3 <= 68)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 79) AND col3 <= 68)
----

query I rowsort label-5640
SELECT pk FROM tab3 WHERE NOT (((col0 > 79) AND col3 <= 68))
----
2
4
5

statement ok
DELETE FROM tab4 WHERE ((col0 > 79) AND col3 <= 68)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 79) AND col3 <= 68)
----

query I rowsort label-5640
SELECT pk FROM tab4 WHERE NOT (((col0 > 79) AND col3 <= 68))
----
2
4
5

statement ok
DELETE FROM tab0 WHERE (col1 >= 61.48) AND (((col1 = 54.13)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 61.48) AND (((col1 = 54.13)))
----

query I rowsort label-5655
SELECT pk FROM tab0 WHERE NOT ((col1 >= 61.48) AND (((col1 = 54.13))))
----
2
4
5

statement ok
DELETE FROM tab1 WHERE (col1 >= 61.48) AND (((col1 = 54.13)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 61.48) AND (((col1 = 54.13)))
----

query I rowsort label-5655
SELECT pk FROM tab1 WHERE NOT ((col1 >= 61.48) AND (((col1 = 54.13))))
----
2
4
5

statement ok
DELETE FROM tab2 WHERE (col1 >= 61.48) AND (((col1 = 54.13)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 61.48) AND (((col1 = 54.13)))
----

query I rowsort label-5655
SELECT pk FROM tab2 WHERE NOT ((col1 >= 61.48) AND (((col1 = 54.13))))
----
2
4
5

statement ok
DELETE FROM tab3 WHERE (col1 >= 61.48) AND (((col1 = 54.13)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 61.48) AND (((col1 = 54.13)))
----

query I rowsort label-5655
SELECT pk FROM tab3 WHERE NOT ((col1 >= 61.48) AND (((col1 = 54.13))))
----
2
4
5

statement ok
DELETE FROM tab4 WHERE (col1 >= 61.48) AND (((col1 = 54.13)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 61.48) AND (((col1 = 54.13)))
----

query I rowsort label-5655
SELECT pk FROM tab4 WHERE NOT ((col1 >= 61.48) AND (((col1 = 54.13))))
----
2
4
5

statement ok
DELETE FROM tab0 WHERE (col3 > 0) AND col4 > 51.91

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 0) AND col4 > 51.91
----

query I rowsort label-5670
SELECT pk FROM tab0 WHERE NOT ((col3 > 0) AND col4 > 51.91)
----

statement ok
DELETE FROM tab1 WHERE (col3 > 0) AND col4 > 51.91

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 0) AND col4 > 51.91
----

query I rowsort label-5670
SELECT pk FROM tab1 WHERE NOT ((col3 > 0) AND col4 > 51.91)
----

statement ok
DELETE FROM tab2 WHERE (col3 > 0) AND col4 > 51.91

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 0) AND col4 > 51.91
----

query I rowsort label-5670
SELECT pk FROM tab2 WHERE NOT ((col3 > 0) AND col4 > 51.91)
----

statement ok
DELETE FROM tab3 WHERE (col3 > 0) AND col4 > 51.91

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 0) AND col4 > 51.91
----

query I rowsort label-5670
SELECT pk FROM tab3 WHERE NOT ((col3 > 0) AND col4 > 51.91)
----

statement ok
DELETE FROM tab4 WHERE (col3 > 0) AND col4 > 51.91

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 0) AND col4 > 51.91
----

query I rowsort label-5670
SELECT pk FROM tab4 WHERE NOT ((col3 > 0) AND col4 > 51.91)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,5,79.13,'pstim',6,35.72,'vnvzs')

statement ok
INSERT INTO tab0 VALUES(1,23,8.55,'gwoot',97,13.93,'pfrbl')

statement ok
INSERT INTO tab0 VALUES(2,69,28.39,'oqzut',83,94.79,'pafza')

statement ok
INSERT INTO tab0 VALUES(3,43,21.90,'wbils',45,19.77,'mwuqd')

statement ok
INSERT INTO tab0 VALUES(4,58,26.54,'ubzgc',81,67.9,'qswtd')

statement ok
INSERT INTO tab0 VALUES(5,52,6.10,'zpkgh',23,24.90,'qoqbo')

statement ok
INSERT INTO tab0 VALUES(6,1,7.84,'tvkzd',47,39.36,'asofv')

statement ok
INSERT INTO tab0 VALUES(7,36,22.61,'meaqr',86,90.78,'wtcds')

statement ok
INSERT INTO tab0 VALUES(8,46,55.96,'qmycr',43,47.74,'nvead')

statement ok
INSERT INTO tab0 VALUES(9,0,81.30,'zdjej',5,30.24,'zqant')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3,col0 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4,col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 > 53 AND col3 BETWEEN 38 AND 19

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 53 AND col3 BETWEEN 38 AND 19
----

query I rowsort label-5685
SELECT pk FROM tab0 WHERE NOT (col3 > 53 AND col3 BETWEEN 38 AND 19)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 > 53 AND col3 BETWEEN 38 AND 19

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 53 AND col3 BETWEEN 38 AND 19
----

query I rowsort label-5685
SELECT pk FROM tab1 WHERE NOT (col3 > 53 AND col3 BETWEEN 38 AND 19)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 > 53 AND col3 BETWEEN 38 AND 19

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 53 AND col3 BETWEEN 38 AND 19
----

query I rowsort label-5685
SELECT pk FROM tab2 WHERE NOT (col3 > 53 AND col3 BETWEEN 38 AND 19)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 > 53 AND col3 BETWEEN 38 AND 19

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 53 AND col3 BETWEEN 38 AND 19
----

query I rowsort label-5685
SELECT pk FROM tab3 WHERE NOT (col3 > 53 AND col3 BETWEEN 38 AND 19)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 > 53 AND col3 BETWEEN 38 AND 19

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 53 AND col3 BETWEEN 38 AND 19
----

query I rowsort label-5685
SELECT pk FROM tab4 WHERE NOT (col3 > 53 AND col3 BETWEEN 38 AND 19)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 >= 18.82 AND col4 <= 19.5

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 18.82 AND col4 <= 19.5
----

query I rowsort label-5700
SELECT pk FROM tab0 WHERE NOT (col4 >= 18.82 AND col4 <= 19.5)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 >= 18.82 AND col4 <= 19.5

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 18.82 AND col4 <= 19.5
----

query I rowsort label-5700
SELECT pk FROM tab1 WHERE NOT (col4 >= 18.82 AND col4 <= 19.5)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 >= 18.82 AND col4 <= 19.5

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 18.82 AND col4 <= 19.5
----

query I rowsort label-5700
SELECT pk FROM tab2 WHERE NOT (col4 >= 18.82 AND col4 <= 19.5)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 >= 18.82 AND col4 <= 19.5

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 18.82 AND col4 <= 19.5
----

query I rowsort label-5700
SELECT pk FROM tab3 WHERE NOT (col4 >= 18.82 AND col4 <= 19.5)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 >= 18.82 AND col4 <= 19.5

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 18.82 AND col4 <= 19.5
----

query I rowsort label-5700
SELECT pk FROM tab4 WHERE NOT (col4 >= 18.82 AND col4 <= 19.5)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 > 70

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 70
----

query I rowsort label-5715
SELECT pk FROM tab0 WHERE NOT (col3 > 70)
----
0
3
5
6
8
9

statement ok
DELETE FROM tab1 WHERE col3 > 70

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 70
----

query I rowsort label-5715
SELECT pk FROM tab1 WHERE NOT (col3 > 70)
----
0
3
5
6
8
9

statement ok
DELETE FROM tab2 WHERE col3 > 70

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 70
----

query I rowsort label-5715
SELECT pk FROM tab2 WHERE NOT (col3 > 70)
----
0
3
5
6
8
9

statement ok
DELETE FROM tab3 WHERE col3 > 70

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 70
----

query I rowsort label-5715
SELECT pk FROM tab3 WHERE NOT (col3 > 70)
----
0
3
5
6
8
9

statement ok
DELETE FROM tab4 WHERE col3 > 70

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 70
----

query I rowsort label-5715
SELECT pk FROM tab4 WHERE NOT (col3 > 70)
----
0
3
5
6
8
9

statement ok
DELETE FROM tab0 WHERE (col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35))
----

query I rowsort label-5730
SELECT pk FROM tab0 WHERE NOT ((col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35)))
----
0
3
5
6
8
9

statement ok
DELETE FROM tab1 WHERE (col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35))
----

query I rowsort label-5730
SELECT pk FROM tab1 WHERE NOT ((col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35)))
----
0
3
5
6
8
9

statement ok
DELETE FROM tab2 WHERE (col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35))
----

query I rowsort label-5730
SELECT pk FROM tab2 WHERE NOT ((col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35)))
----
0
3
5
6
8
9

statement ok
DELETE FROM tab3 WHERE (col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35))
----

query I rowsort label-5730
SELECT pk FROM tab3 WHERE NOT ((col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35)))
----
0
3
5
6
8
9

statement ok
DELETE FROM tab4 WHERE (col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35))
----

query I rowsort label-5730
SELECT pk FROM tab4 WHERE NOT ((col0 = 52 AND (col0 = 98) OR col0 >= 56 AND col0 > 82 AND (col3 > 35)))
----
0
3
5
6
8
9

statement ok
DELETE FROM tab0 WHERE ((col4 < 89.48))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 < 89.48))
----

query I rowsort label-5745
SELECT pk FROM tab0 WHERE NOT (((col4 < 89.48)))
----

statement ok
DELETE FROM tab1 WHERE ((col4 < 89.48))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 < 89.48))
----

query I rowsort label-5745
SELECT pk FROM tab1 WHERE NOT (((col4 < 89.48)))
----

statement ok
DELETE FROM tab2 WHERE ((col4 < 89.48))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 < 89.48))
----

query I rowsort label-5745
SELECT pk FROM tab2 WHERE NOT (((col4 < 89.48)))
----

statement ok
DELETE FROM tab3 WHERE ((col4 < 89.48))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 < 89.48))
----

query I rowsort label-5745
SELECT pk FROM tab3 WHERE NOT (((col4 < 89.48)))
----

statement ok
DELETE FROM tab4 WHERE ((col4 < 89.48))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 < 89.48))
----

query I rowsort label-5745
SELECT pk FROM tab4 WHERE NOT (((col4 < 89.48)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,68,91.14,'xcbir',43,85.75,'padqs')

statement ok
INSERT INTO tab0 VALUES(1,49,23.15,'gxydu',81,18.87,'nnqnz')

statement ok
INSERT INTO tab0 VALUES(2,52,46.16,'xjqoj',15,78.14,'oupsc')

statement ok
INSERT INTO tab0 VALUES(3,98,66.2,'hnfzs',56,1.55,'ohoyg')

statement ok
INSERT INTO tab0 VALUES(4,29,25.52,'vibsh',17,12.40,'phafy')

statement ok
INSERT INTO tab0 VALUES(5,69,8.11,'ddbnd',78,36.91,'whqid')

statement ok
INSERT INTO tab0 VALUES(6,94,61.44,'eouku',47,19.84,'atcnn')

statement ok
INSERT INTO tab0 VALUES(7,85,2.4,'fvmbo',21,25.14,'drmdm')

statement ok
INSERT INTO tab0 VALUES(8,97,30.93,'eqhon',54,69.54,'xjiei')

statement ok
INSERT INTO tab0 VALUES(9,21,43.22,'prjbs',13,11.21,'suqbj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0,col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,87,51.30,'yyrif',87,14.91,'rbkxw')

statement ok
INSERT INTO tab0 VALUES(1,11,87.77,'pcxtg',31,64.92,'yrhfm')

statement ok
INSERT INTO tab0 VALUES(2,14,59.42,'hsftf',28,3.47,'pwyiw')

statement ok
INSERT INTO tab0 VALUES(3,51,95.75,'rilsr',6,29.86,'tqtvd')

statement ok
INSERT INTO tab0 VALUES(4,94,68.82,'uodrc',47,95.81,'niytt')

statement ok
INSERT INTO tab0 VALUES(5,95,13.89,'asudv',39,20.1,'yltht')

statement ok
INSERT INTO tab0 VALUES(6,47,36.1,'imwki',48,2.81,'dyklw')

statement ok
INSERT INTO tab0 VALUES(7,52,31.70,'ilxog',74,32.78,'nekqm')

statement ok
INSERT INTO tab0 VALUES(8,75,88.51,'mtuur',15,4.39,'ximgz')

statement ok
INSERT INTO tab0 VALUES(9,13,7.72,'euuca',32,25.59,'nexkt')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 IN (90.76,25.99,99.26,77.40,70.84,76.22)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (90.76,25.99,99.26,77.40,70.84,76.22)
----

query I rowsort label-5760
SELECT pk FROM tab0 WHERE NOT (col4 IN (90.76,25.99,99.26,77.40,70.84,76.22))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 IN (90.76,25.99,99.26,77.40,70.84,76.22)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (90.76,25.99,99.26,77.40,70.84,76.22)
----

query I rowsort label-5760
SELECT pk FROM tab1 WHERE NOT (col4 IN (90.76,25.99,99.26,77.40,70.84,76.22))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 IN (90.76,25.99,99.26,77.40,70.84,76.22)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (90.76,25.99,99.26,77.40,70.84,76.22)
----

query I rowsort label-5760
SELECT pk FROM tab2 WHERE NOT (col4 IN (90.76,25.99,99.26,77.40,70.84,76.22))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 IN (90.76,25.99,99.26,77.40,70.84,76.22)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (90.76,25.99,99.26,77.40,70.84,76.22)
----

query I rowsort label-5760
SELECT pk FROM tab3 WHERE NOT (col4 IN (90.76,25.99,99.26,77.40,70.84,76.22))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 IN (90.76,25.99,99.26,77.40,70.84,76.22)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (90.76,25.99,99.26,77.40,70.84,76.22)
----

query I rowsort label-5760
SELECT pk FROM tab4 WHERE NOT (col4 IN (90.76,25.99,99.26,77.40,70.84,76.22))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 < 34

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 34
----

query I rowsort label-5775
SELECT pk FROM tab0 WHERE NOT (col3 < 34)
----
0
4
5
6
7

statement ok
DELETE FROM tab1 WHERE col3 < 34

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 34
----

query I rowsort label-5775
SELECT pk FROM tab1 WHERE NOT (col3 < 34)
----
0
4
5
6
7

statement ok
DELETE FROM tab2 WHERE col3 < 34

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 34
----

query I rowsort label-5775
SELECT pk FROM tab2 WHERE NOT (col3 < 34)
----
0
4
5
6
7

statement ok
DELETE FROM tab3 WHERE col3 < 34

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 34
----

query I rowsort label-5775
SELECT pk FROM tab3 WHERE NOT (col3 < 34)
----
0
4
5
6
7

statement ok
DELETE FROM tab4 WHERE col3 < 34

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 34
----

query I rowsort label-5775
SELECT pk FROM tab4 WHERE NOT (col3 < 34)
----
0
4
5
6
7

statement ok
DELETE FROM tab0 WHERE (((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49))
----

query I rowsort label-5790
SELECT pk FROM tab0 WHERE NOT ((((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49)))
----
0
4
5
6
7

statement ok
DELETE FROM tab1 WHERE (((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49))
----

query I rowsort label-5790
SELECT pk FROM tab1 WHERE NOT ((((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49)))
----
0
4
5
6
7

statement ok
DELETE FROM tab2 WHERE (((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49))
----

query I rowsort label-5790
SELECT pk FROM tab2 WHERE NOT ((((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49)))
----
0
4
5
6
7

statement ok
DELETE FROM tab3 WHERE (((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49))
----

query I rowsort label-5790
SELECT pk FROM tab3 WHERE NOT ((((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49)))
----
0
4
5
6
7

statement ok
DELETE FROM tab4 WHERE (((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49))
----

query I rowsort label-5790
SELECT pk FROM tab4 WHERE NOT ((((col0 IN (16,15,39,6,33) OR col4 IN (32.19,3.19,61.71,71.86,67.96)) OR (col3 = 75) AND col0 >= 49)))
----
0
4
5
6
7

statement ok
DELETE FROM tab0 WHERE ((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36)
----

query I rowsort label-5805
SELECT pk FROM tab0 WHERE NOT (((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36))
----
0
4
5
6
7

statement ok
DELETE FROM tab1 WHERE ((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36)
----

query I rowsort label-5805
SELECT pk FROM tab1 WHERE NOT (((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36))
----
0
4
5
6
7

statement ok
DELETE FROM tab2 WHERE ((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36)
----

query I rowsort label-5805
SELECT pk FROM tab2 WHERE NOT (((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36))
----
0
4
5
6
7

statement ok
DELETE FROM tab3 WHERE ((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36)
----

query I rowsort label-5805
SELECT pk FROM tab3 WHERE NOT (((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36))
----
0
4
5
6
7

statement ok
DELETE FROM tab4 WHERE ((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36)
----

query I rowsort label-5805
SELECT pk FROM tab4 WHERE NOT (((col0 < 52) AND (col3 >= 10) AND col0 IS NULL) AND (col0 > 36))
----
0
4
5
6
7

statement ok
DELETE FROM tab0 WHERE (col1 < 48.21)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 48.21)
----

query I rowsort label-5820
SELECT pk FROM tab0 WHERE NOT ((col1 < 48.21))
----
0
4

statement ok
DELETE FROM tab1 WHERE (col1 < 48.21)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 48.21)
----

query I rowsort label-5820
SELECT pk FROM tab1 WHERE NOT ((col1 < 48.21))
----
0
4

statement ok
DELETE FROM tab2 WHERE (col1 < 48.21)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 48.21)
----

query I rowsort label-5820
SELECT pk FROM tab2 WHERE NOT ((col1 < 48.21))
----
0
4

statement ok
DELETE FROM tab3 WHERE (col1 < 48.21)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 48.21)
----

query I rowsort label-5820
SELECT pk FROM tab3 WHERE NOT ((col1 < 48.21))
----
0
4

statement ok
DELETE FROM tab4 WHERE (col1 < 48.21)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 48.21)
----

query I rowsort label-5820
SELECT pk FROM tab4 WHERE NOT ((col1 < 48.21))
----
0
4

