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,97,73.40,'kiobq',69,30.49,'qfqlg')

statement ok
INSERT INTO tab0 VALUES(1,94,43.66,'cghva',20,88.85,'bglor')

statement ok
INSERT INTO tab0 VALUES(2,5,32.1,'zyklq',82,19.37,'mfbgp')

statement ok
INSERT INTO tab0 VALUES(3,51,16.0,'znrfz',64,35.40,'nlgrv')

statement ok
INSERT INTO tab0 VALUES(4,43,1.23,'zhvzm',95,91.17,'exxjr')

statement ok
INSERT INTO tab0 VALUES(5,46,37.93,'ypyzn',88,89.36,'zyedz')

statement ok
INSERT INTO tab0 VALUES(6,37,34.66,'xgilw',1,94.76,'iprln')

statement ok
INSERT INTO tab0 VALUES(7,69,69.83,'fhwbj',0,51.87,'hlnft')

statement ok
INSERT INTO tab0 VALUES(8,36,2.44,'qnatm',21,90.54,'bfnhf')

statement ok
INSERT INTO tab0 VALUES(9,34,89.60,'ifzgd',34,44.58,'tihdo')

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 (col1 DESC,col4 DESC)

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

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

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

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 UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4,col0 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 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_2 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 >= 50

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

query I rowsort label-0
SELECT pk FROM tab0 WHERE NOT (col0 >= 50)
----
2
4
5
6
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-0
SELECT pk FROM tab1 WHERE NOT (col0 >= 50)
----
2
4
5
6
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-0
SELECT pk FROM tab2 WHERE NOT (col0 >= 50)
----
2
4
5
6
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-0
SELECT pk FROM tab3 WHERE NOT (col0 >= 50)
----
2
4
5
6
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-0
SELECT pk FROM tab4 WHERE NOT (col0 >= 50)
----
2
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE (col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79
----

query I rowsort label-15
SELECT pk FROM tab0 WHERE NOT ((col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79)
----
2
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE (col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79
----

query I rowsort label-15
SELECT pk FROM tab1 WHERE NOT ((col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79)
----
2
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE (col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79
----

query I rowsort label-15
SELECT pk FROM tab2 WHERE NOT ((col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79)
----
2
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE (col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79
----

query I rowsort label-15
SELECT pk FROM tab3 WHERE NOT ((col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79)
----
2
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE (col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79
----

query I rowsort label-15
SELECT pk FROM tab4 WHERE NOT ((col3 <= 11 AND col4 < 50.89) AND (col0 > 88 OR col1 BETWEEN 32.34 AND 42.23 OR ((col0 > 9))) OR col0 = 79)
----
2
4
5
6
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,11,4.10,'efuij',65,13.76,'ddhsx')

statement ok
INSERT INTO tab0 VALUES(1,85,76.43,'wrznm',7,59.70,'tabqg')

statement ok
INSERT INTO tab0 VALUES(2,40,37.58,'cfmjf',32,61.38,'jlvmb')

statement ok
INSERT INTO tab0 VALUES(3,72,89.82,'dlchw',82,84.11,'icwal')

statement ok
INSERT INTO tab0 VALUES(4,34,66.36,'nhfyg',83,36.93,'pleax')

statement ok
INSERT INTO tab0 VALUES(5,95,53.99,'bvzof',11,80.25,'cjqug')

statement ok
INSERT INTO tab0 VALUES(6,4,92.68,'axmvl',55,44.51,'ssasw')

statement ok
INSERT INTO tab0 VALUES(7,51,1.21,'fqsjt',76,35.74,'lzezu')

statement ok
INSERT INTO tab0 VALUES(8,33,80.80,'dayjd',69,53.27,'ozdhv')

statement ok
INSERT INTO tab0 VALUES(9,14,31.75,'auogz',33,1.26,'qjifq')

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,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4 DESC,col1 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 INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 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 (col3,col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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,60,10.77,'ttump',94,87.0,'quclb')

statement ok
INSERT INTO tab0 VALUES(1,59,5.63,'nxdhg',85,0.75,'spkzy')

statement ok
INSERT INTO tab0 VALUES(2,78,50.29,'nbzil',1,11.93,'vmulj')

statement ok
INSERT INTO tab0 VALUES(3,32,71.61,'fteho',73,4.71,'ovrok')

statement ok
INSERT INTO tab0 VALUES(4,23,48.83,'vasis',20,94.21,'pmnfg')

statement ok
INSERT INTO tab0 VALUES(5,42,78.75,'csjef',66,98.66,'gglfs')

statement ok
INSERT INTO tab0 VALUES(6,93,35.78,'tnlfm',43,90.48,'ittuv')

statement ok
INSERT INTO tab0 VALUES(7,96,34.14,'fbfql',12,66.42,'prrmo')

statement ok
INSERT INTO tab0 VALUES(8,4,92.93,'fdtpe',74,7.72,'iwwfj')

statement ok
INSERT INTO tab0 VALUES(9,15,95.28,'jrhgs',76,41.19,'dngsy')

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)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

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 (col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC,col3 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 (col4)

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 > 93.91)

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

query I rowsort label-30
SELECT pk FROM tab0 WHERE NOT ((col4 > 93.91))
----
0
1
2
3
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col4 > 93.91)

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

query I rowsort label-30
SELECT pk FROM tab1 WHERE NOT ((col4 > 93.91))
----
0
1
2
3
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col4 > 93.91)

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

query I rowsort label-30
SELECT pk FROM tab2 WHERE NOT ((col4 > 93.91))
----
0
1
2
3
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col4 > 93.91)

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

query I rowsort label-30
SELECT pk FROM tab3 WHERE NOT ((col4 > 93.91))
----
0
1
2
3
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col4 > 93.91)

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

query I rowsort label-30
SELECT pk FROM tab4 WHERE NOT ((col4 > 93.91))
----
0
1
2
3
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 > 69.51

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

query I rowsort label-45
SELECT pk FROM tab0 WHERE NOT (col4 > 69.51)
----
1
2
3
7
8
9

statement ok
DELETE FROM tab1 WHERE col4 > 69.51

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

query I rowsort label-45
SELECT pk FROM tab1 WHERE NOT (col4 > 69.51)
----
1
2
3
7
8
9

statement ok
DELETE FROM tab2 WHERE col4 > 69.51

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

query I rowsort label-45
SELECT pk FROM tab2 WHERE NOT (col4 > 69.51)
----
1
2
3
7
8
9

statement ok
DELETE FROM tab3 WHERE col4 > 69.51

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

query I rowsort label-45
SELECT pk FROM tab3 WHERE NOT (col4 > 69.51)
----
1
2
3
7
8
9

statement ok
DELETE FROM tab4 WHERE col4 > 69.51

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

query I rowsort label-45
SELECT pk FROM tab4 WHERE NOT (col4 > 69.51)
----
1
2
3
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 >= 75 AND (col0 BETWEEN 43 AND 22)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 75 AND (col0 BETWEEN 43 AND 22)
----

query I rowsort label-60
SELECT pk FROM tab0 WHERE NOT (col0 >= 75 AND (col0 BETWEEN 43 AND 22))
----
1
2
3
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 >= 75 AND (col0 BETWEEN 43 AND 22)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 75 AND (col0 BETWEEN 43 AND 22)
----

query I rowsort label-60
SELECT pk FROM tab1 WHERE NOT (col0 >= 75 AND (col0 BETWEEN 43 AND 22))
----
1
2
3
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 >= 75 AND (col0 BETWEEN 43 AND 22)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 75 AND (col0 BETWEEN 43 AND 22)
----

query I rowsort label-60
SELECT pk FROM tab2 WHERE NOT (col0 >= 75 AND (col0 BETWEEN 43 AND 22))
----
1
2
3
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 >= 75 AND (col0 BETWEEN 43 AND 22)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 75 AND (col0 BETWEEN 43 AND 22)
----

query I rowsort label-60
SELECT pk FROM tab3 WHERE NOT (col0 >= 75 AND (col0 BETWEEN 43 AND 22))
----
1
2
3
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 >= 75 AND (col0 BETWEEN 43 AND 22)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 75 AND (col0 BETWEEN 43 AND 22)
----

query I rowsort label-60
SELECT pk FROM tab4 WHERE NOT (col0 >= 75 AND (col0 BETWEEN 43 AND 22))
----
1
2
3
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 = 49

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

query I rowsort label-75
SELECT pk FROM tab0 WHERE NOT (col0 = 49)
----
1
2
3
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 = 49

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

query I rowsort label-75
SELECT pk FROM tab1 WHERE NOT (col0 = 49)
----
1
2
3
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 = 49

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

query I rowsort label-75
SELECT pk FROM tab2 WHERE NOT (col0 = 49)
----
1
2
3
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 = 49

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

query I rowsort label-75
SELECT pk FROM tab3 WHERE NOT (col0 = 49)
----
1
2
3
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 = 49

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

query I rowsort label-75
SELECT pk FROM tab4 WHERE NOT (col0 = 49)
----
1
2
3
7
8
9

statement ok
DELETE FROM tab0 WHERE (col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17
----

query I rowsort label-90
SELECT pk FROM tab0 WHERE NOT ((col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17)
----
1
2
3
7
8

statement ok
DELETE FROM tab1 WHERE (col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17
----

query I rowsort label-90
SELECT pk FROM tab1 WHERE NOT ((col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17)
----
1
2
3
7
8

statement ok
DELETE FROM tab2 WHERE (col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17
----

query I rowsort label-90
SELECT pk FROM tab2 WHERE NOT ((col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17)
----
1
2
3
7
8

statement ok
DELETE FROM tab3 WHERE (col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17
----

query I rowsort label-90
SELECT pk FROM tab3 WHERE NOT ((col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17)
----
1
2
3
7
8

statement ok
DELETE FROM tab4 WHERE (col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17
----

query I rowsort label-90
SELECT pk FROM tab4 WHERE NOT ((col4 > 37.41 OR col0 = 65 AND ((col4 > 17.86 AND col0 <= 19 AND (col1 > 32.47) OR col3 >= 21 AND col1 < 30.85))) AND col4 <= 51.17)
----
1
2
3
7
8

statement ok
DELETE FROM tab0 WHERE col0 = 50

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

query I rowsort label-105
SELECT pk FROM tab0 WHERE NOT (col0 = 50)
----
1
2
3
7
8

statement ok
DELETE FROM tab1 WHERE col0 = 50

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

query I rowsort label-105
SELECT pk FROM tab1 WHERE NOT (col0 = 50)
----
1
2
3
7
8

statement ok
DELETE FROM tab2 WHERE col0 = 50

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

query I rowsort label-105
SELECT pk FROM tab2 WHERE NOT (col0 = 50)
----
1
2
3
7
8

statement ok
DELETE FROM tab3 WHERE col0 = 50

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

query I rowsort label-105
SELECT pk FROM tab3 WHERE NOT (col0 = 50)
----
1
2
3
7
8

statement ok
DELETE FROM tab4 WHERE col0 = 50

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

query I rowsort label-105
SELECT pk FROM tab4 WHERE NOT (col0 = 50)
----
1
2
3
7
8

statement ok
DELETE FROM tab0 WHERE col0 BETWEEN 79 AND 88

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 BETWEEN 79 AND 88
----

query I rowsort label-120
SELECT pk FROM tab0 WHERE NOT (col0 BETWEEN 79 AND 88)
----
1
2
3
7
8

statement ok
DELETE FROM tab1 WHERE col0 BETWEEN 79 AND 88

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 BETWEEN 79 AND 88
----

query I rowsort label-120
SELECT pk FROM tab1 WHERE NOT (col0 BETWEEN 79 AND 88)
----
1
2
3
7
8

statement ok
DELETE FROM tab2 WHERE col0 BETWEEN 79 AND 88

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 BETWEEN 79 AND 88
----

query I rowsort label-120
SELECT pk FROM tab2 WHERE NOT (col0 BETWEEN 79 AND 88)
----
1
2
3
7
8

statement ok
DELETE FROM tab3 WHERE col0 BETWEEN 79 AND 88

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 BETWEEN 79 AND 88
----

query I rowsort label-120
SELECT pk FROM tab3 WHERE NOT (col0 BETWEEN 79 AND 88)
----
1
2
3
7
8

statement ok
DELETE FROM tab4 WHERE col0 BETWEEN 79 AND 88

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 BETWEEN 79 AND 88
----

query I rowsort label-120
SELECT pk FROM tab4 WHERE NOT (col0 BETWEEN 79 AND 88)
----
1
2
3
7
8

statement ok
DELETE FROM tab0 WHERE col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33))))))
----

query I rowsort label-135
SELECT pk FROM tab0 WHERE NOT (col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33)))))))
----
1

statement ok
DELETE FROM tab1 WHERE col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33))))))
----

query I rowsort label-135
SELECT pk FROM tab1 WHERE NOT (col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33)))))))
----
1

statement ok
DELETE FROM tab2 WHERE col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33))))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33))))))
----

query I rowsort label-135
SELECT pk FROM tab2 WHERE NOT (col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33)))))))
----
1

statement ok
DELETE FROM tab3 WHERE col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33))))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33))))))
----

query I rowsort label-135
SELECT pk FROM tab3 WHERE NOT (col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33)))))))
----
1

statement ok
DELETE FROM tab4 WHERE col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33))))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33))))))
----

query I rowsort label-135
SELECT pk FROM tab4 WHERE NOT (col3 < 75 AND (((((col3 >= 21 OR (col3 > 42) OR col3 > 50 OR (col3 > 96) AND col0 <= 37 OR ((col3 <= 43 AND col4 <= 19.63 OR col0 IS NULL AND (col4 = 1.18))) AND (col0 IS NULL) OR (col1 = 66.58) AND (((((col0 = 99) AND col0 = 30))) OR (col3 <= 17 OR (((col0 IS NULL AND col1 <= 25.80 AND col4 >= 87.90) AND (col3 BETWEEN 35 AND 81) AND (col1 > 5.92) AND col0 >= 22 AND (((col0 < 94 AND ((col0 <= 91) AND ((col3 > 86 AND col3 = 94 OR col0 > 7) AND (col0 <= 63 AND col4 IS NULL OR col3 > 86) OR (col3 < 57 AND ((((col0 = 64 AND ((col0 <= 43 AND (col3 <= 56 AND ((col1 > 84.95 AND (col3 > 1))) OR (col3 > 78))) AND (col0 <= 16)) AND (((col3 > 17))) AND (col1 IS NULL) OR ((col0 >= 54 OR (((col1 <= 43.10))))) OR (col0 < 30))) AND ((col4 >= 6.96) OR (col3 < 70))))) OR ((col0 >= 6))) OR col4 > 15.50 AND ((((col1 < 44.69))) AND col1 IN (73.83,75.84)) OR col1 > 31.8) OR col4 >= 46.82))) AND ((col3 IN (30,92,31)))) OR (col4 IN (61.8,54.93,60.47) AND (((col0 < 64)) AND col1 IN (22.90,33.5,28.62,0.64)))))) AND col0 < 33 AND (col1 <= 3.75) OR (((col4 <= 90.58)))) OR ((col0 <= 33)))))))
----
1

statement ok
DELETE FROM tab0 WHERE (((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98)))))
----

query I rowsort label-150
SELECT pk FROM tab0 WHERE NOT ((((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98))))))
----
1

statement ok
DELETE FROM tab1 WHERE (((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98)))))
----

query I rowsort label-150
SELECT pk FROM tab1 WHERE NOT ((((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98))))))
----
1

statement ok
DELETE FROM tab2 WHERE (((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98)))))
----

query I rowsort label-150
SELECT pk FROM tab2 WHERE NOT ((((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98))))))
----
1

statement ok
DELETE FROM tab3 WHERE (((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98)))))
----

query I rowsort label-150
SELECT pk FROM tab3 WHERE NOT ((((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98))))))
----
1

statement ok
DELETE FROM tab4 WHERE (((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98)))))
----

query I rowsort label-150
SELECT pk FROM tab4 WHERE NOT ((((col4 < 97.21 OR col1 >= 28.57)) AND (((col4 IS NULL) AND ((col3 = 28)) AND col4 = 98.79 OR ((col1 > 75.98))))))
----
1

statement ok
DELETE FROM tab0 WHERE col1 > 42.99

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

query I rowsort label-165
SELECT pk FROM tab0 WHERE NOT (col1 > 42.99)
----
1

statement ok
DELETE FROM tab1 WHERE col1 > 42.99

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

query I rowsort label-165
SELECT pk FROM tab1 WHERE NOT (col1 > 42.99)
----
1

statement ok
DELETE FROM tab2 WHERE col1 > 42.99

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

query I rowsort label-165
SELECT pk FROM tab2 WHERE NOT (col1 > 42.99)
----
1

statement ok
DELETE FROM tab3 WHERE col1 > 42.99

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

query I rowsort label-165
SELECT pk FROM tab3 WHERE NOT (col1 > 42.99)
----
1

statement ok
DELETE FROM tab4 WHERE col1 > 42.99

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

query I rowsort label-165
SELECT pk FROM tab4 WHERE NOT (col1 > 42.99)
----
1

statement ok
DELETE FROM tab0 WHERE (col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65)
----

query I rowsort label-180
SELECT pk FROM tab0 WHERE NOT ((col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65))
----

statement ok
DELETE FROM tab1 WHERE (col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65)
----

query I rowsort label-180
SELECT pk FROM tab1 WHERE NOT ((col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65))
----

statement ok
DELETE FROM tab2 WHERE (col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65)
----

query I rowsort label-180
SELECT pk FROM tab2 WHERE NOT ((col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65))
----

statement ok
DELETE FROM tab3 WHERE (col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65)
----

query I rowsort label-180
SELECT pk FROM tab3 WHERE NOT ((col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65))
----

statement ok
DELETE FROM tab4 WHERE (col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.65)
----

query I rowsort label-180
SELECT pk FROM tab4 WHERE NOT ((col3 > 9 OR col1 < 75.13 OR ((col3 <= 1)) OR (((col0 < 28))) AND ((col0 IN (32,77,53)) AND col3 < 6) AND col4 > 12.66 AND col4 > 33.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,44,51.51,'wedzx',52,76.19,'ndcqc')

statement ok
INSERT INTO tab0 VALUES(1,3,80.54,'tmqno',68,91.30,'nhozn')

statement ok
INSERT INTO tab0 VALUES(2,31,15.55,'tyyla',6,81.32,'thgqi')

statement ok
INSERT INTO tab0 VALUES(3,67,52.23,'egksi',90,92.39,'fbexf')

statement ok
INSERT INTO tab0 VALUES(4,9,13.34,'czhua',81,58.8,'qbmap')

statement ok
INSERT INTO tab0 VALUES(5,72,70.35,'pxsei',41,10.93,'twcon')

statement ok
INSERT INTO tab0 VALUES(6,53,46.8,'owwfg',92,94.15,'jxkea')

statement ok
INSERT INTO tab0 VALUES(7,94,33.28,'eghot',85,77.22,'lzsey')

statement ok
INSERT INTO tab0 VALUES(8,41,5.30,'vrtwu',55,65.50,'hycfk')

statement ok
INSERT INTO tab0 VALUES(9,12,28.67,'hpmjn',89,13.86,'shsvr')

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_5 ON tab2 (col1,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,col4)

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

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

statement ok
CREATE INDEX idx_tab3_3 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 IN (27))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IN (27))
----

query I rowsort label-195
SELECT pk FROM tab0 WHERE NOT ((col0 IN (27)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 IN (27))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IN (27))
----

query I rowsort label-195
SELECT pk FROM tab1 WHERE NOT ((col0 IN (27)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 IN (27))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IN (27))
----

query I rowsort label-195
SELECT pk FROM tab2 WHERE NOT ((col0 IN (27)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 IN (27))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IN (27))
----

query I rowsort label-195
SELECT pk FROM tab3 WHERE NOT ((col0 IN (27)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 IN (27))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IN (27))
----

query I rowsort label-195
SELECT pk FROM tab4 WHERE NOT ((col0 IN (27)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57)
----

query I rowsort label-210
SELECT pk FROM tab0 WHERE NOT (col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57))
----
2
4
8

statement ok
DELETE FROM tab1 WHERE col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57)
----

query I rowsort label-210
SELECT pk FROM tab1 WHERE NOT (col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57))
----
2
4
8

statement ok
DELETE FROM tab2 WHERE col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57)
----

query I rowsort label-210
SELECT pk FROM tab2 WHERE NOT (col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57))
----
2
4
8

statement ok
DELETE FROM tab3 WHERE col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57)
----

query I rowsort label-210
SELECT pk FROM tab3 WHERE NOT (col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57))
----
2
4
8

statement ok
DELETE FROM tab4 WHERE col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57)
----

query I rowsort label-210
SELECT pk FROM tab4 WHERE NOT (col1 BETWEEN 34.4 AND 89.67 OR col0 IN (46,62,53,57,83) OR col3 >= 36 AND (((col4 <= 53.6))) OR col0 >= 91 OR ((col4 < 69.98) AND (col3 < 64 AND col3 > 43) AND col0 > 40) AND (col1 > 86.87 AND col0 >= 57))
----
2
4
8

statement ok
DELETE FROM tab0 WHERE col0 > 84

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

query I rowsort label-225
SELECT pk FROM tab0 WHERE NOT (col0 > 84)
----
2
4
8

statement ok
DELETE FROM tab1 WHERE col0 > 84

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

query I rowsort label-225
SELECT pk FROM tab1 WHERE NOT (col0 > 84)
----
2
4
8

statement ok
DELETE FROM tab2 WHERE col0 > 84

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

query I rowsort label-225
SELECT pk FROM tab2 WHERE NOT (col0 > 84)
----
2
4
8

statement ok
DELETE FROM tab3 WHERE col0 > 84

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

query I rowsort label-225
SELECT pk FROM tab3 WHERE NOT (col0 > 84)
----
2
4
8

statement ok
DELETE FROM tab4 WHERE col0 > 84

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

query I rowsort label-225
SELECT pk FROM tab4 WHERE NOT (col0 > 84)
----
2
4
8

statement ok
DELETE FROM tab0 WHERE col3 = 28

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

query I rowsort label-240
SELECT pk FROM tab0 WHERE NOT (col3 = 28)
----
2
4
8

statement ok
DELETE FROM tab1 WHERE col3 = 28

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

query I rowsort label-240
SELECT pk FROM tab1 WHERE NOT (col3 = 28)
----
2
4
8

statement ok
DELETE FROM tab2 WHERE col3 = 28

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

query I rowsort label-240
SELECT pk FROM tab2 WHERE NOT (col3 = 28)
----
2
4
8

statement ok
DELETE FROM tab3 WHERE col3 = 28

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

query I rowsort label-240
SELECT pk FROM tab3 WHERE NOT (col3 = 28)
----
2
4
8

statement ok
DELETE FROM tab4 WHERE col3 = 28

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

query I rowsort label-240
SELECT pk FROM tab4 WHERE NOT (col3 = 28)
----
2
4
8

statement ok
DELETE FROM tab0 WHERE col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98)
----

query I rowsort label-255
SELECT pk FROM tab0 WHERE NOT (col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98))
----
2

statement ok
DELETE FROM tab1 WHERE col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98)
----

query I rowsort label-255
SELECT pk FROM tab1 WHERE NOT (col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98))
----
2

statement ok
DELETE FROM tab2 WHERE col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98)
----

query I rowsort label-255
SELECT pk FROM tab2 WHERE NOT (col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98))
----
2

statement ok
DELETE FROM tab3 WHERE col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98)
----

query I rowsort label-255
SELECT pk FROM tab3 WHERE NOT (col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98))
----
2

statement ok
DELETE FROM tab4 WHERE col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98)
----

query I rowsort label-255
SELECT pk FROM tab4 WHERE NOT (col1 <= 26.84 AND col3 >= 12 OR ((col0 <= 7) AND col0 < 98))
----
2

statement ok
DELETE FROM tab0 WHERE (((col0 > 71)))

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

query I rowsort label-270
SELECT pk FROM tab0 WHERE NOT ((((col0 > 71))))
----
2

statement ok
DELETE FROM tab1 WHERE (((col0 > 71)))

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

query I rowsort label-270
SELECT pk FROM tab1 WHERE NOT ((((col0 > 71))))
----
2

statement ok
DELETE FROM tab2 WHERE (((col0 > 71)))

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

query I rowsort label-270
SELECT pk FROM tab2 WHERE NOT ((((col0 > 71))))
----
2

statement ok
DELETE FROM tab3 WHERE (((col0 > 71)))

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

query I rowsort label-270
SELECT pk FROM tab3 WHERE NOT ((((col0 > 71))))
----
2

statement ok
DELETE FROM tab4 WHERE (((col0 > 71)))

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

query I rowsort label-270
SELECT pk FROM tab4 WHERE NOT ((((col0 > 71))))
----
2

statement ok
DELETE FROM tab0 WHERE col1 = 61.28

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

query I rowsort label-285
SELECT pk FROM tab0 WHERE NOT (col1 = 61.28)
----
2

statement ok
DELETE FROM tab1 WHERE col1 = 61.28

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

query I rowsort label-285
SELECT pk FROM tab1 WHERE NOT (col1 = 61.28)
----
2

statement ok
DELETE FROM tab2 WHERE col1 = 61.28

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

query I rowsort label-285
SELECT pk FROM tab2 WHERE NOT (col1 = 61.28)
----
2

statement ok
DELETE FROM tab3 WHERE col1 = 61.28

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

query I rowsort label-285
SELECT pk FROM tab3 WHERE NOT (col1 = 61.28)
----
2

statement ok
DELETE FROM tab4 WHERE col1 = 61.28

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

query I rowsort label-285
SELECT pk FROM tab4 WHERE NOT (col1 = 61.28)
----
2

statement ok
DELETE FROM tab0 WHERE (col4 > 33.36)

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

query I rowsort label-300
SELECT pk FROM tab0 WHERE NOT ((col4 > 33.36))
----

statement ok
DELETE FROM tab1 WHERE (col4 > 33.36)

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

query I rowsort label-300
SELECT pk FROM tab1 WHERE NOT ((col4 > 33.36))
----

statement ok
DELETE FROM tab2 WHERE (col4 > 33.36)

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

query I rowsort label-300
SELECT pk FROM tab2 WHERE NOT ((col4 > 33.36))
----

statement ok
DELETE FROM tab3 WHERE (col4 > 33.36)

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

query I rowsort label-300
SELECT pk FROM tab3 WHERE NOT ((col4 > 33.36))
----

statement ok
DELETE FROM tab4 WHERE (col4 > 33.36)

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

query I rowsort label-300
SELECT pk FROM tab4 WHERE NOT ((col4 > 33.36))
----

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,12.91,'vhlsa',28,55.99,'xwzba')

statement ok
INSERT INTO tab0 VALUES(1,46,46.86,'nkssg',33,59.33,'ehlnl')

statement ok
INSERT INTO tab0 VALUES(2,75,84.34,'eiupg',93,11.42,'dwskn')

statement ok
INSERT INTO tab0 VALUES(3,66,79.29,'jdzaq',55,85.52,'olygr')

statement ok
INSERT INTO tab0 VALUES(4,49,58.42,'lucak',21,89.95,'vmfar')

statement ok
INSERT INTO tab0 VALUES(5,91,35.84,'kvehi',13,72.76,'eyjxc')

statement ok
INSERT INTO tab0 VALUES(6,60,23.68,'ixvzu',35,40.31,'ysprh')

statement ok
INSERT INTO tab0 VALUES(7,85,50.70,'hniib',34,66.92,'pebql')

statement ok
INSERT INTO tab0 VALUES(8,22,63.93,'qntfk',64,5.50,'vclzx')

statement ok
INSERT INTO tab0 VALUES(9,14,51.31,'zvbvd',47,4.15,'syumb')

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,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4,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 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (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 INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

query I rowsort label-315
SELECT pk FROM tab0 WHERE NOT ((((col0 < 97))))
----

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

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

query I rowsort label-315
SELECT pk FROM tab1 WHERE NOT ((((col0 < 97))))
----

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

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

query I rowsort label-315
SELECT pk FROM tab2 WHERE NOT ((((col0 < 97))))
----

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

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

query I rowsort label-315
SELECT pk FROM tab3 WHERE NOT ((((col0 < 97))))
----

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

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

query I rowsort label-315
SELECT pk FROM tab4 WHERE NOT ((((col0 < 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,83,94.28,'qudfy',34,15.21,'tzjzs')

statement ok
INSERT INTO tab0 VALUES(1,50,5.34,'cbpoy',72,16.83,'dbiqq')

statement ok
INSERT INTO tab0 VALUES(2,92,59.58,'drotg',51,17.14,'tssve')

statement ok
INSERT INTO tab0 VALUES(3,49,0.67,'sxetd',71,85.14,'pmfcy')

statement ok
INSERT INTO tab0 VALUES(4,21,97.59,'ujvxc',73,68.50,'nyerv')

statement ok
INSERT INTO tab0 VALUES(5,29,52.34,'fnilw',98,1.18,'oibyz')

statement ok
INSERT INTO tab0 VALUES(6,79,11.51,'eiyat',58,21.8,'yghcg')

statement ok
INSERT INTO tab0 VALUES(7,24,82.94,'avopm',89,82.62,'hemvz')

statement ok
INSERT INTO tab0 VALUES(8,27,41.34,'pyuso',20,64.43,'penwh')

statement ok
INSERT INTO tab0 VALUES(9,22,53.88,'fvdmj',31,88.92,'povsg')

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)

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)

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_1 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92))
----

query I rowsort label-330
SELECT pk FROM tab0 WHERE NOT (col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92)))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92))
----

query I rowsort label-330
SELECT pk FROM tab1 WHERE NOT (col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92)))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92))
----

query I rowsort label-330
SELECT pk FROM tab2 WHERE NOT (col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92)))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92))
----

query I rowsort label-330
SELECT pk FROM tab3 WHERE NOT (col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92)))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92))
----

query I rowsort label-330
SELECT pk FROM tab4 WHERE NOT (col1 = 30.65 OR ((col4 < 11.39 OR col4 = 46.92)))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99))))
----

query I rowsort label-345
SELECT pk FROM tab0 WHERE NOT (col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99)))))
----

statement ok
DELETE FROM tab1 WHERE col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99))))
----

query I rowsort label-345
SELECT pk FROM tab1 WHERE NOT (col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99)))))
----

statement ok
DELETE FROM tab2 WHERE col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99))))
----

query I rowsort label-345
SELECT pk FROM tab2 WHERE NOT (col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99)))))
----

statement ok
DELETE FROM tab3 WHERE col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99))))
----

query I rowsort label-345
SELECT pk FROM tab3 WHERE NOT (col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99)))))
----

statement ok
DELETE FROM tab4 WHERE col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 99))))
----

query I rowsort label-345
SELECT pk FROM tab4 WHERE NOT (col3 < 72 AND col0 <= 15 OR ((col4 <= 99.57)) OR ((col0 <= 29 AND ((col3 >= 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,24,56.6,'tzebv',94,84.86,'eywdp')

statement ok
INSERT INTO tab0 VALUES(1,38,35.70,'ymjgr',32,2.17,'escts')

statement ok
INSERT INTO tab0 VALUES(2,90,81.37,'orvto',52,94.27,'hjrxk')

statement ok
INSERT INTO tab0 VALUES(3,93,74.13,'vurkw',40,12.12,'zfifn')

statement ok
INSERT INTO tab0 VALUES(4,1,66.0,'apfib',9,33.96,'zyrba')

statement ok
INSERT INTO tab0 VALUES(5,76,87.59,'uczsm',60,71.92,'ghdbw')

statement ok
INSERT INTO tab0 VALUES(6,48,61.70,'cediu',45,88.66,'grfuh')

statement ok
INSERT INTO tab0 VALUES(7,80,18.99,'kdidv',26,8.96,'csojv')

statement ok
INSERT INTO tab0 VALUES(8,28,6.55,'vlzcw',43,31.37,'lzcao')

statement ok
INSERT INTO tab0 VALUES(9,3,4.55,'hegmv',73,44.85,'xqdxd')

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_2 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE 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 INDEX idx_tab3_0 ON tab3 (col4)

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

statement ok
CREATE 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 (col3 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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,45.52,'wdzgy',78,92.1,'mpjpc')

statement ok
INSERT INTO tab0 VALUES(1,53,55.83,'xuzhz',86,56.80,'bzezl')

statement ok
INSERT INTO tab0 VALUES(2,47,23.79,'fjgpw',14,36.22,'vxpuq')

statement ok
INSERT INTO tab0 VALUES(3,43,94.5,'eaxkc',13,88.53,'jvooo')

statement ok
INSERT INTO tab0 VALUES(4,30,99.48,'jyxhk',90,91.26,'hzbok')

statement ok
INSERT INTO tab0 VALUES(5,13,29.31,'moonw',25,8.37,'bfari')

statement ok
INSERT INTO tab0 VALUES(6,23,90.26,'pnjeb',81,55.35,'mhrpy')

statement ok
INSERT INTO tab0 VALUES(7,34,69.63,'bzmeb',17,57.36,'iaezb')

statement ok
INSERT INTO tab0 VALUES(8,70,95.46,'bpkkw',1,11.36,'afnog')

statement ok
INSERT INTO tab0 VALUES(9,20,0.65,'esoza',24,52.22,'gbugo')

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)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 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 (col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 >= 22

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

query I rowsort label-360
SELECT pk FROM tab0 WHERE NOT (col0 >= 22)
----
5
9

statement ok
DELETE FROM tab1 WHERE col0 >= 22

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

query I rowsort label-360
SELECT pk FROM tab1 WHERE NOT (col0 >= 22)
----
5
9

statement ok
DELETE FROM tab2 WHERE col0 >= 22

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

query I rowsort label-360
SELECT pk FROM tab2 WHERE NOT (col0 >= 22)
----
5
9

statement ok
DELETE FROM tab3 WHERE col0 >= 22

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

query I rowsort label-360
SELECT pk FROM tab3 WHERE NOT (col0 >= 22)
----
5
9

statement ok
DELETE FROM tab4 WHERE col0 >= 22

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

query I rowsort label-360
SELECT pk FROM tab4 WHERE NOT (col0 >= 22)
----
5
9

statement ok
DELETE FROM tab0 WHERE col4 < 52.39

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

query I rowsort label-375
SELECT pk FROM tab0 WHERE NOT (col4 < 52.39)
----

statement ok
DELETE FROM tab1 WHERE col4 < 52.39

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

query I rowsort label-375
SELECT pk FROM tab1 WHERE NOT (col4 < 52.39)
----

statement ok
DELETE FROM tab2 WHERE col4 < 52.39

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

query I rowsort label-375
SELECT pk FROM tab2 WHERE NOT (col4 < 52.39)
----

statement ok
DELETE FROM tab3 WHERE col4 < 52.39

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

query I rowsort label-375
SELECT pk FROM tab3 WHERE NOT (col4 < 52.39)
----

statement ok
DELETE FROM tab4 WHERE col4 < 52.39

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

query I rowsort label-375
SELECT pk FROM tab4 WHERE NOT (col4 < 52.39)
----

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,71.38,'guuev',64,33.51,'fbpjz')

statement ok
INSERT INTO tab0 VALUES(1,5,6.49,'sivhu',1,21.1,'suaqu')

statement ok
INSERT INTO tab0 VALUES(2,18,9.49,'fdltq',51,22.24,'krpad')

statement ok
INSERT INTO tab0 VALUES(3,93,23.87,'xrhbc',24,38.81,'zprqp')

statement ok
INSERT INTO tab0 VALUES(4,2,67.85,'wunay',72,58.92,'odhxf')

statement ok
INSERT INTO tab0 VALUES(5,90,48.96,'cpxkt',49,63.89,'ukbap')

statement ok
INSERT INTO tab0 VALUES(6,34,76.74,'rvcti',71,41.85,'znppz')

statement ok
INSERT INTO tab0 VALUES(7,7,73.30,'yppts',83,1.32,'ggkik')

statement ok
INSERT INTO tab0 VALUES(8,40,85.97,'lbayi',18,85.85,'nsdpy')

statement ok
INSERT INTO tab0 VALUES(9,84,1.96,'kwalb',60,77.67,'wyqcq')

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 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC)

statement ok
CREATE 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col0,col4,col1 DESC)

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

statement ok
CREATE UNIQUE 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 INDEX idx_tab4_0 ON tab4 (col0 DESC,col4 DESC,col1)

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

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 >= 94 AND col0 > 25

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 94 AND col0 > 25
----

query I rowsort label-390
SELECT pk FROM tab0 WHERE NOT (col3 >= 94 AND col0 > 25)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 >= 94 AND col0 > 25

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 94 AND col0 > 25
----

query I rowsort label-390
SELECT pk FROM tab1 WHERE NOT (col3 >= 94 AND col0 > 25)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 >= 94 AND col0 > 25

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 94 AND col0 > 25
----

query I rowsort label-390
SELECT pk FROM tab2 WHERE NOT (col3 >= 94 AND col0 > 25)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 >= 94 AND col0 > 25

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 94 AND col0 > 25
----

query I rowsort label-390
SELECT pk FROM tab3 WHERE NOT (col3 >= 94 AND col0 > 25)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 >= 94 AND col0 > 25

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 94 AND col0 > 25
----

query I rowsort label-390
SELECT pk FROM tab4 WHERE NOT (col3 >= 94 AND col0 > 25)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76))
----

query I rowsort label-405
SELECT pk FROM tab0 WHERE NOT (col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76)))
----
1
2
3

statement ok
DELETE FROM tab1 WHERE col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76))
----

query I rowsort label-405
SELECT pk FROM tab1 WHERE NOT (col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76)))
----
1
2
3

statement ok
DELETE FROM tab2 WHERE col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76))
----

query I rowsort label-405
SELECT pk FROM tab2 WHERE NOT (col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76)))
----
1
2
3

statement ok
DELETE FROM tab3 WHERE col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76))
----

query I rowsort label-405
SELECT pk FROM tab3 WHERE NOT (col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76)))
----
1
2
3

statement ok
DELETE FROM tab4 WHERE col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76))
----

query I rowsort label-405
SELECT pk FROM tab4 WHERE NOT (col0 >= 63 AND (col0 >= 94) AND col3 = 16 AND col1 = 88.59 OR col0 = 23 AND (col3 > 7 OR ((col1 > 86.27) AND (col0 = 92 OR col0 = 78))) AND col4 <= 49.20 AND ((col3 = 11 AND (col4 < 88.29)) AND (col1 <= 57.9)) OR col0 <= 97 AND col1 >= 78.59 OR ((((col1 > 58.86 OR col3 > 6 AND col0 < 70 OR col3 > 33 AND (((col1 < 5.55)) AND col0 >= 50 OR col3 <= 87) AND (((col4 < 77.85)))) AND col3 < 93 AND ((col0 > 72 OR col1 < 12.32 AND ((col0 >= 28))))) OR col3 < 59 AND col3 > 62 OR col1 > 30.76)))
----
1
2
3

statement ok
DELETE FROM tab0 WHERE col3 > 60

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 60
----

query I rowsort label-420
SELECT pk FROM tab0 WHERE NOT (col3 > 60)
----
1
2
3

statement ok
DELETE FROM tab1 WHERE col3 > 60

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 60
----

query I rowsort label-420
SELECT pk FROM tab1 WHERE NOT (col3 > 60)
----
1
2
3

statement ok
DELETE FROM tab2 WHERE col3 > 60

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 60
----

query I rowsort label-420
SELECT pk FROM tab2 WHERE NOT (col3 > 60)
----
1
2
3

statement ok
DELETE FROM tab3 WHERE col3 > 60

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 60
----

query I rowsort label-420
SELECT pk FROM tab3 WHERE NOT (col3 > 60)
----
1
2
3

statement ok
DELETE FROM tab4 WHERE col3 > 60

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 60
----

query I rowsort label-420
SELECT pk FROM tab4 WHERE NOT (col3 > 60)
----
1
2
3

statement ok
DELETE FROM tab0 WHERE ((col0 = 1))

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

query I rowsort label-435
SELECT pk FROM tab0 WHERE NOT (((col0 = 1)))
----
1
2
3

statement ok
DELETE FROM tab1 WHERE ((col0 = 1))

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

query I rowsort label-435
SELECT pk FROM tab1 WHERE NOT (((col0 = 1)))
----
1
2
3

statement ok
DELETE FROM tab2 WHERE ((col0 = 1))

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

query I rowsort label-435
SELECT pk FROM tab2 WHERE NOT (((col0 = 1)))
----
1
2
3

statement ok
DELETE FROM tab3 WHERE ((col0 = 1))

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

query I rowsort label-435
SELECT pk FROM tab3 WHERE NOT (((col0 = 1)))
----
1
2
3

statement ok
DELETE FROM tab4 WHERE ((col0 = 1))

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

query I rowsort label-435
SELECT pk FROM tab4 WHERE NOT (((col0 = 1)))
----
1
2
3

statement ok
DELETE FROM tab0 WHERE col3 <= 10

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

query I rowsort label-450
SELECT pk FROM tab0 WHERE NOT (col3 <= 10)
----
2
3

statement ok
DELETE FROM tab1 WHERE col3 <= 10

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

query I rowsort label-450
SELECT pk FROM tab1 WHERE NOT (col3 <= 10)
----
2
3

statement ok
DELETE FROM tab2 WHERE col3 <= 10

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

query I rowsort label-450
SELECT pk FROM tab2 WHERE NOT (col3 <= 10)
----
2
3

statement ok
DELETE FROM tab3 WHERE col3 <= 10

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

query I rowsort label-450
SELECT pk FROM tab3 WHERE NOT (col3 <= 10)
----
2
3

statement ok
DELETE FROM tab4 WHERE col3 <= 10

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

query I rowsort label-450
SELECT pk FROM tab4 WHERE NOT (col3 <= 10)
----
2
3

statement ok
DELETE FROM tab0 WHERE col4 < 38.22 AND col3 IS NULL AND col3 >= 9

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 38.22 AND col3 IS NULL AND col3 >= 9
----

query I rowsort label-465
SELECT pk FROM tab0 WHERE NOT (col4 < 38.22 AND col3 IS NULL AND col3 >= 9)
----
2
3

statement ok
DELETE FROM tab1 WHERE col4 < 38.22 AND col3 IS NULL AND col3 >= 9

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 38.22 AND col3 IS NULL AND col3 >= 9
----

query I rowsort label-465
SELECT pk FROM tab1 WHERE NOT (col4 < 38.22 AND col3 IS NULL AND col3 >= 9)
----
2
3

statement ok
DELETE FROM tab2 WHERE col4 < 38.22 AND col3 IS NULL AND col3 >= 9

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 38.22 AND col3 IS NULL AND col3 >= 9
----

query I rowsort label-465
SELECT pk FROM tab2 WHERE NOT (col4 < 38.22 AND col3 IS NULL AND col3 >= 9)
----
2
3

statement ok
DELETE FROM tab3 WHERE col4 < 38.22 AND col3 IS NULL AND col3 >= 9

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 38.22 AND col3 IS NULL AND col3 >= 9
----

query I rowsort label-465
SELECT pk FROM tab3 WHERE NOT (col4 < 38.22 AND col3 IS NULL AND col3 >= 9)
----
2
3

statement ok
DELETE FROM tab4 WHERE col4 < 38.22 AND col3 IS NULL AND col3 >= 9

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 38.22 AND col3 IS NULL AND col3 >= 9
----

query I rowsort label-465
SELECT pk FROM tab4 WHERE NOT (col4 < 38.22 AND col3 IS NULL AND col3 >= 9)
----
2
3

statement ok
DELETE FROM tab0 WHERE col3 < 55

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

query I rowsort label-480
SELECT pk FROM tab0 WHERE NOT (col3 < 55)
----

statement ok
DELETE FROM tab1 WHERE col3 < 55

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

query I rowsort label-480
SELECT pk FROM tab1 WHERE NOT (col3 < 55)
----

statement ok
DELETE FROM tab2 WHERE col3 < 55

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

query I rowsort label-480
SELECT pk FROM tab2 WHERE NOT (col3 < 55)
----

statement ok
DELETE FROM tab3 WHERE col3 < 55

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

query I rowsort label-480
SELECT pk FROM tab3 WHERE NOT (col3 < 55)
----

statement ok
DELETE FROM tab4 WHERE col3 < 55

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

query I rowsort label-480
SELECT pk FROM tab4 WHERE NOT (col3 < 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,2,16.12,'olrox',18,40.9,'feiau')

statement ok
INSERT INTO tab0 VALUES(1,5,87.86,'zkxis',65,67.66,'skmco')

statement ok
INSERT INTO tab0 VALUES(2,6,38.45,'plzaq',15,75.71,'uurlz')

statement ok
INSERT INTO tab0 VALUES(3,1,59.88,'hmion',89,78.39,'wpdkp')

statement ok
INSERT INTO tab0 VALUES(4,88,34.28,'wgybq',14,71.53,'pbpau')

statement ok
INSERT INTO tab0 VALUES(5,79,8.95,'klets',38,90.73,'ejvdp')

statement ok
INSERT INTO tab0 VALUES(6,9,48.56,'xuejf',41,74.47,'ethnf')

statement ok
INSERT INTO tab0 VALUES(7,56,5.21,'ccozg',47,27.28,'bttar')

statement ok
INSERT INTO tab0 VALUES(8,45,78.61,'wpelz',39,81.83,'veyqn')

statement ok
INSERT INTO tab0 VALUES(9,66,74.19,'aungk',66,60.7,'skdqi')

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 UNIQUE INDEX idx_tab2_2 ON tab2 (col1 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab2_5 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 INDEX idx_tab3_1 ON tab3 (col3)

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

statement ok
CREATE INDEX idx_tab3_5 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 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 42 OR col1 < 65.63

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 42 OR col1 < 65.63
----

query I rowsort label-495
SELECT pk FROM tab0 WHERE NOT (col0 < 42 OR col1 < 65.63)
----
8
9

statement ok
DELETE FROM tab1 WHERE col0 < 42 OR col1 < 65.63

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 42 OR col1 < 65.63
----

query I rowsort label-495
SELECT pk FROM tab1 WHERE NOT (col0 < 42 OR col1 < 65.63)
----
8
9

statement ok
DELETE FROM tab2 WHERE col0 < 42 OR col1 < 65.63

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 42 OR col1 < 65.63
----

query I rowsort label-495
SELECT pk FROM tab2 WHERE NOT (col0 < 42 OR col1 < 65.63)
----
8
9

statement ok
DELETE FROM tab3 WHERE col0 < 42 OR col1 < 65.63

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 42 OR col1 < 65.63
----

query I rowsort label-495
SELECT pk FROM tab3 WHERE NOT (col0 < 42 OR col1 < 65.63)
----
8
9

statement ok
DELETE FROM tab4 WHERE col0 < 42 OR col1 < 65.63

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 42 OR col1 < 65.63
----

query I rowsort label-495
SELECT pk FROM tab4 WHERE NOT (col0 < 42 OR col1 < 65.63)
----
8
9

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62
----

query I rowsort label-510
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62)
----
8
9

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62
----

query I rowsort label-510
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62)
----
8
9

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62
----

query I rowsort label-510
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62)
----
8
9

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62
----

query I rowsort label-510
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62)
----
8
9

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62
----

query I rowsort label-510
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 96 AND 35 AND col0 > 41 AND col0 > 97 AND col0 >= 62)
----
8
9

statement ok
DELETE FROM tab0 WHERE col4 > 61.99

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

query I rowsort label-525
SELECT pk FROM tab0 WHERE NOT (col4 > 61.99)
----
9

statement ok
DELETE FROM tab1 WHERE col4 > 61.99

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

query I rowsort label-525
SELECT pk FROM tab1 WHERE NOT (col4 > 61.99)
----
9

statement ok
DELETE FROM tab2 WHERE col4 > 61.99

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

query I rowsort label-525
SELECT pk FROM tab2 WHERE NOT (col4 > 61.99)
----
9

statement ok
DELETE FROM tab3 WHERE col4 > 61.99

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

query I rowsort label-525
SELECT pk FROM tab3 WHERE NOT (col4 > 61.99)
----
9

statement ok
DELETE FROM tab4 WHERE col4 > 61.99

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

query I rowsort label-525
SELECT pk FROM tab4 WHERE NOT (col4 > 61.99)
----
9

statement ok
DELETE FROM tab0 WHERE col1 <= 13.73

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

query I rowsort label-540
SELECT pk FROM tab0 WHERE NOT (col1 <= 13.73)
----
9

statement ok
DELETE FROM tab1 WHERE col1 <= 13.73

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

query I rowsort label-540
SELECT pk FROM tab1 WHERE NOT (col1 <= 13.73)
----
9

statement ok
DELETE FROM tab2 WHERE col1 <= 13.73

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

query I rowsort label-540
SELECT pk FROM tab2 WHERE NOT (col1 <= 13.73)
----
9

statement ok
DELETE FROM tab3 WHERE col1 <= 13.73

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

query I rowsort label-540
SELECT pk FROM tab3 WHERE NOT (col1 <= 13.73)
----
9

statement ok
DELETE FROM tab4 WHERE col1 <= 13.73

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

query I rowsort label-540
SELECT pk FROM tab4 WHERE NOT (col1 <= 13.73)
----
9

statement ok
DELETE FROM tab0 WHERE col1 = 97.32

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

query I rowsort label-555
SELECT pk FROM tab0 WHERE NOT (col1 = 97.32)
----
9

statement ok
DELETE FROM tab1 WHERE col1 = 97.32

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

query I rowsort label-555
SELECT pk FROM tab1 WHERE NOT (col1 = 97.32)
----
9

statement ok
DELETE FROM tab2 WHERE col1 = 97.32

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

query I rowsort label-555
SELECT pk FROM tab2 WHERE NOT (col1 = 97.32)
----
9

statement ok
DELETE FROM tab3 WHERE col1 = 97.32

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

query I rowsort label-555
SELECT pk FROM tab3 WHERE NOT (col1 = 97.32)
----
9

statement ok
DELETE FROM tab4 WHERE col1 = 97.32

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

query I rowsort label-555
SELECT pk FROM tab4 WHERE NOT (col1 = 97.32)
----
9

statement ok
DELETE FROM tab0 WHERE ((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10))
----

query I rowsort label-570
SELECT pk FROM tab0 WHERE NOT (((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10)))
----
9

statement ok
DELETE FROM tab1 WHERE ((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10))
----

query I rowsort label-570
SELECT pk FROM tab1 WHERE NOT (((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10)))
----
9

statement ok
DELETE FROM tab2 WHERE ((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10))
----

query I rowsort label-570
SELECT pk FROM tab2 WHERE NOT (((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10)))
----
9

statement ok
DELETE FROM tab3 WHERE ((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10))
----

query I rowsort label-570
SELECT pk FROM tab3 WHERE NOT (((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10)))
----
9

statement ok
DELETE FROM tab4 WHERE ((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10))
----

query I rowsort label-570
SELECT pk FROM tab4 WHERE NOT (((col1 > 76.98 OR col1 < 2.22 AND col3 = 95 OR col1 < 71.10)))
----
9

statement ok
DELETE FROM tab0 WHERE col4 <= 49.12

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

query I rowsort label-585
SELECT pk FROM tab0 WHERE NOT (col4 <= 49.12)
----
9

statement ok
DELETE FROM tab1 WHERE col4 <= 49.12

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

query I rowsort label-585
SELECT pk FROM tab1 WHERE NOT (col4 <= 49.12)
----
9

statement ok
DELETE FROM tab2 WHERE col4 <= 49.12

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

query I rowsort label-585
SELECT pk FROM tab2 WHERE NOT (col4 <= 49.12)
----
9

statement ok
DELETE FROM tab3 WHERE col4 <= 49.12

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

query I rowsort label-585
SELECT pk FROM tab3 WHERE NOT (col4 <= 49.12)
----
9

statement ok
DELETE FROM tab4 WHERE col4 <= 49.12

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

query I rowsort label-585
SELECT pk FROM tab4 WHERE NOT (col4 <= 49.12)
----
9

statement ok
DELETE FROM tab0 WHERE (col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77
----

query I rowsort label-600
SELECT pk FROM tab0 WHERE NOT ((col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77)
----
9

statement ok
DELETE FROM tab1 WHERE (col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77
----

query I rowsort label-600
SELECT pk FROM tab1 WHERE NOT ((col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77)
----
9

statement ok
DELETE FROM tab2 WHERE (col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77
----

query I rowsort label-600
SELECT pk FROM tab2 WHERE NOT ((col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77)
----
9

statement ok
DELETE FROM tab3 WHERE (col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77
----

query I rowsort label-600
SELECT pk FROM tab3 WHERE NOT ((col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77)
----
9

statement ok
DELETE FROM tab4 WHERE (col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77
----

query I rowsort label-600
SELECT pk FROM tab4 WHERE NOT ((col0 >= 46) AND col4 > 10.52 AND col4 IS NULL OR col3 >= 77)
----
9

statement ok
DELETE FROM tab0 WHERE col0 < 62

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 62
----

query I rowsort label-615
SELECT pk FROM tab0 WHERE NOT (col0 < 62)
----
9

statement ok
DELETE FROM tab1 WHERE col0 < 62

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 62
----

query I rowsort label-615
SELECT pk FROM tab1 WHERE NOT (col0 < 62)
----
9

statement ok
DELETE FROM tab2 WHERE col0 < 62

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 62
----

query I rowsort label-615
SELECT pk FROM tab2 WHERE NOT (col0 < 62)
----
9

statement ok
DELETE FROM tab3 WHERE col0 < 62

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 62
----

query I rowsort label-615
SELECT pk FROM tab3 WHERE NOT (col0 < 62)
----
9

statement ok
DELETE FROM tab4 WHERE col0 < 62

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 62
----

query I rowsort label-615
SELECT pk FROM tab4 WHERE NOT (col0 < 62)
----
9

statement ok
DELETE FROM tab0 WHERE (col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46)
----

query I rowsort label-630
SELECT pk FROM tab0 WHERE NOT ((col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46))
----

statement ok
DELETE FROM tab1 WHERE (col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46)
----

query I rowsort label-630
SELECT pk FROM tab1 WHERE NOT ((col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46))
----

statement ok
DELETE FROM tab2 WHERE (col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46)
----

query I rowsort label-630
SELECT pk FROM tab2 WHERE NOT ((col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46))
----

statement ok
DELETE FROM tab3 WHERE (col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46)
----

query I rowsort label-630
SELECT pk FROM tab3 WHERE NOT ((col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46))
----

statement ok
DELETE FROM tab4 WHERE (col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 46)
----

query I rowsort label-630
SELECT pk FROM tab4 WHERE NOT ((col4 IS NULL) AND col3 > 21 OR col1 > 1.22 OR col3 > 1 AND (((col0 > 9 AND (col1 < 24.70 OR col3 < 64) AND col3 < 75 AND col3 >= 52) AND (col1 > 58.88) AND col0 BETWEEN 72 AND 72)) AND (col0 >= 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,64,47.33,'ylbkj',9,6.82,'nygvq')

statement ok
INSERT INTO tab0 VALUES(1,38,72.45,'hgxnz',14,57.76,'vxuie')

statement ok
INSERT INTO tab0 VALUES(2,41,66.22,'amfhf',88,18.41,'opyml')

statement ok
INSERT INTO tab0 VALUES(3,25,43.28,'cnduu',73,30.56,'etkxd')

statement ok
INSERT INTO tab0 VALUES(4,63,48.25,'opcfw',13,23.32,'hysij')

statement ok
INSERT INTO tab0 VALUES(5,12,76.39,'okdez',20,31.72,'tanlr')

statement ok
INSERT INTO tab0 VALUES(6,77,78.16,'puujh',32,3.34,'qtqgh')

statement ok
INSERT INTO tab0 VALUES(7,72,77.91,'nkkjo',79,13.94,'rlgxf')

statement ok
INSERT INTO tab0 VALUES(8,84,79.46,'vgfbm',45,79.7,'crwhf')

statement ok
INSERT INTO tab0 VALUES(9,32,89.74,'pfklr',28,68.70,'vupng')

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,col0)

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

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1 DESC,col4 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 INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0,col3 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 (col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 < 78.95

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

query I rowsort label-645
SELECT pk FROM tab0 WHERE NOT (col4 < 78.95)
----
8

statement ok
DELETE FROM tab1 WHERE col4 < 78.95

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

query I rowsort label-645
SELECT pk FROM tab1 WHERE NOT (col4 < 78.95)
----
8

statement ok
DELETE FROM tab2 WHERE col4 < 78.95

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

query I rowsort label-645
SELECT pk FROM tab2 WHERE NOT (col4 < 78.95)
----
8

statement ok
DELETE FROM tab3 WHERE col4 < 78.95

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

query I rowsort label-645
SELECT pk FROM tab3 WHERE NOT (col4 < 78.95)
----
8

statement ok
DELETE FROM tab4 WHERE col4 < 78.95

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

query I rowsort label-645
SELECT pk FROM tab4 WHERE NOT (col4 < 78.95)
----
8

statement ok
DELETE FROM tab0 WHERE col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58
----

query I rowsort label-660
SELECT pk FROM tab0 WHERE NOT (col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58
----

query I rowsort label-660
SELECT pk FROM tab1 WHERE NOT (col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58
----

query I rowsort label-660
SELECT pk FROM tab2 WHERE NOT (col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58
----

query I rowsort label-660
SELECT pk FROM tab3 WHERE NOT (col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 58
----

query I rowsort label-660
SELECT pk FROM tab4 WHERE NOT (col1 >= 4.31 OR col3 <= 75 AND ((col0 < 63)) AND col1 <= 37.40 AND (col0 >= 27 AND (col4 < 15.2)) AND col0 >= 97 OR col0 < 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,94,70.50,'uuakw',29,56.17,'xyvop')

statement ok
INSERT INTO tab0 VALUES(1,24,71.33,'tcjen',60,61.0,'wstqi')

statement ok
INSERT INTO tab0 VALUES(2,63,90.87,'koczn',5,53.79,'syncr')

statement ok
INSERT INTO tab0 VALUES(3,58,8.83,'clppq',12,20.3,'oqvma')

statement ok
INSERT INTO tab0 VALUES(4,57,14.72,'wbicr',30,41.54,'ldlef')

statement ok
INSERT INTO tab0 VALUES(5,17,64.99,'whsaa',26,43.66,'xguqy')

statement ok
INSERT INTO tab0 VALUES(6,18,47.12,'elomj',96,66.34,'qjnml')

statement ok
INSERT INTO tab0 VALUES(7,73,46.81,'gkvhf',78,26.27,'amfod')

statement ok
INSERT INTO tab0 VALUES(8,47,99.4,'syeen',63,75.2,'znadg')

statement ok
INSERT INTO tab0 VALUES(9,64,65.24,'tqpul',10,67.14,'iigzl')

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)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE 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 (col0,col1 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_5 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_1 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38))))
----

query I rowsort label-675
SELECT pk FROM tab0 WHERE NOT (((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38)))))
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab1 WHERE ((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38))))
----

query I rowsort label-675
SELECT pk FROM tab1 WHERE NOT (((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38)))))
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab2 WHERE ((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38))))
----

query I rowsort label-675
SELECT pk FROM tab2 WHERE NOT (((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38)))))
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab3 WHERE ((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38))))
----

query I rowsort label-675
SELECT pk FROM tab3 WHERE NOT (((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38)))))
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab4 WHERE ((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38))))
----

query I rowsort label-675
SELECT pk FROM tab4 WHERE NOT (((col0 >= 4) AND (col4 > 46.7) AND (col0 <= 60) AND col3 > 61 OR col0 > 85 AND (col1 > 87.89) AND ((col0 < 6 OR (col3 = 38)))))
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab0 WHERE (col0 >= 17 OR col3 > 1 AND col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 17 OR col3 > 1 AND col3 >= 20)
----

query I rowsort label-690
SELECT pk FROM tab0 WHERE NOT ((col0 >= 17 OR col3 > 1 AND col3 >= 20))
----

statement ok
DELETE FROM tab1 WHERE (col0 >= 17 OR col3 > 1 AND col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 17 OR col3 > 1 AND col3 >= 20)
----

query I rowsort label-690
SELECT pk FROM tab1 WHERE NOT ((col0 >= 17 OR col3 > 1 AND col3 >= 20))
----

statement ok
DELETE FROM tab2 WHERE (col0 >= 17 OR col3 > 1 AND col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 17 OR col3 > 1 AND col3 >= 20)
----

query I rowsort label-690
SELECT pk FROM tab2 WHERE NOT ((col0 >= 17 OR col3 > 1 AND col3 >= 20))
----

statement ok
DELETE FROM tab3 WHERE (col0 >= 17 OR col3 > 1 AND col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 17 OR col3 > 1 AND col3 >= 20)
----

query I rowsort label-690
SELECT pk FROM tab3 WHERE NOT ((col0 >= 17 OR col3 > 1 AND col3 >= 20))
----

statement ok
DELETE FROM tab4 WHERE (col0 >= 17 OR col3 > 1 AND col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 17 OR col3 > 1 AND col3 >= 20)
----

query I rowsort label-690
SELECT pk FROM tab4 WHERE NOT ((col0 >= 17 OR col3 > 1 AND col3 >= 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,92,82.82,'oeelo',66,85.27,'qmrty')

statement ok
INSERT INTO tab0 VALUES(1,55,8.38,'sxxaw',16,4.69,'oyfrh')

statement ok
INSERT INTO tab0 VALUES(2,95,73.1,'inoyj',78,16.81,'htypk')

statement ok
INSERT INTO tab0 VALUES(3,47,47.70,'kiher',58,75.10,'joedu')

statement ok
INSERT INTO tab0 VALUES(4,26,43.1,'ddveu',25,35.92,'oghtn')

statement ok
INSERT INTO tab0 VALUES(5,97,37.78,'ywmnh',77,68.20,'atuhh')

statement ok
INSERT INTO tab0 VALUES(6,32,72.69,'sfhpm',5,70.4,'imovm')

statement ok
INSERT INTO tab0 VALUES(7,79,77.89,'vifem',51,80.33,'ubvzm')

statement ok
INSERT INTO tab0 VALUES(8,17,78.68,'igcak',72,88.39,'gxnvq')

statement ok
INSERT INTO tab0 VALUES(9,22,9.7,'crani',6,49.60,'oybii')

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)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3 DESC,col1 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4 DESC,col0,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 (col3,col0)

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

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 < 52.12

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

query I rowsort label-705
SELECT pk FROM tab0 WHERE NOT (col4 < 52.12)
----
0
3
5
6
7
8

statement ok
DELETE FROM tab1 WHERE col4 < 52.12

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

query I rowsort label-705
SELECT pk FROM tab1 WHERE NOT (col4 < 52.12)
----
0
3
5
6
7
8

statement ok
DELETE FROM tab2 WHERE col4 < 52.12

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

query I rowsort label-705
SELECT pk FROM tab2 WHERE NOT (col4 < 52.12)
----
0
3
5
6
7
8

statement ok
DELETE FROM tab3 WHERE col4 < 52.12

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

query I rowsort label-705
SELECT pk FROM tab3 WHERE NOT (col4 < 52.12)
----
0
3
5
6
7
8

statement ok
DELETE FROM tab4 WHERE col4 < 52.12

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

query I rowsort label-705
SELECT pk FROM tab4 WHERE NOT (col4 < 52.12)
----
0
3
5
6
7
8

statement ok
DELETE FROM tab0 WHERE (col3 > 38 AND col1 > 68.96)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 38 AND col1 > 68.96)
----

query I rowsort label-720
SELECT pk FROM tab0 WHERE NOT ((col3 > 38 AND col1 > 68.96))
----
3
5
6

statement ok
DELETE FROM tab1 WHERE (col3 > 38 AND col1 > 68.96)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 38 AND col1 > 68.96)
----

query I rowsort label-720
SELECT pk FROM tab1 WHERE NOT ((col3 > 38 AND col1 > 68.96))
----
3
5
6

statement ok
DELETE FROM tab2 WHERE (col3 > 38 AND col1 > 68.96)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 38 AND col1 > 68.96)
----

query I rowsort label-720
SELECT pk FROM tab2 WHERE NOT ((col3 > 38 AND col1 > 68.96))
----
3
5
6

statement ok
DELETE FROM tab3 WHERE (col3 > 38 AND col1 > 68.96)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 38 AND col1 > 68.96)
----

query I rowsort label-720
SELECT pk FROM tab3 WHERE NOT ((col3 > 38 AND col1 > 68.96))
----
3
5
6

statement ok
DELETE FROM tab4 WHERE (col3 > 38 AND col1 > 68.96)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 38 AND col1 > 68.96)
----

query I rowsort label-720
SELECT pk FROM tab4 WHERE NOT ((col3 > 38 AND col1 > 68.96))
----
3
5
6

statement ok
DELETE FROM tab0 WHERE (col3 = 73)

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

query I rowsort label-735
SELECT pk FROM tab0 WHERE NOT ((col3 = 73))
----
3
5
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-735
SELECT pk FROM tab1 WHERE NOT ((col3 = 73))
----
3
5
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-735
SELECT pk FROM tab2 WHERE NOT ((col3 = 73))
----
3
5
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-735
SELECT pk FROM tab3 WHERE NOT ((col3 = 73))
----
3
5
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-735
SELECT pk FROM tab4 WHERE NOT ((col3 = 73))
----
3
5
6

statement ok
DELETE FROM tab0 WHERE ((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60
----

query I rowsort label-750
SELECT pk FROM tab0 WHERE NOT (((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60)
----
3
5
6

statement ok
DELETE FROM tab1 WHERE ((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60
----

query I rowsort label-750
SELECT pk FROM tab1 WHERE NOT (((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60)
----
3
5
6

statement ok
DELETE FROM tab2 WHERE ((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60
----

query I rowsort label-750
SELECT pk FROM tab2 WHERE NOT (((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60)
----
3
5
6

statement ok
DELETE FROM tab3 WHERE ((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60
----

query I rowsort label-750
SELECT pk FROM tab3 WHERE NOT (((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60)
----
3
5
6

statement ok
DELETE FROM tab4 WHERE ((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60
----

query I rowsort label-750
SELECT pk FROM tab4 WHERE NOT (((((col4 <= 0.50 AND col0 IS NULL)))) AND col3 >= 60)
----
3
5
6

statement ok
DELETE FROM tab0 WHERE (col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL
----

query I rowsort label-765
SELECT pk FROM tab0 WHERE NOT ((col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL)
----
3
5
6

statement ok
DELETE FROM tab1 WHERE (col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL
----

query I rowsort label-765
SELECT pk FROM tab1 WHERE NOT ((col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL)
----
3
5
6

statement ok
DELETE FROM tab2 WHERE (col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL
----

query I rowsort label-765
SELECT pk FROM tab2 WHERE NOT ((col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL)
----
3
5
6

statement ok
DELETE FROM tab3 WHERE (col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL
----

query I rowsort label-765
SELECT pk FROM tab3 WHERE NOT ((col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL)
----
3
5
6

statement ok
DELETE FROM tab4 WHERE (col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL
----

query I rowsort label-765
SELECT pk FROM tab4 WHERE NOT ((col3 > 44 OR ((col4 <= 50.95))) AND col3 IS NULL)
----
3
5
6

statement ok
DELETE FROM tab0 WHERE col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52
----

query I rowsort label-780
SELECT pk FROM tab0 WHERE NOT (col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52
----

query I rowsort label-780
SELECT pk FROM tab1 WHERE NOT (col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52
----

query I rowsort label-780
SELECT pk FROM tab2 WHERE NOT (col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52
----

query I rowsort label-780
SELECT pk FROM tab3 WHERE NOT (col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52
----

query I rowsort label-780
SELECT pk FROM tab4 WHERE NOT (col3 >= 35 OR col0 > 68 OR col0 < 92 AND ((col3 = 24) OR (((col1 > 17.41)))) AND col4 IS NULL AND col3 >= 21 AND (col0 > 74) OR col0 > 79 AND ((col1 < 95.72) AND (col0 <= 98) OR col1 BETWEEN 4.90 AND 34.79 AND col0 > 22 AND (((col1 = 89.86)))) AND col4 IS NULL AND col3 > 34 OR col0 >= 0 OR col0 >= 61 OR col0 <= 98 AND ((((col0 <= 19)))) AND (col0 > 58) OR (col0 = 76) AND col1 > 58.24 AND ((col4 IN (5.68)) AND col3 >= 71 AND col0 IS NULL) OR (col0 <= 47 AND col1 > 20.90 AND col3 >= 69) AND col1 < 40.52)
----

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,6,50.33,'zddar',89,24.50,'tprtn')

statement ok
INSERT INTO tab0 VALUES(1,17,40.42,'xdbdx',80,31.65,'bxkmd')

statement ok
INSERT INTO tab0 VALUES(2,74,45.94,'ldzry',26,35.51,'wnqdb')

statement ok
INSERT INTO tab0 VALUES(3,50,14.44,'urmkd',5,68.19,'rapru')

statement ok
INSERT INTO tab0 VALUES(4,70,36.26,'xlrrr',30,55.93,'sdjdu')

statement ok
INSERT INTO tab0 VALUES(5,75,54.19,'iycfv',12,32.71,'zdjcp')

statement ok
INSERT INTO tab0 VALUES(6,85,75.3,'mdbsw',19,56.84,'kobmx')

statement ok
INSERT INTO tab0 VALUES(7,61,82.30,'vbqln',44,16.64,'xvkcu')

statement ok
INSERT INTO tab0 VALUES(8,65,51.77,'vlwvs',63,51.5,'qvueu')

statement ok
INSERT INTO tab0 VALUES(9,27,58.18,'hgvfz',0,57.23,'zpgfw')

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_4 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4 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 (col0 DESC,col4 DESC)

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

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

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4 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,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 < 94.63

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

query I rowsort label-795
SELECT pk FROM tab0 WHERE NOT (col1 < 94.63)
----

statement ok
DELETE FROM tab1 WHERE col1 < 94.63

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

query I rowsort label-795
SELECT pk FROM tab1 WHERE NOT (col1 < 94.63)
----

statement ok
DELETE FROM tab2 WHERE col1 < 94.63

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

query I rowsort label-795
SELECT pk FROM tab2 WHERE NOT (col1 < 94.63)
----

statement ok
DELETE FROM tab3 WHERE col1 < 94.63

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

query I rowsort label-795
SELECT pk FROM tab3 WHERE NOT (col1 < 94.63)
----

statement ok
DELETE FROM tab4 WHERE col1 < 94.63

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

query I rowsort label-795
SELECT pk FROM tab4 WHERE NOT (col1 < 94.63)
----

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,18.7,'wzuqw',31,7.39,'kkogm')

statement ok
INSERT INTO tab0 VALUES(1,16,89.5,'dyvep',43,60.77,'didml')

statement ok
INSERT INTO tab0 VALUES(2,21,20.75,'gtpmj',97,63.93,'emkui')

statement ok
INSERT INTO tab0 VALUES(3,8,36.43,'ijecz',38,47.98,'fkchk')

statement ok
INSERT INTO tab0 VALUES(4,95,51.67,'opkso',95,87.63,'ayqnh')

statement ok
INSERT INTO tab0 VALUES(5,64,84.97,'jljzv',45,22.81,'pgwfg')

statement ok
INSERT INTO tab0 VALUES(6,26,67.39,'lydwc',73,58.35,'mcnxd')

statement ok
INSERT INTO tab0 VALUES(7,82,61.13,'crfoj',39,86.52,'ssdlt')

statement ok
INSERT INTO tab0 VALUES(8,89,66.23,'diovq',33,95.74,'zigtu')

statement ok
INSERT INTO tab0 VALUES(9,17,35.13,'dmouw',46,80.14,'ssojz')

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 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 (col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

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 (col3 DESC)

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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,17.35,'fafez',63,93.59,'yhker')

statement ok
INSERT INTO tab0 VALUES(1,43,91.45,'fngcp',77,72.6,'niloh')

statement ok
INSERT INTO tab0 VALUES(2,26,82.23,'zomws',37,71.73,'pywey')

statement ok
INSERT INTO tab0 VALUES(3,31,31.18,'egtdc',51,45.60,'eagjc')

statement ok
INSERT INTO tab0 VALUES(4,79,48.60,'wghiy',8,1.10,'ccizv')

statement ok
INSERT INTO tab0 VALUES(5,81,79.78,'exixl',93,65.14,'pitio')

statement ok
INSERT INTO tab0 VALUES(6,50,67.10,'cktlk',98,38.33,'xwnnq')

statement ok
INSERT INTO tab0 VALUES(7,10,14.13,'wtrsy',35,63.1,'zttib')

statement ok
INSERT INTO tab0 VALUES(8,12,45.80,'ubbxa',47,87.46,'cdgqa')

statement ok
INSERT INTO tab0 VALUES(9,47,70.48,'tpksd',23,23.95,'kkcfm')

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)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1 DESC,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)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE 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 INDEX idx_tab4_0 ON tab4 (col4 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 > 48)

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

query I rowsort label-810
SELECT pk FROM tab0 WHERE NOT ((col0 > 48))
----
0
1
2
3
7
8
9

statement ok
DELETE FROM tab1 WHERE (col0 > 48)

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

query I rowsort label-810
SELECT pk FROM tab1 WHERE NOT ((col0 > 48))
----
0
1
2
3
7
8
9

statement ok
DELETE FROM tab2 WHERE (col0 > 48)

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

query I rowsort label-810
SELECT pk FROM tab2 WHERE NOT ((col0 > 48))
----
0
1
2
3
7
8
9

statement ok
DELETE FROM tab3 WHERE (col0 > 48)

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

query I rowsort label-810
SELECT pk FROM tab3 WHERE NOT ((col0 > 48))
----
0
1
2
3
7
8
9

statement ok
DELETE FROM tab4 WHERE (col0 > 48)

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

query I rowsort label-810
SELECT pk FROM tab4 WHERE NOT ((col0 > 48))
----
0
1
2
3
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 > 0

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

query I rowsort label-825
SELECT pk FROM tab0 WHERE NOT (col0 > 0)
----

statement ok
DELETE FROM tab1 WHERE col0 > 0

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

query I rowsort label-825
SELECT pk FROM tab1 WHERE NOT (col0 > 0)
----

statement ok
DELETE FROM tab2 WHERE col0 > 0

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

query I rowsort label-825
SELECT pk FROM tab2 WHERE NOT (col0 > 0)
----

statement ok
DELETE FROM tab3 WHERE col0 > 0

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

query I rowsort label-825
SELECT pk FROM tab3 WHERE NOT (col0 > 0)
----

statement ok
DELETE FROM tab4 WHERE col0 > 0

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

query I rowsort label-825
SELECT pk FROM tab4 WHERE NOT (col0 > 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,95,77.44,'bwgof',57,10.11,'jbmmp')

statement ok
INSERT INTO tab0 VALUES(1,27,38.95,'gtkkr',49,65.90,'ujkmq')

statement ok
INSERT INTO tab0 VALUES(2,56,81.40,'bzicp',41,67.31,'qwkfr')

statement ok
INSERT INTO tab0 VALUES(3,81,9.51,'pmrcm',31,24.5,'ciyyq')

statement ok
INSERT INTO tab0 VALUES(4,78,98.0,'ybrae',53,41.88,'eufho')

statement ok
INSERT INTO tab0 VALUES(5,15,49.70,'ykvyh',86,83.71,'kwchb')

statement ok
INSERT INTO tab0 VALUES(6,60,58.66,'sfjlw',67,42.76,'kulod')

statement ok
INSERT INTO tab0 VALUES(7,99,74.27,'jmbrd',5,92.65,'plyjo')

statement ok
INSERT INTO tab0 VALUES(8,42,66.41,'nksqa',93,58.54,'urtxt')

statement ok
INSERT INTO tab0 VALUES(9,43,82.57,'arves',20,77.27,'thyfh')

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,col3)

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

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

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1 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 INDEX idx_tab3_0 ON tab3 (col1 DESC,col4 DESC)

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

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 (col4)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 > 66

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 66
----

query I rowsort label-840
SELECT pk FROM tab0 WHERE NOT (col3 > 66)
----
0
1
2
3
4
7
9

statement ok
DELETE FROM tab1 WHERE col3 > 66

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 66
----

query I rowsort label-840
SELECT pk FROM tab1 WHERE NOT (col3 > 66)
----
0
1
2
3
4
7
9

statement ok
DELETE FROM tab2 WHERE col3 > 66

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 66
----

query I rowsort label-840
SELECT pk FROM tab2 WHERE NOT (col3 > 66)
----
0
1
2
3
4
7
9

statement ok
DELETE FROM tab3 WHERE col3 > 66

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 66
----

query I rowsort label-840
SELECT pk FROM tab3 WHERE NOT (col3 > 66)
----
0
1
2
3
4
7
9

statement ok
DELETE FROM tab4 WHERE col3 > 66

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 66
----

query I rowsort label-840
SELECT pk FROM tab4 WHERE NOT (col3 > 66)
----
0
1
2
3
4
7
9

statement ok
DELETE FROM tab0 WHERE (((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96
----

query I rowsort label-855
SELECT pk FROM tab0 WHERE NOT ((((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96)
----
0
3
4

statement ok
DELETE FROM tab1 WHERE (((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96
----

query I rowsort label-855
SELECT pk FROM tab1 WHERE NOT ((((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96)
----
0
3
4

statement ok
DELETE FROM tab2 WHERE (((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96
----

query I rowsort label-855
SELECT pk FROM tab2 WHERE NOT ((((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96)
----
0
3
4

statement ok
DELETE FROM tab3 WHERE (((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96
----

query I rowsort label-855
SELECT pk FROM tab3 WHERE NOT ((((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96)
----
0
3
4

statement ok
DELETE FROM tab4 WHERE (((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96
----

query I rowsort label-855
SELECT pk FROM tab4 WHERE NOT ((((col4 <= 6.76)) AND col0 IN (80,11,19,54,53,66)) AND col0 <= 68 OR col4 >= 58.96)
----
0
3
4

statement ok
DELETE FROM tab0 WHERE col3 < 45

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

query I rowsort label-870
SELECT pk FROM tab0 WHERE NOT (col3 < 45)
----
0
4

statement ok
DELETE FROM tab1 WHERE col3 < 45

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

query I rowsort label-870
SELECT pk FROM tab1 WHERE NOT (col3 < 45)
----
0
4

statement ok
DELETE FROM tab2 WHERE col3 < 45

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

query I rowsort label-870
SELECT pk FROM tab2 WHERE NOT (col3 < 45)
----
0
4

statement ok
DELETE FROM tab3 WHERE col3 < 45

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

query I rowsort label-870
SELECT pk FROM tab3 WHERE NOT (col3 < 45)
----
0
4

statement ok
DELETE FROM tab4 WHERE col3 < 45

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

query I rowsort label-870
SELECT pk FROM tab4 WHERE NOT (col3 < 45)
----
0
4

statement ok
DELETE FROM tab0 WHERE col3 = 24

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

query I rowsort label-885
SELECT pk FROM tab0 WHERE NOT (col3 = 24)
----
0
4

statement ok
DELETE FROM tab1 WHERE col3 = 24

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

query I rowsort label-885
SELECT pk FROM tab1 WHERE NOT (col3 = 24)
----
0
4

statement ok
DELETE FROM tab2 WHERE col3 = 24

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

query I rowsort label-885
SELECT pk FROM tab2 WHERE NOT (col3 = 24)
----
0
4

statement ok
DELETE FROM tab3 WHERE col3 = 24

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

query I rowsort label-885
SELECT pk FROM tab3 WHERE NOT (col3 = 24)
----
0
4

statement ok
DELETE FROM tab4 WHERE col3 = 24

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

query I rowsort label-885
SELECT pk FROM tab4 WHERE NOT (col3 = 24)
----
0
4

statement ok
DELETE FROM tab0 WHERE col1 <= 74.68

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

query I rowsort label-900
SELECT pk FROM tab0 WHERE NOT (col1 <= 74.68)
----
0
4

statement ok
DELETE FROM tab1 WHERE col1 <= 74.68

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

query I rowsort label-900
SELECT pk FROM tab1 WHERE NOT (col1 <= 74.68)
----
0
4

statement ok
DELETE FROM tab2 WHERE col1 <= 74.68

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

query I rowsort label-900
SELECT pk FROM tab2 WHERE NOT (col1 <= 74.68)
----
0
4

statement ok
DELETE FROM tab3 WHERE col1 <= 74.68

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

query I rowsort label-900
SELECT pk FROM tab3 WHERE NOT (col1 <= 74.68)
----
0
4

statement ok
DELETE FROM tab4 WHERE col1 <= 74.68

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

query I rowsort label-900
SELECT pk FROM tab4 WHERE NOT (col1 <= 74.68)
----
0
4

statement ok
DELETE FROM tab0 WHERE (col4 <= 53.51)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 <= 53.51)
----

query I rowsort label-915
SELECT pk FROM tab0 WHERE NOT ((col4 <= 53.51))
----

statement ok
DELETE FROM tab1 WHERE (col4 <= 53.51)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 <= 53.51)
----

query I rowsort label-915
SELECT pk FROM tab1 WHERE NOT ((col4 <= 53.51))
----

statement ok
DELETE FROM tab2 WHERE (col4 <= 53.51)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 <= 53.51)
----

query I rowsort label-915
SELECT pk FROM tab2 WHERE NOT ((col4 <= 53.51))
----

statement ok
DELETE FROM tab3 WHERE (col4 <= 53.51)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 <= 53.51)
----

query I rowsort label-915
SELECT pk FROM tab3 WHERE NOT ((col4 <= 53.51))
----

statement ok
DELETE FROM tab4 WHERE (col4 <= 53.51)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 <= 53.51)
----

query I rowsort label-915
SELECT pk FROM tab4 WHERE NOT ((col4 <= 53.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,85,24.76,'vcldz',72,19.25,'dgfby')

statement ok
INSERT INTO tab0 VALUES(1,40,19.31,'fuqbl',68,88.99,'ewslu')

statement ok
INSERT INTO tab0 VALUES(2,64,14.13,'qleoc',90,43.59,'ppwsc')

statement ok
INSERT INTO tab0 VALUES(3,95,67.45,'hvdwn',65,75.45,'erjqi')

statement ok
INSERT INTO tab0 VALUES(4,88,72.49,'jlygm',22,59.27,'ryuzg')

statement ok
INSERT INTO tab0 VALUES(5,86,70.9,'ikojh',55,77.68,'eornf')

statement ok
INSERT INTO tab0 VALUES(6,76,58.31,'vwnbu',88,24.86,'asvkb')

statement ok
INSERT INTO tab0 VALUES(7,59,8.10,'zvezo',36,22.13,'cakwo')

statement ok
INSERT INTO tab0 VALUES(8,5,71.87,'mpqcx',66,34.67,'wjwvg')

statement ok
INSERT INTO tab0 VALUES(9,19,0.14,'pncnd',62,76.2,'omios')

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,col0 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 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)

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 UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 > 6

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 6
----

query I rowsort label-930
SELECT pk FROM tab0 WHERE NOT (col3 > 6)
----

statement ok
DELETE FROM tab1 WHERE col3 > 6

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 6
----

query I rowsort label-930
SELECT pk FROM tab1 WHERE NOT (col3 > 6)
----

statement ok
DELETE FROM tab2 WHERE col3 > 6

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 6
----

query I rowsort label-930
SELECT pk FROM tab2 WHERE NOT (col3 > 6)
----

statement ok
DELETE FROM tab3 WHERE col3 > 6

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 6
----

query I rowsort label-930
SELECT pk FROM tab3 WHERE NOT (col3 > 6)
----

statement ok
DELETE FROM tab4 WHERE col3 > 6

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 6
----

query I rowsort label-930
SELECT pk FROM tab4 WHERE NOT (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,69,60.78,'ggqev',25,31.9,'alrdc')

statement ok
INSERT INTO tab0 VALUES(1,85,67.31,'engnu',15,56.17,'giqon')

statement ok
INSERT INTO tab0 VALUES(2,34,36.61,'jwspv',54,91.76,'cjeby')

statement ok
INSERT INTO tab0 VALUES(3,15,14.10,'fclrj',55,36.62,'yqitz')

statement ok
INSERT INTO tab0 VALUES(4,71,9.29,'vzerq',9,60.43,'keqjr')

statement ok
INSERT INTO tab0 VALUES(5,55,5.42,'dqfas',45,18.39,'myfvl')

statement ok
INSERT INTO tab0 VALUES(6,88,76.8,'blnar',95,55.86,'uhxwh')

statement ok
INSERT INTO tab0 VALUES(7,27,96.82,'pkwss',53,26.0,'npkox')

statement ok
INSERT INTO tab0 VALUES(8,22,53.79,'xyzhg',42,6.36,'rzlgt')

statement ok
INSERT INTO tab0 VALUES(9,82,61.35,'plnxc',73,1.54,'cuutf')

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 UNIQUE INDEX idx_tab2_5 ON tab2 (col3 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_1 ON tab3 (col1 DESC,col4 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0,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 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 > 64

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

query I rowsort label-945
SELECT pk FROM tab0 WHERE NOT (col3 > 64)
----
0
1
2
3
4
5
7
8

statement ok
DELETE FROM tab1 WHERE col3 > 64

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

query I rowsort label-945
SELECT pk FROM tab1 WHERE NOT (col3 > 64)
----
0
1
2
3
4
5
7
8

statement ok
DELETE FROM tab2 WHERE col3 > 64

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

query I rowsort label-945
SELECT pk FROM tab2 WHERE NOT (col3 > 64)
----
0
1
2
3
4
5
7
8

statement ok
DELETE FROM tab3 WHERE col3 > 64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 64
----

query I rowsort label-945
SELECT pk FROM tab3 WHERE NOT (col3 > 64)
----
0
1
2
3
4
5
7
8

statement ok
DELETE FROM tab4 WHERE col3 > 64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 64
----

query I rowsort label-945
SELECT pk FROM tab4 WHERE NOT (col3 > 64)
----
0
1
2
3
4
5
7
8

statement ok
DELETE FROM tab0 WHERE col1 > 0.15

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

query I rowsort label-960
SELECT pk FROM tab0 WHERE NOT (col1 > 0.15)
----

statement ok
DELETE FROM tab1 WHERE col1 > 0.15

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

query I rowsort label-960
SELECT pk FROM tab1 WHERE NOT (col1 > 0.15)
----

statement ok
DELETE FROM tab2 WHERE col1 > 0.15

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

query I rowsort label-960
SELECT pk FROM tab2 WHERE NOT (col1 > 0.15)
----

statement ok
DELETE FROM tab3 WHERE col1 > 0.15

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

query I rowsort label-960
SELECT pk FROM tab3 WHERE NOT (col1 > 0.15)
----

statement ok
DELETE FROM tab4 WHERE col1 > 0.15

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

query I rowsort label-960
SELECT pk FROM tab4 WHERE NOT (col1 > 0.15)
----

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,2.40,'ykgcn',78,34.38,'yhvum')

statement ok
INSERT INTO tab0 VALUES(1,83,33.2,'cwcxs',87,2.18,'xmfan')

statement ok
INSERT INTO tab0 VALUES(2,53,14.83,'cyuou',61,52.69,'vdsbh')

statement ok
INSERT INTO tab0 VALUES(3,57,69.51,'shmlx',60,62.93,'jwlic')

statement ok
INSERT INTO tab0 VALUES(4,32,49.97,'ygbxi',20,70.19,'mqqea')

statement ok
INSERT INTO tab0 VALUES(5,47,93.42,'ydria',75,35.16,'wwadu')

statement ok
INSERT INTO tab0 VALUES(6,24,92.54,'mgklg',62,93.2,'toqbc')

statement ok
INSERT INTO tab0 VALUES(7,44,51.56,'rcvgd',34,36.59,'mkleo')

statement ok
INSERT INTO tab0 VALUES(8,65,54.42,'kkuho',81,53.46,'bysga')

statement ok
INSERT INTO tab0 VALUES(9,31,22.88,'fixqk',31,13.9,'vtyul')

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_2 ON tab2 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 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,col1)

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

statement ok
CREATE UNIQUE 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 (col3)

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93))))))
----

query I rowsort label-975
SELECT pk FROM tab0 WHERE NOT ((col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93)))))))
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93))))))
----

query I rowsort label-975
SELECT pk FROM tab1 WHERE NOT ((col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93)))))))
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93))))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93))))))
----

query I rowsort label-975
SELECT pk FROM tab2 WHERE NOT ((col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93)))))))
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93))))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93))))))
----

query I rowsort label-975
SELECT pk FROM tab3 WHERE NOT ((col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93)))))))
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93))))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93))))))
----

query I rowsort label-975
SELECT pk FROM tab4 WHERE NOT ((col0 IN (32,25,19,48,67) OR ((((col0 > 70 AND (col3 IS NULL OR col0 <= 93)))))))
----
0
2
3
5
6
7
8
9

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

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

query I rowsort label-990
SELECT pk FROM tab0 WHERE NOT ((col0 >= 7))
----

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

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

query I rowsort label-990
SELECT pk FROM tab1 WHERE NOT ((col0 >= 7))
----

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

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

query I rowsort label-990
SELECT pk FROM tab2 WHERE NOT ((col0 >= 7))
----

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

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

query I rowsort label-990
SELECT pk FROM tab3 WHERE NOT ((col0 >= 7))
----

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

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

query I rowsort label-990
SELECT pk FROM tab4 WHERE NOT ((col0 >= 7))
----

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,74.26,'asklq',5,51.37,'yqjjj')

statement ok
INSERT INTO tab0 VALUES(1,5,46.43,'ssaot',43,77.64,'kfoal')

statement ok
INSERT INTO tab0 VALUES(2,21,67.17,'abzvi',25,67.48,'ffpzg')

statement ok
INSERT INTO tab0 VALUES(3,38,88.35,'fvcse',29,48.51,'frmgi')

statement ok
INSERT INTO tab0 VALUES(4,1,26.89,'gtfpn',98,39.51,'wvopn')

statement ok
INSERT INTO tab0 VALUES(5,80,22.94,'mixuq',57,21.50,'ygfwm')

statement ok
INSERT INTO tab0 VALUES(6,83,8.94,'jaxsp',23,94.89,'yxkcl')

statement ok
INSERT INTO tab0 VALUES(7,66,68.80,'zebaq',20,40.62,'xmhqt')

statement ok
INSERT INTO tab0 VALUES(8,48,99.0,'rjpua',89,87.22,'xfyfl')

statement ok
INSERT INTO tab0 VALUES(9,22,77.69,'rnbko',3,72.3,'viybz')

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_1 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 (col3 DESC)

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 (col0)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 < 46 OR col3 = 31

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 46 OR col3 = 31
----

query I rowsort label-1005
SELECT pk FROM tab0 WHERE NOT (col3 < 46 OR col3 = 31)
----
4
5
8

statement ok
DELETE FROM tab1 WHERE col3 < 46 OR col3 = 31

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 46 OR col3 = 31
----

query I rowsort label-1005
SELECT pk FROM tab1 WHERE NOT (col3 < 46 OR col3 = 31)
----
4
5
8

statement ok
DELETE FROM tab2 WHERE col3 < 46 OR col3 = 31

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 46 OR col3 = 31
----

query I rowsort label-1005
SELECT pk FROM tab2 WHERE NOT (col3 < 46 OR col3 = 31)
----
4
5
8

statement ok
DELETE FROM tab3 WHERE col3 < 46 OR col3 = 31

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 46 OR col3 = 31
----

query I rowsort label-1005
SELECT pk FROM tab3 WHERE NOT (col3 < 46 OR col3 = 31)
----
4
5
8

statement ok
DELETE FROM tab4 WHERE col3 < 46 OR col3 = 31

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 46 OR col3 = 31
----

query I rowsort label-1005
SELECT pk FROM tab4 WHERE NOT (col3 < 46 OR col3 = 31)
----
4
5
8

statement ok
DELETE FROM tab0 WHERE ((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99)
----

query I rowsort label-1020
SELECT pk FROM tab0 WHERE NOT (((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99))
----
4
5
8

statement ok
DELETE FROM tab1 WHERE ((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99)
----

query I rowsort label-1020
SELECT pk FROM tab1 WHERE NOT (((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99))
----
4
5
8

statement ok
DELETE FROM tab2 WHERE ((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99)
----

query I rowsort label-1020
SELECT pk FROM tab2 WHERE NOT (((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99))
----
4
5
8

statement ok
DELETE FROM tab3 WHERE ((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99)
----

query I rowsort label-1020
SELECT pk FROM tab3 WHERE NOT (((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99))
----
4
5
8

statement ok
DELETE FROM tab4 WHERE ((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99)
----

query I rowsort label-1020
SELECT pk FROM tab4 WHERE NOT (((col3 > 81) AND col3 > 94 AND col0 <= 27 AND col4 <= 5.99))
----
4
5
8

statement ok
DELETE FROM tab0 WHERE col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1
----

query I rowsort label-1035
SELECT pk FROM tab0 WHERE NOT (col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1)
----
8

statement ok
DELETE FROM tab1 WHERE col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1
----

query I rowsort label-1035
SELECT pk FROM tab1 WHERE NOT (col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1)
----
8

statement ok
DELETE FROM tab2 WHERE col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1
----

query I rowsort label-1035
SELECT pk FROM tab2 WHERE NOT (col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1)
----
8

statement ok
DELETE FROM tab3 WHERE col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1
----

query I rowsort label-1035
SELECT pk FROM tab3 WHERE NOT (col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1)
----
8

statement ok
DELETE FROM tab4 WHERE col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1
----

query I rowsort label-1035
SELECT pk FROM tab4 WHERE NOT (col1 <= 27.27 OR col0 IN (6,81) OR col1 < 30.25 AND col0 = 1)
----
8

statement ok
DELETE FROM tab0 WHERE col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85))
----

query I rowsort label-1050
SELECT pk FROM tab0 WHERE NOT (col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85)))
----

statement ok
DELETE FROM tab1 WHERE col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85))
----

query I rowsort label-1050
SELECT pk FROM tab1 WHERE NOT (col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85)))
----

statement ok
DELETE FROM tab2 WHERE col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85))
----

query I rowsort label-1050
SELECT pk FROM tab2 WHERE NOT (col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85)))
----

statement ok
DELETE FROM tab3 WHERE col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85))
----

query I rowsort label-1050
SELECT pk FROM tab3 WHERE NOT (col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85)))
----

statement ok
DELETE FROM tab4 WHERE col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 56 OR (((col0 <= 9)) OR (col0 >= 85))
----

query I rowsort label-1050
SELECT pk FROM tab4 WHERE NOT (col3 > 56 OR (((col0 <= 9)) OR (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,19,12.42,'bsdvu',49,54.84,'lewbm')

statement ok
INSERT INTO tab0 VALUES(1,70,42.56,'plldz',25,63.34,'deshs')

statement ok
INSERT INTO tab0 VALUES(2,15,51.13,'dcfac',86,9.46,'eckcy')

statement ok
INSERT INTO tab0 VALUES(3,38,98.82,'zhbql',42,76.29,'rhucp')

statement ok
INSERT INTO tab0 VALUES(4,68,14.24,'qkvpk',30,68.17,'ajnjx')

statement ok
INSERT INTO tab0 VALUES(5,40,10.63,'xvqii',74,29.34,'ycbmi')

statement ok
INSERT INTO tab0 VALUES(6,57,89.39,'wzear',50,52.56,'nvzwm')

statement ok
INSERT INTO tab0 VALUES(7,56,61.78,'gqrag',43,91.73,'lgylk')

statement ok
INSERT INTO tab0 VALUES(8,65,53.51,'hszoi',15,74.51,'fwxkn')

statement ok
INSERT INTO tab0 VALUES(9,71,24.35,'cvyjq',68,18.96,'zvgqy')

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 UNIQUE INDEX idx_tab2_1 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 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 (col3 DESC,col4,col1)

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 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col1 > 98.52 OR col0 > 70)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 98.52 OR col0 > 70)
----

query I rowsort label-1065
SELECT pk FROM tab0 WHERE NOT ((col1 > 98.52 OR col0 > 70))
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab1 WHERE (col1 > 98.52 OR col0 > 70)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 98.52 OR col0 > 70)
----

query I rowsort label-1065
SELECT pk FROM tab1 WHERE NOT ((col1 > 98.52 OR col0 > 70))
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab2 WHERE (col1 > 98.52 OR col0 > 70)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 98.52 OR col0 > 70)
----

query I rowsort label-1065
SELECT pk FROM tab2 WHERE NOT ((col1 > 98.52 OR col0 > 70))
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab3 WHERE (col1 > 98.52 OR col0 > 70)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 98.52 OR col0 > 70)
----

query I rowsort label-1065
SELECT pk FROM tab3 WHERE NOT ((col1 > 98.52 OR col0 > 70))
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab4 WHERE (col1 > 98.52 OR col0 > 70)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 98.52 OR col0 > 70)
----

query I rowsort label-1065
SELECT pk FROM tab4 WHERE NOT ((col1 > 98.52 OR col0 > 70))
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab0 WHERE col4 < 4.28

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

query I rowsort label-1080
SELECT pk FROM tab0 WHERE NOT (col4 < 4.28)
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab1 WHERE col4 < 4.28

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

query I rowsort label-1080
SELECT pk FROM tab1 WHERE NOT (col4 < 4.28)
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab2 WHERE col4 < 4.28

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

query I rowsort label-1080
SELECT pk FROM tab2 WHERE NOT (col4 < 4.28)
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab3 WHERE col4 < 4.28

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

query I rowsort label-1080
SELECT pk FROM tab3 WHERE NOT (col4 < 4.28)
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab4 WHERE col4 < 4.28

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

query I rowsort label-1080
SELECT pk FROM tab4 WHERE NOT (col4 < 4.28)
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab0 WHERE (col1 < 24.50 AND col3 <= 42)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 24.50 AND col3 <= 42)
----

query I rowsort label-1095
SELECT pk FROM tab0 WHERE NOT ((col1 < 24.50 AND col3 <= 42))
----
0
1
2
5
6
7
8

statement ok
DELETE FROM tab1 WHERE (col1 < 24.50 AND col3 <= 42)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 24.50 AND col3 <= 42)
----

query I rowsort label-1095
SELECT pk FROM tab1 WHERE NOT ((col1 < 24.50 AND col3 <= 42))
----
0
1
2
5
6
7
8

statement ok
DELETE FROM tab2 WHERE (col1 < 24.50 AND col3 <= 42)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 24.50 AND col3 <= 42)
----

query I rowsort label-1095
SELECT pk FROM tab2 WHERE NOT ((col1 < 24.50 AND col3 <= 42))
----
0
1
2
5
6
7
8

statement ok
DELETE FROM tab3 WHERE (col1 < 24.50 AND col3 <= 42)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 24.50 AND col3 <= 42)
----

query I rowsort label-1095
SELECT pk FROM tab3 WHERE NOT ((col1 < 24.50 AND col3 <= 42))
----
0
1
2
5
6
7
8

statement ok
DELETE FROM tab4 WHERE (col1 < 24.50 AND col3 <= 42)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 24.50 AND col3 <= 42)
----

query I rowsort label-1095
SELECT pk FROM tab4 WHERE NOT ((col1 < 24.50 AND col3 <= 42))
----
0
1
2
5
6
7
8

statement ok
DELETE FROM tab0 WHERE col1 > 1.4

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

query I rowsort label-1110
SELECT pk FROM tab0 WHERE NOT (col1 > 1.4)
----

statement ok
DELETE FROM tab1 WHERE col1 > 1.4

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

query I rowsort label-1110
SELECT pk FROM tab1 WHERE NOT (col1 > 1.4)
----

statement ok
DELETE FROM tab2 WHERE col1 > 1.4

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

query I rowsort label-1110
SELECT pk FROM tab2 WHERE NOT (col1 > 1.4)
----

statement ok
DELETE FROM tab3 WHERE col1 > 1.4

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

query I rowsort label-1110
SELECT pk FROM tab3 WHERE NOT (col1 > 1.4)
----

statement ok
DELETE FROM tab4 WHERE col1 > 1.4

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

query I rowsort label-1110
SELECT pk FROM tab4 WHERE NOT (col1 > 1.4)
----

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,86.20,'nyfkx',84,42.21,'oirga')

statement ok
INSERT INTO tab0 VALUES(1,2,77.76,'ghljw',25,66.23,'vrmxj')

statement ok
INSERT INTO tab0 VALUES(2,91,6.39,'tfiuf',41,48.56,'prgja')

statement ok
INSERT INTO tab0 VALUES(3,37,38.28,'xgzcv',45,75.69,'yoesn')

statement ok
INSERT INTO tab0 VALUES(4,80,76.49,'btban',11,56.55,'qlrem')

statement ok
INSERT INTO tab0 VALUES(5,29,23.9,'pbjwj',85,80.60,'ujgyf')

statement ok
INSERT INTO tab0 VALUES(6,73,45.24,'nqkqo',98,81.0,'kpamm')

statement ok
INSERT INTO tab0 VALUES(7,88,34.37,'caeya',80,97.73,'ergnx')

statement ok
INSERT INTO tab0 VALUES(8,60,68.27,'lesmx',72,38.67,'ykbjv')

statement ok
INSERT INTO tab0 VALUES(9,87,78.23,'hkrxh',34,44.78,'iebuu')

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 (col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 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,col1 DESC)

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

statement ok
CREATE INDEX idx_tab3_3 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 (col3,col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col1 IN (26.53,68.57,4.91,0.30,60.24,70.21))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 IN (26.53,68.57,4.91,0.30,60.24,70.21))
----

query I rowsort label-1125
SELECT pk FROM tab0 WHERE NOT ((col1 IN (26.53,68.57,4.91,0.30,60.24,70.21)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col1 IN (26.53,68.57,4.91,0.30,60.24,70.21))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 IN (26.53,68.57,4.91,0.30,60.24,70.21))
----

query I rowsort label-1125
SELECT pk FROM tab1 WHERE NOT ((col1 IN (26.53,68.57,4.91,0.30,60.24,70.21)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col1 IN (26.53,68.57,4.91,0.30,60.24,70.21))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 IN (26.53,68.57,4.91,0.30,60.24,70.21))
----

query I rowsort label-1125
SELECT pk FROM tab2 WHERE NOT ((col1 IN (26.53,68.57,4.91,0.30,60.24,70.21)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col1 IN (26.53,68.57,4.91,0.30,60.24,70.21))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 IN (26.53,68.57,4.91,0.30,60.24,70.21))
----

query I rowsort label-1125
SELECT pk FROM tab3 WHERE NOT ((col1 IN (26.53,68.57,4.91,0.30,60.24,70.21)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col1 IN (26.53,68.57,4.91,0.30,60.24,70.21))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 IN (26.53,68.57,4.91,0.30,60.24,70.21))
----

query I rowsort label-1125
SELECT pk FROM tab4 WHERE NOT ((col1 IN (26.53,68.57,4.91,0.30,60.24,70.21)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col4 = 77.68) OR col0 > 62 OR col0 > 24

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 = 77.68) OR col0 > 62 OR col0 > 24
----

query I rowsort label-1140
SELECT pk FROM tab0 WHERE NOT ((col4 = 77.68) OR col0 > 62 OR col0 > 24)
----
1

statement ok
DELETE FROM tab1 WHERE (col4 = 77.68) OR col0 > 62 OR col0 > 24

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 = 77.68) OR col0 > 62 OR col0 > 24
----

query I rowsort label-1140
SELECT pk FROM tab1 WHERE NOT ((col4 = 77.68) OR col0 > 62 OR col0 > 24)
----
1

statement ok
DELETE FROM tab2 WHERE (col4 = 77.68) OR col0 > 62 OR col0 > 24

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 = 77.68) OR col0 > 62 OR col0 > 24
----

query I rowsort label-1140
SELECT pk FROM tab2 WHERE NOT ((col4 = 77.68) OR col0 > 62 OR col0 > 24)
----
1

statement ok
DELETE FROM tab3 WHERE (col4 = 77.68) OR col0 > 62 OR col0 > 24

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 = 77.68) OR col0 > 62 OR col0 > 24
----

query I rowsort label-1140
SELECT pk FROM tab3 WHERE NOT ((col4 = 77.68) OR col0 > 62 OR col0 > 24)
----
1

statement ok
DELETE FROM tab4 WHERE (col4 = 77.68) OR col0 > 62 OR col0 > 24

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 = 77.68) OR col0 > 62 OR col0 > 24
----

query I rowsort label-1140
SELECT pk FROM tab4 WHERE NOT ((col4 = 77.68) OR col0 > 62 OR col0 > 24)
----
1

statement ok
DELETE FROM tab0 WHERE col4 < 12.62

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

query I rowsort label-1155
SELECT pk FROM tab0 WHERE NOT (col4 < 12.62)
----
1

statement ok
DELETE FROM tab1 WHERE col4 < 12.62

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

query I rowsort label-1155
SELECT pk FROM tab1 WHERE NOT (col4 < 12.62)
----
1

statement ok
DELETE FROM tab2 WHERE col4 < 12.62

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

query I rowsort label-1155
SELECT pk FROM tab2 WHERE NOT (col4 < 12.62)
----
1

statement ok
DELETE FROM tab3 WHERE col4 < 12.62

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

query I rowsort label-1155
SELECT pk FROM tab3 WHERE NOT (col4 < 12.62)
----
1

statement ok
DELETE FROM tab4 WHERE col4 < 12.62

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

query I rowsort label-1155
SELECT pk FROM tab4 WHERE NOT (col4 < 12.62)
----
1

statement ok
DELETE FROM tab0 WHERE col4 > 26.10 AND col0 < 72 OR (col3 >= 2)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 26.10 AND col0 < 72 OR (col3 >= 2)
----

query I rowsort label-1170
SELECT pk FROM tab0 WHERE NOT (col4 > 26.10 AND col0 < 72 OR (col3 >= 2))
----

statement ok
DELETE FROM tab1 WHERE col4 > 26.10 AND col0 < 72 OR (col3 >= 2)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 26.10 AND col0 < 72 OR (col3 >= 2)
----

query I rowsort label-1170
SELECT pk FROM tab1 WHERE NOT (col4 > 26.10 AND col0 < 72 OR (col3 >= 2))
----

statement ok
DELETE FROM tab2 WHERE col4 > 26.10 AND col0 < 72 OR (col3 >= 2)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 26.10 AND col0 < 72 OR (col3 >= 2)
----

query I rowsort label-1170
SELECT pk FROM tab2 WHERE NOT (col4 > 26.10 AND col0 < 72 OR (col3 >= 2))
----

statement ok
DELETE FROM tab3 WHERE col4 > 26.10 AND col0 < 72 OR (col3 >= 2)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 26.10 AND col0 < 72 OR (col3 >= 2)
----

query I rowsort label-1170
SELECT pk FROM tab3 WHERE NOT (col4 > 26.10 AND col0 < 72 OR (col3 >= 2))
----

statement ok
DELETE FROM tab4 WHERE col4 > 26.10 AND col0 < 72 OR (col3 >= 2)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 26.10 AND col0 < 72 OR (col3 >= 2)
----

query I rowsort label-1170
SELECT pk FROM tab4 WHERE NOT (col4 > 26.10 AND col0 < 72 OR (col3 >= 2))
----

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,16,68.50,'tuult',58,62.52,'uplhn')

statement ok
INSERT INTO tab0 VALUES(1,54,35.12,'ynvyz',8,91.58,'zpcwv')

statement ok
INSERT INTO tab0 VALUES(2,73,4.85,'tcvoc',64,66.84,'ihorz')

statement ok
INSERT INTO tab0 VALUES(3,90,11.88,'riptn',86,98.24,'eevqs')

statement ok
INSERT INTO tab0 VALUES(4,72,48.81,'gotke',14,59.91,'hksbt')

statement ok
INSERT INTO tab0 VALUES(5,98,70.21,'uawpl',28,94.78,'bpaez')

statement ok
INSERT INTO tab0 VALUES(6,19,13.28,'xrpfj',17,33.23,'mdtwm')

statement ok
INSERT INTO tab0 VALUES(7,23,5.48,'irsnu',34,3.71,'jccgo')

statement ok
INSERT INTO tab0 VALUES(8,96,76.15,'fdlvl',65,44.35,'mutgc')

statement ok
INSERT INTO tab0 VALUES(9,86,77.13,'fqjcb',83,16.60,'qgtho')

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,col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_3 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 DESC)

statement ok
CREATE INDEX idx_tab3_1 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 INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67
----

query I rowsort label-1185
SELECT pk FROM tab0 WHERE NOT (col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67
----

query I rowsort label-1185
SELECT pk FROM tab1 WHERE NOT (col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67
----

query I rowsort label-1185
SELECT pk FROM tab2 WHERE NOT (col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67
----

query I rowsort label-1185
SELECT pk FROM tab3 WHERE NOT (col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67
----

query I rowsort label-1185
SELECT pk FROM tab4 WHERE NOT (col1 IS NULL AND (col0 > 69 AND (col3 > 35 AND col0 = 59) AND col4 > 60.26 AND col1 >= 77.34 OR (col1 < 14.34 AND col1 < 43.94) AND col0 IS NULL AND ((col3 BETWEEN 45 AND 57 OR col1 >= 35.24) AND col4 <= 97.43) AND col3 > 87 AND col0 > 56) AND col0 >= 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5)
----

query I rowsort label-1200
SELECT pk FROM tab0 WHERE NOT ((col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5))
----

statement ok
DELETE FROM tab1 WHERE (col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5)
----

query I rowsort label-1200
SELECT pk FROM tab1 WHERE NOT ((col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5))
----

statement ok
DELETE FROM tab2 WHERE (col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5)
----

query I rowsort label-1200
SELECT pk FROM tab2 WHERE NOT ((col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5))
----

statement ok
DELETE FROM tab3 WHERE (col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5)
----

query I rowsort label-1200
SELECT pk FROM tab3 WHERE NOT ((col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5))
----

statement ok
DELETE FROM tab4 WHERE (col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5)
----

query I rowsort label-1200
SELECT pk FROM tab4 WHERE NOT ((col0 = 64 OR ((col0 > 36)) OR col3 < 73 AND col0 > 5))
----

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,71,7.28,'hpzsi',66,69.56,'rsfiq')

statement ok
INSERT INTO tab0 VALUES(1,51,33.65,'qnjlg',39,78.68,'imedx')

statement ok
INSERT INTO tab0 VALUES(2,53,69.75,'cniif',37,17.32,'nphbm')

statement ok
INSERT INTO tab0 VALUES(3,84,93.57,'xsyzf',79,14.99,'ypnaj')

statement ok
INSERT INTO tab0 VALUES(4,47,84.1,'mdpbc',18,5.85,'geftb')

statement ok
INSERT INTO tab0 VALUES(5,6,39.43,'xgdss',97,49.41,'buflp')

statement ok
INSERT INTO tab0 VALUES(6,50,83.36,'suyoa',14,41.10,'hmbjs')

statement ok
INSERT INTO tab0 VALUES(7,54,85.6,'idfbk',86,24.91,'afzpb')

statement ok
INSERT INTO tab0 VALUES(8,39,63.17,'zetfn',9,1.4,'xvcld')

statement ok
INSERT INTO tab0 VALUES(9,41,8.33,'wroco',20,50.49,'ciohq')

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,col1 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1,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 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 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14)
----

query I rowsort label-1215
SELECT pk FROM tab0 WHERE NOT (col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14))
----
9

statement ok
DELETE FROM tab1 WHERE col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14)
----

query I rowsort label-1215
SELECT pk FROM tab1 WHERE NOT (col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14))
----
9

statement ok
DELETE FROM tab2 WHERE col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14)
----

query I rowsort label-1215
SELECT pk FROM tab2 WHERE NOT (col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14))
----
9

statement ok
DELETE FROM tab3 WHERE col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14)
----

query I rowsort label-1215
SELECT pk FROM tab3 WHERE NOT (col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14))
----
9

statement ok
DELETE FROM tab4 WHERE col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14)
----

query I rowsort label-1215
SELECT pk FROM tab4 WHERE NOT (col4 > 65.11 OR (col0 < 32) OR col1 < 98.32 AND (col1 > 34.14))
----
9

statement ok
DELETE FROM tab0 WHERE ((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89)
----

query I rowsort label-1230
SELECT pk FROM tab0 WHERE NOT (((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89))
----

statement ok
DELETE FROM tab1 WHERE ((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89)
----

query I rowsort label-1230
SELECT pk FROM tab1 WHERE NOT (((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89))
----

statement ok
DELETE FROM tab2 WHERE ((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89)
----

query I rowsort label-1230
SELECT pk FROM tab2 WHERE NOT (((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89))
----

statement ok
DELETE FROM tab3 WHERE ((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89)
----

query I rowsort label-1230
SELECT pk FROM tab3 WHERE NOT (((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89))
----

statement ok
DELETE FROM tab4 WHERE ((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND col0 < 89)
----

query I rowsort label-1230
SELECT pk FROM tab4 WHERE NOT (((col3 > 59) OR col3 > 12) AND ((((((col0 >= 1)))))) OR ((col0 < 87 OR col1 >= 49.3) OR (((((col0 > 42))) AND col0 > 11 OR col0 = 7 AND (col3 < 68) OR col0 >= 92 AND (col3 < 7) AND col0 IN (58,45,5) AND col3 <= 90 OR col0 = 21 AND col0 IS NULL) OR col4 > 40.94 OR col3 = 29) OR col3 <= 91 AND col0 < 12 AND 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,15,42.52,'wnein',74,40.6,'rarhu')

statement ok
INSERT INTO tab0 VALUES(1,4,72.26,'bowwo',81,53.45,'ubkpp')

statement ok
INSERT INTO tab0 VALUES(2,57,82.95,'xrozc',97,32.60,'xpgvb')

statement ok
INSERT INTO tab0 VALUES(3,33,84.51,'tkzju',29,44.76,'lyyum')

statement ok
INSERT INTO tab0 VALUES(4,54,5.40,'jwhkg',77,82.47,'zcqrt')

statement ok
INSERT INTO tab0 VALUES(5,64,3.19,'hhgqj',96,70.24,'bqcxj')

statement ok
INSERT INTO tab0 VALUES(6,94,75.20,'pqfpf',59,83.12,'teyov')

statement ok
INSERT INTO tab0 VALUES(7,23,74.15,'jjmji',17,54.37,'laoam')

statement ok
INSERT INTO tab0 VALUES(8,42,20.73,'qufcs',65,92.6,'aumst')

statement ok
INSERT INTO tab0 VALUES(9,16,11.27,'paswa',2,89.68,'fehqj')

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 UNIQUE INDEX idx_tab2_1 ON tab2 (col4)

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

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 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0,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)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 >= 44

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

query I rowsort label-1245
SELECT pk FROM tab0 WHERE NOT (col0 >= 44)
----
0
1
3
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 >= 44

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

query I rowsort label-1245
SELECT pk FROM tab1 WHERE NOT (col0 >= 44)
----
0
1
3
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 >= 44

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

query I rowsort label-1245
SELECT pk FROM tab2 WHERE NOT (col0 >= 44)
----
0
1
3
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 >= 44

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

query I rowsort label-1245
SELECT pk FROM tab3 WHERE NOT (col0 >= 44)
----
0
1
3
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 >= 44

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

query I rowsort label-1245
SELECT pk FROM tab4 WHERE NOT (col0 >= 44)
----
0
1
3
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,11,89.25,'hprox',1,21.0,'ljsmq')

statement ok
INSERT INTO tab0 VALUES(1,50,95.61,'wfspp',34,98.91,'obwkh')

statement ok
INSERT INTO tab0 VALUES(2,66,72.32,'hcecg',68,86.58,'pxelf')

statement ok
INSERT INTO tab0 VALUES(3,17,18.19,'fcwym',37,60.43,'hrsoj')

statement ok
INSERT INTO tab0 VALUES(4,67,25.6,'cwbgr',83,73.55,'kxbfq')

statement ok
INSERT INTO tab0 VALUES(5,90,45.4,'rykil',69,16.81,'kdtul')

statement ok
INSERT INTO tab0 VALUES(6,88,53.53,'sykwf',85,88.96,'accpn')

statement ok
INSERT INTO tab0 VALUES(7,0,8.42,'rpazz',74,50.79,'yrtyi')

statement ok
INSERT INTO tab0 VALUES(8,18,16.18,'czloz',29,93.23,'kbejv')

statement ok
INSERT INTO tab0 VALUES(9,92,93.0,'molbc',17,99.51,'taosc')

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_3 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_4 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_0 ON tab3 (col4 DESC,col3)

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

statement ok
CREATE 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 (col4 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

query I rowsort label-1260
SELECT pk FROM tab0 WHERE NOT ((col3 >= 24))
----
0
9

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

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

query I rowsort label-1260
SELECT pk FROM tab1 WHERE NOT ((col3 >= 24))
----
0
9

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

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

query I rowsort label-1260
SELECT pk FROM tab2 WHERE NOT ((col3 >= 24))
----
0
9

statement ok
DELETE FROM tab3 WHERE (col3 >= 24)

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

query I rowsort label-1260
SELECT pk FROM tab3 WHERE NOT ((col3 >= 24))
----
0
9

statement ok
DELETE FROM tab4 WHERE (col3 >= 24)

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

query I rowsort label-1260
SELECT pk FROM tab4 WHERE NOT ((col3 >= 24))
----
0
9

statement ok
DELETE FROM tab0 WHERE col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35)
----

query I rowsort label-1275
SELECT pk FROM tab0 WHERE NOT (col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35))
----
0

statement ok
DELETE FROM tab1 WHERE col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35)
----

query I rowsort label-1275
SELECT pk FROM tab1 WHERE NOT (col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35))
----
0

statement ok
DELETE FROM tab2 WHERE col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35)
----

query I rowsort label-1275
SELECT pk FROM tab2 WHERE NOT (col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35))
----
0

statement ok
DELETE FROM tab3 WHERE col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35)
----

query I rowsort label-1275
SELECT pk FROM tab3 WHERE NOT (col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35))
----
0

statement ok
DELETE FROM tab4 WHERE col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35)
----

query I rowsort label-1275
SELECT pk FROM tab4 WHERE NOT (col3 = 31 OR ((col3 > 47)) AND (col3 >= 10) AND col1 < 45.97 OR col0 > 44 OR (col1 IS NULL OR (col1 > 35.9 AND col0 IS NULL) OR (col3 >= 78 AND (col3 < 67)) AND col4 < 55.35))
----
0

statement ok
DELETE FROM tab0 WHERE col3 > 85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 85
----

query I rowsort label-1290
SELECT pk FROM tab0 WHERE NOT (col3 > 85)
----
0

statement ok
DELETE FROM tab1 WHERE col3 > 85

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 85
----

query I rowsort label-1290
SELECT pk FROM tab1 WHERE NOT (col3 > 85)
----
0

statement ok
DELETE FROM tab2 WHERE col3 > 85

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 85
----

query I rowsort label-1290
SELECT pk FROM tab2 WHERE NOT (col3 > 85)
----
0

statement ok
DELETE FROM tab3 WHERE col3 > 85

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 85
----

query I rowsort label-1290
SELECT pk FROM tab3 WHERE NOT (col3 > 85)
----
0

statement ok
DELETE FROM tab4 WHERE col3 > 85

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 85
----

query I rowsort label-1290
SELECT pk FROM tab4 WHERE NOT (col3 > 85)
----
0

statement ok
DELETE FROM tab0 WHERE ((col3 > 17 OR col3 >= 25 AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 17 OR col3 >= 25 AND col3 IS NULL))
----

query I rowsort label-1305
SELECT pk FROM tab0 WHERE NOT (((col3 > 17 OR col3 >= 25 AND col3 IS NULL)))
----
0

statement ok
DELETE FROM tab1 WHERE ((col3 > 17 OR col3 >= 25 AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 17 OR col3 >= 25 AND col3 IS NULL))
----

query I rowsort label-1305
SELECT pk FROM tab1 WHERE NOT (((col3 > 17 OR col3 >= 25 AND col3 IS NULL)))
----
0

statement ok
DELETE FROM tab2 WHERE ((col3 > 17 OR col3 >= 25 AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 17 OR col3 >= 25 AND col3 IS NULL))
----

query I rowsort label-1305
SELECT pk FROM tab2 WHERE NOT (((col3 > 17 OR col3 >= 25 AND col3 IS NULL)))
----
0

statement ok
DELETE FROM tab3 WHERE ((col3 > 17 OR col3 >= 25 AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 17 OR col3 >= 25 AND col3 IS NULL))
----

query I rowsort label-1305
SELECT pk FROM tab3 WHERE NOT (((col3 > 17 OR col3 >= 25 AND col3 IS NULL)))
----
0

statement ok
DELETE FROM tab4 WHERE ((col3 > 17 OR col3 >= 25 AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 17 OR col3 >= 25 AND col3 IS NULL))
----

query I rowsort label-1305
SELECT pk FROM tab4 WHERE NOT (((col3 > 17 OR col3 >= 25 AND col3 IS NULL)))
----
0

statement ok
DELETE FROM tab0 WHERE col1 >= 76.33

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

query I rowsort label-1320
SELECT pk FROM tab0 WHERE NOT (col1 >= 76.33)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 76.33

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

query I rowsort label-1320
SELECT pk FROM tab1 WHERE NOT (col1 >= 76.33)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 76.33

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

query I rowsort label-1320
SELECT pk FROM tab2 WHERE NOT (col1 >= 76.33)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 76.33

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

query I rowsort label-1320
SELECT pk FROM tab3 WHERE NOT (col1 >= 76.33)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 76.33

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

query I rowsort label-1320
SELECT pk FROM tab4 WHERE NOT (col1 >= 76.33)
----

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,46.25,'gyowx',83,57.73,'nrkwy')

statement ok
INSERT INTO tab0 VALUES(1,33,83.39,'zoaga',94,1.67,'dzswc')

statement ok
INSERT INTO tab0 VALUES(2,19,73.7,'gotvv',51,5.44,'vrnga')

statement ok
INSERT INTO tab0 VALUES(3,13,69.23,'rwrze',18,89.98,'hpvwg')

statement ok
INSERT INTO tab0 VALUES(4,82,86.92,'krvpi',55,91.66,'trnit')

statement ok
INSERT INTO tab0 VALUES(5,66,14.0,'kemtz',77,80.93,'gpdua')

statement ok
INSERT INTO tab0 VALUES(6,47,29.69,'jxlgm',19,69.97,'skjmf')

statement ok
INSERT INTO tab0 VALUES(7,4,7.24,'ytxku',95,26.25,'bbvkh')

statement ok
INSERT INTO tab0 VALUES(8,78,37.55,'vgupw',67,87.23,'kflyc')

statement ok
INSERT INTO tab0 VALUES(9,39,31.77,'aktuo',0,70.94,'aokio')

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,col3 DESC)

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

statement ok
CREATE UNIQUE 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 (col1 DESC,col0 DESC)

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

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 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 (col3,col0)

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 > 98.70

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

query I rowsort label-1335
SELECT pk FROM tab0 WHERE NOT (col1 > 98.70)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 > 98.70

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

query I rowsort label-1335
SELECT pk FROM tab1 WHERE NOT (col1 > 98.70)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 > 98.70

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

query I rowsort label-1335
SELECT pk FROM tab2 WHERE NOT (col1 > 98.70)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 > 98.70

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

query I rowsort label-1335
SELECT pk FROM tab3 WHERE NOT (col1 > 98.70)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 > 98.70

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

query I rowsort label-1335
SELECT pk FROM tab4 WHERE NOT (col1 > 98.70)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97
----

query I rowsort label-1350
SELECT pk FROM tab0 WHERE NOT ((col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97)
----

statement ok
DELETE FROM tab1 WHERE (col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97
----

query I rowsort label-1350
SELECT pk FROM tab1 WHERE NOT ((col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97)
----

statement ok
DELETE FROM tab2 WHERE (col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97
----

query I rowsort label-1350
SELECT pk FROM tab2 WHERE NOT ((col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97)
----

statement ok
DELETE FROM tab3 WHERE (col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97
----

query I rowsort label-1350
SELECT pk FROM tab3 WHERE NOT ((col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97)
----

statement ok
DELETE FROM tab4 WHERE (col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 97
----

query I rowsort label-1350
SELECT pk FROM tab4 WHERE NOT ((col0 >= 61) OR col1 <= 91.80 OR col0 > 9 AND col4 < 19.62 AND col3 = 54 OR col0 < 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,0,52.9,'shtxq',15,77.88,'sbfrj')

statement ok
INSERT INTO tab0 VALUES(1,14,56.57,'qxelt',72,83.54,'pncea')

statement ok
INSERT INTO tab0 VALUES(2,7,1.92,'dtrce',82,64.51,'jkfxq')

statement ok
INSERT INTO tab0 VALUES(3,83,31.24,'swzlo',51,50.30,'iisku')

statement ok
INSERT INTO tab0 VALUES(4,82,78.93,'yifci',81,93.76,'rkhkp')

statement ok
INSERT INTO tab0 VALUES(5,92,30.84,'bbkxe',78,27.26,'bjxxg')

statement ok
INSERT INTO tab0 VALUES(6,66,83.40,'mgcbs',65,31.82,'golks')

statement ok
INSERT INTO tab0 VALUES(7,29,15.74,'siahd',99,94.20,'rgdvi')

statement ok
INSERT INTO tab0 VALUES(8,94,42.80,'rdtxw',77,74.7,'eqlwm')

statement ok
INSERT INTO tab0 VALUES(9,72,79.48,'lafxc',53,62.8,'oznxc')

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_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 (col0)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC)

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 (col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

query I rowsort label-1365
SELECT pk FROM tab0 WHERE NOT ((((col3 >= 97))))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

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

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

query I rowsort label-1365
SELECT pk FROM tab1 WHERE NOT ((((col3 >= 97))))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

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

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

query I rowsort label-1365
SELECT pk FROM tab2 WHERE NOT ((((col3 >= 97))))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab3 WHERE (((col3 >= 97)))

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

query I rowsort label-1365
SELECT pk FROM tab3 WHERE NOT ((((col3 >= 97))))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab4 WHERE (((col3 >= 97)))

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

query I rowsort label-1365
SELECT pk FROM tab4 WHERE NOT ((((col3 >= 97))))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab0 WHERE (col3 >= 26 AND col0 < 89 AND col4 > 61.96)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 26 AND col0 < 89 AND col4 > 61.96)
----

query I rowsort label-1380
SELECT pk FROM tab0 WHERE NOT ((col3 >= 26 AND col0 < 89 AND col4 > 61.96))
----
0
3
5
6
8

statement ok
DELETE FROM tab1 WHERE (col3 >= 26 AND col0 < 89 AND col4 > 61.96)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 26 AND col0 < 89 AND col4 > 61.96)
----

query I rowsort label-1380
SELECT pk FROM tab1 WHERE NOT ((col3 >= 26 AND col0 < 89 AND col4 > 61.96))
----
0
3
5
6
8

statement ok
DELETE FROM tab2 WHERE (col3 >= 26 AND col0 < 89 AND col4 > 61.96)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 26 AND col0 < 89 AND col4 > 61.96)
----

query I rowsort label-1380
SELECT pk FROM tab2 WHERE NOT ((col3 >= 26 AND col0 < 89 AND col4 > 61.96))
----
0
3
5
6
8

statement ok
DELETE FROM tab3 WHERE (col3 >= 26 AND col0 < 89 AND col4 > 61.96)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 26 AND col0 < 89 AND col4 > 61.96)
----

query I rowsort label-1380
SELECT pk FROM tab3 WHERE NOT ((col3 >= 26 AND col0 < 89 AND col4 > 61.96))
----
0
3
5
6
8

statement ok
DELETE FROM tab4 WHERE (col3 >= 26 AND col0 < 89 AND col4 > 61.96)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 26 AND col0 < 89 AND col4 > 61.96)
----

query I rowsort label-1380
SELECT pk FROM tab4 WHERE NOT ((col3 >= 26 AND col0 < 89 AND col4 > 61.96))
----
0
3
5
6
8

statement ok
DELETE FROM tab0 WHERE (col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL)
----

query I rowsort label-1395
SELECT pk FROM tab0 WHERE NOT ((col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL))
----
0
3
5
6
8

statement ok
DELETE FROM tab1 WHERE (col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL)
----

query I rowsort label-1395
SELECT pk FROM tab1 WHERE NOT ((col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL))
----
0
3
5
6
8

statement ok
DELETE FROM tab2 WHERE (col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL)
----

query I rowsort label-1395
SELECT pk FROM tab2 WHERE NOT ((col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL))
----
0
3
5
6
8

statement ok
DELETE FROM tab3 WHERE (col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL)
----

query I rowsort label-1395
SELECT pk FROM tab3 WHERE NOT ((col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL))
----
0
3
5
6
8

statement ok
DELETE FROM tab4 WHERE (col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL)
----

query I rowsort label-1395
SELECT pk FROM tab4 WHERE NOT ((col0 > 71 OR col0 >= 21 AND col4 = 99.24) AND (col0 IS NULL))
----
0
3
5
6
8

statement ok
DELETE FROM tab0 WHERE col1 = 77.69 OR col4 > 14.29

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 77.69 OR col4 > 14.29
----

query I rowsort label-1410
SELECT pk FROM tab0 WHERE NOT (col1 = 77.69 OR col4 > 14.29)
----

statement ok
DELETE FROM tab1 WHERE col1 = 77.69 OR col4 > 14.29

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 77.69 OR col4 > 14.29
----

query I rowsort label-1410
SELECT pk FROM tab1 WHERE NOT (col1 = 77.69 OR col4 > 14.29)
----

statement ok
DELETE FROM tab2 WHERE col1 = 77.69 OR col4 > 14.29

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 77.69 OR col4 > 14.29
----

query I rowsort label-1410
SELECT pk FROM tab2 WHERE NOT (col1 = 77.69 OR col4 > 14.29)
----

statement ok
DELETE FROM tab3 WHERE col1 = 77.69 OR col4 > 14.29

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 77.69 OR col4 > 14.29
----

query I rowsort label-1410
SELECT pk FROM tab3 WHERE NOT (col1 = 77.69 OR col4 > 14.29)
----

statement ok
DELETE FROM tab4 WHERE col1 = 77.69 OR col4 > 14.29

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 77.69 OR col4 > 14.29
----

query I rowsort label-1410
SELECT pk FROM tab4 WHERE NOT (col1 = 77.69 OR col4 > 14.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,78,60.51,'qlyby',60,68.95,'hlnjc')

statement ok
INSERT INTO tab0 VALUES(1,84,15.97,'dqhce',18,60.78,'nbwxm')

statement ok
INSERT INTO tab0 VALUES(2,99,20.4,'alxnr',62,86.26,'iblwp')

statement ok
INSERT INTO tab0 VALUES(3,21,65.62,'qvctx',25,27.58,'cazff')

statement ok
INSERT INTO tab0 VALUES(4,70,66.97,'gwanb',71,71.83,'rmyuf')

statement ok
INSERT INTO tab0 VALUES(5,6,18.80,'ttfcy',9,67.13,'rjbnl')

statement ok
INSERT INTO tab0 VALUES(6,40,69.40,'hznjl',5,96.74,'juzna')

statement ok
INSERT INTO tab0 VALUES(7,47,73.79,'volyh',95,29.21,'dmaei')

statement ok
INSERT INTO tab0 VALUES(8,79,56.82,'wvvhm',97,88.46,'ftojj')

statement ok
INSERT INTO tab0 VALUES(9,71,81.31,'zapxf',24,15.97,'gnxmk')

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 DESC)

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

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 UNIQUE INDEX idx_tab3_0 ON tab3 (col3,col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_4 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col4 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

statement ok
DELETE FROM tab0 WHERE col4 >= 15.33

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

query I rowsort label-1425
SELECT pk FROM tab0 WHERE NOT (col4 >= 15.33)
----

statement ok
DELETE FROM tab1 WHERE col4 >= 15.33

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

query I rowsort label-1425
SELECT pk FROM tab1 WHERE NOT (col4 >= 15.33)
----

statement ok
DELETE FROM tab2 WHERE col4 >= 15.33

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

query I rowsort label-1425
SELECT pk FROM tab2 WHERE NOT (col4 >= 15.33)
----

statement ok
DELETE FROM tab3 WHERE col4 >= 15.33

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

query I rowsort label-1425
SELECT pk FROM tab3 WHERE NOT (col4 >= 15.33)
----

statement ok
DELETE FROM tab4 WHERE col4 >= 15.33

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

query I rowsort label-1425
SELECT pk FROM tab4 WHERE NOT (col4 >= 15.33)
----

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,64.5,'mlpmh',37,94.93,'idvlu')

statement ok
INSERT INTO tab0 VALUES(1,94,63.51,'bgfej',43,53.70,'vujjs')

statement ok
INSERT INTO tab0 VALUES(2,2,40.23,'mhrfh',23,17.95,'nsfiq')

statement ok
INSERT INTO tab0 VALUES(3,95,78.28,'xpqph',57,66.85,'egckk')

statement ok
INSERT INTO tab0 VALUES(4,41,79.15,'ienax',99,50.38,'jpxui')

statement ok
INSERT INTO tab0 VALUES(5,70,74.42,'jxpug',41,9.89,'joalj')

statement ok
INSERT INTO tab0 VALUES(6,29,37.38,'pwdhd',75,83.76,'naiuf')

statement ok
INSERT INTO tab0 VALUES(7,47,0.65,'nfioe',58,20.0,'dtiii')

statement ok
INSERT INTO tab0 VALUES(8,96,61.80,'xqveu',66,97.90,'vwhcg')

statement ok
INSERT INTO tab0 VALUES(9,52,98.98,'qcjmn',72,24.63,'klmqo')

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_4 ON tab2 (col4 DESC,col3,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)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 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 (col3)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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,10.66,'tlpbw',79,76.5,'uweds')

statement ok
INSERT INTO tab0 VALUES(1,2,64.3,'wubwu',58,21.7,'zerlg')

statement ok
INSERT INTO tab0 VALUES(2,67,66.14,'stcie',42,59.53,'tostj')

statement ok
INSERT INTO tab0 VALUES(3,40,39.85,'bqjku',28,19.6,'olcvr')

statement ok
INSERT INTO tab0 VALUES(4,69,48.73,'qcnic',10,31.33,'xebwm')

statement ok
INSERT INTO tab0 VALUES(5,88,14.69,'dvhzi',47,35.62,'hbncz')

statement ok
INSERT INTO tab0 VALUES(6,71,27.57,'lbopq',23,96.50,'jsfki')

statement ok
INSERT INTO tab0 VALUES(7,1,55.81,'pgpkf',7,18.43,'fwtbt')

statement ok
INSERT INTO tab0 VALUES(8,27,63.4,'erdgk',22,53.39,'iuseu')

statement ok
INSERT INTO tab0 VALUES(9,33,19.75,'cenhv',1,13.50,'seylg')

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)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC,col0,col4)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4 DESC,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 (col1 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 > 55.6

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

query I rowsort label-1440
SELECT pk FROM tab0 WHERE NOT (col1 > 55.6)
----
0
3
4
5
6
9

statement ok
DELETE FROM tab1 WHERE col1 > 55.6

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

query I rowsort label-1440
SELECT pk FROM tab1 WHERE NOT (col1 > 55.6)
----
0
3
4
5
6
9

statement ok
DELETE FROM tab2 WHERE col1 > 55.6

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

query I rowsort label-1440
SELECT pk FROM tab2 WHERE NOT (col1 > 55.6)
----
0
3
4
5
6
9

statement ok
DELETE FROM tab3 WHERE col1 > 55.6

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

query I rowsort label-1440
SELECT pk FROM tab3 WHERE NOT (col1 > 55.6)
----
0
3
4
5
6
9

statement ok
DELETE FROM tab4 WHERE col1 > 55.6

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

query I rowsort label-1440
SELECT pk FROM tab4 WHERE NOT (col1 > 55.6)
----
0
3
4
5
6
9

statement ok
DELETE FROM tab0 WHERE col4 >= 76.1

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

query I rowsort label-1455
SELECT pk FROM tab0 WHERE NOT (col4 >= 76.1)
----
3
4
5
9

statement ok
DELETE FROM tab1 WHERE col4 >= 76.1

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

query I rowsort label-1455
SELECT pk FROM tab1 WHERE NOT (col4 >= 76.1)
----
3
4
5
9

statement ok
DELETE FROM tab2 WHERE col4 >= 76.1

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

query I rowsort label-1455
SELECT pk FROM tab2 WHERE NOT (col4 >= 76.1)
----
3
4
5
9

statement ok
DELETE FROM tab3 WHERE col4 >= 76.1

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

query I rowsort label-1455
SELECT pk FROM tab3 WHERE NOT (col4 >= 76.1)
----
3
4
5
9

statement ok
DELETE FROM tab4 WHERE col4 >= 76.1

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

query I rowsort label-1455
SELECT pk FROM tab4 WHERE NOT (col4 >= 76.1)
----
3
4
5
9

statement ok
DELETE FROM tab0 WHERE col4 > 94.11

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

query I rowsort label-1470
SELECT pk FROM tab0 WHERE NOT (col4 > 94.11)
----
3
4
5
9

statement ok
DELETE FROM tab1 WHERE col4 > 94.11

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

query I rowsort label-1470
SELECT pk FROM tab1 WHERE NOT (col4 > 94.11)
----
3
4
5
9

statement ok
DELETE FROM tab2 WHERE col4 > 94.11

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

query I rowsort label-1470
SELECT pk FROM tab2 WHERE NOT (col4 > 94.11)
----
3
4
5
9

statement ok
DELETE FROM tab3 WHERE col4 > 94.11

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

query I rowsort label-1470
SELECT pk FROM tab3 WHERE NOT (col4 > 94.11)
----
3
4
5
9

statement ok
DELETE FROM tab4 WHERE col4 > 94.11

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

query I rowsort label-1470
SELECT pk FROM tab4 WHERE NOT (col4 > 94.11)
----
3
4
5
9

statement ok
DELETE FROM tab0 WHERE col0 <= 28

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

query I rowsort label-1485
SELECT pk FROM tab0 WHERE NOT (col0 <= 28)
----
3
4
5
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-1485
SELECT pk FROM tab1 WHERE NOT (col0 <= 28)
----
3
4
5
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-1485
SELECT pk FROM tab2 WHERE NOT (col0 <= 28)
----
3
4
5
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-1485
SELECT pk FROM tab3 WHERE NOT (col0 <= 28)
----
3
4
5
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-1485
SELECT pk FROM tab4 WHERE NOT (col0 <= 28)
----
3
4
5
9

statement ok
DELETE FROM tab0 WHERE (col0 < 15) OR col0 > 39

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 15) OR col0 > 39
----

query I rowsort label-1500
SELECT pk FROM tab0 WHERE NOT ((col0 < 15) OR col0 > 39)
----
9

statement ok
DELETE FROM tab1 WHERE (col0 < 15) OR col0 > 39

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 15) OR col0 > 39
----

query I rowsort label-1500
SELECT pk FROM tab1 WHERE NOT ((col0 < 15) OR col0 > 39)
----
9

statement ok
DELETE FROM tab2 WHERE (col0 < 15) OR col0 > 39

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 15) OR col0 > 39
----

query I rowsort label-1500
SELECT pk FROM tab2 WHERE NOT ((col0 < 15) OR col0 > 39)
----
9

statement ok
DELETE FROM tab3 WHERE (col0 < 15) OR col0 > 39

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 15) OR col0 > 39
----

query I rowsort label-1500
SELECT pk FROM tab3 WHERE NOT ((col0 < 15) OR col0 > 39)
----
9

statement ok
DELETE FROM tab4 WHERE (col0 < 15) OR col0 > 39

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 15) OR col0 > 39
----

query I rowsort label-1500
SELECT pk FROM tab4 WHERE NOT ((col0 < 15) OR col0 > 39)
----
9

statement ok
DELETE FROM tab0 WHERE col3 < 83

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

query I rowsort label-1515
SELECT pk FROM tab0 WHERE NOT (col3 < 83)
----

statement ok
DELETE FROM tab1 WHERE col3 < 83

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

query I rowsort label-1515
SELECT pk FROM tab1 WHERE NOT (col3 < 83)
----

statement ok
DELETE FROM tab2 WHERE col3 < 83

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

query I rowsort label-1515
SELECT pk FROM tab2 WHERE NOT (col3 < 83)
----

statement ok
DELETE FROM tab3 WHERE col3 < 83

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

query I rowsort label-1515
SELECT pk FROM tab3 WHERE NOT (col3 < 83)
----

statement ok
DELETE FROM tab4 WHERE col3 < 83

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

query I rowsort label-1515
SELECT pk FROM tab4 WHERE NOT (col3 < 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,79,61.67,'txiud',33,94.64,'ribxb')

statement ok
INSERT INTO tab0 VALUES(1,50,78.37,'ncola',90,98.56,'oggdr')

statement ok
INSERT INTO tab0 VALUES(2,51,83.67,'kwafs',37,1.11,'lygkr')

statement ok
INSERT INTO tab0 VALUES(3,95,62.15,'diatb',3,37.32,'tpfvm')

statement ok
INSERT INTO tab0 VALUES(4,33,91.59,'yhzou',62,19.99,'qdexs')

statement ok
INSERT INTO tab0 VALUES(5,61,8.7,'bhaxe',38,99.77,'sftmx')

statement ok
INSERT INTO tab0 VALUES(6,39,68.11,'ovqzl',25,24.32,'mpszv')

statement ok
INSERT INTO tab0 VALUES(7,96,7.77,'rgfds',94,9.40,'fypkm')

statement ok
INSERT INTO tab0 VALUES(8,49,5.81,'tfxxl',8,92.2,'jhioj')

statement ok
INSERT INTO tab0 VALUES(9,11,48.79,'pnvez',36,97.58,'jvxfl')

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 UNIQUE INDEX idx_tab2_1 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_0 ON tab3 (col1,col0 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_4 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4,col3 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1 DESC,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 >= 53.87 OR (col3 BETWEEN 24 AND 49)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 53.87 OR (col3 BETWEEN 24 AND 49)
----

query I rowsort label-1530
SELECT pk FROM tab0 WHERE NOT (col4 >= 53.87 OR (col3 BETWEEN 24 AND 49))
----
3
4
7

statement ok
DELETE FROM tab1 WHERE col4 >= 53.87 OR (col3 BETWEEN 24 AND 49)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 53.87 OR (col3 BETWEEN 24 AND 49)
----

query I rowsort label-1530
SELECT pk FROM tab1 WHERE NOT (col4 >= 53.87 OR (col3 BETWEEN 24 AND 49))
----
3
4
7

statement ok
DELETE FROM tab2 WHERE col4 >= 53.87 OR (col3 BETWEEN 24 AND 49)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 53.87 OR (col3 BETWEEN 24 AND 49)
----

query I rowsort label-1530
SELECT pk FROM tab2 WHERE NOT (col4 >= 53.87 OR (col3 BETWEEN 24 AND 49))
----
3
4
7

statement ok
DELETE FROM tab3 WHERE col4 >= 53.87 OR (col3 BETWEEN 24 AND 49)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 53.87 OR (col3 BETWEEN 24 AND 49)
----

query I rowsort label-1530
SELECT pk FROM tab3 WHERE NOT (col4 >= 53.87 OR (col3 BETWEEN 24 AND 49))
----
3
4
7

statement ok
DELETE FROM tab4 WHERE col4 >= 53.87 OR (col3 BETWEEN 24 AND 49)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 53.87 OR (col3 BETWEEN 24 AND 49)
----

query I rowsort label-1530
SELECT pk FROM tab4 WHERE NOT (col4 >= 53.87 OR (col3 BETWEEN 24 AND 49))
----
3
4
7

statement ok
DELETE FROM tab0 WHERE col0 IN (37,36,28,95) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (37,36,28,95) AND col0 IS NULL
----

query I rowsort label-1545
SELECT pk FROM tab0 WHERE NOT (col0 IN (37,36,28,95) AND col0 IS NULL)
----
3
4
7

statement ok
DELETE FROM tab1 WHERE col0 IN (37,36,28,95) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (37,36,28,95) AND col0 IS NULL
----

query I rowsort label-1545
SELECT pk FROM tab1 WHERE NOT (col0 IN (37,36,28,95) AND col0 IS NULL)
----
3
4
7

statement ok
DELETE FROM tab2 WHERE col0 IN (37,36,28,95) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (37,36,28,95) AND col0 IS NULL
----

query I rowsort label-1545
SELECT pk FROM tab2 WHERE NOT (col0 IN (37,36,28,95) AND col0 IS NULL)
----
3
4
7

statement ok
DELETE FROM tab3 WHERE col0 IN (37,36,28,95) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (37,36,28,95) AND col0 IS NULL
----

query I rowsort label-1545
SELECT pk FROM tab3 WHERE NOT (col0 IN (37,36,28,95) AND col0 IS NULL)
----
3
4
7

statement ok
DELETE FROM tab4 WHERE col0 IN (37,36,28,95) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (37,36,28,95) AND col0 IS NULL
----

query I rowsort label-1545
SELECT pk FROM tab4 WHERE NOT (col0 IN (37,36,28,95) AND col0 IS NULL)
----
3
4
7

statement ok
DELETE FROM tab0 WHERE (((((col3 > 57) AND ((col4 = 92.78))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col3 > 57) AND ((col4 = 92.78))))))
----

query I rowsort label-1560
SELECT pk FROM tab0 WHERE NOT ((((((col3 > 57) AND ((col4 = 92.78)))))))
----
3
4
7

statement ok
DELETE FROM tab1 WHERE (((((col3 > 57) AND ((col4 = 92.78))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col3 > 57) AND ((col4 = 92.78))))))
----

query I rowsort label-1560
SELECT pk FROM tab1 WHERE NOT ((((((col3 > 57) AND ((col4 = 92.78)))))))
----
3
4
7

statement ok
DELETE FROM tab2 WHERE (((((col3 > 57) AND ((col4 = 92.78))))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col3 > 57) AND ((col4 = 92.78))))))
----

query I rowsort label-1560
SELECT pk FROM tab2 WHERE NOT ((((((col3 > 57) AND ((col4 = 92.78)))))))
----
3
4
7

statement ok
DELETE FROM tab3 WHERE (((((col3 > 57) AND ((col4 = 92.78))))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col3 > 57) AND ((col4 = 92.78))))))
----

query I rowsort label-1560
SELECT pk FROM tab3 WHERE NOT ((((((col3 > 57) AND ((col4 = 92.78)))))))
----
3
4
7

statement ok
DELETE FROM tab4 WHERE (((((col3 > 57) AND ((col4 = 92.78))))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col3 > 57) AND ((col4 = 92.78))))))
----

query I rowsort label-1560
SELECT pk FROM tab4 WHERE NOT ((((((col3 > 57) AND ((col4 = 92.78)))))))
----
3
4
7

statement ok
DELETE FROM tab0 WHERE col1 >= 29.50

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

query I rowsort label-1575
SELECT pk FROM tab0 WHERE NOT (col1 >= 29.50)
----
7

statement ok
DELETE FROM tab1 WHERE col1 >= 29.50

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

query I rowsort label-1575
SELECT pk FROM tab1 WHERE NOT (col1 >= 29.50)
----
7

statement ok
DELETE FROM tab2 WHERE col1 >= 29.50

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

query I rowsort label-1575
SELECT pk FROM tab2 WHERE NOT (col1 >= 29.50)
----
7

statement ok
DELETE FROM tab3 WHERE col1 >= 29.50

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

query I rowsort label-1575
SELECT pk FROM tab3 WHERE NOT (col1 >= 29.50)
----
7

statement ok
DELETE FROM tab4 WHERE col1 >= 29.50

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

query I rowsort label-1575
SELECT pk FROM tab4 WHERE NOT (col1 >= 29.50)
----
7

statement ok
DELETE FROM tab0 WHERE col3 >= 9

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

query I rowsort label-1590
SELECT pk FROM tab0 WHERE NOT (col3 >= 9)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 9

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

query I rowsort label-1590
SELECT pk FROM tab1 WHERE NOT (col3 >= 9)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 9

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

query I rowsort label-1590
SELECT pk FROM tab2 WHERE NOT (col3 >= 9)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 9

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

query I rowsort label-1590
SELECT pk FROM tab3 WHERE NOT (col3 >= 9)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 9

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

query I rowsort label-1590
SELECT pk FROM tab4 WHERE NOT (col3 >= 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,78,25.42,'bovdd',90,66.87,'uzsyz')

statement ok
INSERT INTO tab0 VALUES(1,86,6.32,'qfkvb',96,68.94,'rjfuy')

statement ok
INSERT INTO tab0 VALUES(2,30,89.50,'vwsad',19,5.2,'yvewc')

statement ok
INSERT INTO tab0 VALUES(3,23,33.10,'qxxpl',91,80.88,'otxoy')

statement ok
INSERT INTO tab0 VALUES(4,95,51.58,'vapce',16,83.73,'ehnbu')

statement ok
INSERT INTO tab0 VALUES(5,3,77.92,'vemvh',83,54.32,'vlmgp')

statement ok
INSERT INTO tab0 VALUES(6,44,20.67,'frzxb',75,41.5,'pghcj')

statement ok
INSERT INTO tab0 VALUES(7,68,35.12,'kmwor',87,70.13,'cvcpx')

statement ok
INSERT INTO tab0 VALUES(8,91,81.42,'hfuba',32,98.68,'hohwo')

statement ok
INSERT INTO tab0 VALUES(9,4,83.70,'sgcae',59,85.85,'ademn')

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 INDEX idx_tab2_3 ON tab2 (col3 DESC)

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 INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3)

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 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3 DESC,col1)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 >= 56.7

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

query I rowsort label-1605
SELECT pk FROM tab0 WHERE NOT (col1 >= 56.7)
----
0
1
3
4
6
7

statement ok
DELETE FROM tab1 WHERE col1 >= 56.7

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

query I rowsort label-1605
SELECT pk FROM tab1 WHERE NOT (col1 >= 56.7)
----
0
1
3
4
6
7

statement ok
DELETE FROM tab2 WHERE col1 >= 56.7

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

query I rowsort label-1605
SELECT pk FROM tab2 WHERE NOT (col1 >= 56.7)
----
0
1
3
4
6
7

statement ok
DELETE FROM tab3 WHERE col1 >= 56.7

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

query I rowsort label-1605
SELECT pk FROM tab3 WHERE NOT (col1 >= 56.7)
----
0
1
3
4
6
7

statement ok
DELETE FROM tab4 WHERE col1 >= 56.7

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

query I rowsort label-1605
SELECT pk FROM tab4 WHERE NOT (col1 >= 56.7)
----
0
1
3
4
6
7

statement ok
DELETE FROM tab0 WHERE col3 < 26 AND col3 >= 72

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 26 AND col3 >= 72
----

query I rowsort label-1620
SELECT pk FROM tab0 WHERE NOT (col3 < 26 AND col3 >= 72)
----
0
1
3
4
6
7

statement ok
DELETE FROM tab1 WHERE col3 < 26 AND col3 >= 72

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 26 AND col3 >= 72
----

query I rowsort label-1620
SELECT pk FROM tab1 WHERE NOT (col3 < 26 AND col3 >= 72)
----
0
1
3
4
6
7

statement ok
DELETE FROM tab2 WHERE col3 < 26 AND col3 >= 72

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 26 AND col3 >= 72
----

query I rowsort label-1620
SELECT pk FROM tab2 WHERE NOT (col3 < 26 AND col3 >= 72)
----
0
1
3
4
6
7

statement ok
DELETE FROM tab3 WHERE col3 < 26 AND col3 >= 72

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 26 AND col3 >= 72
----

query I rowsort label-1620
SELECT pk FROM tab3 WHERE NOT (col3 < 26 AND col3 >= 72)
----
0
1
3
4
6
7

statement ok
DELETE FROM tab4 WHERE col3 < 26 AND col3 >= 72

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 26 AND col3 >= 72
----

query I rowsort label-1620
SELECT pk FROM tab4 WHERE NOT (col3 < 26 AND col3 >= 72)
----
0
1
3
4
6
7

statement ok
DELETE FROM tab0 WHERE col1 < 32.39

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

query I rowsort label-1635
SELECT pk FROM tab0 WHERE NOT (col1 < 32.39)
----
3
4
7

statement ok
DELETE FROM tab1 WHERE col1 < 32.39

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

query I rowsort label-1635
SELECT pk FROM tab1 WHERE NOT (col1 < 32.39)
----
3
4
7

statement ok
DELETE FROM tab2 WHERE col1 < 32.39

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

query I rowsort label-1635
SELECT pk FROM tab2 WHERE NOT (col1 < 32.39)
----
3
4
7

statement ok
DELETE FROM tab3 WHERE col1 < 32.39

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

query I rowsort label-1635
SELECT pk FROM tab3 WHERE NOT (col1 < 32.39)
----
3
4
7

statement ok
DELETE FROM tab4 WHERE col1 < 32.39

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

query I rowsort label-1635
SELECT pk FROM tab4 WHERE NOT (col1 < 32.39)
----
3
4
7

statement ok
DELETE FROM tab0 WHERE col1 = 10.61

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

query I rowsort label-1650
SELECT pk FROM tab0 WHERE NOT (col1 = 10.61)
----
3
4
7

statement ok
DELETE FROM tab1 WHERE col1 = 10.61

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

query I rowsort label-1650
SELECT pk FROM tab1 WHERE NOT (col1 = 10.61)
----
3
4
7

statement ok
DELETE FROM tab2 WHERE col1 = 10.61

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

query I rowsort label-1650
SELECT pk FROM tab2 WHERE NOT (col1 = 10.61)
----
3
4
7

statement ok
DELETE FROM tab3 WHERE col1 = 10.61

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

query I rowsort label-1650
SELECT pk FROM tab3 WHERE NOT (col1 = 10.61)
----
3
4
7

statement ok
DELETE FROM tab4 WHERE col1 = 10.61

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

query I rowsort label-1650
SELECT pk FROM tab4 WHERE NOT (col1 = 10.61)
----
3
4
7

statement ok
DELETE FROM tab0 WHERE col1 < 80.43

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

query I rowsort label-1665
SELECT pk FROM tab0 WHERE NOT (col1 < 80.43)
----

statement ok
DELETE FROM tab1 WHERE col1 < 80.43

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

query I rowsort label-1665
SELECT pk FROM tab1 WHERE NOT (col1 < 80.43)
----

statement ok
DELETE FROM tab2 WHERE col1 < 80.43

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

query I rowsort label-1665
SELECT pk FROM tab2 WHERE NOT (col1 < 80.43)
----

statement ok
DELETE FROM tab3 WHERE col1 < 80.43

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

query I rowsort label-1665
SELECT pk FROM tab3 WHERE NOT (col1 < 80.43)
----

statement ok
DELETE FROM tab4 WHERE col1 < 80.43

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

query I rowsort label-1665
SELECT pk FROM tab4 WHERE NOT (col1 < 80.43)
----

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,54,7.76,'ucocy',98,91.56,'smvok')

statement ok
INSERT INTO tab0 VALUES(1,88,80.19,'xvmzd',9,25.73,'dsalh')

statement ok
INSERT INTO tab0 VALUES(2,35,30.37,'bwprk',85,74.62,'khmio')

statement ok
INSERT INTO tab0 VALUES(3,93,3.69,'wopfa',94,75.98,'tgzdp')

statement ok
INSERT INTO tab0 VALUES(4,18,73.72,'dijjp',96,89.64,'myino')

statement ok
INSERT INTO tab0 VALUES(5,85,51.90,'gcwmh',99,29.5,'vpslw')

statement ok
INSERT INTO tab0 VALUES(6,55,99.15,'ecjax',29,64.97,'fcotx')

statement ok
INSERT INTO tab0 VALUES(7,31,45.45,'okngw',86,30.6,'hjvyp')

statement ok
INSERT INTO tab0 VALUES(8,27,89.53,'woqsq',10,46.51,'dgbqb')

statement ok
INSERT INTO tab0 VALUES(9,28,22.46,'ogozn',45,28.66,'jxnge')

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_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_0 ON tab3 (col1 DESC)

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

statement ok
CREATE INDEX idx_tab3_4 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_1 ON tab4 (col4,col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC,col3)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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,50.65,'aymmg',23,23.22,'zezks')

statement ok
INSERT INTO tab0 VALUES(1,38,74.84,'trsmj',73,48.84,'iqrky')

statement ok
INSERT INTO tab0 VALUES(2,80,99.39,'tzoag',72,55.55,'dwwrh')

statement ok
INSERT INTO tab0 VALUES(3,66,100.95,'kykix',86,50.13,'lcnze')

statement ok
INSERT INTO tab0 VALUES(4,30,75.45,'fevfo',97,92.69,'ctxte')

statement ok
INSERT INTO tab0 VALUES(5,79,10.22,'jcbfk',14,58.83,'pmkdn')

statement ok
INSERT INTO tab0 VALUES(6,2,41.16,'navsf',85,4.76,'rlffu')

statement ok
INSERT INTO tab0 VALUES(7,85,11.81,'ifvzw',11,30.41,'sjsbp')

statement ok
INSERT INTO tab0 VALUES(8,23,39.52,'acjkz',59,40.56,'sqiwb')

statement ok
INSERT INTO tab0 VALUES(9,31,81.56,'cgcoq',74,5.98,'rjbcp')

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 UNIQUE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE 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,col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4,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 (col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 >= 7

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

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

statement ok
DELETE FROM tab1 WHERE col3 >= 7

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

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

statement ok
DELETE FROM tab2 WHERE col3 >= 7

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

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

statement ok
DELETE FROM tab3 WHERE col3 >= 7

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

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

statement ok
DELETE FROM tab4 WHERE col3 >= 7

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

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

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,69.75,'ysomy',8,37.50,'tsvuh')

statement ok
INSERT INTO tab0 VALUES(1,39,35.95,'xwbsl',14,41.66,'wknyr')

statement ok
INSERT INTO tab0 VALUES(2,36,36.27,'mtyzm',11,70.52,'xbfwo')

statement ok
INSERT INTO tab0 VALUES(3,45,43.76,'arjph',20,93.27,'tcjbu')

statement ok
INSERT INTO tab0 VALUES(4,23,7.2,'iukwv',40,35.21,'bcdnd')

statement ok
INSERT INTO tab0 VALUES(5,15,24.33,'amvjl',64,53.89,'ttdcc')

statement ok
INSERT INTO tab0 VALUES(6,63,96.78,'kkmzl',87,86.23,'pdzom')

statement ok
INSERT INTO tab0 VALUES(7,20,95.40,'xneds',21,27.63,'xsarz')

statement ok
INSERT INTO tab0 VALUES(8,60,23.26,'vicsm',7,79.12,'coujx')

statement ok
INSERT INTO tab0 VALUES(9,94,76.62,'ybplt',29,23.48,'kmuvq')

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 (col4)

statement ok
CREATE UNIQUE 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 (col4 DESC)

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

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

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 UNIQUE INDEX idx_tab4_0 ON tab4 (col4,col1)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col3 IS NULL) AND col4 < 79.80)

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

query I rowsort label-1695
SELECT pk FROM tab0 WHERE NOT (((col3 IS NULL) AND col4 < 79.80))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col3 IS NULL) AND col4 < 79.80)

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

query I rowsort label-1695
SELECT pk FROM tab1 WHERE NOT (((col3 IS NULL) AND col4 < 79.80))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col3 IS NULL) AND col4 < 79.80)

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

query I rowsort label-1695
SELECT pk FROM tab2 WHERE NOT (((col3 IS NULL) AND col4 < 79.80))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col3 IS NULL) AND col4 < 79.80)

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

query I rowsort label-1695
SELECT pk FROM tab3 WHERE NOT (((col3 IS NULL) AND col4 < 79.80))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col3 IS NULL) AND col4 < 79.80)

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

query I rowsort label-1695
SELECT pk FROM tab4 WHERE NOT (((col3 IS NULL) AND col4 < 79.80))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 > 95

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

query I rowsort label-1710
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-1710
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-1710
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-1710
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-1710
SELECT pk FROM tab4 WHERE NOT (col0 > 95)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58)
----

query I rowsort label-1725
SELECT pk FROM tab0 WHERE NOT ((((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58))
----
1
2
3
4
5
8

statement ok
DELETE FROM tab1 WHERE (((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58)
----

query I rowsort label-1725
SELECT pk FROM tab1 WHERE NOT ((((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58))
----
1
2
3
4
5
8

statement ok
DELETE FROM tab2 WHERE (((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58)
----

query I rowsort label-1725
SELECT pk FROM tab2 WHERE NOT ((((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58))
----
1
2
3
4
5
8

statement ok
DELETE FROM tab3 WHERE (((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58)
----

query I rowsort label-1725
SELECT pk FROM tab3 WHERE NOT ((((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58))
----
1
2
3
4
5
8

statement ok
DELETE FROM tab4 WHERE (((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58)
----

query I rowsort label-1725
SELECT pk FROM tab4 WHERE NOT ((((col4 <= 51.69) AND col1 = 55.66)) OR (col1 >= 46.58))
----
1
2
3
4
5
8

statement ok
DELETE FROM tab0 WHERE ((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL))))
----

query I rowsort label-1740
SELECT pk FROM tab0 WHERE NOT (((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL)))))
----

statement ok
DELETE FROM tab1 WHERE ((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL))))
----

query I rowsort label-1740
SELECT pk FROM tab1 WHERE NOT (((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL)))))
----

statement ok
DELETE FROM tab2 WHERE ((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL))))
----

query I rowsort label-1740
SELECT pk FROM tab2 WHERE NOT (((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL)))))
----

statement ok
DELETE FROM tab3 WHERE ((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL))))
----

query I rowsort label-1740
SELECT pk FROM tab3 WHERE NOT (((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL)))))
----

statement ok
DELETE FROM tab4 WHERE ((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND col3 IS NULL))))
----

query I rowsort label-1740
SELECT pk FROM tab4 WHERE NOT (((col4 > 16.23)) OR col4 < 22.41 OR ((((((((col3 <= 94 AND col0 > 95))) AND (((col0 = 58 AND (((col0 = 62))) AND col1 > 94.72 OR (col3 <= 35) OR col3 > 38))) AND col3 <= 65) AND 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,86,62.5,'jyiov',80,4.59,'juitt')

statement ok
INSERT INTO tab0 VALUES(1,79,34.24,'cuvks',65,44.72,'ryyjk')

statement ok
INSERT INTO tab0 VALUES(2,45,28.94,'ffyaa',2,9.8,'sbtan')

statement ok
INSERT INTO tab0 VALUES(3,17,79.29,'vfkux',48,59.9,'uspvw')

statement ok
INSERT INTO tab0 VALUES(4,80,59.29,'npnjh',21,69.61,'vlrve')

statement ok
INSERT INTO tab0 VALUES(5,84,40.93,'ueuzm',9,98.6,'dvdhb')

statement ok
INSERT INTO tab0 VALUES(6,62,56.32,'vtnnw',89,47.54,'xntmi')

statement ok
INSERT INTO tab0 VALUES(7,36,67.83,'dkhqn',33,26.94,'amnfw')

statement ok
INSERT INTO tab0 VALUES(8,34,21.18,'zlvyu',26,12.9,'mzgpg')

statement ok
INSERT INTO tab0 VALUES(9,98,16.60,'isnyy',73,13.90,'ewgld')

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)

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 INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE 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 (col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 >= 23.78

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

query I rowsort label-1755
SELECT pk FROM tab0 WHERE NOT (col1 >= 23.78)
----
8
9

statement ok
DELETE FROM tab1 WHERE col1 >= 23.78

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

query I rowsort label-1755
SELECT pk FROM tab1 WHERE NOT (col1 >= 23.78)
----
8
9

statement ok
DELETE FROM tab2 WHERE col1 >= 23.78

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

query I rowsort label-1755
SELECT pk FROM tab2 WHERE NOT (col1 >= 23.78)
----
8
9

statement ok
DELETE FROM tab3 WHERE col1 >= 23.78

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

query I rowsort label-1755
SELECT pk FROM tab3 WHERE NOT (col1 >= 23.78)
----
8
9

statement ok
DELETE FROM tab4 WHERE col1 >= 23.78

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

query I rowsort label-1755
SELECT pk FROM tab4 WHERE NOT (col1 >= 23.78)
----
8
9

statement ok
DELETE FROM tab0 WHERE col3 > 50

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 50
----

query I rowsort label-1770
SELECT pk FROM tab0 WHERE NOT (col3 > 50)
----
8

statement ok
DELETE FROM tab1 WHERE col3 > 50

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 50
----

query I rowsort label-1770
SELECT pk FROM tab1 WHERE NOT (col3 > 50)
----
8

statement ok
DELETE FROM tab2 WHERE col3 > 50

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 50
----

query I rowsort label-1770
SELECT pk FROM tab2 WHERE NOT (col3 > 50)
----
8

statement ok
DELETE FROM tab3 WHERE col3 > 50

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 50
----

query I rowsort label-1770
SELECT pk FROM tab3 WHERE NOT (col3 > 50)
----
8

statement ok
DELETE FROM tab4 WHERE col3 > 50

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 50
----

query I rowsort label-1770
SELECT pk FROM tab4 WHERE NOT (col3 > 50)
----
8

statement ok
DELETE FROM tab0 WHERE (((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3)
----

query I rowsort label-1785
SELECT pk FROM tab0 WHERE NOT ((((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3))
----

statement ok
DELETE FROM tab1 WHERE (((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3)
----

query I rowsort label-1785
SELECT pk FROM tab1 WHERE NOT ((((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3))
----

statement ok
DELETE FROM tab2 WHERE (((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3)
----

query I rowsort label-1785
SELECT pk FROM tab2 WHERE NOT ((((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3))
----

statement ok
DELETE FROM tab3 WHERE (((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3)
----

query I rowsort label-1785
SELECT pk FROM tab3 WHERE NOT ((((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3))
----

statement ok
DELETE FROM tab4 WHERE (((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 3)
----

query I rowsort label-1785
SELECT pk FROM tab4 WHERE NOT ((((col3 > 82) AND (((((col4 > 41.28) AND (col0 < 97))) OR col0 BETWEEN 29 AND 44)))) OR ((col3 >= 52)) AND col0 > 39 OR col3 IN (91,87) AND col0 < 73 OR col0 > 12 OR col3 < 23 AND (col3 > 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,90,85.62,'cumla',43,96.69,'elyyz')

statement ok
INSERT INTO tab0 VALUES(1,11,18.87,'dwlmn',76,80.14,'syxyh')

statement ok
INSERT INTO tab0 VALUES(2,82,31.36,'byujp',59,87.15,'fyqvk')

statement ok
INSERT INTO tab0 VALUES(3,50,24.86,'famrn',63,45.69,'ncwmt')

statement ok
INSERT INTO tab0 VALUES(4,25,5.93,'oegng',55,95.31,'onicb')

statement ok
INSERT INTO tab0 VALUES(5,46,0.52,'ydtbo',60,4.78,'rgtqk')

statement ok
INSERT INTO tab0 VALUES(6,39,70.63,'yxwbd',22,77.74,'rxbqk')

statement ok
INSERT INTO tab0 VALUES(7,83,19.93,'imqrt',70,69.27,'xlmtf')

statement ok
INSERT INTO tab0 VALUES(8,71,7.33,'xilzh',77,2.56,'mqqku')

statement ok
INSERT INTO tab0 VALUES(9,73,67.71,'udepa',26,71.52,'iqrjy')

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 DESC,col1 DESC)

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 INDEX idx_tab3_0 ON tab3 (col3 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 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_2 ON tab4 (col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52
----

query I rowsort label-1800
SELECT pk FROM tab0 WHERE NOT (col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52)
----
0
1
2
4
6
7
9

statement ok
DELETE FROM tab1 WHERE col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52
----

query I rowsort label-1800
SELECT pk FROM tab1 WHERE NOT (col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52)
----
0
1
2
4
6
7
9

statement ok
DELETE FROM tab2 WHERE col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52
----

query I rowsort label-1800
SELECT pk FROM tab2 WHERE NOT (col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52)
----
0
1
2
4
6
7
9

statement ok
DELETE FROM tab3 WHERE col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52
----

query I rowsort label-1800
SELECT pk FROM tab3 WHERE NOT (col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52)
----
0
1
2
4
6
7
9

statement ok
DELETE FROM tab4 WHERE col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52
----

query I rowsort label-1800
SELECT pk FROM tab4 WHERE NOT (col4 < 60.95 OR col3 > 44 AND ((col4 > 13.64)) AND col4 < 11.52)
----
0
1
2
4
6
7
9

statement ok
DELETE FROM tab0 WHERE ((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47)
----

query I rowsort label-1815
SELECT pk FROM tab0 WHERE NOT (((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47))
----
1
4
6

statement ok
DELETE FROM tab1 WHERE ((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47)
----

query I rowsort label-1815
SELECT pk FROM tab1 WHERE NOT (((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47))
----
1
4
6

statement ok
DELETE FROM tab2 WHERE ((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47)
----

query I rowsort label-1815
SELECT pk FROM tab2 WHERE NOT (((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47))
----
1
4
6

statement ok
DELETE FROM tab3 WHERE ((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47)
----

query I rowsort label-1815
SELECT pk FROM tab3 WHERE NOT (((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47))
----
1
4
6

statement ok
DELETE FROM tab4 WHERE ((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47)
----

query I rowsort label-1815
SELECT pk FROM tab4 WHERE NOT (((col0 > 93) OR col0 > 54) OR col0 >= 8 AND (col3 >= 82) AND col3 > 78 AND col0 <= 37 AND (col3 > 47))
----
1
4
6

statement ok
DELETE FROM tab0 WHERE col1 BETWEEN 6.94 AND 10.22

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 BETWEEN 6.94 AND 10.22
----

query I rowsort label-1830
SELECT pk FROM tab0 WHERE NOT (col1 BETWEEN 6.94 AND 10.22)
----
1
4
6

statement ok
DELETE FROM tab1 WHERE col1 BETWEEN 6.94 AND 10.22

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 BETWEEN 6.94 AND 10.22
----

query I rowsort label-1830
SELECT pk FROM tab1 WHERE NOT (col1 BETWEEN 6.94 AND 10.22)
----
1
4
6

statement ok
DELETE FROM tab2 WHERE col1 BETWEEN 6.94 AND 10.22

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 BETWEEN 6.94 AND 10.22
----

query I rowsort label-1830
SELECT pk FROM tab2 WHERE NOT (col1 BETWEEN 6.94 AND 10.22)
----
1
4
6

statement ok
DELETE FROM tab3 WHERE col1 BETWEEN 6.94 AND 10.22

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 BETWEEN 6.94 AND 10.22
----

query I rowsort label-1830
SELECT pk FROM tab3 WHERE NOT (col1 BETWEEN 6.94 AND 10.22)
----
1
4
6

statement ok
DELETE FROM tab4 WHERE col1 BETWEEN 6.94 AND 10.22

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 BETWEEN 6.94 AND 10.22
----

query I rowsort label-1830
SELECT pk FROM tab4 WHERE NOT (col1 BETWEEN 6.94 AND 10.22)
----
1
4
6

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

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

query I rowsort label-1845
SELECT pk FROM tab0 WHERE NOT (((col0 >= 93)))
----
1
4
6

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

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

query I rowsort label-1845
SELECT pk FROM tab1 WHERE NOT (((col0 >= 93)))
----
1
4
6

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

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

query I rowsort label-1845
SELECT pk FROM tab2 WHERE NOT (((col0 >= 93)))
----
1
4
6

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

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

query I rowsort label-1845
SELECT pk FROM tab3 WHERE NOT (((col0 >= 93)))
----
1
4
6

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

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

query I rowsort label-1845
SELECT pk FROM tab4 WHERE NOT (((col0 >= 93)))
----
1
4
6

statement ok
DELETE FROM tab0 WHERE ((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL
----

query I rowsort label-1860
SELECT pk FROM tab0 WHERE NOT (((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL)
----
1
4
6

statement ok
DELETE FROM tab1 WHERE ((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL
----

query I rowsort label-1860
SELECT pk FROM tab1 WHERE NOT (((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL)
----
1
4
6

statement ok
DELETE FROM tab2 WHERE ((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL
----

query I rowsort label-1860
SELECT pk FROM tab2 WHERE NOT (((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL)
----
1
4
6

statement ok
DELETE FROM tab3 WHERE ((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL
----

query I rowsort label-1860
SELECT pk FROM tab3 WHERE NOT (((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL)
----
1
4
6

statement ok
DELETE FROM tab4 WHERE ((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL
----

query I rowsort label-1860
SELECT pk FROM tab4 WHERE NOT (((col0 > 17 AND (col0 IN (95) OR col3 = 91))) AND col1 < 42.51 AND col0 > 66 AND col0 IS NULL)
----
1
4
6

statement ok
DELETE FROM tab0 WHERE (col1 > 50.47 AND col0 > 45) OR col3 > 43

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 50.47 AND col0 > 45) OR col3 > 43
----

query I rowsort label-1875
SELECT pk FROM tab0 WHERE NOT ((col1 > 50.47 AND col0 > 45) OR col3 > 43)
----
6

statement ok
DELETE FROM tab1 WHERE (col1 > 50.47 AND col0 > 45) OR col3 > 43

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 50.47 AND col0 > 45) OR col3 > 43
----

query I rowsort label-1875
SELECT pk FROM tab1 WHERE NOT ((col1 > 50.47 AND col0 > 45) OR col3 > 43)
----
6

statement ok
DELETE FROM tab2 WHERE (col1 > 50.47 AND col0 > 45) OR col3 > 43

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 50.47 AND col0 > 45) OR col3 > 43
----

query I rowsort label-1875
SELECT pk FROM tab2 WHERE NOT ((col1 > 50.47 AND col0 > 45) OR col3 > 43)
----
6

statement ok
DELETE FROM tab3 WHERE (col1 > 50.47 AND col0 > 45) OR col3 > 43

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 50.47 AND col0 > 45) OR col3 > 43
----

query I rowsort label-1875
SELECT pk FROM tab3 WHERE NOT ((col1 > 50.47 AND col0 > 45) OR col3 > 43)
----
6

statement ok
DELETE FROM tab4 WHERE (col1 > 50.47 AND col0 > 45) OR col3 > 43

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 50.47 AND col0 > 45) OR col3 > 43
----

query I rowsort label-1875
SELECT pk FROM tab4 WHERE NOT ((col1 > 50.47 AND col0 > 45) OR col3 > 43)
----
6

statement ok
DELETE FROM tab0 WHERE (((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32)))
----

query I rowsort label-1890
SELECT pk FROM tab0 WHERE NOT ((((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32))))
----
6

statement ok
DELETE FROM tab1 WHERE (((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32)))
----

query I rowsort label-1890
SELECT pk FROM tab1 WHERE NOT ((((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32))))
----
6

statement ok
DELETE FROM tab2 WHERE (((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32)))
----

query I rowsort label-1890
SELECT pk FROM tab2 WHERE NOT ((((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32))))
----
6

statement ok
DELETE FROM tab3 WHERE (((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32)))
----

query I rowsort label-1890
SELECT pk FROM tab3 WHERE NOT ((((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32))))
----
6

statement ok
DELETE FROM tab4 WHERE (((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32)))
----

query I rowsort label-1890
SELECT pk FROM tab4 WHERE NOT ((((col1 < 69.2 AND col0 > 45 AND col3 IN (72,24,49,58) AND (((col3 <= 13)))) AND (col3 < 32))))
----
6

statement ok
DELETE FROM tab0 WHERE (col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33)
----

query I rowsort label-1905
SELECT pk FROM tab0 WHERE NOT ((col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33))
----

statement ok
DELETE FROM tab1 WHERE (col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33)
----

query I rowsort label-1905
SELECT pk FROM tab1 WHERE NOT ((col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33))
----

statement ok
DELETE FROM tab2 WHERE (col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33)
----

query I rowsort label-1905
SELECT pk FROM tab2 WHERE NOT ((col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33))
----

statement ok
DELETE FROM tab3 WHERE (col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33)
----

query I rowsort label-1905
SELECT pk FROM tab3 WHERE NOT ((col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33))
----

statement ok
DELETE FROM tab4 WHERE (col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33)
----

query I rowsort label-1905
SELECT pk FROM tab4 WHERE NOT ((col0 <= 91 AND col0 = 28 AND col3 > 33 OR col1 > 68.33))
----

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,47.63,'tzhvw',30,15.23,'wpfil')

statement ok
INSERT INTO tab0 VALUES(1,13,58.37,'ocklz',82,69.87,'oqixy')

statement ok
INSERT INTO tab0 VALUES(2,76,17.88,'snzyr',28,18.81,'istdk')

statement ok
INSERT INTO tab0 VALUES(3,44,63.37,'vcyob',14,14.77,'hgjal')

statement ok
INSERT INTO tab0 VALUES(4,22,65.99,'pbvmc',74,52.21,'dovmz')

statement ok
INSERT INTO tab0 VALUES(5,35,43.42,'cwusn',87,79.99,'mhpxk')

statement ok
INSERT INTO tab0 VALUES(6,86,78.56,'uocoa',45,9.93,'zdbzn')

statement ok
INSERT INTO tab0 VALUES(7,21,21.11,'spwik',15,36.52,'kirav')

statement ok
INSERT INTO tab0 VALUES(8,91,10.23,'phkwq',99,46.47,'qocvr')

statement ok
INSERT INTO tab0 VALUES(9,15,81.12,'zpgic',96,28.40,'dfife')

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_4 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 (col1)

statement ok
CREATE INDEX idx_tab3_3 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 (col0 DESC,col4 DESC)

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 >= 47.0 AND col0 <= 56)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 47.0 AND col0 <= 56)
----

query I rowsort label-1920
SELECT pk FROM tab0 WHERE NOT ((col4 >= 47.0 AND col0 <= 56))
----
0
2
3
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col4 >= 47.0 AND col0 <= 56)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 47.0 AND col0 <= 56)
----

query I rowsort label-1920
SELECT pk FROM tab1 WHERE NOT ((col4 >= 47.0 AND col0 <= 56))
----
0
2
3
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col4 >= 47.0 AND col0 <= 56)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 47.0 AND col0 <= 56)
----

query I rowsort label-1920
SELECT pk FROM tab2 WHERE NOT ((col4 >= 47.0 AND col0 <= 56))
----
0
2
3
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col4 >= 47.0 AND col0 <= 56)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 47.0 AND col0 <= 56)
----

query I rowsort label-1920
SELECT pk FROM tab3 WHERE NOT ((col4 >= 47.0 AND col0 <= 56))
----
0
2
3
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col4 >= 47.0 AND col0 <= 56)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 47.0 AND col0 <= 56)
----

query I rowsort label-1920
SELECT pk FROM tab4 WHERE NOT ((col4 >= 47.0 AND col0 <= 56))
----
0
2
3
6
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,82,54.91,'dkoao',14,39.16,'hazxb')

statement ok
INSERT INTO tab0 VALUES(1,9,55.2,'tmcap',65,99.72,'dyluz')

statement ok
INSERT INTO tab0 VALUES(2,91,53.73,'nwvjl',96,7.78,'gkybn')

statement ok
INSERT INTO tab0 VALUES(3,90,57.7,'lcqgd',2,64.56,'clrzr')

statement ok
INSERT INTO tab0 VALUES(4,3,67.36,'tynhl',48,70.34,'yudyv')

statement ok
INSERT INTO tab0 VALUES(5,26,85.77,'ccxcb',27,36.11,'cfbft')

statement ok
INSERT INTO tab0 VALUES(6,16,31.97,'oupat',25,94.15,'tlwpx')

statement ok
INSERT INTO tab0 VALUES(7,52,56.79,'xhzrj',81,12.70,'kqnxk')

statement ok
INSERT INTO tab0 VALUES(8,4,47.78,'otenb',56,8.56,'vzuse')

statement ok
INSERT INTO tab0 VALUES(9,83,52.88,'xrcpj',86,56.70,'flfye')

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,col3 DESC)

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

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 INDEX idx_tab3_0 ON tab3 (col4 DESC)

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

statement ok
CREATE 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 INDEX idx_tab4_1 ON tab4 (col3,col1 DESC,col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC)

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

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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,18.41,'pyjpr',91,33.55,'bthru')

statement ok
INSERT INTO tab0 VALUES(1,31,40.55,'fonnr',92,65.29,'kwcbu')

statement ok
INSERT INTO tab0 VALUES(2,10,38.65,'tlazk',12,79.92,'qbxpu')

statement ok
INSERT INTO tab0 VALUES(3,19,96.84,'wqgev',2,1.26,'jlnxk')

statement ok
INSERT INTO tab0 VALUES(4,15,26.41,'sllmj',75,69.83,'bpnjb')

statement ok
INSERT INTO tab0 VALUES(5,22,33.90,'srlon',21,93.99,'pqwfm')

statement ok
INSERT INTO tab0 VALUES(6,48,71.27,'ztfnn',18,18.8,'chosl')

statement ok
INSERT INTO tab0 VALUES(7,94,15.1,'cwrbw',44,84.51,'gffgm')

statement ok
INSERT INTO tab0 VALUES(8,70,14.24,'tzbnb',93,94.92,'guqjf')

statement ok
INSERT INTO tab0 VALUES(9,4,60.89,'fbrzf',81,67.26,'gopch')

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 DESC)

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

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 UNIQUE INDEX idx_tab3_0 ON tab3 (col1,col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3,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)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7)
----

query I rowsort label-1935
SELECT pk FROM tab0 WHERE NOT (col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7)
----

query I rowsort label-1935
SELECT pk FROM tab1 WHERE NOT (col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7)
----

query I rowsort label-1935
SELECT pk FROM tab2 WHERE NOT (col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7)
----

query I rowsort label-1935
SELECT pk FROM tab3 WHERE NOT (col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7)
----

query I rowsort label-1935
SELECT pk FROM tab4 WHERE NOT (col0 BETWEEN 82 AND 44 AND ((col3 <= 87)) OR ((col4 IN (13.23)) AND col3 >= 47 AND col3 >= 7))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col4 BETWEEN 36.12 AND 99.53)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 BETWEEN 36.12 AND 99.53)
----

query I rowsort label-1950
SELECT pk FROM tab0 WHERE NOT ((col4 BETWEEN 36.12 AND 99.53))
----
0
3
6

statement ok
DELETE FROM tab1 WHERE (col4 BETWEEN 36.12 AND 99.53)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 BETWEEN 36.12 AND 99.53)
----

query I rowsort label-1950
SELECT pk FROM tab1 WHERE NOT ((col4 BETWEEN 36.12 AND 99.53))
----
0
3
6

statement ok
DELETE FROM tab2 WHERE (col4 BETWEEN 36.12 AND 99.53)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 BETWEEN 36.12 AND 99.53)
----

query I rowsort label-1950
SELECT pk FROM tab2 WHERE NOT ((col4 BETWEEN 36.12 AND 99.53))
----
0
3
6

statement ok
DELETE FROM tab3 WHERE (col4 BETWEEN 36.12 AND 99.53)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 BETWEEN 36.12 AND 99.53)
----

query I rowsort label-1950
SELECT pk FROM tab3 WHERE NOT ((col4 BETWEEN 36.12 AND 99.53))
----
0
3
6

statement ok
DELETE FROM tab4 WHERE (col4 BETWEEN 36.12 AND 99.53)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 BETWEEN 36.12 AND 99.53)
----

query I rowsort label-1950
SELECT pk FROM tab4 WHERE NOT ((col4 BETWEEN 36.12 AND 99.53))
----
0
3
6

statement ok
DELETE FROM tab0 WHERE (col1 = 70.80) OR col1 < 19.86 AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 70.80) OR col1 < 19.86 AND col0 > 64
----

query I rowsort label-1965
SELECT pk FROM tab0 WHERE NOT ((col1 = 70.80) OR col1 < 19.86 AND col0 > 64)
----
3
6

statement ok
DELETE FROM tab1 WHERE (col1 = 70.80) OR col1 < 19.86 AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 70.80) OR col1 < 19.86 AND col0 > 64
----

query I rowsort label-1965
SELECT pk FROM tab1 WHERE NOT ((col1 = 70.80) OR col1 < 19.86 AND col0 > 64)
----
3
6

statement ok
DELETE FROM tab2 WHERE (col1 = 70.80) OR col1 < 19.86 AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 70.80) OR col1 < 19.86 AND col0 > 64
----

query I rowsort label-1965
SELECT pk FROM tab2 WHERE NOT ((col1 = 70.80) OR col1 < 19.86 AND col0 > 64)
----
3
6

statement ok
DELETE FROM tab3 WHERE (col1 = 70.80) OR col1 < 19.86 AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 70.80) OR col1 < 19.86 AND col0 > 64
----

query I rowsort label-1965
SELECT pk FROM tab3 WHERE NOT ((col1 = 70.80) OR col1 < 19.86 AND col0 > 64)
----
3
6

statement ok
DELETE FROM tab4 WHERE (col1 = 70.80) OR col1 < 19.86 AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 70.80) OR col1 < 19.86 AND col0 > 64
----

query I rowsort label-1965
SELECT pk FROM tab4 WHERE NOT ((col1 = 70.80) OR col1 < 19.86 AND col0 > 64)
----
3
6

statement ok
DELETE FROM tab0 WHERE col0 = 17

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

query I rowsort label-1980
SELECT pk FROM tab0 WHERE NOT (col0 = 17)
----
3
6

statement ok
DELETE FROM tab1 WHERE col0 = 17

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

query I rowsort label-1980
SELECT pk FROM tab1 WHERE NOT (col0 = 17)
----
3
6

statement ok
DELETE FROM tab2 WHERE col0 = 17

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

query I rowsort label-1980
SELECT pk FROM tab2 WHERE NOT (col0 = 17)
----
3
6

statement ok
DELETE FROM tab3 WHERE col0 = 17

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

query I rowsort label-1980
SELECT pk FROM tab3 WHERE NOT (col0 = 17)
----
3
6

statement ok
DELETE FROM tab4 WHERE col0 = 17

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

query I rowsort label-1980
SELECT pk FROM tab4 WHERE NOT (col0 = 17)
----
3
6

statement ok
DELETE FROM tab0 WHERE col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93
----

query I rowsort label-1995
SELECT pk FROM tab0 WHERE NOT (col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93)
----
3

statement ok
DELETE FROM tab1 WHERE col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93
----

query I rowsort label-1995
SELECT pk FROM tab1 WHERE NOT (col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93)
----
3

statement ok
DELETE FROM tab2 WHERE col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93
----

query I rowsort label-1995
SELECT pk FROM tab2 WHERE NOT (col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93)
----
3

statement ok
DELETE FROM tab3 WHERE col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93
----

query I rowsort label-1995
SELECT pk FROM tab3 WHERE NOT (col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93)
----
3

statement ok
DELETE FROM tab4 WHERE col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93
----

query I rowsort label-1995
SELECT pk FROM tab4 WHERE NOT (col4 > 15.44 OR col4 IN (5.77,28.27,51.84) AND col0 > 93)
----
3

statement ok
DELETE FROM tab0 WHERE ((col0 > 0)) OR col0 > 92

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 0)) OR col0 > 92
----

query I rowsort label-2010
SELECT pk FROM tab0 WHERE NOT (((col0 > 0)) OR col0 > 92)
----

statement ok
DELETE FROM tab1 WHERE ((col0 > 0)) OR col0 > 92

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 0)) OR col0 > 92
----

query I rowsort label-2010
SELECT pk FROM tab1 WHERE NOT (((col0 > 0)) OR col0 > 92)
----

statement ok
DELETE FROM tab2 WHERE ((col0 > 0)) OR col0 > 92

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 0)) OR col0 > 92
----

query I rowsort label-2010
SELECT pk FROM tab2 WHERE NOT (((col0 > 0)) OR col0 > 92)
----

statement ok
DELETE FROM tab3 WHERE ((col0 > 0)) OR col0 > 92

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 0)) OR col0 > 92
----

query I rowsort label-2010
SELECT pk FROM tab3 WHERE NOT (((col0 > 0)) OR col0 > 92)
----

statement ok
DELETE FROM tab4 WHERE ((col0 > 0)) OR col0 > 92

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 0)) OR col0 > 92
----

query I rowsort label-2010
SELECT pk FROM tab4 WHERE NOT (((col0 > 0)) OR col0 > 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,67,4.60,'vdlov',38,81.79,'kfppr')

statement ok
INSERT INTO tab0 VALUES(1,74,89.72,'ukuxf',43,31.45,'nrycq')

statement ok
INSERT INTO tab0 VALUES(2,50,44.2,'yfzfk',51,85.7,'avpgz')

statement ok
INSERT INTO tab0 VALUES(3,19,20.8,'bwcbq',76,32.18,'wcudr')

statement ok
INSERT INTO tab0 VALUES(4,87,32.64,'msxsh',17,1.97,'xgiyb')

statement ok
INSERT INTO tab0 VALUES(5,51,21.66,'wfrfg',70,33.47,'sdghk')

statement ok
INSERT INTO tab0 VALUES(6,7,9.48,'sgpjw',42,34.62,'zbkfq')

statement ok
INSERT INTO tab0 VALUES(7,76,80.93,'acogh',63,39.41,'evehy')

statement ok
INSERT INTO tab0 VALUES(8,3,22.46,'bqvwi',99,86.3,'jyzyg')

statement ok
INSERT INTO tab0 VALUES(9,77,96.27,'slkqw',62,61.96,'ooygd')

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 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 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)

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

statement ok
CREATE INDEX idx_tab3_3 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 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 < 45.63 OR col1 IS NULL AND col0 < 43

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

query I rowsort label-2025
SELECT pk FROM tab0 WHERE NOT (col1 < 45.63 OR col1 IS NULL AND col0 < 43)
----
1
7
9

statement ok
DELETE FROM tab1 WHERE col1 < 45.63 OR col1 IS NULL AND col0 < 43

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

query I rowsort label-2025
SELECT pk FROM tab1 WHERE NOT (col1 < 45.63 OR col1 IS NULL AND col0 < 43)
----
1
7
9

statement ok
DELETE FROM tab2 WHERE col1 < 45.63 OR col1 IS NULL AND col0 < 43

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

query I rowsort label-2025
SELECT pk FROM tab2 WHERE NOT (col1 < 45.63 OR col1 IS NULL AND col0 < 43)
----
1
7
9

statement ok
DELETE FROM tab3 WHERE col1 < 45.63 OR col1 IS NULL AND col0 < 43

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

query I rowsort label-2025
SELECT pk FROM tab3 WHERE NOT (col1 < 45.63 OR col1 IS NULL AND col0 < 43)
----
1
7
9

statement ok
DELETE FROM tab4 WHERE col1 < 45.63 OR col1 IS NULL AND col0 < 43

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

query I rowsort label-2025
SELECT pk FROM tab4 WHERE NOT (col1 < 45.63 OR col1 IS NULL AND col0 < 43)
----
1
7
9

statement ok
DELETE FROM tab0 WHERE (col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17)))
----

query I rowsort label-2040
SELECT pk FROM tab0 WHERE NOT ((col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17))))
----
1
7
9

statement ok
DELETE FROM tab1 WHERE (col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17)))
----

query I rowsort label-2040
SELECT pk FROM tab1 WHERE NOT ((col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17))))
----
1
7
9

statement ok
DELETE FROM tab2 WHERE (col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17)))
----

query I rowsort label-2040
SELECT pk FROM tab2 WHERE NOT ((col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17))))
----
1
7
9

statement ok
DELETE FROM tab3 WHERE (col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17)))
----

query I rowsort label-2040
SELECT pk FROM tab3 WHERE NOT ((col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17))))
----
1
7
9

statement ok
DELETE FROM tab4 WHERE (col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17)))
----

query I rowsort label-2040
SELECT pk FROM tab4 WHERE NOT ((col0 > 19 AND (col1 >= 53.97) AND ((col3 > 4 AND col1 IN (13.76,7.51) AND col0 <= 17))))
----
1
7
9

statement ok
DELETE FROM tab0 WHERE col4 > 55.97

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

query I rowsort label-2055
SELECT pk FROM tab0 WHERE NOT (col4 > 55.97)
----
1
7

statement ok
DELETE FROM tab1 WHERE col4 > 55.97

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

query I rowsort label-2055
SELECT pk FROM tab1 WHERE NOT (col4 > 55.97)
----
1
7

statement ok
DELETE FROM tab2 WHERE col4 > 55.97

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

query I rowsort label-2055
SELECT pk FROM tab2 WHERE NOT (col4 > 55.97)
----
1
7

statement ok
DELETE FROM tab3 WHERE col4 > 55.97

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

query I rowsort label-2055
SELECT pk FROM tab3 WHERE NOT (col4 > 55.97)
----
1
7

statement ok
DELETE FROM tab4 WHERE col4 > 55.97

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

query I rowsort label-2055
SELECT pk FROM tab4 WHERE NOT (col4 > 55.97)
----
1
7

statement ok
DELETE FROM tab0 WHERE col0 < 70

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

query I rowsort label-2070
SELECT pk FROM tab0 WHERE NOT (col0 < 70)
----
1
7

statement ok
DELETE FROM tab1 WHERE col0 < 70

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

query I rowsort label-2070
SELECT pk FROM tab1 WHERE NOT (col0 < 70)
----
1
7

statement ok
DELETE FROM tab2 WHERE col0 < 70

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

query I rowsort label-2070
SELECT pk FROM tab2 WHERE NOT (col0 < 70)
----
1
7

statement ok
DELETE FROM tab3 WHERE col0 < 70

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

query I rowsort label-2070
SELECT pk FROM tab3 WHERE NOT (col0 < 70)
----
1
7

statement ok
DELETE FROM tab4 WHERE col0 < 70

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

query I rowsort label-2070
SELECT pk FROM tab4 WHERE NOT (col0 < 70)
----
1
7

statement ok
DELETE FROM tab0 WHERE (col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10)
----

query I rowsort label-2085
SELECT pk FROM tab0 WHERE NOT ((col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10))
----

statement ok
DELETE FROM tab1 WHERE (col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10)
----

query I rowsort label-2085
SELECT pk FROM tab1 WHERE NOT ((col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10))
----

statement ok
DELETE FROM tab2 WHERE (col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10)
----

query I rowsort label-2085
SELECT pk FROM tab2 WHERE NOT ((col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10))
----

statement ok
DELETE FROM tab3 WHERE (col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10)
----

query I rowsort label-2085
SELECT pk FROM tab3 WHERE NOT ((col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10))
----

statement ok
DELETE FROM tab4 WHERE (col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.10)
----

query I rowsort label-2085
SELECT pk FROM tab4 WHERE NOT ((col4 > 20.71) OR ((col0 = 12 AND col4 = 96.61 OR col0 > 72)) OR (col4 > 97.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,23,62.54,'qclpj',83,97.68,'tqbdo')

statement ok
INSERT INTO tab0 VALUES(1,25,50.99,'jlvvb',36,6.50,'qgyad')

statement ok
INSERT INTO tab0 VALUES(2,66,28.5,'wlftc',81,83.43,'gyflj')

statement ok
INSERT INTO tab0 VALUES(3,89,90.4,'qvbnd',14,71.33,'nispr')

statement ok
INSERT INTO tab0 VALUES(4,45,19.66,'dszed',40,81.1,'pmddf')

statement ok
INSERT INTO tab0 VALUES(5,98,48.10,'hpdsa',87,58.33,'kyogf')

statement ok
INSERT INTO tab0 VALUES(6,42,20.17,'hpzjd',19,37.33,'jwgzx')

statement ok
INSERT INTO tab0 VALUES(7,14,55.43,'xnzqc',47,13.36,'yfeaz')

statement ok
INSERT INTO tab0 VALUES(8,4,12.28,'lzaki',44,98.19,'kvqee')

statement ok
INSERT INTO tab0 VALUES(9,68,49.16,'fnear',53,86.17,'enwhb')

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,col1)

statement ok
CREATE UNIQUE 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 (col4 DESC,col0 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_5 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col3)

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36)
----

query I rowsort label-2100
SELECT pk FROM tab0 WHERE NOT ((col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE (col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36)
----

query I rowsort label-2100
SELECT pk FROM tab1 WHERE NOT ((col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE (col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36)
----

query I rowsort label-2100
SELECT pk FROM tab2 WHERE NOT ((col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE (col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36)
----

query I rowsort label-2100
SELECT pk FROM tab3 WHERE NOT ((col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE (col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36)
----

query I rowsort label-2100
SELECT pk FROM tab4 WHERE NOT ((col4 < 69.3) AND (col0 > 33 OR col1 IN (46.17,51.57)) AND (col3 > 36))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col3 = 83 OR (((col3 IS NULL)))

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

query I rowsort label-2115
SELECT pk FROM tab0 WHERE NOT (col3 = 83 OR (((col3 IS NULL))))
----
1
2
3
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 = 83 OR (((col3 IS NULL)))

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

query I rowsort label-2115
SELECT pk FROM tab1 WHERE NOT (col3 = 83 OR (((col3 IS NULL))))
----
1
2
3
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 = 83 OR (((col3 IS NULL)))

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

query I rowsort label-2115
SELECT pk FROM tab2 WHERE NOT (col3 = 83 OR (((col3 IS NULL))))
----
1
2
3
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 = 83 OR (((col3 IS NULL)))

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

query I rowsort label-2115
SELECT pk FROM tab3 WHERE NOT (col3 = 83 OR (((col3 IS NULL))))
----
1
2
3
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 = 83 OR (((col3 IS NULL)))

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

query I rowsort label-2115
SELECT pk FROM tab4 WHERE NOT (col3 = 83 OR (((col3 IS NULL))))
----
1
2
3
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 > 77 AND col3 < 31

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 77 AND col3 < 31
----

query I rowsort label-2130
SELECT pk FROM tab0 WHERE NOT (col0 > 77 AND col3 < 31)
----
1
2
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 > 77 AND col3 < 31

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 77 AND col3 < 31
----

query I rowsort label-2130
SELECT pk FROM tab1 WHERE NOT (col0 > 77 AND col3 < 31)
----
1
2
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 > 77 AND col3 < 31

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 77 AND col3 < 31
----

query I rowsort label-2130
SELECT pk FROM tab2 WHERE NOT (col0 > 77 AND col3 < 31)
----
1
2
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 > 77 AND col3 < 31

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 77 AND col3 < 31
----

query I rowsort label-2130
SELECT pk FROM tab3 WHERE NOT (col0 > 77 AND col3 < 31)
----
1
2
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 > 77 AND col3 < 31

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 77 AND col3 < 31
----

query I rowsort label-2130
SELECT pk FROM tab4 WHERE NOT (col0 > 77 AND col3 < 31)
----
1
2
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 < 27.96 AND (col3 <= 93)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 27.96 AND (col3 <= 93)
----

query I rowsort label-2145
SELECT pk FROM tab0 WHERE NOT (col4 < 27.96 AND (col3 <= 93))
----
2
4
6
8
9

statement ok
DELETE FROM tab1 WHERE col4 < 27.96 AND (col3 <= 93)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 27.96 AND (col3 <= 93)
----

query I rowsort label-2145
SELECT pk FROM tab1 WHERE NOT (col4 < 27.96 AND (col3 <= 93))
----
2
4
6
8
9

statement ok
DELETE FROM tab2 WHERE col4 < 27.96 AND (col3 <= 93)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 27.96 AND (col3 <= 93)
----

query I rowsort label-2145
SELECT pk FROM tab2 WHERE NOT (col4 < 27.96 AND (col3 <= 93))
----
2
4
6
8
9

statement ok
DELETE FROM tab3 WHERE col4 < 27.96 AND (col3 <= 93)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 27.96 AND (col3 <= 93)
----

query I rowsort label-2145
SELECT pk FROM tab3 WHERE NOT (col4 < 27.96 AND (col3 <= 93))
----
2
4
6
8
9

statement ok
DELETE FROM tab4 WHERE col4 < 27.96 AND (col3 <= 93)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 27.96 AND (col3 <= 93)
----

query I rowsort label-2145
SELECT pk FROM tab4 WHERE NOT (col4 < 27.96 AND (col3 <= 93))
----
2
4
6
8
9

statement ok
DELETE FROM tab0 WHERE col4 > 49.65

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

query I rowsort label-2160
SELECT pk FROM tab0 WHERE NOT (col4 > 49.65)
----
6

statement ok
DELETE FROM tab1 WHERE col4 > 49.65

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

query I rowsort label-2160
SELECT pk FROM tab1 WHERE NOT (col4 > 49.65)
----
6

statement ok
DELETE FROM tab2 WHERE col4 > 49.65

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

query I rowsort label-2160
SELECT pk FROM tab2 WHERE NOT (col4 > 49.65)
----
6

statement ok
DELETE FROM tab3 WHERE col4 > 49.65

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

query I rowsort label-2160
SELECT pk FROM tab3 WHERE NOT (col4 > 49.65)
----
6

statement ok
DELETE FROM tab4 WHERE col4 > 49.65

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

query I rowsort label-2160
SELECT pk FROM tab4 WHERE NOT (col4 > 49.65)
----
6

statement ok
DELETE FROM tab0 WHERE col4 < 30.77

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

query I rowsort label-2175
SELECT pk FROM tab0 WHERE NOT (col4 < 30.77)
----
6

statement ok
DELETE FROM tab1 WHERE col4 < 30.77

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

query I rowsort label-2175
SELECT pk FROM tab1 WHERE NOT (col4 < 30.77)
----
6

statement ok
DELETE FROM tab2 WHERE col4 < 30.77

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

query I rowsort label-2175
SELECT pk FROM tab2 WHERE NOT (col4 < 30.77)
----
6

statement ok
DELETE FROM tab3 WHERE col4 < 30.77

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

query I rowsort label-2175
SELECT pk FROM tab3 WHERE NOT (col4 < 30.77)
----
6

statement ok
DELETE FROM tab4 WHERE col4 < 30.77

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

query I rowsort label-2175
SELECT pk FROM tab4 WHERE NOT (col4 < 30.77)
----
6

statement ok
DELETE FROM tab0 WHERE (col1 = 40.5)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 40.5)
----

query I rowsort label-2190
SELECT pk FROM tab0 WHERE NOT ((col1 = 40.5))
----
6

statement ok
DELETE FROM tab1 WHERE (col1 = 40.5)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 40.5)
----

query I rowsort label-2190
SELECT pk FROM tab1 WHERE NOT ((col1 = 40.5))
----
6

statement ok
DELETE FROM tab2 WHERE (col1 = 40.5)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 40.5)
----

query I rowsort label-2190
SELECT pk FROM tab2 WHERE NOT ((col1 = 40.5))
----
6

statement ok
DELETE FROM tab3 WHERE (col1 = 40.5)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 40.5)
----

query I rowsort label-2190
SELECT pk FROM tab3 WHERE NOT ((col1 = 40.5))
----
6

statement ok
DELETE FROM tab4 WHERE (col1 = 40.5)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 40.5)
----

query I rowsort label-2190
SELECT pk FROM tab4 WHERE NOT ((col1 = 40.5))
----
6

statement ok
DELETE FROM tab0 WHERE col1 > 83.76

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

query I rowsort label-2205
SELECT pk FROM tab0 WHERE NOT (col1 > 83.76)
----
6

statement ok
DELETE FROM tab1 WHERE col1 > 83.76

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

query I rowsort label-2205
SELECT pk FROM tab1 WHERE NOT (col1 > 83.76)
----
6

statement ok
DELETE FROM tab2 WHERE col1 > 83.76

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

query I rowsort label-2205
SELECT pk FROM tab2 WHERE NOT (col1 > 83.76)
----
6

statement ok
DELETE FROM tab3 WHERE col1 > 83.76

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

query I rowsort label-2205
SELECT pk FROM tab3 WHERE NOT (col1 > 83.76)
----
6

statement ok
DELETE FROM tab4 WHERE col1 > 83.76

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

query I rowsort label-2205
SELECT pk FROM tab4 WHERE NOT (col1 > 83.76)
----
6

statement ok
DELETE FROM tab0 WHERE col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15
----

query I rowsort label-2220
SELECT pk FROM tab0 WHERE NOT (col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15)
----

statement ok
DELETE FROM tab1 WHERE col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15
----

query I rowsort label-2220
SELECT pk FROM tab1 WHERE NOT (col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15)
----

statement ok
DELETE FROM tab2 WHERE col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15
----

query I rowsort label-2220
SELECT pk FROM tab2 WHERE NOT (col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15)
----

statement ok
DELETE FROM tab3 WHERE col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15
----

query I rowsort label-2220
SELECT pk FROM tab3 WHERE NOT (col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15)
----

statement ok
DELETE FROM tab4 WHERE col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15
----

query I rowsort label-2220
SELECT pk FROM tab4 WHERE NOT (col0 <= 28 OR col3 > 71 OR col1 >= 10.96 AND (col3 BETWEEN 37 AND 72 AND ((col1 >= 7.7)) OR (col3 < 28) AND (col0 = 53 OR (col0 < 50)) OR (col4 <= 70.27) OR col0 < 96 AND col3 > 9 AND (col3 > 99) OR col3 BETWEEN 56 AND 94 AND col3 < 87 AND col3 BETWEEN 22 AND 9 OR ((col3 <= 32 AND col3 >= 82 AND (col3 > 53) OR col3 > 2 OR ((((col3 < 61) OR col1 <= 75.86 AND col4 IN (42.33,39.38,33.0,75.81) OR col3 <= 4 AND ((col1 BETWEEN 36.69 AND 14.8 OR col3 BETWEEN 27 AND 86))) OR (col4 < 23.49) AND (col3 <= 71))) AND col0 IN (6,25,38,15) OR (col3 < 22) OR col3 > 39 AND (col0 IN (5,49,20,9,62) AND (col3 > 41)) AND (col1 < 11.47 AND col0 > 22) OR (col1 >= 43.54) OR col1 > 9.84) AND col0 = 62) OR col3 = 13 AND col3 > 76 AND col3 >= 80 OR (col0 IS NULL AND ((((col0 = 29) OR (col1 > 26.8))))) AND col1 < 39.32) OR ((col0 <= 21)) OR col1 >= 0.39 AND col0 > 15)
----

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,49.66,'mtdzy',66,89.31,'tuwoj')

statement ok
INSERT INTO tab0 VALUES(1,97,8.70,'rykej',92,5.39,'wdzvc')

statement ok
INSERT INTO tab0 VALUES(2,69,62.58,'uiofi',59,98.53,'fgcjg')

statement ok
INSERT INTO tab0 VALUES(3,80,29.65,'direk',77,50.18,'rntgl')

statement ok
INSERT INTO tab0 VALUES(4,27,20.50,'fmsrp',9,67.8,'iwmcn')

statement ok
INSERT INTO tab0 VALUES(5,24,0.4,'mnbxy',94,40.38,'acpid')

statement ok
INSERT INTO tab0 VALUES(6,10,53.71,'amewj',52,10.78,'wsyar')

statement ok
INSERT INTO tab0 VALUES(7,65,42.50,'bthmx',1,27.65,'ckfio')

statement ok
INSERT INTO tab0 VALUES(8,22,72.17,'qkvou',67,18.14,'nuvkz')

statement ok
INSERT INTO tab0 VALUES(9,78,54.31,'fcies',96,43.33,'fwmsp')

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,col1 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab2_3 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_0 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_2 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 INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 = 59

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

query I rowsort label-2235
SELECT pk FROM tab0 WHERE NOT (col3 = 59)
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab1 WHERE col3 = 59

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

query I rowsort label-2235
SELECT pk FROM tab1 WHERE NOT (col3 = 59)
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab2 WHERE col3 = 59

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

query I rowsort label-2235
SELECT pk FROM tab2 WHERE NOT (col3 = 59)
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab3 WHERE col3 = 59

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

query I rowsort label-2235
SELECT pk FROM tab3 WHERE NOT (col3 = 59)
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab4 WHERE col3 = 59

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

query I rowsort label-2235
SELECT pk FROM tab4 WHERE NOT (col3 = 59)
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab0 WHERE (col3 <= 24)

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

query I rowsort label-2250
SELECT pk FROM tab0 WHERE NOT ((col3 <= 24))
----
0
1
3
5
6
8
9

statement ok
DELETE FROM tab1 WHERE (col3 <= 24)

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

query I rowsort label-2250
SELECT pk FROM tab1 WHERE NOT ((col3 <= 24))
----
0
1
3
5
6
8
9

statement ok
DELETE FROM tab2 WHERE (col3 <= 24)

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

query I rowsort label-2250
SELECT pk FROM tab2 WHERE NOT ((col3 <= 24))
----
0
1
3
5
6
8
9

statement ok
DELETE FROM tab3 WHERE (col3 <= 24)

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

query I rowsort label-2250
SELECT pk FROM tab3 WHERE NOT ((col3 <= 24))
----
0
1
3
5
6
8
9

statement ok
DELETE FROM tab4 WHERE (col3 <= 24)

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

query I rowsort label-2250
SELECT pk FROM tab4 WHERE NOT ((col3 <= 24))
----
0
1
3
5
6
8
9

statement ok
DELETE FROM tab0 WHERE ((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62
----

query I rowsort label-2265
SELECT pk FROM tab0 WHERE NOT (((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62)
----
6
8
9

statement ok
DELETE FROM tab1 WHERE ((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62
----

query I rowsort label-2265
SELECT pk FROM tab1 WHERE NOT (((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62)
----
6
8
9

statement ok
DELETE FROM tab2 WHERE ((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62
----

query I rowsort label-2265
SELECT pk FROM tab2 WHERE NOT (((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62)
----
6
8
9

statement ok
DELETE FROM tab3 WHERE ((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62
----

query I rowsort label-2265
SELECT pk FROM tab3 WHERE NOT (((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62)
----
6
8
9

statement ok
DELETE FROM tab4 WHERE ((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62
----

query I rowsort label-2265
SELECT pk FROM tab4 WHERE NOT (((col1 < 20.46)) OR ((col0 >= 60 AND ((col3 < 80)))) OR col0 BETWEEN 93 AND 65 AND col3 >= 62)
----
6
8
9

statement ok
DELETE FROM tab0 WHERE (col0 < 38)

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

query I rowsort label-2280
SELECT pk FROM tab0 WHERE NOT ((col0 < 38))
----
9

statement ok
DELETE FROM tab1 WHERE (col0 < 38)

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

query I rowsort label-2280
SELECT pk FROM tab1 WHERE NOT ((col0 < 38))
----
9

statement ok
DELETE FROM tab2 WHERE (col0 < 38)

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

query I rowsort label-2280
SELECT pk FROM tab2 WHERE NOT ((col0 < 38))
----
9

statement ok
DELETE FROM tab3 WHERE (col0 < 38)

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

query I rowsort label-2280
SELECT pk FROM tab3 WHERE NOT ((col0 < 38))
----
9

statement ok
DELETE FROM tab4 WHERE (col0 < 38)

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

query I rowsort label-2280
SELECT pk FROM tab4 WHERE NOT ((col0 < 38))
----
9

statement ok
DELETE FROM tab0 WHERE (col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0)
----

query I rowsort label-2295
SELECT pk FROM tab0 WHERE NOT ((col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0))
----
9

statement ok
DELETE FROM tab1 WHERE (col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0)
----

query I rowsort label-2295
SELECT pk FROM tab1 WHERE NOT ((col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0))
----
9

statement ok
DELETE FROM tab2 WHERE (col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0)
----

query I rowsort label-2295
SELECT pk FROM tab2 WHERE NOT ((col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0))
----
9

statement ok
DELETE FROM tab3 WHERE (col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0)
----

query I rowsort label-2295
SELECT pk FROM tab3 WHERE NOT ((col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0))
----
9

statement ok
DELETE FROM tab4 WHERE (col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0)
----

query I rowsort label-2295
SELECT pk FROM tab4 WHERE NOT ((col0 > 81 OR col0 <= 98 AND ((col3 BETWEEN 90 AND 73 OR col3 = 13)) OR col0 >= 55 AND ((col1 IS NULL)) AND (((col3 = 85))) OR col3 < 0))
----
9

statement ok
DELETE FROM tab0 WHERE (col0 > 11)

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

query I rowsort label-2310
SELECT pk FROM tab0 WHERE NOT ((col0 > 11))
----

statement ok
DELETE FROM tab1 WHERE (col0 > 11)

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

query I rowsort label-2310
SELECT pk FROM tab1 WHERE NOT ((col0 > 11))
----

statement ok
DELETE FROM tab2 WHERE (col0 > 11)

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

query I rowsort label-2310
SELECT pk FROM tab2 WHERE NOT ((col0 > 11))
----

statement ok
DELETE FROM tab3 WHERE (col0 > 11)

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

query I rowsort label-2310
SELECT pk FROM tab3 WHERE NOT ((col0 > 11))
----

statement ok
DELETE FROM tab4 WHERE (col0 > 11)

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

query I rowsort label-2310
SELECT pk FROM tab4 WHERE NOT ((col0 > 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,61,6.94,'wjznr',73,88.1,'whmjs')

statement ok
INSERT INTO tab0 VALUES(1,11,7.24,'tbjox',61,40.2,'ctgkb')

statement ok
INSERT INTO tab0 VALUES(2,62,82.46,'wsgzr',98,35.48,'fnbyc')

statement ok
INSERT INTO tab0 VALUES(3,73,26.45,'qbaxi',26,27.48,'zdmor')

statement ok
INSERT INTO tab0 VALUES(4,23,92.31,'upgon',6,8.88,'uecqh')

statement ok
INSERT INTO tab0 VALUES(5,12,53.45,'exlsr',34,74.43,'lhflp')

statement ok
INSERT INTO tab0 VALUES(6,77,69.76,'dvpmu',46,89.94,'pkkic')

statement ok
INSERT INTO tab0 VALUES(7,13,46.70,'giwrc',40,42.32,'mtgut')

statement ok
INSERT INTO tab0 VALUES(8,71,0.47,'bycwk',80,15.80,'mbwrp')

statement ok
INSERT INTO tab0 VALUES(9,83,18.8,'mqnkd',15,43.99,'uqmgj')

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,col3 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3,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 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3)

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

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 INDEX idx_tab4_0 ON tab4 (col1 DESC,col0)

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 BETWEEN 75 AND 92)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 BETWEEN 75 AND 92)
----

query I rowsort label-2325
SELECT pk FROM tab0 WHERE NOT ((col3 BETWEEN 75 AND 92))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab1 WHERE (col3 BETWEEN 75 AND 92)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 BETWEEN 75 AND 92)
----

query I rowsort label-2325
SELECT pk FROM tab1 WHERE NOT ((col3 BETWEEN 75 AND 92))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab2 WHERE (col3 BETWEEN 75 AND 92)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 BETWEEN 75 AND 92)
----

query I rowsort label-2325
SELECT pk FROM tab2 WHERE NOT ((col3 BETWEEN 75 AND 92))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab3 WHERE (col3 BETWEEN 75 AND 92)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 BETWEEN 75 AND 92)
----

query I rowsort label-2325
SELECT pk FROM tab3 WHERE NOT ((col3 BETWEEN 75 AND 92))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab4 WHERE (col3 BETWEEN 75 AND 92)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 BETWEEN 75 AND 92)
----

query I rowsort label-2325
SELECT pk FROM tab4 WHERE NOT ((col3 BETWEEN 75 AND 92))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab0 WHERE ((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75)
----

query I rowsort label-2340
SELECT pk FROM tab0 WHERE NOT (((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab1 WHERE ((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75)
----

query I rowsort label-2340
SELECT pk FROM tab1 WHERE NOT (((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab2 WHERE ((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75)
----

query I rowsort label-2340
SELECT pk FROM tab2 WHERE NOT (((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab3 WHERE ((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75)
----

query I rowsort label-2340
SELECT pk FROM tab3 WHERE NOT (((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab4 WHERE ((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75)
----

query I rowsort label-2340
SELECT pk FROM tab4 WHERE NOT (((col3 < 71) AND col3 < 4 AND col4 > 41.13 AND (col4 IS NULL)) AND col0 IN (39,75))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab0 WHERE col3 > 89

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 89
----

query I rowsort label-2355
SELECT pk FROM tab0 WHERE NOT (col3 > 89)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col3 > 89

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 89
----

query I rowsort label-2355
SELECT pk FROM tab1 WHERE NOT (col3 > 89)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col3 > 89

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 89
----

query I rowsort label-2355
SELECT pk FROM tab2 WHERE NOT (col3 > 89)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col3 > 89

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 89
----

query I rowsort label-2355
SELECT pk FROM tab3 WHERE NOT (col3 > 89)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col3 > 89

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 89
----

query I rowsort label-2355
SELECT pk FROM tab4 WHERE NOT (col3 > 89)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab0 WHERE (col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85)
----

query I rowsort label-2370
SELECT pk FROM tab0 WHERE NOT ((col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85))
----
1
4
5
7

statement ok
DELETE FROM tab1 WHERE (col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85)
----

query I rowsort label-2370
SELECT pk FROM tab1 WHERE NOT ((col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85))
----
1
4
5
7

statement ok
DELETE FROM tab2 WHERE (col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85)
----

query I rowsort label-2370
SELECT pk FROM tab2 WHERE NOT ((col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85))
----
1
4
5
7

statement ok
DELETE FROM tab3 WHERE (col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85)
----

query I rowsort label-2370
SELECT pk FROM tab3 WHERE NOT ((col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85))
----
1
4
5
7

statement ok
DELETE FROM tab4 WHERE (col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85)
----

query I rowsort label-2370
SELECT pk FROM tab4 WHERE NOT ((col3 IS NULL OR (col0 > 59) AND col0 > 14 OR (col1 IN (66.67)) AND (col0 IN (75,93)) AND col4 IN (96.29,92.19) AND (col1 > 75.32) AND col4 >= 35.85))
----
1
4
5
7

statement ok
DELETE FROM tab0 WHERE (col4 > 67.33) OR col0 < 19

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 67.33) OR col0 < 19
----

query I rowsort label-2385
SELECT pk FROM tab0 WHERE NOT ((col4 > 67.33) OR col0 < 19)
----
4

statement ok
DELETE FROM tab1 WHERE (col4 > 67.33) OR col0 < 19

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 67.33) OR col0 < 19
----

query I rowsort label-2385
SELECT pk FROM tab1 WHERE NOT ((col4 > 67.33) OR col0 < 19)
----
4

statement ok
DELETE FROM tab2 WHERE (col4 > 67.33) OR col0 < 19

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 67.33) OR col0 < 19
----

query I rowsort label-2385
SELECT pk FROM tab2 WHERE NOT ((col4 > 67.33) OR col0 < 19)
----
4

statement ok
DELETE FROM tab3 WHERE (col4 > 67.33) OR col0 < 19

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 67.33) OR col0 < 19
----

query I rowsort label-2385
SELECT pk FROM tab3 WHERE NOT ((col4 > 67.33) OR col0 < 19)
----
4

statement ok
DELETE FROM tab4 WHERE (col4 > 67.33) OR col0 < 19

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 67.33) OR col0 < 19
----

query I rowsort label-2385
SELECT pk FROM tab4 WHERE NOT ((col4 > 67.33) OR col0 < 19)
----
4

statement ok
DELETE FROM tab0 WHERE col3 < 74

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

query I rowsort label-2400
SELECT pk FROM tab0 WHERE NOT (col3 < 74)
----

statement ok
DELETE FROM tab1 WHERE col3 < 74

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

query I rowsort label-2400
SELECT pk FROM tab1 WHERE NOT (col3 < 74)
----

statement ok
DELETE FROM tab2 WHERE col3 < 74

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

query I rowsort label-2400
SELECT pk FROM tab2 WHERE NOT (col3 < 74)
----

statement ok
DELETE FROM tab3 WHERE col3 < 74

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

query I rowsort label-2400
SELECT pk FROM tab3 WHERE NOT (col3 < 74)
----

statement ok
DELETE FROM tab4 WHERE col3 < 74

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

query I rowsort label-2400
SELECT pk FROM tab4 WHERE NOT (col3 < 74)
----

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,5.18,'bjhrd',49,11.45,'fxwky')

statement ok
INSERT INTO tab0 VALUES(1,87,47.38,'xwccb',97,76.88,'xopjr')

statement ok
INSERT INTO tab0 VALUES(2,76,39.70,'cudjr',34,9.71,'qxgcd')

statement ok
INSERT INTO tab0 VALUES(3,31,59.91,'wtaex',92,44.4,'pwwen')

statement ok
INSERT INTO tab0 VALUES(4,68,88.77,'lnotz',74,97.57,'gjkgw')

statement ok
INSERT INTO tab0 VALUES(5,81,68.16,'ssjah',71,28.65,'blmgl')

statement ok
INSERT INTO tab0 VALUES(6,57,67.21,'wjkqv',68,3.45,'bmxjr')

statement ok
INSERT INTO tab0 VALUES(7,88,41.40,'yrsdw',65,58.8,'ldhjl')

statement ok
INSERT INTO tab0 VALUES(8,82,94.74,'miyfr',82,59.69,'iqvly')

statement ok
INSERT INTO tab0 VALUES(9,72,46.81,'gpdoa',73,67.61,'evrrg')

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_1 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 INDEX idx_tab3_1 ON tab3 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 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 (col1 DESC,col3,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 > 66.47

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

query I rowsort label-2415
SELECT pk FROM tab0 WHERE NOT (col1 > 66.47)
----
0
1
2
3
7
9

statement ok
DELETE FROM tab1 WHERE col1 > 66.47

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

query I rowsort label-2415
SELECT pk FROM tab1 WHERE NOT (col1 > 66.47)
----
0
1
2
3
7
9

statement ok
DELETE FROM tab2 WHERE col1 > 66.47

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

query I rowsort label-2415
SELECT pk FROM tab2 WHERE NOT (col1 > 66.47)
----
0
1
2
3
7
9

statement ok
DELETE FROM tab3 WHERE col1 > 66.47

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

query I rowsort label-2415
SELECT pk FROM tab3 WHERE NOT (col1 > 66.47)
----
0
1
2
3
7
9

statement ok
DELETE FROM tab4 WHERE col1 > 66.47

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

query I rowsort label-2415
SELECT pk FROM tab4 WHERE NOT (col1 > 66.47)
----
0
1
2
3
7
9

statement ok
DELETE FROM tab0 WHERE col0 = 43

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

query I rowsort label-2430
SELECT pk FROM tab0 WHERE NOT (col0 = 43)
----
0
1
2
3
7
9

statement ok
DELETE FROM tab1 WHERE col0 = 43

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

query I rowsort label-2430
SELECT pk FROM tab1 WHERE NOT (col0 = 43)
----
0
1
2
3
7
9

statement ok
DELETE FROM tab2 WHERE col0 = 43

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

query I rowsort label-2430
SELECT pk FROM tab2 WHERE NOT (col0 = 43)
----
0
1
2
3
7
9

statement ok
DELETE FROM tab3 WHERE col0 = 43

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

query I rowsort label-2430
SELECT pk FROM tab3 WHERE NOT (col0 = 43)
----
0
1
2
3
7
9

statement ok
DELETE FROM tab4 WHERE col0 = 43

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

query I rowsort label-2430
SELECT pk FROM tab4 WHERE NOT (col0 = 43)
----
0
1
2
3
7
9

statement ok
DELETE FROM tab0 WHERE col0 > 44 AND col3 > 94

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 44 AND col3 > 94
----

query I rowsort label-2445
SELECT pk FROM tab0 WHERE NOT (col0 > 44 AND col3 > 94)
----
0
2
3
7
9

statement ok
DELETE FROM tab1 WHERE col0 > 44 AND col3 > 94

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 44 AND col3 > 94
----

query I rowsort label-2445
SELECT pk FROM tab1 WHERE NOT (col0 > 44 AND col3 > 94)
----
0
2
3
7
9

statement ok
DELETE FROM tab2 WHERE col0 > 44 AND col3 > 94

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 44 AND col3 > 94
----

query I rowsort label-2445
SELECT pk FROM tab2 WHERE NOT (col0 > 44 AND col3 > 94)
----
0
2
3
7
9

statement ok
DELETE FROM tab3 WHERE col0 > 44 AND col3 > 94

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 44 AND col3 > 94
----

query I rowsort label-2445
SELECT pk FROM tab3 WHERE NOT (col0 > 44 AND col3 > 94)
----
0
2
3
7
9

statement ok
DELETE FROM tab4 WHERE col0 > 44 AND col3 > 94

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 44 AND col3 > 94
----

query I rowsort label-2445
SELECT pk FROM tab4 WHERE NOT (col0 > 44 AND col3 > 94)
----
0
2
3
7
9

statement ok
DELETE FROM tab0 WHERE col3 <= 89

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

query I rowsort label-2460
SELECT pk FROM tab0 WHERE NOT (col3 <= 89)
----
3

statement ok
DELETE FROM tab1 WHERE col3 <= 89

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

query I rowsort label-2460
SELECT pk FROM tab1 WHERE NOT (col3 <= 89)
----
3

statement ok
DELETE FROM tab2 WHERE col3 <= 89

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

query I rowsort label-2460
SELECT pk FROM tab2 WHERE NOT (col3 <= 89)
----
3

statement ok
DELETE FROM tab3 WHERE col3 <= 89

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

query I rowsort label-2460
SELECT pk FROM tab3 WHERE NOT (col3 <= 89)
----
3

statement ok
DELETE FROM tab4 WHERE col3 <= 89

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

query I rowsort label-2460
SELECT pk FROM tab4 WHERE NOT (col3 <= 89)
----
3

statement ok
DELETE FROM tab0 WHERE (col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11)
----

query I rowsort label-2475
SELECT pk FROM tab0 WHERE NOT ((col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11))
----
3

statement ok
DELETE FROM tab1 WHERE (col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11)
----

query I rowsort label-2475
SELECT pk FROM tab1 WHERE NOT ((col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11))
----
3

statement ok
DELETE FROM tab2 WHERE (col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11)
----

query I rowsort label-2475
SELECT pk FROM tab2 WHERE NOT ((col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11))
----
3

statement ok
DELETE FROM tab3 WHERE (col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11)
----

query I rowsort label-2475
SELECT pk FROM tab3 WHERE NOT ((col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11))
----
3

statement ok
DELETE FROM tab4 WHERE (col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11)
----

query I rowsort label-2475
SELECT pk FROM tab4 WHERE NOT ((col0 > 81 AND col0 < 9 OR (col4 > 47.40 AND col3 IS NULL)) OR col1 <= 15.12 AND (col3 > 11))
----
3

statement ok
DELETE FROM tab0 WHERE col0 > 1

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

query I rowsort label-2490
SELECT pk FROM tab0 WHERE NOT (col0 > 1)
----

statement ok
DELETE FROM tab1 WHERE col0 > 1

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

query I rowsort label-2490
SELECT pk FROM tab1 WHERE NOT (col0 > 1)
----

statement ok
DELETE FROM tab2 WHERE col0 > 1

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

query I rowsort label-2490
SELECT pk FROM tab2 WHERE NOT (col0 > 1)
----

statement ok
DELETE FROM tab3 WHERE col0 > 1

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

query I rowsort label-2490
SELECT pk FROM tab3 WHERE NOT (col0 > 1)
----

statement ok
DELETE FROM tab4 WHERE col0 > 1

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

query I rowsort label-2490
SELECT pk FROM tab4 WHERE NOT (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,77,37.53,'yoiyx',79,9.56,'sfvux')

statement ok
INSERT INTO tab0 VALUES(1,65,6.19,'wsavp',5,51.61,'avnvf')

statement ok
INSERT INTO tab0 VALUES(2,97,48.83,'vhbzd',14,42.69,'filvn')

statement ok
INSERT INTO tab0 VALUES(3,6,2.43,'lagpa',72,16.92,'mouet')

statement ok
INSERT INTO tab0 VALUES(4,92,90.52,'oojyj',21,71.54,'qnkxy')

statement ok
INSERT INTO tab0 VALUES(5,45,75.34,'cqvpr',98,29.4,'tjpsu')

statement ok
INSERT INTO tab0 VALUES(6,49,29.90,'njgim',41,1.27,'torjg')

statement ok
INSERT INTO tab0 VALUES(7,0,91.17,'kfalw',6,47.57,'fcpof')

statement ok
INSERT INTO tab0 VALUES(8,18,32.16,'ibcwg',78,39.91,'tkrce')

statement ok
INSERT INTO tab0 VALUES(9,57,19.7,'donfu',84,26.99,'stcet')

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,col1)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0 DESC,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 UNIQUE INDEX idx_tab3_1 ON tab3 (col0,col4)

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

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

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col1 DESC,col4 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 (col4 DESC,col3,col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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,34,2.56,'ravxz',75,48.62,'rilru')

statement ok
INSERT INTO tab0 VALUES(1,40,11.17,'fqqws',71,75.33,'cyrnw')

statement ok
INSERT INTO tab0 VALUES(2,36,12.69,'jtejl',24,92.2,'cswhf')

statement ok
INSERT INTO tab0 VALUES(3,6,1.72,'dciqu',59,76.77,'fvtvn')

statement ok
INSERT INTO tab0 VALUES(4,44,52.37,'zaedp',63,19.23,'gmmim')

statement ok
INSERT INTO tab0 VALUES(5,60,90.40,'kmtvi',99,88.78,'whnmj')

statement ok
INSERT INTO tab0 VALUES(6,95,42.29,'sjnew',15,93.59,'jdcpq')

statement ok
INSERT INTO tab0 VALUES(7,33,13.45,'mlcgc',58,39.79,'cnuql')

statement ok
INSERT INTO tab0 VALUES(8,14,29.27,'jqubp',89,3.58,'fnhlp')

statement ok
INSERT INTO tab0 VALUES(9,46,26.28,'mbhkc',92,85.35,'kbzyu')

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_2 ON tab2 (col3 DESC,col0)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (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 UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

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 (col3 DESC)

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col4 <= 12.22) AND (col3 >= 15))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 <= 12.22) AND (col3 >= 15))
----

query I rowsort label-2505
SELECT pk FROM tab0 WHERE NOT (((col4 <= 12.22) AND (col3 >= 15)))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab1 WHERE ((col4 <= 12.22) AND (col3 >= 15))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 <= 12.22) AND (col3 >= 15))
----

query I rowsort label-2505
SELECT pk FROM tab1 WHERE NOT (((col4 <= 12.22) AND (col3 >= 15)))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab2 WHERE ((col4 <= 12.22) AND (col3 >= 15))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 <= 12.22) AND (col3 >= 15))
----

query I rowsort label-2505
SELECT pk FROM tab2 WHERE NOT (((col4 <= 12.22) AND (col3 >= 15)))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab3 WHERE ((col4 <= 12.22) AND (col3 >= 15))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 <= 12.22) AND (col3 >= 15))
----

query I rowsort label-2505
SELECT pk FROM tab3 WHERE NOT (((col4 <= 12.22) AND (col3 >= 15)))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab4 WHERE ((col4 <= 12.22) AND (col3 >= 15))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 <= 12.22) AND (col3 >= 15))
----

query I rowsort label-2505
SELECT pk FROM tab4 WHERE NOT (((col4 <= 12.22) AND (col3 >= 15)))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab0 WHERE col3 < 49

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

query I rowsort label-2520
SELECT pk FROM tab0 WHERE NOT (col3 < 49)
----
0
1
3
4
5
7
9

statement ok
DELETE FROM tab1 WHERE col3 < 49

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

query I rowsort label-2520
SELECT pk FROM tab1 WHERE NOT (col3 < 49)
----
0
1
3
4
5
7
9

statement ok
DELETE FROM tab2 WHERE col3 < 49

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

query I rowsort label-2520
SELECT pk FROM tab2 WHERE NOT (col3 < 49)
----
0
1
3
4
5
7
9

statement ok
DELETE FROM tab3 WHERE col3 < 49

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

query I rowsort label-2520
SELECT pk FROM tab3 WHERE NOT (col3 < 49)
----
0
1
3
4
5
7
9

statement ok
DELETE FROM tab4 WHERE col3 < 49

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

query I rowsort label-2520
SELECT pk FROM tab4 WHERE NOT (col3 < 49)
----
0
1
3
4
5
7
9

statement ok
DELETE FROM tab0 WHERE col3 >= 1

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

query I rowsort label-2535
SELECT pk FROM tab0 WHERE NOT (col3 >= 1)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 1

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

query I rowsort label-2535
SELECT pk FROM tab1 WHERE NOT (col3 >= 1)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 1

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

query I rowsort label-2535
SELECT pk FROM tab2 WHERE NOT (col3 >= 1)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 1

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

query I rowsort label-2535
SELECT pk FROM tab3 WHERE NOT (col3 >= 1)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 1

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

query I rowsort label-2535
SELECT pk FROM tab4 WHERE NOT (col3 >= 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,87,41.47,'qnfqx',25,42.5,'bsuik')

statement ok
INSERT INTO tab0 VALUES(1,3,94.55,'nfzac',32,49.85,'zbztq')

statement ok
INSERT INTO tab0 VALUES(2,35,88.13,'ehewu',40,36.32,'eaach')

statement ok
INSERT INTO tab0 VALUES(3,36,95.21,'dkosl',97,84.19,'adztk')

statement ok
INSERT INTO tab0 VALUES(4,56,96.58,'pnbkp',57,60.59,'qiavl')

statement ok
INSERT INTO tab0 VALUES(5,55,33.96,'xzkif',90,82.13,'swzpu')

statement ok
INSERT INTO tab0 VALUES(6,16,92.13,'grwis',95,83.3,'dsxki')

statement ok
INSERT INTO tab0 VALUES(7,57,42.6,'gzvae',13,66.28,'mkvyd')

statement ok
INSERT INTO tab0 VALUES(8,44,14.1,'qfhxg',39,77.72,'skigd')

statement ok
INSERT INTO tab0 VALUES(9,4,56.69,'wlskt',33,59.19,'xaawo')

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 UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1)

statement ok
CREATE 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 (col1 DESC)

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

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 INDEX idx_tab4_0 ON tab4 (col1,col4)

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

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 > 32)

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

query I rowsort label-2550
SELECT pk FROM tab0 WHERE NOT ((col3 > 32))
----
0
1
7

statement ok
DELETE FROM tab1 WHERE (col3 > 32)

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

query I rowsort label-2550
SELECT pk FROM tab1 WHERE NOT ((col3 > 32))
----
0
1
7

statement ok
DELETE FROM tab2 WHERE (col3 > 32)

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

query I rowsort label-2550
SELECT pk FROM tab2 WHERE NOT ((col3 > 32))
----
0
1
7

statement ok
DELETE FROM tab3 WHERE (col3 > 32)

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

query I rowsort label-2550
SELECT pk FROM tab3 WHERE NOT ((col3 > 32))
----
0
1
7

statement ok
DELETE FROM tab4 WHERE (col3 > 32)

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

query I rowsort label-2550
SELECT pk FROM tab4 WHERE NOT ((col3 > 32))
----
0
1
7

statement ok
DELETE FROM tab0 WHERE col4 >= 89.71

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

query I rowsort label-2565
SELECT pk FROM tab0 WHERE NOT (col4 >= 89.71)
----
0
1
7

statement ok
DELETE FROM tab1 WHERE col4 >= 89.71

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

query I rowsort label-2565
SELECT pk FROM tab1 WHERE NOT (col4 >= 89.71)
----
0
1
7

statement ok
DELETE FROM tab2 WHERE col4 >= 89.71

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

query I rowsort label-2565
SELECT pk FROM tab2 WHERE NOT (col4 >= 89.71)
----
0
1
7

statement ok
DELETE FROM tab3 WHERE col4 >= 89.71

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

query I rowsort label-2565
SELECT pk FROM tab3 WHERE NOT (col4 >= 89.71)
----
0
1
7

statement ok
DELETE FROM tab4 WHERE col4 >= 89.71

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

query I rowsort label-2565
SELECT pk FROM tab4 WHERE NOT (col4 >= 89.71)
----
0
1
7

statement ok
DELETE FROM tab0 WHERE ((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42))))
----

query I rowsort label-2580
SELECT pk FROM tab0 WHERE NOT (((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42)))))
----
0
1
7

statement ok
DELETE FROM tab1 WHERE ((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42))))
----

query I rowsort label-2580
SELECT pk FROM tab1 WHERE NOT (((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42)))))
----
0
1
7

statement ok
DELETE FROM tab2 WHERE ((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42))))
----

query I rowsort label-2580
SELECT pk FROM tab2 WHERE NOT (((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42)))))
----
0
1
7

statement ok
DELETE FROM tab3 WHERE ((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42))))
----

query I rowsort label-2580
SELECT pk FROM tab3 WHERE NOT (((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42)))))
----
0
1
7

statement ok
DELETE FROM tab4 WHERE ((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42))))
----

query I rowsort label-2580
SELECT pk FROM tab4 WHERE NOT (((((col1 <= 20.72 AND col3 <= 94) AND col1 IN (9.36,22.96,13.5,92.77,85.11,2.42)))))
----
0
1
7

statement ok
DELETE FROM tab0 WHERE col3 > 49

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

query I rowsort label-2595
SELECT pk FROM tab0 WHERE NOT (col3 > 49)
----
0
1
7

statement ok
DELETE FROM tab1 WHERE col3 > 49

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

query I rowsort label-2595
SELECT pk FROM tab1 WHERE NOT (col3 > 49)
----
0
1
7

statement ok
DELETE FROM tab2 WHERE col3 > 49

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

query I rowsort label-2595
SELECT pk FROM tab2 WHERE NOT (col3 > 49)
----
0
1
7

statement ok
DELETE FROM tab3 WHERE col3 > 49

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

query I rowsort label-2595
SELECT pk FROM tab3 WHERE NOT (col3 > 49)
----
0
1
7

statement ok
DELETE FROM tab4 WHERE col3 > 49

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

query I rowsort label-2595
SELECT pk FROM tab4 WHERE NOT (col3 > 49)
----
0
1
7

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

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

query I rowsort label-2610
SELECT pk FROM tab0 WHERE NOT (((col0 < 8)))
----
0
7

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

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

query I rowsort label-2610
SELECT pk FROM tab1 WHERE NOT (((col0 < 8)))
----
0
7

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

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

query I rowsort label-2610
SELECT pk FROM tab2 WHERE NOT (((col0 < 8)))
----
0
7

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

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

query I rowsort label-2610
SELECT pk FROM tab3 WHERE NOT (((col0 < 8)))
----
0
7

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

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

query I rowsort label-2610
SELECT pk FROM tab4 WHERE NOT (((col0 < 8)))
----
0
7

statement ok
DELETE FROM tab0 WHERE col1 > 49.20

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

query I rowsort label-2625
SELECT pk FROM tab0 WHERE NOT (col1 > 49.20)
----
0
7

statement ok
DELETE FROM tab1 WHERE col1 > 49.20

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

query I rowsort label-2625
SELECT pk FROM tab1 WHERE NOT (col1 > 49.20)
----
0
7

statement ok
DELETE FROM tab2 WHERE col1 > 49.20

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

query I rowsort label-2625
SELECT pk FROM tab2 WHERE NOT (col1 > 49.20)
----
0
7

statement ok
DELETE FROM tab3 WHERE col1 > 49.20

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

query I rowsort label-2625
SELECT pk FROM tab3 WHERE NOT (col1 > 49.20)
----
0
7

statement ok
DELETE FROM tab4 WHERE col1 > 49.20

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

query I rowsort label-2625
SELECT pk FROM tab4 WHERE NOT (col1 > 49.20)
----
0
7

statement ok
DELETE FROM tab0 WHERE (col3 IS NULL) OR col1 < 59.88

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

query I rowsort label-2640
SELECT pk FROM tab0 WHERE NOT ((col3 IS NULL) OR col1 < 59.88)
----

statement ok
DELETE FROM tab1 WHERE (col3 IS NULL) OR col1 < 59.88

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

query I rowsort label-2640
SELECT pk FROM tab1 WHERE NOT ((col3 IS NULL) OR col1 < 59.88)
----

statement ok
DELETE FROM tab2 WHERE (col3 IS NULL) OR col1 < 59.88

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

query I rowsort label-2640
SELECT pk FROM tab2 WHERE NOT ((col3 IS NULL) OR col1 < 59.88)
----

statement ok
DELETE FROM tab3 WHERE (col3 IS NULL) OR col1 < 59.88

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

query I rowsort label-2640
SELECT pk FROM tab3 WHERE NOT ((col3 IS NULL) OR col1 < 59.88)
----

statement ok
DELETE FROM tab4 WHERE (col3 IS NULL) OR col1 < 59.88

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

query I rowsort label-2640
SELECT pk FROM tab4 WHERE NOT ((col3 IS NULL) OR col1 < 59.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,66,82.98,'tqxpd',84,67.18,'augiv')

statement ok
INSERT INTO tab0 VALUES(1,40,4.46,'hreuc',35,21.11,'ikjoh')

statement ok
INSERT INTO tab0 VALUES(2,1,12.58,'yxtrr',90,71.40,'idxlk')

statement ok
INSERT INTO tab0 VALUES(3,27,45.73,'mwnvk',18,91.50,'qadkj')

statement ok
INSERT INTO tab0 VALUES(4,29,50.22,'bbzxb',24,37.36,'ogums')

statement ok
INSERT INTO tab0 VALUES(5,64,37.40,'rjynh',68,15.49,'mhreg')

statement ok
INSERT INTO tab0 VALUES(6,44,46.74,'xxfmd',71,39.12,'uakxm')

statement ok
INSERT INTO tab0 VALUES(7,52,3.0,'njdxs',29,94.32,'ixavi')

statement ok
INSERT INTO tab0 VALUES(8,53,96.35,'czgky',28,3.12,'zamdt')

statement ok
INSERT INTO tab0 VALUES(9,7,22.47,'otwby',56,82.65,'mfjfh')

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)

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

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4,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 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1,col3 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 (col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 = 94.20

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

query I rowsort label-2655
SELECT pk FROM tab0 WHERE NOT (col4 = 94.20)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 = 94.20

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

query I rowsort label-2655
SELECT pk FROM tab1 WHERE NOT (col4 = 94.20)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 = 94.20

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

query I rowsort label-2655
SELECT pk FROM tab2 WHERE NOT (col4 = 94.20)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 = 94.20

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

query I rowsort label-2655
SELECT pk FROM tab3 WHERE NOT (col4 = 94.20)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 = 94.20

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

query I rowsort label-2655
SELECT pk FROM tab4 WHERE NOT (col4 = 94.20)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23)))
----

query I rowsort label-2670
SELECT pk FROM tab0 WHERE NOT ((((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23))))
----
0
2
3

statement ok
DELETE FROM tab1 WHERE (((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23)))
----

query I rowsort label-2670
SELECT pk FROM tab1 WHERE NOT ((((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23))))
----
0
2
3

statement ok
DELETE FROM tab2 WHERE (((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23)))
----

query I rowsort label-2670
SELECT pk FROM tab2 WHERE NOT ((((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23))))
----
0
2
3

statement ok
DELETE FROM tab3 WHERE (((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23)))
----

query I rowsort label-2670
SELECT pk FROM tab3 WHERE NOT ((((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23))))
----
0
2
3

statement ok
DELETE FROM tab4 WHERE (((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23)))
----

query I rowsort label-2670
SELECT pk FROM tab4 WHERE NOT ((((col4 <= 50.77 OR col3 BETWEEN 28 AND 83)) OR ((col4 < 23.23))))
----
0
2
3

statement ok
DELETE FROM tab0 WHERE col0 > 58 AND col0 <= 4

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 58 AND col0 <= 4
----

query I rowsort label-2685
SELECT pk FROM tab0 WHERE NOT (col0 > 58 AND col0 <= 4)
----
0
2
3

statement ok
DELETE FROM tab1 WHERE col0 > 58 AND col0 <= 4

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 58 AND col0 <= 4
----

query I rowsort label-2685
SELECT pk FROM tab1 WHERE NOT (col0 > 58 AND col0 <= 4)
----
0
2
3

statement ok
DELETE FROM tab2 WHERE col0 > 58 AND col0 <= 4

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 58 AND col0 <= 4
----

query I rowsort label-2685
SELECT pk FROM tab2 WHERE NOT (col0 > 58 AND col0 <= 4)
----
0
2
3

statement ok
DELETE FROM tab3 WHERE col0 > 58 AND col0 <= 4

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 58 AND col0 <= 4
----

query I rowsort label-2685
SELECT pk FROM tab3 WHERE NOT (col0 > 58 AND col0 <= 4)
----
0
2
3

statement ok
DELETE FROM tab4 WHERE col0 > 58 AND col0 <= 4

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 58 AND col0 <= 4
----

query I rowsort label-2685
SELECT pk FROM tab4 WHERE NOT (col0 > 58 AND col0 <= 4)
----
0
2
3

statement ok
DELETE FROM tab0 WHERE col1 > 9.73

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

query I rowsort label-2700
SELECT pk FROM tab0 WHERE NOT (col1 > 9.73)
----

statement ok
DELETE FROM tab1 WHERE col1 > 9.73

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

query I rowsort label-2700
SELECT pk FROM tab1 WHERE NOT (col1 > 9.73)
----

statement ok
DELETE FROM tab2 WHERE col1 > 9.73

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

query I rowsort label-2700
SELECT pk FROM tab2 WHERE NOT (col1 > 9.73)
----

statement ok
DELETE FROM tab3 WHERE col1 > 9.73

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

query I rowsort label-2700
SELECT pk FROM tab3 WHERE NOT (col1 > 9.73)
----

statement ok
DELETE FROM tab4 WHERE col1 > 9.73

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

query I rowsort label-2700
SELECT pk FROM tab4 WHERE NOT (col1 > 9.73)
----

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,77,79.79,'tccwd',45,95.60,'shyrl')

statement ok
INSERT INTO tab0 VALUES(1,92,40.72,'tmhew',88,92.16,'whkec')

statement ok
INSERT INTO tab0 VALUES(2,78,20.81,'qrgbc',89,49.44,'zvxml')

statement ok
INSERT INTO tab0 VALUES(3,61,92.87,'woryz',78,38.24,'ltwro')

statement ok
INSERT INTO tab0 VALUES(4,17,8.39,'xybty',10,68.37,'vxcvt')

statement ok
INSERT INTO tab0 VALUES(5,18,9.13,'ilvtu',20,93.24,'tmamw')

statement ok
INSERT INTO tab0 VALUES(6,6,42.81,'yymxu',93,23.50,'fymgg')

statement ok
INSERT INTO tab0 VALUES(7,48,63.67,'xftux',23,45.66,'olgqx')

statement ok
INSERT INTO tab0 VALUES(8,5,61.15,'vspxw',76,27.71,'tmwmu')

statement ok
INSERT INTO tab0 VALUES(9,89,62.45,'yzknh',53,31.77,'ipxqs')

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 UNIQUE 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 INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 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 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 > 44

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 44
----

query I rowsort label-2715
SELECT pk FROM tab0 WHERE NOT (col3 > 44)
----
4
5
7

statement ok
DELETE FROM tab1 WHERE col3 > 44

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 44
----

query I rowsort label-2715
SELECT pk FROM tab1 WHERE NOT (col3 > 44)
----
4
5
7

statement ok
DELETE FROM tab2 WHERE col3 > 44

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 44
----

query I rowsort label-2715
SELECT pk FROM tab2 WHERE NOT (col3 > 44)
----
4
5
7

statement ok
DELETE FROM tab3 WHERE col3 > 44

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 44
----

query I rowsort label-2715
SELECT pk FROM tab3 WHERE NOT (col3 > 44)
----
4
5
7

statement ok
DELETE FROM tab4 WHERE col3 > 44

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 44
----

query I rowsort label-2715
SELECT pk FROM tab4 WHERE NOT (col3 > 44)
----
4
5
7

statement ok
DELETE FROM tab0 WHERE col3 > 21

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 21
----

query I rowsort label-2730
SELECT pk FROM tab0 WHERE NOT (col3 > 21)
----
4
5

statement ok
DELETE FROM tab1 WHERE col3 > 21

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 21
----

query I rowsort label-2730
SELECT pk FROM tab1 WHERE NOT (col3 > 21)
----
4
5

statement ok
DELETE FROM tab2 WHERE col3 > 21

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 21
----

query I rowsort label-2730
SELECT pk FROM tab2 WHERE NOT (col3 > 21)
----
4
5

statement ok
DELETE FROM tab3 WHERE col3 > 21

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 21
----

query I rowsort label-2730
SELECT pk FROM tab3 WHERE NOT (col3 > 21)
----
4
5

statement ok
DELETE FROM tab4 WHERE col3 > 21

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 21
----

query I rowsort label-2730
SELECT pk FROM tab4 WHERE NOT (col3 > 21)
----
4
5

statement ok
DELETE FROM tab0 WHERE col4 < 45.66

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

query I rowsort label-2745
SELECT pk FROM tab0 WHERE NOT (col4 < 45.66)
----
4
5

statement ok
DELETE FROM tab1 WHERE col4 < 45.66

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

query I rowsort label-2745
SELECT pk FROM tab1 WHERE NOT (col4 < 45.66)
----
4
5

statement ok
DELETE FROM tab2 WHERE col4 < 45.66

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

query I rowsort label-2745
SELECT pk FROM tab2 WHERE NOT (col4 < 45.66)
----
4
5

statement ok
DELETE FROM tab3 WHERE col4 < 45.66

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

query I rowsort label-2745
SELECT pk FROM tab3 WHERE NOT (col4 < 45.66)
----
4
5

statement ok
DELETE FROM tab4 WHERE col4 < 45.66

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

query I rowsort label-2745
SELECT pk FROM tab4 WHERE NOT (col4 < 45.66)
----
4
5

statement ok
DELETE FROM tab0 WHERE ((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11)
----

query I rowsort label-2760
SELECT pk FROM tab0 WHERE NOT (((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11))
----

statement ok
DELETE FROM tab1 WHERE ((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11)
----

query I rowsort label-2760
SELECT pk FROM tab1 WHERE NOT (((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11))
----

statement ok
DELETE FROM tab2 WHERE ((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11)
----

query I rowsort label-2760
SELECT pk FROM tab2 WHERE NOT (((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11))
----

statement ok
DELETE FROM tab3 WHERE ((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11)
----

query I rowsort label-2760
SELECT pk FROM tab3 WHERE NOT (((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11))
----

statement ok
DELETE FROM tab4 WHERE ((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.11)
----

query I rowsort label-2760
SELECT pk FROM tab4 WHERE NOT (((col3 >= 2) AND ((col1 < 77.71)) OR col4 >= 19.34 OR (col3 <= 31) AND col0 > 49 OR col4 <= 78.42 AND col0 IS NULL AND col0 < 24 OR (col0 < 21 AND col4 > 45.46) AND col4 <= 3.56 AND col4 <= 52.62 AND col4 > 77.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,70,76.81,'liviq',12,12.63,'tncch')

statement ok
INSERT INTO tab0 VALUES(1,60,72.69,'ddywi',20,90.25,'wpusy')

statement ok
INSERT INTO tab0 VALUES(2,63,24.59,'cxdsp',74,94.71,'cvnrp')

statement ok
INSERT INTO tab0 VALUES(3,22,90.13,'pdwzr',31,40.83,'etjqv')

statement ok
INSERT INTO tab0 VALUES(4,75,46.25,'ajfif',75,72.54,'kxwqg')

statement ok
INSERT INTO tab0 VALUES(5,15,7.81,'vlwlr',72,77.56,'utjny')

statement ok
INSERT INTO tab0 VALUES(6,51,33.24,'ykhwk',40,93.95,'hyztg')

statement ok
INSERT INTO tab0 VALUES(7,73,48.19,'qxtiq',8,29.81,'viswa')

statement ok
INSERT INTO tab0 VALUES(8,13,44.8,'sapqr',76,69.83,'lhuhx')

statement ok
INSERT INTO tab0 VALUES(9,8,4.79,'srjec',81,92.98,'kpmue')

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 DESC)

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

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1,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,col0 DESC)

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

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC)

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 UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col4,col3)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 < 71.74) OR col0 > 57 OR ((col0 = 35))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 71.74) OR col0 > 57 OR ((col0 = 35))
----

query I rowsort label-2775
SELECT pk FROM tab0 WHERE NOT ((col4 < 71.74) OR col0 > 57 OR ((col0 = 35)))
----
5
6
9

statement ok
DELETE FROM tab1 WHERE (col4 < 71.74) OR col0 > 57 OR ((col0 = 35))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 71.74) OR col0 > 57 OR ((col0 = 35))
----

query I rowsort label-2775
SELECT pk FROM tab1 WHERE NOT ((col4 < 71.74) OR col0 > 57 OR ((col0 = 35)))
----
5
6
9

statement ok
DELETE FROM tab2 WHERE (col4 < 71.74) OR col0 > 57 OR ((col0 = 35))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 71.74) OR col0 > 57 OR ((col0 = 35))
----

query I rowsort label-2775
SELECT pk FROM tab2 WHERE NOT ((col4 < 71.74) OR col0 > 57 OR ((col0 = 35)))
----
5
6
9

statement ok
DELETE FROM tab3 WHERE (col4 < 71.74) OR col0 > 57 OR ((col0 = 35))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 71.74) OR col0 > 57 OR ((col0 = 35))
----

query I rowsort label-2775
SELECT pk FROM tab3 WHERE NOT ((col4 < 71.74) OR col0 > 57 OR ((col0 = 35)))
----
5
6
9

statement ok
DELETE FROM tab4 WHERE (col4 < 71.74) OR col0 > 57 OR ((col0 = 35))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 71.74) OR col0 > 57 OR ((col0 = 35))
----

query I rowsort label-2775
SELECT pk FROM tab4 WHERE NOT ((col4 < 71.74) OR col0 > 57 OR ((col0 = 35)))
----
5
6
9

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 78 AND 20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 78 AND 20
----

query I rowsort label-2790
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 78 AND 20)
----
5
6
9

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 78 AND 20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 78 AND 20
----

query I rowsort label-2790
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 78 AND 20)
----
5
6
9

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 78 AND 20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 78 AND 20
----

query I rowsort label-2790
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 78 AND 20)
----
5
6
9

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 78 AND 20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 78 AND 20
----

query I rowsort label-2790
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 78 AND 20)
----
5
6
9

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 78 AND 20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 78 AND 20
----

query I rowsort label-2790
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 78 AND 20)
----
5
6
9

statement ok
DELETE FROM tab0 WHERE (col0 = 42)

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

query I rowsort label-2805
SELECT pk FROM tab0 WHERE NOT ((col0 = 42))
----
5
6
9

statement ok
DELETE FROM tab1 WHERE (col0 = 42)

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

query I rowsort label-2805
SELECT pk FROM tab1 WHERE NOT ((col0 = 42))
----
5
6
9

statement ok
DELETE FROM tab2 WHERE (col0 = 42)

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

query I rowsort label-2805
SELECT pk FROM tab2 WHERE NOT ((col0 = 42))
----
5
6
9

statement ok
DELETE FROM tab3 WHERE (col0 = 42)

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

query I rowsort label-2805
SELECT pk FROM tab3 WHERE NOT ((col0 = 42))
----
5
6
9

statement ok
DELETE FROM tab4 WHERE (col0 = 42)

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

query I rowsort label-2805
SELECT pk FROM tab4 WHERE NOT ((col0 = 42))
----
5
6
9

statement ok
DELETE FROM tab0 WHERE col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59))
----

query I rowsort label-2820
SELECT pk FROM tab0 WHERE NOT (col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59)))
----

statement ok
DELETE FROM tab1 WHERE col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59))
----

query I rowsort label-2820
SELECT pk FROM tab1 WHERE NOT (col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59)))
----

statement ok
DELETE FROM tab2 WHERE col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59))
----

query I rowsort label-2820
SELECT pk FROM tab2 WHERE NOT (col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59)))
----

statement ok
DELETE FROM tab3 WHERE col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59))
----

query I rowsort label-2820
SELECT pk FROM tab3 WHERE NOT (col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59)))
----

statement ok
DELETE FROM tab4 WHERE col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.59))
----

query I rowsort label-2820
SELECT pk FROM tab4 WHERE NOT (col1 >= 72.89 OR (col0 >= 80 AND col1 = 27.19 OR (col3 >= 44 OR col1 <= 81.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,26,35.94,'qoetf',89,60.7,'oapcc')

statement ok
INSERT INTO tab0 VALUES(1,89,19.58,'gxvts',53,67.46,'vzbaw')

statement ok
INSERT INTO tab0 VALUES(2,96,73.49,'mvbjo',93,78.34,'kfnvv')

statement ok
INSERT INTO tab0 VALUES(3,23,74.28,'rkgxs',75,96.47,'hzvhk')

statement ok
INSERT INTO tab0 VALUES(4,6,20.91,'ihzel',79,81.98,'iqjxe')

statement ok
INSERT INTO tab0 VALUES(5,49,97.70,'rxlsa',16,10.47,'cymti')

statement ok
INSERT INTO tab0 VALUES(6,43,39.55,'jnkwc',34,40.13,'eziyo')

statement ok
INSERT INTO tab0 VALUES(7,74,91.0,'akoyo',35,71.90,'dminj')

statement ok
INSERT INTO tab0 VALUES(8,36,71.41,'wzfib',82,5.56,'wvxsx')

statement ok
INSERT INTO tab0 VALUES(9,46,36.2,'lwzos',23,15.88,'ieaap')

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,col3 DESC)

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

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3,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,col1)

statement ok
CREATE 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col0 DESC,col4 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 <= 51 AND col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 51 AND col0 > 55)
----

query I rowsort label-2835
SELECT pk FROM tab0 WHERE NOT ((col3 <= 51 AND col0 > 55))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab1 WHERE (col3 <= 51 AND col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 51 AND col0 > 55)
----

query I rowsort label-2835
SELECT pk FROM tab1 WHERE NOT ((col3 <= 51 AND col0 > 55))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab2 WHERE (col3 <= 51 AND col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 51 AND col0 > 55)
----

query I rowsort label-2835
SELECT pk FROM tab2 WHERE NOT ((col3 <= 51 AND col0 > 55))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab3 WHERE (col3 <= 51 AND col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 51 AND col0 > 55)
----

query I rowsort label-2835
SELECT pk FROM tab3 WHERE NOT ((col3 <= 51 AND col0 > 55))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab4 WHERE (col3 <= 51 AND col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 51 AND col0 > 55)
----

query I rowsort label-2835
SELECT pk FROM tab4 WHERE NOT ((col3 <= 51 AND col0 > 55))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab0 WHERE col3 >= 72

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

query I rowsort label-2850
SELECT pk FROM tab0 WHERE NOT (col3 >= 72)
----
1
5
6
9

statement ok
DELETE FROM tab1 WHERE col3 >= 72

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

query I rowsort label-2850
SELECT pk FROM tab1 WHERE NOT (col3 >= 72)
----
1
5
6
9

statement ok
DELETE FROM tab2 WHERE col3 >= 72

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

query I rowsort label-2850
SELECT pk FROM tab2 WHERE NOT (col3 >= 72)
----
1
5
6
9

statement ok
DELETE FROM tab3 WHERE col3 >= 72

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

query I rowsort label-2850
SELECT pk FROM tab3 WHERE NOT (col3 >= 72)
----
1
5
6
9

statement ok
DELETE FROM tab4 WHERE col3 >= 72

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

query I rowsort label-2850
SELECT pk FROM tab4 WHERE NOT (col3 >= 72)
----
1
5
6
9

statement ok
DELETE FROM tab0 WHERE col0 <= 66

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

query I rowsort label-2865
SELECT pk FROM tab0 WHERE NOT (col0 <= 66)
----
1

statement ok
DELETE FROM tab1 WHERE col0 <= 66

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

query I rowsort label-2865
SELECT pk FROM tab1 WHERE NOT (col0 <= 66)
----
1

statement ok
DELETE FROM tab2 WHERE col0 <= 66

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

query I rowsort label-2865
SELECT pk FROM tab2 WHERE NOT (col0 <= 66)
----
1

statement ok
DELETE FROM tab3 WHERE col0 <= 66

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

query I rowsort label-2865
SELECT pk FROM tab3 WHERE NOT (col0 <= 66)
----
1

statement ok
DELETE FROM tab4 WHERE col0 <= 66

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

query I rowsort label-2865
SELECT pk FROM tab4 WHERE NOT (col0 <= 66)
----
1

statement ok
DELETE FROM tab0 WHERE (col3 > 4)

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

query I rowsort label-2880
SELECT pk FROM tab0 WHERE NOT ((col3 > 4))
----

statement ok
DELETE FROM tab1 WHERE (col3 > 4)

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

query I rowsort label-2880
SELECT pk FROM tab1 WHERE NOT ((col3 > 4))
----

statement ok
DELETE FROM tab2 WHERE (col3 > 4)

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

query I rowsort label-2880
SELECT pk FROM tab2 WHERE NOT ((col3 > 4))
----

statement ok
DELETE FROM tab3 WHERE (col3 > 4)

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

query I rowsort label-2880
SELECT pk FROM tab3 WHERE NOT ((col3 > 4))
----

statement ok
DELETE FROM tab4 WHERE (col3 > 4)

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

query I rowsort label-2880
SELECT pk FROM tab4 WHERE NOT ((col3 > 4))
----

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,72,33.84,'cjcwe',45,23.32,'szfdy')

statement ok
INSERT INTO tab0 VALUES(1,0,75.72,'zrogj',94,67.50,'blhtk')

statement ok
INSERT INTO tab0 VALUES(2,63,35.99,'oerqz',92,92.91,'encfy')

statement ok
INSERT INTO tab0 VALUES(3,85,2.0,'qomng',52,24.79,'ivumb')

statement ok
INSERT INTO tab0 VALUES(4,8,17.51,'uipoj',84,0.10,'msseg')

statement ok
INSERT INTO tab0 VALUES(5,51,87.35,'lmgls',57,76.17,'nqjdg')

statement ok
INSERT INTO tab0 VALUES(6,75,98.1,'czomx',64,41.33,'mbsgc')

statement ok
INSERT INTO tab0 VALUES(7,44,23.29,'fpocy',81,34.50,'lwcth')

statement ok
INSERT INTO tab0 VALUES(8,87,40.91,'niipi',30,50.84,'udqcx')

statement ok
INSERT INTO tab0 VALUES(9,61,41.13,'edcsg',46,55.39,'kqaos')

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)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 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 DESC,col1 DESC,col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

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

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 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

statement ok
DELETE FROM tab0 WHERE col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21)))
----

query I rowsort label-2895
SELECT pk FROM tab0 WHERE NOT (col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21))))
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab1 WHERE col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21)))
----

query I rowsort label-2895
SELECT pk FROM tab1 WHERE NOT (col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21))))
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab2 WHERE col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21)))
----

query I rowsort label-2895
SELECT pk FROM tab2 WHERE NOT (col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21))))
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab3 WHERE col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21)))
----

query I rowsort label-2895
SELECT pk FROM tab3 WHERE NOT (col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21))))
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab4 WHERE col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21)))
----

query I rowsort label-2895
SELECT pk FROM tab4 WHERE NOT (col1 BETWEEN 12.94 AND 29.4 AND (col3 < 73 OR (col3 > 33) OR ((col1 > 28.21))))
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab0 WHERE col1 BETWEEN 65.19 AND 35.45

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 BETWEEN 65.19 AND 35.45
----

query I rowsort label-2910
SELECT pk FROM tab0 WHERE NOT (col1 BETWEEN 65.19 AND 35.45)
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab1 WHERE col1 BETWEEN 65.19 AND 35.45

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 BETWEEN 65.19 AND 35.45
----

query I rowsort label-2910
SELECT pk FROM tab1 WHERE NOT (col1 BETWEEN 65.19 AND 35.45)
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab2 WHERE col1 BETWEEN 65.19 AND 35.45

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 BETWEEN 65.19 AND 35.45
----

query I rowsort label-2910
SELECT pk FROM tab2 WHERE NOT (col1 BETWEEN 65.19 AND 35.45)
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab3 WHERE col1 BETWEEN 65.19 AND 35.45

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 BETWEEN 65.19 AND 35.45
----

query I rowsort label-2910
SELECT pk FROM tab3 WHERE NOT (col1 BETWEEN 65.19 AND 35.45)
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab4 WHERE col1 BETWEEN 65.19 AND 35.45

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 BETWEEN 65.19 AND 35.45
----

query I rowsort label-2910
SELECT pk FROM tab4 WHERE NOT (col1 BETWEEN 65.19 AND 35.45)
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab0 WHERE col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21))
----

query I rowsort label-2925
SELECT pk FROM tab0 WHERE NOT (col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21)))
----

statement ok
DELETE FROM tab1 WHERE col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21))
----

query I rowsort label-2925
SELECT pk FROM tab1 WHERE NOT (col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21)))
----

statement ok
DELETE FROM tab2 WHERE col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21))
----

query I rowsort label-2925
SELECT pk FROM tab2 WHERE NOT (col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21)))
----

statement ok
DELETE FROM tab3 WHERE col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21))
----

query I rowsort label-2925
SELECT pk FROM tab3 WHERE NOT (col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21)))
----

statement ok
DELETE FROM tab4 WHERE col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21))
----

query I rowsort label-2925
SELECT pk FROM tab4 WHERE NOT (col0 <= 0 OR col1 >= 56.95 OR (col3 < 95 OR col0 > 78 AND col0 > 20 AND col4 > 41.87 OR col0 IS NULL AND (col0 = 21)))
----

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,6.93,'oadmf',29,17.4,'trogd')

statement ok
INSERT INTO tab0 VALUES(1,90,25.13,'kgegg',0,77.79,'uyrjr')

statement ok
INSERT INTO tab0 VALUES(2,67,10.1,'prktl',42,1.77,'eojtr')

statement ok
INSERT INTO tab0 VALUES(3,63,18.33,'qkikv',69,98.8,'kpeuf')

statement ok
INSERT INTO tab0 VALUES(4,69,29.6,'mmdrl',78,39.8,'eqnzg')

statement ok
INSERT INTO tab0 VALUES(5,13,14.48,'zsgzc',55,11.51,'cqpxg')

statement ok
INSERT INTO tab0 VALUES(6,71,95.32,'tycev',95,86.61,'derlv')

statement ok
INSERT INTO tab0 VALUES(7,82,11.87,'shpfq',10,81.27,'mnzyh')

statement ok
INSERT INTO tab0 VALUES(8,59,73.15,'pzxuc',41,23.15,'xuefj')

statement ok
INSERT INTO tab0 VALUES(9,2,35.97,'suwza',76,6.76,'rbbvt')

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)

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 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4,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 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3,col0)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35))
----

query I rowsort label-2940
SELECT pk FROM tab0 WHERE NOT ((col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35)))
----
0

statement ok
DELETE FROM tab1 WHERE (col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35))
----

query I rowsort label-2940
SELECT pk FROM tab1 WHERE NOT ((col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35)))
----
0

statement ok
DELETE FROM tab2 WHERE (col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35))
----

query I rowsort label-2940
SELECT pk FROM tab2 WHERE NOT ((col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35)))
----
0

statement ok
DELETE FROM tab3 WHERE (col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35))
----

query I rowsort label-2940
SELECT pk FROM tab3 WHERE NOT ((col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35)))
----
0

statement ok
DELETE FROM tab4 WHERE (col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35))
----

query I rowsort label-2940
SELECT pk FROM tab4 WHERE NOT ((col4 >= 46.18 OR (((((col3 > 69) AND (col3 >= 40)))) OR col3 >= 35)))
----
0

statement ok
DELETE FROM tab0 WHERE (col4 < 0.24 AND col3 = 98)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 0.24 AND col3 = 98)
----

query I rowsort label-2955
SELECT pk FROM tab0 WHERE NOT ((col4 < 0.24 AND col3 = 98))
----
0

statement ok
DELETE FROM tab1 WHERE (col4 < 0.24 AND col3 = 98)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 0.24 AND col3 = 98)
----

query I rowsort label-2955
SELECT pk FROM tab1 WHERE NOT ((col4 < 0.24 AND col3 = 98))
----
0

statement ok
DELETE FROM tab2 WHERE (col4 < 0.24 AND col3 = 98)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 0.24 AND col3 = 98)
----

query I rowsort label-2955
SELECT pk FROM tab2 WHERE NOT ((col4 < 0.24 AND col3 = 98))
----
0

statement ok
DELETE FROM tab3 WHERE (col4 < 0.24 AND col3 = 98)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 0.24 AND col3 = 98)
----

query I rowsort label-2955
SELECT pk FROM tab3 WHERE NOT ((col4 < 0.24 AND col3 = 98))
----
0

statement ok
DELETE FROM tab4 WHERE (col4 < 0.24 AND col3 = 98)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 0.24 AND col3 = 98)
----

query I rowsort label-2955
SELECT pk FROM tab4 WHERE NOT ((col4 < 0.24 AND col3 = 98))
----
0

statement ok
DELETE FROM tab0 WHERE (((col3 <= 96) OR col3 IS NULL))

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

query I rowsort label-2970
SELECT pk FROM tab0 WHERE NOT ((((col3 <= 96) OR col3 IS NULL)))
----

statement ok
DELETE FROM tab1 WHERE (((col3 <= 96) OR col3 IS NULL))

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

query I rowsort label-2970
SELECT pk FROM tab1 WHERE NOT ((((col3 <= 96) OR col3 IS NULL)))
----

statement ok
DELETE FROM tab2 WHERE (((col3 <= 96) OR col3 IS NULL))

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

query I rowsort label-2970
SELECT pk FROM tab2 WHERE NOT ((((col3 <= 96) OR col3 IS NULL)))
----

statement ok
DELETE FROM tab3 WHERE (((col3 <= 96) OR col3 IS NULL))

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

query I rowsort label-2970
SELECT pk FROM tab3 WHERE NOT ((((col3 <= 96) OR col3 IS NULL)))
----

statement ok
DELETE FROM tab4 WHERE (((col3 <= 96) OR col3 IS NULL))

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

query I rowsort label-2970
SELECT pk FROM tab4 WHERE NOT ((((col3 <= 96) 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,44,13.72,'ptqme',68,13.16,'eqxio')

statement ok
INSERT INTO tab0 VALUES(1,41,14.87,'hqyeb',10,35.10,'jtrfb')

statement ok
INSERT INTO tab0 VALUES(2,58,69.23,'chxhv',1,59.7,'prrir')

statement ok
INSERT INTO tab0 VALUES(3,55,12.79,'luavf',69,3.49,'zilnr')

statement ok
INSERT INTO tab0 VALUES(4,8,10.41,'wizal',18,50.73,'pobwp')

statement ok
INSERT INTO tab0 VALUES(5,31,30.2,'zomjs',48,14.30,'gduvt')

statement ok
INSERT INTO tab0 VALUES(6,81,97.72,'tqpuz',56,0.91,'bvwla')

statement ok
INSERT INTO tab0 VALUES(7,77,64.89,'hhrxi',57,71.64,'cpwgh')

statement ok
INSERT INTO tab0 VALUES(8,9,67.32,'mauww',93,4.4,'aukrf')

statement ok
INSERT INTO tab0 VALUES(9,45,91.35,'qehug',44,58.26,'oaxzt')

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 (col0,col1 DESC)

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

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

statement ok
CREATE 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_0 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 DESC,col4 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43
----

query I rowsort label-2985
SELECT pk FROM tab0 WHERE NOT (((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43)
----
0
3
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE ((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43
----

query I rowsort label-2985
SELECT pk FROM tab1 WHERE NOT (((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43)
----
0
3
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE ((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43
----

query I rowsort label-2985
SELECT pk FROM tab2 WHERE NOT (((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43)
----
0
3
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE ((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43
----

query I rowsort label-2985
SELECT pk FROM tab3 WHERE NOT (((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43)
----
0
3
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE ((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43
----

query I rowsort label-2985
SELECT pk FROM tab4 WHERE NOT (((col3 < 27 AND col4 > 40.93 AND ((col3 < 17 AND col0 < 46))) AND col4 <= 79.68) OR col3 < 43)
----
0
3
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col1 >= 72.34

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

query I rowsort label-3000
SELECT pk FROM tab0 WHERE NOT (col1 >= 72.34)
----
0
3
5
7
8

statement ok
DELETE FROM tab1 WHERE col1 >= 72.34

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

query I rowsort label-3000
SELECT pk FROM tab1 WHERE NOT (col1 >= 72.34)
----
0
3
5
7
8

statement ok
DELETE FROM tab2 WHERE col1 >= 72.34

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

query I rowsort label-3000
SELECT pk FROM tab2 WHERE NOT (col1 >= 72.34)
----
0
3
5
7
8

statement ok
DELETE FROM tab3 WHERE col1 >= 72.34

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

query I rowsort label-3000
SELECT pk FROM tab3 WHERE NOT (col1 >= 72.34)
----
0
3
5
7
8

statement ok
DELETE FROM tab4 WHERE col1 >= 72.34

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

query I rowsort label-3000
SELECT pk FROM tab4 WHERE NOT (col1 >= 72.34)
----
0
3
5
7
8

statement ok
DELETE FROM tab0 WHERE ((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7))
----

query I rowsort label-3015
SELECT pk FROM tab0 WHERE NOT (((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7)))
----
0
3
5
7
8

statement ok
DELETE FROM tab1 WHERE ((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7))
----

query I rowsort label-3015
SELECT pk FROM tab1 WHERE NOT (((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7)))
----
0
3
5
7
8

statement ok
DELETE FROM tab2 WHERE ((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7))
----

query I rowsort label-3015
SELECT pk FROM tab2 WHERE NOT (((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7)))
----
0
3
5
7
8

statement ok
DELETE FROM tab3 WHERE ((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7))
----

query I rowsort label-3015
SELECT pk FROM tab3 WHERE NOT (((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7)))
----
0
3
5
7
8

statement ok
DELETE FROM tab4 WHERE ((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7))
----

query I rowsort label-3015
SELECT pk FROM tab4 WHERE NOT (((col3 BETWEEN 15 AND 38)) OR col1 < 4.55 AND ((col3 < 7)))
----
0
3
5
7
8

statement ok
DELETE FROM tab0 WHERE col0 = 82

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

query I rowsort label-3030
SELECT pk FROM tab0 WHERE NOT (col0 = 82)
----
0
3
5
7
8

statement ok
DELETE FROM tab1 WHERE col0 = 82

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

query I rowsort label-3030
SELECT pk FROM tab1 WHERE NOT (col0 = 82)
----
0
3
5
7
8

statement ok
DELETE FROM tab2 WHERE col0 = 82

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

query I rowsort label-3030
SELECT pk FROM tab2 WHERE NOT (col0 = 82)
----
0
3
5
7
8

statement ok
DELETE FROM tab3 WHERE col0 = 82

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

query I rowsort label-3030
SELECT pk FROM tab3 WHERE NOT (col0 = 82)
----
0
3
5
7
8

statement ok
DELETE FROM tab4 WHERE col0 = 82

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

query I rowsort label-3030
SELECT pk FROM tab4 WHERE NOT (col0 = 82)
----
0
3
5
7
8

statement ok
DELETE FROM tab0 WHERE col0 < 76

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 76
----

query I rowsort label-3045
SELECT pk FROM tab0 WHERE NOT (col0 < 76)
----
7

statement ok
DELETE FROM tab1 WHERE col0 < 76

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 76
----

query I rowsort label-3045
SELECT pk FROM tab1 WHERE NOT (col0 < 76)
----
7

statement ok
DELETE FROM tab2 WHERE col0 < 76

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 76
----

query I rowsort label-3045
SELECT pk FROM tab2 WHERE NOT (col0 < 76)
----
7

statement ok
DELETE FROM tab3 WHERE col0 < 76

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 76
----

query I rowsort label-3045
SELECT pk FROM tab3 WHERE NOT (col0 < 76)
----
7

statement ok
DELETE FROM tab4 WHERE col0 < 76

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 76
----

query I rowsort label-3045
SELECT pk FROM tab4 WHERE NOT (col0 < 76)
----
7

statement ok
DELETE FROM tab0 WHERE col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53)
----

query I rowsort label-3060
SELECT pk FROM tab0 WHERE NOT (col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53))
----
7

statement ok
DELETE FROM tab1 WHERE col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53)
----

query I rowsort label-3060
SELECT pk FROM tab1 WHERE NOT (col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53))
----
7

statement ok
DELETE FROM tab2 WHERE col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53)
----

query I rowsort label-3060
SELECT pk FROM tab2 WHERE NOT (col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53))
----
7

statement ok
DELETE FROM tab3 WHERE col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53)
----

query I rowsort label-3060
SELECT pk FROM tab3 WHERE NOT (col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53))
----
7

statement ok
DELETE FROM tab4 WHERE col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53)
----

query I rowsort label-3060
SELECT pk FROM tab4 WHERE NOT (col4 < 2.98 OR ((col3 > 70) AND col4 > 34.53))
----
7

statement ok
DELETE FROM tab0 WHERE (((col0 > 90)))

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

query I rowsort label-3075
SELECT pk FROM tab0 WHERE NOT ((((col0 > 90))))
----
7

statement ok
DELETE FROM tab1 WHERE (((col0 > 90)))

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

query I rowsort label-3075
SELECT pk FROM tab1 WHERE NOT ((((col0 > 90))))
----
7

statement ok
DELETE FROM tab2 WHERE (((col0 > 90)))

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

query I rowsort label-3075
SELECT pk FROM tab2 WHERE NOT ((((col0 > 90))))
----
7

statement ok
DELETE FROM tab3 WHERE (((col0 > 90)))

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

query I rowsort label-3075
SELECT pk FROM tab3 WHERE NOT ((((col0 > 90))))
----
7

statement ok
DELETE FROM tab4 WHERE (((col0 > 90)))

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

query I rowsort label-3075
SELECT pk FROM tab4 WHERE NOT ((((col0 > 90))))
----
7

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,94,98.59,'tmtvu',59,92.32,'gvsro')

statement ok
INSERT INTO tab0 VALUES(1,95,91.63,'oeyhk',69,75.27,'tiwfh')

statement ok
INSERT INTO tab0 VALUES(2,9,76.17,'nwyxa',83,5.47,'apdsr')

statement ok
INSERT INTO tab0 VALUES(3,6,47.69,'jygcc',53,20.5,'tzucr')

statement ok
INSERT INTO tab0 VALUES(4,87,90.90,'cynry',97,57.23,'mlllr')

statement ok
INSERT INTO tab0 VALUES(5,51,94.41,'cjsks',62,60.92,'sezsl')

statement ok
INSERT INTO tab0 VALUES(6,61,65.32,'dehur',90,0.31,'xcwik')

statement ok
INSERT INTO tab0 VALUES(7,2,37.86,'tngpd',76,80.57,'trfur')

statement ok
INSERT INTO tab0 VALUES(8,44,88.2,'chhnt',32,53.41,'hmwjd')

statement ok
INSERT INTO tab0 VALUES(9,10,48.15,'huytn',52,31.73,'zqnqt')

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,col3)

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

statement ok
CREATE UNIQUE 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 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_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54)))))
----

query I rowsort label-3090
SELECT pk FROM tab0 WHERE NOT ((((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54))))))
----
0
3
7
8
9

statement ok
DELETE FROM tab1 WHERE (((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54)))))
----

query I rowsort label-3090
SELECT pk FROM tab1 WHERE NOT ((((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54))))))
----
0
3
7
8
9

statement ok
DELETE FROM tab2 WHERE (((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54)))))
----

query I rowsort label-3090
SELECT pk FROM tab2 WHERE NOT ((((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54))))))
----
0
3
7
8
9

statement ok
DELETE FROM tab3 WHERE (((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54)))))
----

query I rowsort label-3090
SELECT pk FROM tab3 WHERE NOT ((((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54))))))
----
0
3
7
8
9

statement ok
DELETE FROM tab4 WHERE (((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54)))))
----

query I rowsort label-3090
SELECT pk FROM tab4 WHERE NOT ((((col0 < 66))) AND ((col3 < 29) AND col4 < 41.4) OR col4 >= 31.22 AND col3 >= 7 AND col3 > 62 AND (((col3 > 37)) AND (col0 > 51)) OR ((((((col4 <= 69.26) AND col3 > 54))))))
----
0
3
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 >= 96

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

query I rowsort label-3105
SELECT pk FROM tab0 WHERE NOT (col0 >= 96)
----
0
3
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 >= 96

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

query I rowsort label-3105
SELECT pk FROM tab1 WHERE NOT (col0 >= 96)
----
0
3
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 >= 96

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

query I rowsort label-3105
SELECT pk FROM tab2 WHERE NOT (col0 >= 96)
----
0
3
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 >= 96

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

query I rowsort label-3105
SELECT pk FROM tab3 WHERE NOT (col0 >= 96)
----
0
3
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 >= 96

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

query I rowsort label-3105
SELECT pk FROM tab4 WHERE NOT (col0 >= 96)
----
0
3
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 BETWEEN 97.28 AND 44.11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 BETWEEN 97.28 AND 44.11
----

query I rowsort label-3120
SELECT pk FROM tab0 WHERE NOT (col4 BETWEEN 97.28 AND 44.11)
----
0
3
7
8
9

statement ok
DELETE FROM tab1 WHERE col4 BETWEEN 97.28 AND 44.11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 BETWEEN 97.28 AND 44.11
----

query I rowsort label-3120
SELECT pk FROM tab1 WHERE NOT (col4 BETWEEN 97.28 AND 44.11)
----
0
3
7
8
9

statement ok
DELETE FROM tab2 WHERE col4 BETWEEN 97.28 AND 44.11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 BETWEEN 97.28 AND 44.11
----

query I rowsort label-3120
SELECT pk FROM tab2 WHERE NOT (col4 BETWEEN 97.28 AND 44.11)
----
0
3
7
8
9

statement ok
DELETE FROM tab3 WHERE col4 BETWEEN 97.28 AND 44.11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 BETWEEN 97.28 AND 44.11
----

query I rowsort label-3120
SELECT pk FROM tab3 WHERE NOT (col4 BETWEEN 97.28 AND 44.11)
----
0
3
7
8
9

statement ok
DELETE FROM tab4 WHERE col4 BETWEEN 97.28 AND 44.11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 BETWEEN 97.28 AND 44.11
----

query I rowsort label-3120
SELECT pk FROM tab4 WHERE NOT (col4 BETWEEN 97.28 AND 44.11)
----
0
3
7
8
9

statement ok
DELETE FROM tab0 WHERE (col4 < 57.30)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 57.30)
----

query I rowsort label-3135
SELECT pk FROM tab0 WHERE NOT ((col4 < 57.30))
----
0
7

statement ok
DELETE FROM tab1 WHERE (col4 < 57.30)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 57.30)
----

query I rowsort label-3135
SELECT pk FROM tab1 WHERE NOT ((col4 < 57.30))
----
0
7

statement ok
DELETE FROM tab2 WHERE (col4 < 57.30)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 57.30)
----

query I rowsort label-3135
SELECT pk FROM tab2 WHERE NOT ((col4 < 57.30))
----
0
7

statement ok
DELETE FROM tab3 WHERE (col4 < 57.30)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 57.30)
----

query I rowsort label-3135
SELECT pk FROM tab3 WHERE NOT ((col4 < 57.30))
----
0
7

statement ok
DELETE FROM tab4 WHERE (col4 < 57.30)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 57.30)
----

query I rowsort label-3135
SELECT pk FROM tab4 WHERE NOT ((col4 < 57.30))
----
0
7

statement ok
DELETE FROM tab0 WHERE (((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6)
----

query I rowsort label-3150
SELECT pk FROM tab0 WHERE NOT ((((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6))
----
0
7

statement ok
DELETE FROM tab1 WHERE (((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6)
----

query I rowsort label-3150
SELECT pk FROM tab1 WHERE NOT ((((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6))
----
0
7

statement ok
DELETE FROM tab2 WHERE (((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6)
----

query I rowsort label-3150
SELECT pk FROM tab2 WHERE NOT ((((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6))
----
0
7

statement ok
DELETE FROM tab3 WHERE (((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6)
----

query I rowsort label-3150
SELECT pk FROM tab3 WHERE NOT ((((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6))
----
0
7

statement ok
DELETE FROM tab4 WHERE (((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6)
----

query I rowsort label-3150
SELECT pk FROM tab4 WHERE NOT ((((col4 > 69.92)) AND col0 IN (78,51,52)) AND (col3 <= 49 AND col0 < 94) AND (col3 > 73) AND col4 < 26.25 AND col4 IN (15.6))
----
0
7

statement ok
DELETE FROM tab0 WHERE col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42)))))
----

query I rowsort label-3165
SELECT pk FROM tab0 WHERE NOT (col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42))))))
----
7

statement ok
DELETE FROM tab1 WHERE col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42)))))
----

query I rowsort label-3165
SELECT pk FROM tab1 WHERE NOT (col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42))))))
----
7

statement ok
DELETE FROM tab2 WHERE col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42)))))
----

query I rowsort label-3165
SELECT pk FROM tab2 WHERE NOT (col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42))))))
----
7

statement ok
DELETE FROM tab3 WHERE col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42)))))
----

query I rowsort label-3165
SELECT pk FROM tab3 WHERE NOT (col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42))))))
----
7

statement ok
DELETE FROM tab4 WHERE col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42)))))
----

query I rowsort label-3165
SELECT pk FROM tab4 WHERE NOT (col1 <= 11.47 AND (col1 IN (8.46,45.61,87.22,57.18,68.42)) OR col1 > 39.87 OR col1 IS NULL OR (((((((col0 < 8)) OR col3 < 53 OR col3 >= 90))))) AND (col3 > 81) AND (col0 > 36 AND ((col3 > 97 OR ((col3 >= 42))))))
----
7

statement ok
DELETE FROM tab0 WHERE col1 < 93.76

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

query I rowsort label-3180
SELECT pk FROM tab0 WHERE NOT (col1 < 93.76)
----

statement ok
DELETE FROM tab1 WHERE col1 < 93.76

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

query I rowsort label-3180
SELECT pk FROM tab1 WHERE NOT (col1 < 93.76)
----

statement ok
DELETE FROM tab2 WHERE col1 < 93.76

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

query I rowsort label-3180
SELECT pk FROM tab2 WHERE NOT (col1 < 93.76)
----

statement ok
DELETE FROM tab3 WHERE col1 < 93.76

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

query I rowsort label-3180
SELECT pk FROM tab3 WHERE NOT (col1 < 93.76)
----

statement ok
DELETE FROM tab4 WHERE col1 < 93.76

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

query I rowsort label-3180
SELECT pk FROM tab4 WHERE NOT (col1 < 93.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,39,26.35,'pasgw',22,64.47,'yqdwl')

statement ok
INSERT INTO tab0 VALUES(1,18,78.52,'awcex',18,87.4,'trznp')

statement ok
INSERT INTO tab0 VALUES(2,33,16.62,'lwihb',24,6.49,'dawal')

statement ok
INSERT INTO tab0 VALUES(3,88,39.68,'chcqy',19,84.83,'iwlvl')

statement ok
INSERT INTO tab0 VALUES(4,17,42.70,'fteqf',72,16.16,'jmqvw')

statement ok
INSERT INTO tab0 VALUES(5,3,82.90,'ljrbe',58,86.79,'mebil')

statement ok
INSERT INTO tab0 VALUES(6,86,40.77,'qvzil',62,37.42,'yjwia')

statement ok
INSERT INTO tab0 VALUES(7,79,81.21,'ireol',1,25.22,'nwine')

statement ok
INSERT INTO tab0 VALUES(8,80,22.67,'lfuqi',29,89.93,'fviou')

statement ok
INSERT INTO tab0 VALUES(9,76,88.26,'yuhke',53,10.7,'vadcu')

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 UNIQUE 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 (col0)

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

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3 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 (col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 >= 69

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

query I rowsort label-3195
SELECT pk FROM tab0 WHERE NOT (col3 >= 69)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab1 WHERE col3 >= 69

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

query I rowsort label-3195
SELECT pk FROM tab1 WHERE NOT (col3 >= 69)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab2 WHERE col3 >= 69

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

query I rowsort label-3195
SELECT pk FROM tab2 WHERE NOT (col3 >= 69)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab3 WHERE col3 >= 69

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

query I rowsort label-3195
SELECT pk FROM tab3 WHERE NOT (col3 >= 69)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab4 WHERE col3 >= 69

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

query I rowsort label-3195
SELECT pk FROM tab4 WHERE NOT (col3 >= 69)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab0 WHERE (col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39
----

query I rowsort label-3210
SELECT pk FROM tab0 WHERE NOT ((col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39)
----
1
5
7

statement ok
DELETE FROM tab1 WHERE (col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39
----

query I rowsort label-3210
SELECT pk FROM tab1 WHERE NOT ((col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39)
----
1
5
7

statement ok
DELETE FROM tab2 WHERE (col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39
----

query I rowsort label-3210
SELECT pk FROM tab2 WHERE NOT ((col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39)
----
1
5
7

statement ok
DELETE FROM tab3 WHERE (col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39
----

query I rowsort label-3210
SELECT pk FROM tab3 WHERE NOT ((col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39)
----
1
5
7

statement ok
DELETE FROM tab4 WHERE (col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39
----

query I rowsort label-3210
SELECT pk FROM tab4 WHERE NOT ((col1 < 69.5 OR col1 >= 83.96) OR (col3 <= 15) AND col3 >= 39)
----
1
5
7

statement ok
DELETE FROM tab0 WHERE (col3 IS NULL AND col1 > 83.3)

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

query I rowsort label-3225
SELECT pk FROM tab0 WHERE NOT ((col3 IS NULL AND col1 > 83.3))
----
1
5
7

statement ok
DELETE FROM tab1 WHERE (col3 IS NULL AND col1 > 83.3)

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

query I rowsort label-3225
SELECT pk FROM tab1 WHERE NOT ((col3 IS NULL AND col1 > 83.3))
----
1
5
7

statement ok
DELETE FROM tab2 WHERE (col3 IS NULL AND col1 > 83.3)

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

query I rowsort label-3225
SELECT pk FROM tab2 WHERE NOT ((col3 IS NULL AND col1 > 83.3))
----
1
5
7

statement ok
DELETE FROM tab3 WHERE (col3 IS NULL AND col1 > 83.3)

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

query I rowsort label-3225
SELECT pk FROM tab3 WHERE NOT ((col3 IS NULL AND col1 > 83.3))
----
1
5
7

statement ok
DELETE FROM tab4 WHERE (col3 IS NULL AND col1 > 83.3)

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

query I rowsort label-3225
SELECT pk FROM tab4 WHERE NOT ((col3 IS NULL AND col1 > 83.3))
----
1
5
7

statement ok
DELETE FROM tab0 WHERE col3 = 3 AND col1 <= 8.80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 3 AND col1 <= 8.80
----

query I rowsort label-3240
SELECT pk FROM tab0 WHERE NOT (col3 = 3 AND col1 <= 8.80)
----
1
5
7

statement ok
DELETE FROM tab1 WHERE col3 = 3 AND col1 <= 8.80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 3 AND col1 <= 8.80
----

query I rowsort label-3240
SELECT pk FROM tab1 WHERE NOT (col3 = 3 AND col1 <= 8.80)
----
1
5
7

statement ok
DELETE FROM tab2 WHERE col3 = 3 AND col1 <= 8.80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 3 AND col1 <= 8.80
----

query I rowsort label-3240
SELECT pk FROM tab2 WHERE NOT (col3 = 3 AND col1 <= 8.80)
----
1
5
7

statement ok
DELETE FROM tab3 WHERE col3 = 3 AND col1 <= 8.80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 3 AND col1 <= 8.80
----

query I rowsort label-3240
SELECT pk FROM tab3 WHERE NOT (col3 = 3 AND col1 <= 8.80)
----
1
5
7

statement ok
DELETE FROM tab4 WHERE col3 = 3 AND col1 <= 8.80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 3 AND col1 <= 8.80
----

query I rowsort label-3240
SELECT pk FROM tab4 WHERE NOT (col3 = 3 AND col1 <= 8.80)
----
1
5
7

statement ok
DELETE FROM tab0 WHERE (col0 < 58)

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

query I rowsort label-3255
SELECT pk FROM tab0 WHERE NOT ((col0 < 58))
----
7

statement ok
DELETE FROM tab1 WHERE (col0 < 58)

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

query I rowsort label-3255
SELECT pk FROM tab1 WHERE NOT ((col0 < 58))
----
7

statement ok
DELETE FROM tab2 WHERE (col0 < 58)

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

query I rowsort label-3255
SELECT pk FROM tab2 WHERE NOT ((col0 < 58))
----
7

statement ok
DELETE FROM tab3 WHERE (col0 < 58)

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

query I rowsort label-3255
SELECT pk FROM tab3 WHERE NOT ((col0 < 58))
----
7

statement ok
DELETE FROM tab4 WHERE (col0 < 58)

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

query I rowsort label-3255
SELECT pk FROM tab4 WHERE NOT ((col0 < 58))
----
7

statement ok
DELETE FROM tab0 WHERE (col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9))
----

query I rowsort label-3270
SELECT pk FROM tab0 WHERE NOT ((col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9)))
----

statement ok
DELETE FROM tab1 WHERE (col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9))
----

query I rowsort label-3270
SELECT pk FROM tab1 WHERE NOT ((col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9)))
----

statement ok
DELETE FROM tab2 WHERE (col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9))
----

query I rowsort label-3270
SELECT pk FROM tab2 WHERE NOT ((col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9)))
----

statement ok
DELETE FROM tab3 WHERE (col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9))
----

query I rowsort label-3270
SELECT pk FROM tab3 WHERE NOT ((col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9)))
----

statement ok
DELETE FROM tab4 WHERE (col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,9))
----

query I rowsort label-3270
SELECT pk FROM tab4 WHERE NOT ((col1 > 7.92 OR col4 > 23.77 OR (col1 < 16.87) AND col0 IN (54,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,22,38.6,'qhgmh',78,78.3,'xxyeq')

statement ok
INSERT INTO tab0 VALUES(1,40,59.72,'haeip',45,43.90,'pymjl')

statement ok
INSERT INTO tab0 VALUES(2,91,80.86,'ogevo',73,89.90,'rsbrr')

statement ok
INSERT INTO tab0 VALUES(3,82,62.31,'zhqdi',70,70.6,'dgcen')

statement ok
INSERT INTO tab0 VALUES(4,75,93.6,'ptuol',7,51.10,'wyqrc')

statement ok
INSERT INTO tab0 VALUES(5,3,55.36,'tvnsn',33,68.59,'drews')

statement ok
INSERT INTO tab0 VALUES(6,81,79.88,'kfvry',81,91.7,'jdfmx')

statement ok
INSERT INTO tab0 VALUES(7,19,15.80,'cmpcj',90,88.16,'vqxir')

statement ok
INSERT INTO tab0 VALUES(8,33,91.96,'hwcel',10,90.68,'ynnmk')

statement ok
INSERT INTO tab0 VALUES(9,61,75.96,'gtqdk',16,39.80,'hckij')

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 (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,col4 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC,col0 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 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 < 15

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

query I rowsort label-3285
SELECT pk FROM tab0 WHERE NOT (col3 < 15)
----
0
1
2
3
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col3 < 15

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

query I rowsort label-3285
SELECT pk FROM tab1 WHERE NOT (col3 < 15)
----
0
1
2
3
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col3 < 15

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

query I rowsort label-3285
SELECT pk FROM tab2 WHERE NOT (col3 < 15)
----
0
1
2
3
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col3 < 15

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

query I rowsort label-3285
SELECT pk FROM tab3 WHERE NOT (col3 < 15)
----
0
1
2
3
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col3 < 15

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

query I rowsort label-3285
SELECT pk FROM tab4 WHERE NOT (col3 < 15)
----
0
1
2
3
5
6
7
9

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

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

query I rowsort label-3300
SELECT pk FROM tab0 WHERE NOT ((col3 >= 65))
----
1
5
9

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

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

query I rowsort label-3300
SELECT pk FROM tab1 WHERE NOT ((col3 >= 65))
----
1
5
9

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

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

query I rowsort label-3300
SELECT pk FROM tab2 WHERE NOT ((col3 >= 65))
----
1
5
9

statement ok
DELETE FROM tab3 WHERE (col3 >= 65)

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

query I rowsort label-3300
SELECT pk FROM tab3 WHERE NOT ((col3 >= 65))
----
1
5
9

statement ok
DELETE FROM tab4 WHERE (col3 >= 65)

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

query I rowsort label-3300
SELECT pk FROM tab4 WHERE NOT ((col3 >= 65))
----
1
5
9

statement ok
DELETE FROM tab0 WHERE (col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46))
----

query I rowsort label-3315
SELECT pk FROM tab0 WHERE NOT ((col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46)))
----

statement ok
DELETE FROM tab1 WHERE (col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46))
----

query I rowsort label-3315
SELECT pk FROM tab1 WHERE NOT ((col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46)))
----

statement ok
DELETE FROM tab2 WHERE (col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46))
----

query I rowsort label-3315
SELECT pk FROM tab2 WHERE NOT ((col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46)))
----

statement ok
DELETE FROM tab3 WHERE (col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46))
----

query I rowsort label-3315
SELECT pk FROM tab3 WHERE NOT ((col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46)))
----

statement ok
DELETE FROM tab4 WHERE (col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.46))
----

query I rowsort label-3315
SELECT pk FROM tab4 WHERE NOT ((col3 <= 71 OR col3 IS NULL AND ((((col3 > 19) OR (col1 < 83.46 AND col0 IS NULL OR (col0 >= 99 AND ((((((col0 <= 78)))))))) AND (col0 IN (48)) OR col3 BETWEEN 38 AND 1 AND (col3 = 65) AND col0 > 94 OR col3 IS NULL OR col0 = 64))) OR (col1 = 78.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,16,49.71,'loofj',12,23.80,'udpur')

statement ok
INSERT INTO tab0 VALUES(1,89,63.28,'zuzkp',86,27.13,'wlvnp')

statement ok
INSERT INTO tab0 VALUES(2,97,69.62,'bdvab',35,56.71,'siydg')

statement ok
INSERT INTO tab0 VALUES(3,47,3.6,'nzhno',6,19.64,'vcfli')

statement ok
INSERT INTO tab0 VALUES(4,55,65.1,'xfmem',17,24.16,'gdkgt')

statement ok
INSERT INTO tab0 VALUES(5,65,82.7,'eoihg',62,32.77,'hgfkg')

statement ok
INSERT INTO tab0 VALUES(6,54,71.16,'irahx',32,28.34,'brwxe')

statement ok
INSERT INTO tab0 VALUES(7,52,98.65,'cequw',23,81.26,'ffaax')

statement ok
INSERT INTO tab0 VALUES(8,49,46.48,'kwutm',47,1.57,'klzmp')

statement ok
INSERT INTO tab0 VALUES(9,9,74.30,'cvhrq',48,11.5,'ctrmw')

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,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0)

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 INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 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,col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 <= 35) AND (col3 < 0)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 35) AND (col3 < 0)
----

query I rowsort label-3330
SELECT pk FROM tab0 WHERE NOT ((col3 <= 35) AND (col3 < 0))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 <= 35) AND (col3 < 0)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 35) AND (col3 < 0)
----

query I rowsort label-3330
SELECT pk FROM tab1 WHERE NOT ((col3 <= 35) AND (col3 < 0))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 <= 35) AND (col3 < 0)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 35) AND (col3 < 0)
----

query I rowsort label-3330
SELECT pk FROM tab2 WHERE NOT ((col3 <= 35) AND (col3 < 0))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 <= 35) AND (col3 < 0)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 35) AND (col3 < 0)
----

query I rowsort label-3330
SELECT pk FROM tab3 WHERE NOT ((col3 <= 35) AND (col3 < 0))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 <= 35) AND (col3 < 0)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 35) AND (col3 < 0)
----

query I rowsort label-3330
SELECT pk FROM tab4 WHERE NOT ((col3 <= 35) AND (col3 < 0))
----
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,73,45.82,'wlkos',78,89.34,'bvsol')

statement ok
INSERT INTO tab0 VALUES(1,52,88.38,'sxgvj',32,64.43,'bwxnz')

statement ok
INSERT INTO tab0 VALUES(2,75,90.2,'jlzix',83,11.13,'pttqh')

statement ok
INSERT INTO tab0 VALUES(3,46,25.76,'whlid',92,32.59,'jygpv')

statement ok
INSERT INTO tab0 VALUES(4,51,31.79,'vhknv',33,98.96,'axkjm')

statement ok
INSERT INTO tab0 VALUES(5,17,14.14,'jsnmv',52,60.3,'ltequ')

statement ok
INSERT INTO tab0 VALUES(6,76,71.26,'esrjf',34,59.84,'pxvme')

statement ok
INSERT INTO tab0 VALUES(7,27,92.68,'ybaqj',58,40.30,'xqxcv')

statement ok
INSERT INTO tab0 VALUES(8,0,80.60,'dtaof',69,65.82,'islfa')

statement ok
INSERT INTO tab0 VALUES(9,18,59.56,'insvd',35,27.95,'jexye')

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 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,col4)

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

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0,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,col4,col1,col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col3 DESC)

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1,col4)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

query I rowsort label-3345
SELECT pk FROM tab0 WHERE NOT (((col1 IS NULL)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

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

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

query I rowsort label-3345
SELECT pk FROM tab1 WHERE NOT (((col1 IS NULL)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

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

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

query I rowsort label-3345
SELECT pk FROM tab2 WHERE NOT (((col1 IS NULL)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

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

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

query I rowsort label-3345
SELECT pk FROM tab3 WHERE NOT (((col1 IS NULL)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

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

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

query I rowsort label-3345
SELECT pk FROM tab4 WHERE NOT (((col1 IS NULL)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 > 6.75

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

query I rowsort label-3360
SELECT pk FROM tab0 WHERE NOT (col1 > 6.75)
----

statement ok
DELETE FROM tab1 WHERE col1 > 6.75

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

query I rowsort label-3360
SELECT pk FROM tab1 WHERE NOT (col1 > 6.75)
----

statement ok
DELETE FROM tab2 WHERE col1 > 6.75

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

query I rowsort label-3360
SELECT pk FROM tab2 WHERE NOT (col1 > 6.75)
----

statement ok
DELETE FROM tab3 WHERE col1 > 6.75

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

query I rowsort label-3360
SELECT pk FROM tab3 WHERE NOT (col1 > 6.75)
----

statement ok
DELETE FROM tab4 WHERE col1 > 6.75

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

query I rowsort label-3360
SELECT pk FROM tab4 WHERE NOT (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,51,50.77,'oabwo',82,57.29,'stble')

statement ok
INSERT INTO tab0 VALUES(1,44,19.88,'egpfq',38,73.12,'aroyy')

statement ok
INSERT INTO tab0 VALUES(2,41,45.57,'mlmir',44,32.36,'jbnmz')

statement ok
INSERT INTO tab0 VALUES(3,3,41.80,'vfjwl',6,3.26,'ecoxm')

statement ok
INSERT INTO tab0 VALUES(4,49,35.2,'zpkem',25,77.37,'zwvli')

statement ok
INSERT INTO tab0 VALUES(5,26,83.79,'lvjwt',57,80.20,'kyfld')

statement ok
INSERT INTO tab0 VALUES(6,63,84.44,'iyrlg',72,85.80,'lxgag')

statement ok
INSERT INTO tab0 VALUES(7,40,90.68,'thmzn',23,28.42,'ncjpc')

statement ok
INSERT INTO tab0 VALUES(8,47,21.21,'rhcrq',5,15.13,'ndaod')

statement ok
INSERT INTO tab0 VALUES(9,50,75.36,'hzsmf',16,39.44,'ervwz')

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 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 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 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1)

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

statement ok
CREATE 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 INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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,13.27,'aycye',15,36.89,'ochlh')

statement ok
INSERT INTO tab0 VALUES(1,11,50.26,'olmbw',98,29.20,'jhejw')

statement ok
INSERT INTO tab0 VALUES(2,95,7.88,'aitoy',90,79.74,'fxyqa')

statement ok
INSERT INTO tab0 VALUES(3,65,17.6,'wfsjh',91,95.15,'kbxtx')

statement ok
INSERT INTO tab0 VALUES(4,73,30.18,'gzhen',79,34.60,'rqreb')

statement ok
INSERT INTO tab0 VALUES(5,8,77.24,'lybrp',36,65.96,'uqzfg')

statement ok
INSERT INTO tab0 VALUES(6,15,29.99,'nyykk',47,30.86,'cddiy')

statement ok
INSERT INTO tab0 VALUES(7,3,66.98,'aowen',21,7.85,'flscd')

statement ok
INSERT INTO tab0 VALUES(8,57,31.80,'odgzr',0,74.53,'pegls')

statement ok
INSERT INTO tab0 VALUES(9,53,99.10,'kyvel',72,69.66,'iptvk')

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,col4 DESC,col3)

statement ok
CREATE UNIQUE 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 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 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0,col3)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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,24,57.96,'bdwjq',44,96.48,'icaqm')

statement ok
INSERT INTO tab0 VALUES(1,83,93.41,'cbuyz',83,30.17,'idtxs')

statement ok
INSERT INTO tab0 VALUES(2,96,12.64,'ljdlh',52,80.75,'etabc')

statement ok
INSERT INTO tab0 VALUES(3,82,32.78,'vvqzw',5,62.32,'nuqyp')

statement ok
INSERT INTO tab0 VALUES(4,80,10.72,'pizln',20,19.34,'ccguc')

statement ok
INSERT INTO tab0 VALUES(5,63,11.25,'kvrqj',15,73.72,'cuzgb')

statement ok
INSERT INTO tab0 VALUES(6,48,59.20,'vllkh',60,97.98,'ddcsa')

statement ok
INSERT INTO tab0 VALUES(7,8,14.51,'ztzws',87,74.31,'oxqgg')

statement ok
INSERT INTO tab0 VALUES(8,87,21.45,'dtpiz',3,53.78,'gkbto')

statement ok
INSERT INTO tab0 VALUES(9,11,81.66,'mbsqi',6,26.40,'epsdp')

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 (col4 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,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4 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)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59)
----

query I rowsort label-3375
SELECT pk FROM tab0 WHERE NOT (((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59))
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE ((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59)
----

query I rowsort label-3375
SELECT pk FROM tab1 WHERE NOT (((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59))
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE ((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59)
----

query I rowsort label-3375
SELECT pk FROM tab2 WHERE NOT (((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59))
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE ((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59)
----

query I rowsort label-3375
SELECT pk FROM tab3 WHERE NOT (((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59))
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE ((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59)
----

query I rowsort label-3375
SELECT pk FROM tab4 WHERE NOT (((col3 > 61) OR ((col3 >= 80)) OR ((col4 < 71.78))) AND (col3 > 59))
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE col1 BETWEEN 24.67 AND 68.73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 BETWEEN 24.67 AND 68.73
----

query I rowsort label-3390
SELECT pk FROM tab0 WHERE NOT (col1 BETWEEN 24.67 AND 68.73)
----
2
4
5
8
9

statement ok
DELETE FROM tab1 WHERE col1 BETWEEN 24.67 AND 68.73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 BETWEEN 24.67 AND 68.73
----

query I rowsort label-3390
SELECT pk FROM tab1 WHERE NOT (col1 BETWEEN 24.67 AND 68.73)
----
2
4
5
8
9

statement ok
DELETE FROM tab2 WHERE col1 BETWEEN 24.67 AND 68.73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 BETWEEN 24.67 AND 68.73
----

query I rowsort label-3390
SELECT pk FROM tab2 WHERE NOT (col1 BETWEEN 24.67 AND 68.73)
----
2
4
5
8
9

statement ok
DELETE FROM tab3 WHERE col1 BETWEEN 24.67 AND 68.73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 BETWEEN 24.67 AND 68.73
----

query I rowsort label-3390
SELECT pk FROM tab3 WHERE NOT (col1 BETWEEN 24.67 AND 68.73)
----
2
4
5
8
9

statement ok
DELETE FROM tab4 WHERE col1 BETWEEN 24.67 AND 68.73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 BETWEEN 24.67 AND 68.73
----

query I rowsort label-3390
SELECT pk FROM tab4 WHERE NOT (col1 BETWEEN 24.67 AND 68.73)
----
2
4
5
8
9

statement ok
DELETE FROM tab0 WHERE col4 < 90.92

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

query I rowsort label-3405
SELECT pk FROM tab0 WHERE NOT (col4 < 90.92)
----

statement ok
DELETE FROM tab1 WHERE col4 < 90.92

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

query I rowsort label-3405
SELECT pk FROM tab1 WHERE NOT (col4 < 90.92)
----

statement ok
DELETE FROM tab2 WHERE col4 < 90.92

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

query I rowsort label-3405
SELECT pk FROM tab2 WHERE NOT (col4 < 90.92)
----

statement ok
DELETE FROM tab3 WHERE col4 < 90.92

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

query I rowsort label-3405
SELECT pk FROM tab3 WHERE NOT (col4 < 90.92)
----

statement ok
DELETE FROM tab4 WHERE col4 < 90.92

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

query I rowsort label-3405
SELECT pk FROM tab4 WHERE NOT (col4 < 90.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,26,57.63,'zghww',22,99.94,'rfioo')

statement ok
INSERT INTO tab0 VALUES(1,47,73.0,'rtsyp',35,23.89,'krjbt')

statement ok
INSERT INTO tab0 VALUES(2,30,83.71,'jxixt',58,49.20,'gqpvq')

statement ok
INSERT INTO tab0 VALUES(3,14,29.53,'pbasr',61,35.18,'eliqh')

statement ok
INSERT INTO tab0 VALUES(4,40,62.96,'vircw',93,4.18,'cvnez')

statement ok
INSERT INTO tab0 VALUES(5,4,55.87,'jaoyw',42,56.22,'upxti')

statement ok
INSERT INTO tab0 VALUES(6,27,14.9,'ojfcr',98,80.63,'efdwd')

statement ok
INSERT INTO tab0 VALUES(7,10,90.9,'zzrvs',21,70.66,'mmzwx')

statement ok
INSERT INTO tab0 VALUES(8,9,97.56,'ktsrx',96,33.11,'dfinq')

statement ok
INSERT INTO tab0 VALUES(9,83,15.7,'bgrwz',99,5.96,'eqkre')

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 DESC)

statement ok
CREATE INDEX idx_tab2_4 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 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col0 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,col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82
----

query I rowsort label-3420
SELECT pk FROM tab0 WHERE NOT (col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82)
----

statement ok
DELETE FROM tab1 WHERE col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82
----

query I rowsort label-3420
SELECT pk FROM tab1 WHERE NOT (col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82)
----

statement ok
DELETE FROM tab2 WHERE col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82
----

query I rowsort label-3420
SELECT pk FROM tab2 WHERE NOT (col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82)
----

statement ok
DELETE FROM tab3 WHERE col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82
----

query I rowsort label-3420
SELECT pk FROM tab3 WHERE NOT (col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82)
----

statement ok
DELETE FROM tab4 WHERE col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 82
----

query I rowsort label-3420
SELECT pk FROM tab4 WHERE NOT (col4 = 5.2 OR col4 > 3.53 OR col3 BETWEEN 13 AND 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,3,10.78,'nxlaw',62,61.58,'mvqgl')

statement ok
INSERT INTO tab0 VALUES(1,4,21.60,'apljr',59,86.15,'lcdrp')

statement ok
INSERT INTO tab0 VALUES(2,31,55.14,'orxdk',81,60.8,'lkqnu')

statement ok
INSERT INTO tab0 VALUES(3,32,59.27,'vwzso',86,98.13,'itjxg')

statement ok
INSERT INTO tab0 VALUES(4,43,22.60,'csliw',49,65.67,'eihra')

statement ok
INSERT INTO tab0 VALUES(5,44,87.10,'odzxo',26,87.20,'qygbe')

statement ok
INSERT INTO tab0 VALUES(6,30,65.77,'mbfjh',15,62.10,'tvegv')

statement ok
INSERT INTO tab0 VALUES(7,67,44.21,'cctnk',17,70.13,'ibzzh')

statement ok
INSERT INTO tab0 VALUES(8,60,4.29,'bbnoz',2,96.14,'akzgg')

statement ok
INSERT INTO tab0 VALUES(9,10,31.76,'frrqa',71,30.69,'itwxv')

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_1 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 (col1 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_5 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 (col1 DESC,col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97)
----

query I rowsort label-3435
SELECT pk FROM tab0 WHERE NOT (((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97))
----
8

statement ok
DELETE FROM tab1 WHERE ((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97)
----

query I rowsort label-3435
SELECT pk FROM tab1 WHERE NOT (((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97))
----
8

statement ok
DELETE FROM tab2 WHERE ((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97)
----

query I rowsort label-3435
SELECT pk FROM tab2 WHERE NOT (((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97))
----
8

statement ok
DELETE FROM tab3 WHERE ((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97)
----

query I rowsort label-3435
SELECT pk FROM tab3 WHERE NOT (((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97))
----
8

statement ok
DELETE FROM tab4 WHERE ((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97)
----

query I rowsort label-3435
SELECT pk FROM tab4 WHERE NOT (((((col3 > 11) OR ((col3 > 71) AND (col3 > 3 AND col4 >= 75.16 AND col0 < 51)) AND col4 < 59.81 OR col3 = 35))) OR (col4 <= 41.97))
----
8

statement ok
DELETE FROM tab0 WHERE (col1 < 22.19)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 22.19)
----

query I rowsort label-3450
SELECT pk FROM tab0 WHERE NOT ((col1 < 22.19))
----

statement ok
DELETE FROM tab1 WHERE (col1 < 22.19)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 22.19)
----

query I rowsort label-3450
SELECT pk FROM tab1 WHERE NOT ((col1 < 22.19))
----

statement ok
DELETE FROM tab2 WHERE (col1 < 22.19)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 22.19)
----

query I rowsort label-3450
SELECT pk FROM tab2 WHERE NOT ((col1 < 22.19))
----

statement ok
DELETE FROM tab3 WHERE (col1 < 22.19)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 22.19)
----

query I rowsort label-3450
SELECT pk FROM tab3 WHERE NOT ((col1 < 22.19))
----

statement ok
DELETE FROM tab4 WHERE (col1 < 22.19)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 22.19)
----

query I rowsort label-3450
SELECT pk FROM tab4 WHERE NOT ((col1 < 22.19))
----

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,96.2,'igmnd',87,32.66,'xynvi')

statement ok
INSERT INTO tab0 VALUES(1,22,52.23,'zhiae',34,94.63,'vbyfc')

statement ok
INSERT INTO tab0 VALUES(2,44,11.88,'gltip',46,38.30,'ogtum')

statement ok
INSERT INTO tab0 VALUES(3,76,12.66,'qzxhe',72,59.62,'zckse')

statement ok
INSERT INTO tab0 VALUES(4,64,56.16,'cjlhu',68,28.25,'tmsnt')

statement ok
INSERT INTO tab0 VALUES(5,93,35.52,'vtnwy',62,4.19,'nqjss')

statement ok
INSERT INTO tab0 VALUES(6,47,32.1,'qvflo',13,48.41,'ahqnu')

statement ok
INSERT INTO tab0 VALUES(7,77,37.71,'ahgwj',77,33.50,'fswhw')

statement ok
INSERT INTO tab0 VALUES(8,59,59.11,'dnlat',69,56.24,'ickjg')

statement ok
INSERT INTO tab0 VALUES(9,60,42.70,'ddsmd',20,60.27,'dfrmt')

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 (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 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

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 INDEX idx_tab4_0 ON tab4 (col3,col0)

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 IS NULL AND (col4 = 28.77)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IS NULL AND (col4 = 28.77)
----

query I rowsort label-3465
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL AND (col4 = 28.77))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 IS NULL AND (col4 = 28.77)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IS NULL AND (col4 = 28.77)
----

query I rowsort label-3465
SELECT pk FROM tab1 WHERE NOT (col0 IS NULL AND (col4 = 28.77))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 IS NULL AND (col4 = 28.77)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IS NULL AND (col4 = 28.77)
----

query I rowsort label-3465
SELECT pk FROM tab2 WHERE NOT (col0 IS NULL AND (col4 = 28.77))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 IS NULL AND (col4 = 28.77)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IS NULL AND (col4 = 28.77)
----

query I rowsort label-3465
SELECT pk FROM tab3 WHERE NOT (col0 IS NULL AND (col4 = 28.77))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 IS NULL AND (col4 = 28.77)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IS NULL AND (col4 = 28.77)
----

query I rowsort label-3465
SELECT pk FROM tab4 WHERE NOT (col0 IS NULL AND (col4 = 28.77))
----
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,87,89.41,'iwsfd',73,56.96,'vijab')

statement ok
INSERT INTO tab0 VALUES(1,83,96.73,'pstgj',93,95.46,'mrhmi')

statement ok
INSERT INTO tab0 VALUES(2,30,66.21,'vdsla',92,52.28,'bbkhg')

statement ok
INSERT INTO tab0 VALUES(3,55,45.61,'etjew',17,15.93,'pqtbw')

statement ok
INSERT INTO tab0 VALUES(4,27,54.44,'tyhex',61,30.19,'gnaht')

statement ok
INSERT INTO tab0 VALUES(5,69,55.6,'xyuly',79,61.31,'vohkp')

statement ok
INSERT INTO tab0 VALUES(6,70,3.86,'awcrf',0,53.8,'ospat')

statement ok
INSERT INTO tab0 VALUES(7,0,24.31,'gykbx',34,97.96,'lzpwb')

statement ok
INSERT INTO tab0 VALUES(8,18,64.16,'wohrz',95,87.22,'hsdzf')

statement ok
INSERT INTO tab0 VALUES(9,88,59.51,'cmgkr',2,90.9,'zoxzp')

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,col0 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0 DESC)

statement ok
CREATE 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_0 ON tab3 (col1,col3 DESC,col0 DESC)

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

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0 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 (col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1,col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 IN (73.67,64.98,47.49,32.62,63.5)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (73.67,64.98,47.49,32.62,63.5)
----

query I rowsort label-3480
SELECT pk FROM tab0 WHERE NOT (col4 IN (73.67,64.98,47.49,32.62,63.5))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 IN (73.67,64.98,47.49,32.62,63.5)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (73.67,64.98,47.49,32.62,63.5)
----

query I rowsort label-3480
SELECT pk FROM tab1 WHERE NOT (col4 IN (73.67,64.98,47.49,32.62,63.5))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 IN (73.67,64.98,47.49,32.62,63.5)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (73.67,64.98,47.49,32.62,63.5)
----

query I rowsort label-3480
SELECT pk FROM tab2 WHERE NOT (col4 IN (73.67,64.98,47.49,32.62,63.5))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 IN (73.67,64.98,47.49,32.62,63.5)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (73.67,64.98,47.49,32.62,63.5)
----

query I rowsort label-3480
SELECT pk FROM tab3 WHERE NOT (col4 IN (73.67,64.98,47.49,32.62,63.5))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 IN (73.67,64.98,47.49,32.62,63.5)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (73.67,64.98,47.49,32.62,63.5)
----

query I rowsort label-3480
SELECT pk FROM tab4 WHERE NOT (col4 IN (73.67,64.98,47.49,32.62,63.5))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 >= 84

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

query I rowsort label-3495
SELECT pk FROM tab0 WHERE NOT (col0 >= 84)
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab1 WHERE col0 >= 84

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

query I rowsort label-3495
SELECT pk FROM tab1 WHERE NOT (col0 >= 84)
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab2 WHERE col0 >= 84

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

query I rowsort label-3495
SELECT pk FROM tab2 WHERE NOT (col0 >= 84)
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab3 WHERE col0 >= 84

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

query I rowsort label-3495
SELECT pk FROM tab3 WHERE NOT (col0 >= 84)
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab4 WHERE col0 >= 84

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

query I rowsort label-3495
SELECT pk FROM tab4 WHERE NOT (col0 >= 84)
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab0 WHERE (col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14)
----

query I rowsort label-3510
SELECT pk FROM tab0 WHERE NOT ((col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14))
----
6

statement ok
DELETE FROM tab1 WHERE (col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14)
----

query I rowsort label-3510
SELECT pk FROM tab1 WHERE NOT ((col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14))
----
6

statement ok
DELETE FROM tab2 WHERE (col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14)
----

query I rowsort label-3510
SELECT pk FROM tab2 WHERE NOT ((col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14))
----
6

statement ok
DELETE FROM tab3 WHERE (col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14)
----

query I rowsort label-3510
SELECT pk FROM tab3 WHERE NOT ((col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14))
----
6

statement ok
DELETE FROM tab4 WHERE (col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14)
----

query I rowsort label-3510
SELECT pk FROM tab4 WHERE NOT ((col1 IS NULL AND ((((((col0 > 42)) AND col3 >= 24 AND col0 > 61 AND (col0 >= 47) AND ((col0 > 70 OR (col0 < 29 OR col1 < 38.34 OR col3 IS NULL OR (col0 < 21))) OR col0 > 89 OR ((col3 > 97)) AND (col0 < 82) AND col0 <= 46 OR ((col0 <= 23 OR col1 < 25.6 AND (((col0 <= 17)) OR (col0 > 98)) AND col3 < 75)) AND (col0 < 27) AND col3 < 55) OR col0 IN (46,36,12)) AND col0 IS NULL) OR (col1 < 46.61)) AND col3 >= 81 AND col3 >= 5 AND col3 IN (93,92,36,93) AND col0 <= 58) OR col3 > 14))
----
6

statement ok
DELETE FROM tab0 WHERE (col0 > 78) AND ((col3 < 34))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 78) AND ((col3 < 34))
----

query I rowsort label-3525
SELECT pk FROM tab0 WHERE NOT ((col0 > 78) AND ((col3 < 34)))
----
6

statement ok
DELETE FROM tab1 WHERE (col0 > 78) AND ((col3 < 34))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 78) AND ((col3 < 34))
----

query I rowsort label-3525
SELECT pk FROM tab1 WHERE NOT ((col0 > 78) AND ((col3 < 34)))
----
6

statement ok
DELETE FROM tab2 WHERE (col0 > 78) AND ((col3 < 34))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 78) AND ((col3 < 34))
----

query I rowsort label-3525
SELECT pk FROM tab2 WHERE NOT ((col0 > 78) AND ((col3 < 34)))
----
6

statement ok
DELETE FROM tab3 WHERE (col0 > 78) AND ((col3 < 34))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 78) AND ((col3 < 34))
----

query I rowsort label-3525
SELECT pk FROM tab3 WHERE NOT ((col0 > 78) AND ((col3 < 34)))
----
6

statement ok
DELETE FROM tab4 WHERE (col0 > 78) AND ((col3 < 34))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 78) AND ((col3 < 34))
----

query I rowsort label-3525
SELECT pk FROM tab4 WHERE NOT ((col0 > 78) AND ((col3 < 34)))
----
6

statement ok
DELETE FROM tab0 WHERE col0 > 16

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

query I rowsort label-3540
SELECT pk FROM tab0 WHERE NOT (col0 > 16)
----

statement ok
DELETE FROM tab1 WHERE col0 > 16

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

query I rowsort label-3540
SELECT pk FROM tab1 WHERE NOT (col0 > 16)
----

statement ok
DELETE FROM tab2 WHERE col0 > 16

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

query I rowsort label-3540
SELECT pk FROM tab2 WHERE NOT (col0 > 16)
----

statement ok
DELETE FROM tab3 WHERE col0 > 16

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

query I rowsort label-3540
SELECT pk FROM tab3 WHERE NOT (col0 > 16)
----

statement ok
DELETE FROM tab4 WHERE col0 > 16

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

query I rowsort label-3540
SELECT pk FROM tab4 WHERE NOT (col0 > 16)
----

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,15,96.68,'aymjs',34,78.2,'rangv')

statement ok
INSERT INTO tab0 VALUES(1,38,34.41,'zpfkh',57,21.73,'mwtzc')

statement ok
INSERT INTO tab0 VALUES(2,56,99.47,'yqxid',58,75.26,'wpcmb')

statement ok
INSERT INTO tab0 VALUES(3,66,17.62,'clhed',14,20.80,'orshj')

statement ok
INSERT INTO tab0 VALUES(4,19,45.70,'havkr',46,18.97,'dffod')

statement ok
INSERT INTO tab0 VALUES(5,89,83.23,'iuzss',68,33.39,'fhtyi')

statement ok
INSERT INTO tab0 VALUES(6,28,87.10,'bcjjc',62,41.33,'hxcgs')

statement ok
INSERT INTO tab0 VALUES(7,35,79.11,'jyseq',32,42.32,'gluta')

statement ok
INSERT INTO tab0 VALUES(8,11,64.67,'nlcva',72,72.79,'eigfb')

statement ok
INSERT INTO tab0 VALUES(9,32,40.39,'bsdph',24,19.67,'rozfa')

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_2 ON tab2 (col1,col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4,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 DESC)

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

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,col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 <= 71.88

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

query I rowsort label-3555
SELECT pk FROM tab0 WHERE NOT (col4 <= 71.88)
----
0
2
8

statement ok
DELETE FROM tab1 WHERE col4 <= 71.88

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

query I rowsort label-3555
SELECT pk FROM tab1 WHERE NOT (col4 <= 71.88)
----
0
2
8

statement ok
DELETE FROM tab2 WHERE col4 <= 71.88

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

query I rowsort label-3555
SELECT pk FROM tab2 WHERE NOT (col4 <= 71.88)
----
0
2
8

statement ok
DELETE FROM tab3 WHERE col4 <= 71.88

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

query I rowsort label-3555
SELECT pk FROM tab3 WHERE NOT (col4 <= 71.88)
----
0
2
8

statement ok
DELETE FROM tab4 WHERE col4 <= 71.88

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

query I rowsort label-3555
SELECT pk FROM tab4 WHERE NOT (col4 <= 71.88)
----
0
2
8

statement ok
DELETE FROM tab0 WHERE (col3 <= 17 OR ((col0 > 98)) OR col3 = 66)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 17 OR ((col0 > 98)) OR col3 = 66)
----

query I rowsort label-3570
SELECT pk FROM tab0 WHERE NOT ((col3 <= 17 OR ((col0 > 98)) OR col3 = 66))
----
0
2
8

statement ok
DELETE FROM tab1 WHERE (col3 <= 17 OR ((col0 > 98)) OR col3 = 66)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 17 OR ((col0 > 98)) OR col3 = 66)
----

query I rowsort label-3570
SELECT pk FROM tab1 WHERE NOT ((col3 <= 17 OR ((col0 > 98)) OR col3 = 66))
----
0
2
8

statement ok
DELETE FROM tab2 WHERE (col3 <= 17 OR ((col0 > 98)) OR col3 = 66)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 17 OR ((col0 > 98)) OR col3 = 66)
----

query I rowsort label-3570
SELECT pk FROM tab2 WHERE NOT ((col3 <= 17 OR ((col0 > 98)) OR col3 = 66))
----
0
2
8

statement ok
DELETE FROM tab3 WHERE (col3 <= 17 OR ((col0 > 98)) OR col3 = 66)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 17 OR ((col0 > 98)) OR col3 = 66)
----

query I rowsort label-3570
SELECT pk FROM tab3 WHERE NOT ((col3 <= 17 OR ((col0 > 98)) OR col3 = 66))
----
0
2
8

statement ok
DELETE FROM tab4 WHERE (col3 <= 17 OR ((col0 > 98)) OR col3 = 66)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 17 OR ((col0 > 98)) OR col3 = 66)
----

query I rowsort label-3570
SELECT pk FROM tab4 WHERE NOT ((col3 <= 17 OR ((col0 > 98)) OR col3 = 66))
----
0
2
8

statement ok
DELETE FROM tab0 WHERE col4 < 82.48

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

query I rowsort label-3585
SELECT pk FROM tab0 WHERE NOT (col4 < 82.48)
----

statement ok
DELETE FROM tab1 WHERE col4 < 82.48

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

query I rowsort label-3585
SELECT pk FROM tab1 WHERE NOT (col4 < 82.48)
----

statement ok
DELETE FROM tab2 WHERE col4 < 82.48

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

query I rowsort label-3585
SELECT pk FROM tab2 WHERE NOT (col4 < 82.48)
----

statement ok
DELETE FROM tab3 WHERE col4 < 82.48

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

query I rowsort label-3585
SELECT pk FROM tab3 WHERE NOT (col4 < 82.48)
----

statement ok
DELETE FROM tab4 WHERE col4 < 82.48

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

query I rowsort label-3585
SELECT pk FROM tab4 WHERE NOT (col4 < 82.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,53,31.47,'batfz',61,29.30,'efwee')

statement ok
INSERT INTO tab0 VALUES(1,84,61.77,'ypdnu',83,30.36,'mqohl')

statement ok
INSERT INTO tab0 VALUES(2,1,3.6,'kncxo',13,62.29,'dszst')

statement ok
INSERT INTO tab0 VALUES(3,2,84.4,'rsmuv',27,14.0,'wzenq')

statement ok
INSERT INTO tab0 VALUES(4,30,81.94,'mudqh',31,81.18,'xmqbb')

statement ok
INSERT INTO tab0 VALUES(5,48,32.13,'epeib',28,75.3,'dirni')

statement ok
INSERT INTO tab0 VALUES(6,88,51.75,'txvzr',74,36.79,'gjjpg')

statement ok
INSERT INTO tab0 VALUES(7,22,37.32,'zbvnj',46,52.42,'suwbk')

statement ok
INSERT INTO tab0 VALUES(8,23,91.39,'qnkiz',3,64.21,'cthlb')

statement ok
INSERT INTO tab0 VALUES(9,24,24.14,'qomsi',47,82.41,'bbarm')

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_1 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 (col1 DESC,col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 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 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 < 14.51)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 14.51)
----

query I rowsort label-3600
SELECT pk FROM tab0 WHERE NOT ((col4 < 14.51))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab1 WHERE (col4 < 14.51)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 14.51)
----

query I rowsort label-3600
SELECT pk FROM tab1 WHERE NOT ((col4 < 14.51))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab2 WHERE (col4 < 14.51)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 14.51)
----

query I rowsort label-3600
SELECT pk FROM tab2 WHERE NOT ((col4 < 14.51))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab3 WHERE (col4 < 14.51)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 14.51)
----

query I rowsort label-3600
SELECT pk FROM tab3 WHERE NOT ((col4 < 14.51))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab4 WHERE (col4 < 14.51)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 14.51)
----

query I rowsort label-3600
SELECT pk FROM tab4 WHERE NOT ((col4 < 14.51))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab0 WHERE (((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12))
----

query I rowsort label-3615
SELECT pk FROM tab0 WHERE NOT ((((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab1 WHERE (((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12))
----

query I rowsort label-3615
SELECT pk FROM tab1 WHERE NOT ((((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab2 WHERE (((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12))
----

query I rowsort label-3615
SELECT pk FROM tab2 WHERE NOT ((((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab3 WHERE (((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12))
----

query I rowsort label-3615
SELECT pk FROM tab3 WHERE NOT ((((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab4 WHERE (((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12))
----

query I rowsort label-3615
SELECT pk FROM tab4 WHERE NOT ((((col0 > 2)) AND col3 > 40 AND col0 < 26 AND (((col0 >= 50)))) AND ((((((col4 < 78.44)) AND col3 > 97 AND (col3 = 29) OR col1 <= 90.0 OR col0 >= 99 AND col0 < 63 AND col0 > 65))) AND ((col1 >= 76.98 OR col0 < 73))) AND col0 <= 60 OR (col3 <= 33) AND ((col0 > 81)) OR (((col0 > 40 AND col0 > 89 AND col0 > 32 AND col3 < 87) AND col3 > 12)))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab0 WHERE col1 >= 54.27

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

query I rowsort label-3630
SELECT pk FROM tab0 WHERE NOT (col1 >= 54.27)
----
0
2
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col1 >= 54.27

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

query I rowsort label-3630
SELECT pk FROM tab1 WHERE NOT (col1 >= 54.27)
----
0
2
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col1 >= 54.27

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

query I rowsort label-3630
SELECT pk FROM tab2 WHERE NOT (col1 >= 54.27)
----
0
2
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col1 >= 54.27

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

query I rowsort label-3630
SELECT pk FROM tab3 WHERE NOT (col1 >= 54.27)
----
0
2
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col1 >= 54.27

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

query I rowsort label-3630
SELECT pk FROM tab4 WHERE NOT (col1 >= 54.27)
----
0
2
5
6
7
9

statement ok
DELETE FROM tab0 WHERE col0 > 28

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

query I rowsort label-3645
SELECT pk FROM tab0 WHERE NOT (col0 > 28)
----
2
7
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-3645
SELECT pk FROM tab1 WHERE NOT (col0 > 28)
----
2
7
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-3645
SELECT pk FROM tab2 WHERE NOT (col0 > 28)
----
2
7
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-3645
SELECT pk FROM tab3 WHERE NOT (col0 > 28)
----
2
7
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-3645
SELECT pk FROM tab4 WHERE NOT (col0 > 28)
----
2
7
9

statement ok
DELETE FROM tab0 WHERE col1 > 83.95 OR col4 < 69.58

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 83.95 OR col4 < 69.58
----

query I rowsort label-3660
SELECT pk FROM tab0 WHERE NOT (col1 > 83.95 OR col4 < 69.58)
----
9

statement ok
DELETE FROM tab1 WHERE col1 > 83.95 OR col4 < 69.58

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 83.95 OR col4 < 69.58
----

query I rowsort label-3660
SELECT pk FROM tab1 WHERE NOT (col1 > 83.95 OR col4 < 69.58)
----
9

statement ok
DELETE FROM tab2 WHERE col1 > 83.95 OR col4 < 69.58

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 83.95 OR col4 < 69.58
----

query I rowsort label-3660
SELECT pk FROM tab2 WHERE NOT (col1 > 83.95 OR col4 < 69.58)
----
9

statement ok
DELETE FROM tab3 WHERE col1 > 83.95 OR col4 < 69.58

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 83.95 OR col4 < 69.58
----

query I rowsort label-3660
SELECT pk FROM tab3 WHERE NOT (col1 > 83.95 OR col4 < 69.58)
----
9

statement ok
DELETE FROM tab4 WHERE col1 > 83.95 OR col4 < 69.58

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 83.95 OR col4 < 69.58
----

query I rowsort label-3660
SELECT pk FROM tab4 WHERE NOT (col1 > 83.95 OR col4 < 69.58)
----
9

statement ok
DELETE FROM tab0 WHERE col3 > 69

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 69
----

query I rowsort label-3675
SELECT pk FROM tab0 WHERE NOT (col3 > 69)
----
9

statement ok
DELETE FROM tab1 WHERE col3 > 69

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 69
----

query I rowsort label-3675
SELECT pk FROM tab1 WHERE NOT (col3 > 69)
----
9

statement ok
DELETE FROM tab2 WHERE col3 > 69

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 69
----

query I rowsort label-3675
SELECT pk FROM tab2 WHERE NOT (col3 > 69)
----
9

statement ok
DELETE FROM tab3 WHERE col3 > 69

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 69
----

query I rowsort label-3675
SELECT pk FROM tab3 WHERE NOT (col3 > 69)
----
9

statement ok
DELETE FROM tab4 WHERE col3 > 69

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 69
----

query I rowsort label-3675
SELECT pk FROM tab4 WHERE NOT (col3 > 69)
----
9

statement ok
DELETE FROM tab0 WHERE (col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75
----

query I rowsort label-3690
SELECT pk FROM tab0 WHERE NOT ((col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75)
----

statement ok
DELETE FROM tab1 WHERE (col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75
----

query I rowsort label-3690
SELECT pk FROM tab1 WHERE NOT ((col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75)
----

statement ok
DELETE FROM tab2 WHERE (col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75
----

query I rowsort label-3690
SELECT pk FROM tab2 WHERE NOT ((col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75)
----

statement ok
DELETE FROM tab3 WHERE (col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75
----

query I rowsort label-3690
SELECT pk FROM tab3 WHERE NOT ((col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75)
----

statement ok
DELETE FROM tab4 WHERE (col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) OR col3 < 75
----

query I rowsort label-3690
SELECT pk FROM tab4 WHERE NOT ((col0 < 35 AND col0 >= 40 OR ((((col0 > 67) AND (col3 IN (13) OR col4 <= 79.60)) AND col1 >= 47.37))) OR col0 <= 97 AND col3 > 10 AND col4 <= 35.78 AND (col0 < 82) OR (col3 > 23) 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,52,63.58,'tzvxe',85,6.67,'mjnyl')

statement ok
INSERT INTO tab0 VALUES(1,74,96.98,'ifcar',95,16.75,'hfxwk')

statement ok
INSERT INTO tab0 VALUES(2,31,35.31,'hghkv',57,65.30,'icrlj')

statement ok
INSERT INTO tab0 VALUES(3,28,84.99,'sovva',87,22.74,'rljai')

statement ok
INSERT INTO tab0 VALUES(4,82,8.60,'jvgrz',94,77.96,'dpjsv')

statement ok
INSERT INTO tab0 VALUES(5,84,47.47,'qsjpx',43,48.91,'gwsdu')

statement ok
INSERT INTO tab0 VALUES(6,63,27.33,'rhlxr',18,98.25,'kqoby')

statement ok
INSERT INTO tab0 VALUES(7,51,74.94,'rxejs',86,45.97,'cnbzr')

statement ok
INSERT INTO tab0 VALUES(8,39,28.69,'wqavn',55,74.2,'vnqtj')

statement ok
INSERT INTO tab0 VALUES(9,45,48.24,'szbvk',44,53.93,'lzzel')

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 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 DESC,col1 DESC)

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

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

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_0 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 > 37

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 37
----

query I rowsort label-3705
SELECT pk FROM tab0 WHERE NOT (col3 > 37)
----
6

statement ok
DELETE FROM tab1 WHERE col3 > 37

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 37
----

query I rowsort label-3705
SELECT pk FROM tab1 WHERE NOT (col3 > 37)
----
6

statement ok
DELETE FROM tab2 WHERE col3 > 37

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 37
----

query I rowsort label-3705
SELECT pk FROM tab2 WHERE NOT (col3 > 37)
----
6

statement ok
DELETE FROM tab3 WHERE col3 > 37

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 37
----

query I rowsort label-3705
SELECT pk FROM tab3 WHERE NOT (col3 > 37)
----
6

statement ok
DELETE FROM tab4 WHERE col3 > 37

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 37
----

query I rowsort label-3705
SELECT pk FROM tab4 WHERE NOT (col3 > 37)
----
6

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

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

query I rowsort label-3720
SELECT pk FROM tab0 WHERE NOT (col1 > 95.93 OR col3 IS NULL)
----
6

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

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

query I rowsort label-3720
SELECT pk FROM tab1 WHERE NOT (col1 > 95.93 OR col3 IS NULL)
----
6

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

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

query I rowsort label-3720
SELECT pk FROM tab2 WHERE NOT (col1 > 95.93 OR col3 IS NULL)
----
6

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

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

query I rowsort label-3720
SELECT pk FROM tab3 WHERE NOT (col1 > 95.93 OR col3 IS NULL)
----
6

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

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

query I rowsort label-3720
SELECT pk FROM tab4 WHERE NOT (col1 > 95.93 OR col3 IS NULL)
----
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,63,25.70,'xnwfc',42,81.57,'rbtak')

statement ok
INSERT INTO tab0 VALUES(1,5,9.63,'matmr',52,20.39,'dhhwx')

statement ok
INSERT INTO tab0 VALUES(2,91,99.78,'oqisv',50,0.29,'yhoth')

statement ok
INSERT INTO tab0 VALUES(3,82,0.30,'yqjmg',99,23.48,'pbeqe')

statement ok
INSERT INTO tab0 VALUES(4,8,16.37,'gvuqf',61,97.4,'zjzpa')

statement ok
INSERT INTO tab0 VALUES(5,26,59.89,'yfzxf',58,43.56,'opjji')

statement ok
INSERT INTO tab0 VALUES(6,90,66.3,'pqvjm',36,15.75,'ifgzs')

statement ok
INSERT INTO tab0 VALUES(7,6,8.95,'xkvix',28,7.8,'anhhe')

statement ok
INSERT INTO tab0 VALUES(8,95,4.35,'axgtg',13,65.40,'gdwtb')

statement ok
INSERT INTO tab0 VALUES(9,64,34.11,'ifgzf',85,5.54,'qtlzd')

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 UNIQUE INDEX idx_tab2_1 ON tab2 (col1 DESC,col4)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 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 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4,col0)

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

statement ok
CREATE 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 UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 >= 74.97

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

query I rowsort label-3735
SELECT pk FROM tab0 WHERE NOT (col4 >= 74.97)
----
1
2
3
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col4 >= 74.97

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

query I rowsort label-3735
SELECT pk FROM tab1 WHERE NOT (col4 >= 74.97)
----
1
2
3
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col4 >= 74.97

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

query I rowsort label-3735
SELECT pk FROM tab2 WHERE NOT (col4 >= 74.97)
----
1
2
3
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col4 >= 74.97

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

query I rowsort label-3735
SELECT pk FROM tab3 WHERE NOT (col4 >= 74.97)
----
1
2
3
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col4 >= 74.97

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

query I rowsort label-3735
SELECT pk FROM tab4 WHERE NOT (col4 >= 74.97)
----
1
2
3
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col1 >= 15.53)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 15.53)
----

query I rowsort label-3750
SELECT pk FROM tab0 WHERE NOT ((col1 >= 15.53))
----
1
3
7
8

statement ok
DELETE FROM tab1 WHERE (col1 >= 15.53)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 15.53)
----

query I rowsort label-3750
SELECT pk FROM tab1 WHERE NOT ((col1 >= 15.53))
----
1
3
7
8

statement ok
DELETE FROM tab2 WHERE (col1 >= 15.53)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 15.53)
----

query I rowsort label-3750
SELECT pk FROM tab2 WHERE NOT ((col1 >= 15.53))
----
1
3
7
8

statement ok
DELETE FROM tab3 WHERE (col1 >= 15.53)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 15.53)
----

query I rowsort label-3750
SELECT pk FROM tab3 WHERE NOT ((col1 >= 15.53))
----
1
3
7
8

statement ok
DELETE FROM tab4 WHERE (col1 >= 15.53)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 15.53)
----

query I rowsort label-3750
SELECT pk FROM tab4 WHERE NOT ((col1 >= 15.53))
----
1
3
7
8

statement ok
DELETE FROM tab0 WHERE (((col1 > 83.18) OR col3 = 25) AND col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 > 83.18) OR col3 = 25) AND col0 IS NULL)
----

query I rowsort label-3765
SELECT pk FROM tab0 WHERE NOT ((((col1 > 83.18) OR col3 = 25) AND col0 IS NULL))
----
1
3
7
8

statement ok
DELETE FROM tab1 WHERE (((col1 > 83.18) OR col3 = 25) AND col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 > 83.18) OR col3 = 25) AND col0 IS NULL)
----

query I rowsort label-3765
SELECT pk FROM tab1 WHERE NOT ((((col1 > 83.18) OR col3 = 25) AND col0 IS NULL))
----
1
3
7
8

statement ok
DELETE FROM tab2 WHERE (((col1 > 83.18) OR col3 = 25) AND col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 > 83.18) OR col3 = 25) AND col0 IS NULL)
----

query I rowsort label-3765
SELECT pk FROM tab2 WHERE NOT ((((col1 > 83.18) OR col3 = 25) AND col0 IS NULL))
----
1
3
7
8

statement ok
DELETE FROM tab3 WHERE (((col1 > 83.18) OR col3 = 25) AND col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 > 83.18) OR col3 = 25) AND col0 IS NULL)
----

query I rowsort label-3765
SELECT pk FROM tab3 WHERE NOT ((((col1 > 83.18) OR col3 = 25) AND col0 IS NULL))
----
1
3
7
8

statement ok
DELETE FROM tab4 WHERE (((col1 > 83.18) OR col3 = 25) AND col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 > 83.18) OR col3 = 25) AND col0 IS NULL)
----

query I rowsort label-3765
SELECT pk FROM tab4 WHERE NOT ((((col1 > 83.18) OR col3 = 25) AND col0 IS NULL))
----
1
3
7
8

statement ok
DELETE FROM tab0 WHERE ((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96)
----

query I rowsort label-3780
SELECT pk FROM tab0 WHERE NOT (((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96))
----
1
3
7
8

statement ok
DELETE FROM tab1 WHERE ((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96)
----

query I rowsort label-3780
SELECT pk FROM tab1 WHERE NOT (((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96))
----
1
3
7
8

statement ok
DELETE FROM tab2 WHERE ((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96)
----

query I rowsort label-3780
SELECT pk FROM tab2 WHERE NOT (((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96))
----
1
3
7
8

statement ok
DELETE FROM tab3 WHERE ((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96)
----

query I rowsort label-3780
SELECT pk FROM tab3 WHERE NOT (((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96))
----
1
3
7
8

statement ok
DELETE FROM tab4 WHERE ((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96)
----

query I rowsort label-3780
SELECT pk FROM tab4 WHERE NOT (((col4 >= 17.57 OR col1 = 71.92) AND col0 > 96))
----
1
3
7
8

statement ok
DELETE FROM tab0 WHERE (((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63)))
----

query I rowsort label-3795
SELECT pk FROM tab0 WHERE NOT ((((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63))))
----

statement ok
DELETE FROM tab1 WHERE (((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63)))
----

query I rowsort label-3795
SELECT pk FROM tab1 WHERE NOT ((((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63))))
----

statement ok
DELETE FROM tab2 WHERE (((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63)))
----

query I rowsort label-3795
SELECT pk FROM tab2 WHERE NOT ((((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63))))
----

statement ok
DELETE FROM tab3 WHERE (((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63)))
----

query I rowsort label-3795
SELECT pk FROM tab3 WHERE NOT ((((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63))))
----

statement ok
DELETE FROM tab4 WHERE (((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63)))
----

query I rowsort label-3795
SELECT pk FROM tab4 WHERE NOT ((((((col0 IN (94,48,19,46,98)) OR (col3 >= 66 OR (col0 > 9 OR (col4 > 50.93)) AND col0 <= 29 AND (col0 <= 57)) OR col3 >= 51 AND col3 <= 1 AND col1 < 14.99 OR col3 > 98 OR col0 > 6)) OR (col4 >= 58.50 OR col0 > 32 AND col0 > 79 AND (col1 > 78.87) OR col4 <= 88.63))))
----

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,74.17,'toyxo',45,57.32,'epjal')

statement ok
INSERT INTO tab0 VALUES(1,54,66.69,'ydruh',15,89.11,'igeud')

statement ok
INSERT INTO tab0 VALUES(2,68,94.8,'clmxk',29,70.63,'gbjno')

statement ok
INSERT INTO tab0 VALUES(3,15,77.71,'lfvkz',16,13.32,'yjlwo')

statement ok
INSERT INTO tab0 VALUES(4,36,92.13,'oqpzw',5,29.86,'qowbg')

statement ok
INSERT INTO tab0 VALUES(5,33,44.17,'fouxc',46,78.27,'ndlwa')

statement ok
INSERT INTO tab0 VALUES(6,76,19.9,'anhcq',13,41.7,'jaeww')

statement ok
INSERT INTO tab0 VALUES(7,21,55.67,'uzihz',20,77.36,'cmrpf')

statement ok
INSERT INTO tab0 VALUES(8,20,1.37,'mjbfv',33,90.97,'ojwli')

statement ok
INSERT INTO tab0 VALUES(9,32,78.44,'qglqp',85,86.61,'xfucf')

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 UNIQUE INDEX idx_tab2_2 ON tab2 (col0 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_0 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 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 (col0 DESC)

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

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

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 >= 17

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

query I rowsort label-3810
SELECT pk FROM tab0 WHERE NOT (col0 >= 17)
----
3

statement ok
DELETE FROM tab1 WHERE col0 >= 17

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

query I rowsort label-3810
SELECT pk FROM tab1 WHERE NOT (col0 >= 17)
----
3

statement ok
DELETE FROM tab2 WHERE col0 >= 17

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

query I rowsort label-3810
SELECT pk FROM tab2 WHERE NOT (col0 >= 17)
----
3

statement ok
DELETE FROM tab3 WHERE col0 >= 17

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

query I rowsort label-3810
SELECT pk FROM tab3 WHERE NOT (col0 >= 17)
----
3

statement ok
DELETE FROM tab4 WHERE col0 >= 17

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

query I rowsort label-3810
SELECT pk FROM tab4 WHERE NOT (col0 >= 17)
----
3

statement ok
DELETE FROM tab0 WHERE col3 < 17

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

query I rowsort label-3825
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-3825
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-3825
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-3825
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-3825
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,23,61.92,'qdbus',15,46.3,'phxgu')

statement ok
INSERT INTO tab0 VALUES(1,41,37.44,'kqpku',31,31.52,'bjgzg')

statement ok
INSERT INTO tab0 VALUES(2,72,22.82,'sozkt',55,52.61,'bzpnu')

statement ok
INSERT INTO tab0 VALUES(3,90,72.2,'tldda',78,13.85,'bywai')

statement ok
INSERT INTO tab0 VALUES(4,56,78.97,'sizxf',87,34.33,'uswid')

statement ok
INSERT INTO tab0 VALUES(5,34,28.67,'recej',75,11.77,'epvuk')

statement ok
INSERT INTO tab0 VALUES(6,0,71.36,'ythrz',56,84.67,'rzdty')

statement ok
INSERT INTO tab0 VALUES(7,58,76.58,'wyglj',74,95.43,'ehrht')

statement ok
INSERT INTO tab0 VALUES(8,49,98.37,'ltfbj',20,50.48,'jevrr')

statement ok
INSERT INTO tab0 VALUES(9,65,38.34,'vomsx',41,86.39,'pqujy')

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 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3 DESC,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,col4 DESC)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4 DESC,col0,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 (col4 DESC)

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 < 25.85)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 25.85)
----

query I rowsort label-3840
SELECT pk FROM tab0 WHERE NOT ((col4 < 25.85))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col4 < 25.85)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 25.85)
----

query I rowsort label-3840
SELECT pk FROM tab1 WHERE NOT ((col4 < 25.85))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col4 < 25.85)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 25.85)
----

query I rowsort label-3840
SELECT pk FROM tab2 WHERE NOT ((col4 < 25.85))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col4 < 25.85)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 25.85)
----

query I rowsort label-3840
SELECT pk FROM tab3 WHERE NOT ((col4 < 25.85))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col4 < 25.85)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 25.85)
----

query I rowsort label-3840
SELECT pk FROM tab4 WHERE NOT ((col4 < 25.85))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73))
----

query I rowsort label-3855
SELECT pk FROM tab0 WHERE NOT ((((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73)))
----
0

statement ok
DELETE FROM tab1 WHERE (((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73))
----

query I rowsort label-3855
SELECT pk FROM tab1 WHERE NOT ((((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73)))
----
0

statement ok
DELETE FROM tab2 WHERE (((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73))
----

query I rowsort label-3855
SELECT pk FROM tab2 WHERE NOT ((((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73)))
----
0

statement ok
DELETE FROM tab3 WHERE (((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73))
----

query I rowsort label-3855
SELECT pk FROM tab3 WHERE NOT ((((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73)))
----
0

statement ok
DELETE FROM tab4 WHERE (((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73))
----

query I rowsort label-3855
SELECT pk FROM tab4 WHERE NOT ((((((col4 > 64.20 OR (col3 >= 56 OR ((col4 IN (77.45,81.0,69.90,61.18,32.38) AND (((col1 < 11.53))) OR col3 > 93 OR (col3 > 78)) OR col1 <= 12.98 OR col3 IN (30) OR col0 > 36 AND (((col0 IS NULL)) OR (col3 > 7))))))) AND (col0 <= 96) OR (col1 BETWEEN 34.63 AND 35.60) AND col3 > 73)))
----
0

statement ok
DELETE FROM tab0 WHERE col3 > 93

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 93
----

query I rowsort label-3870
SELECT pk FROM tab0 WHERE NOT (col3 > 93)
----
0

statement ok
DELETE FROM tab1 WHERE col3 > 93

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 93
----

query I rowsort label-3870
SELECT pk FROM tab1 WHERE NOT (col3 > 93)
----
0

statement ok
DELETE FROM tab2 WHERE col3 > 93

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 93
----

query I rowsort label-3870
SELECT pk FROM tab2 WHERE NOT (col3 > 93)
----
0

statement ok
DELETE FROM tab3 WHERE col3 > 93

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 93
----

query I rowsort label-3870
SELECT pk FROM tab3 WHERE NOT (col3 > 93)
----
0

statement ok
DELETE FROM tab4 WHERE col3 > 93

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 93
----

query I rowsort label-3870
SELECT pk FROM tab4 WHERE NOT (col3 > 93)
----
0

statement ok
DELETE FROM tab0 WHERE col0 > 38 AND col3 > 61

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 38 AND col3 > 61
----

query I rowsort label-3885
SELECT pk FROM tab0 WHERE NOT (col0 > 38 AND col3 > 61)
----
0

statement ok
DELETE FROM tab1 WHERE col0 > 38 AND col3 > 61

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 38 AND col3 > 61
----

query I rowsort label-3885
SELECT pk FROM tab1 WHERE NOT (col0 > 38 AND col3 > 61)
----
0

statement ok
DELETE FROM tab2 WHERE col0 > 38 AND col3 > 61

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 38 AND col3 > 61
----

query I rowsort label-3885
SELECT pk FROM tab2 WHERE NOT (col0 > 38 AND col3 > 61)
----
0

statement ok
DELETE FROM tab3 WHERE col0 > 38 AND col3 > 61

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 38 AND col3 > 61
----

query I rowsort label-3885
SELECT pk FROM tab3 WHERE NOT (col0 > 38 AND col3 > 61)
----
0

statement ok
DELETE FROM tab4 WHERE col0 > 38 AND col3 > 61

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 38 AND col3 > 61
----

query I rowsort label-3885
SELECT pk FROM tab4 WHERE NOT (col0 > 38 AND col3 > 61)
----
0

statement ok
DELETE FROM tab0 WHERE col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88))
----

query I rowsort label-3900
SELECT pk FROM tab0 WHERE NOT (col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88)))
----
0

statement ok
DELETE FROM tab1 WHERE col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88))
----

query I rowsort label-3900
SELECT pk FROM tab1 WHERE NOT (col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88)))
----
0

statement ok
DELETE FROM tab2 WHERE col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88))
----

query I rowsort label-3900
SELECT pk FROM tab2 WHERE NOT (col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88)))
----
0

statement ok
DELETE FROM tab3 WHERE col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88))
----

query I rowsort label-3900
SELECT pk FROM tab3 WHERE NOT (col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88)))
----
0

statement ok
DELETE FROM tab4 WHERE col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88))
----

query I rowsort label-3900
SELECT pk FROM tab4 WHERE NOT (col3 >= 36 OR col3 < 29 AND (col1 IN (23.60,11.88)))
----
0

statement ok
DELETE FROM tab0 WHERE col4 < 79.4

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

query I rowsort label-3915
SELECT pk FROM tab0 WHERE NOT (col4 < 79.4)
----

statement ok
DELETE FROM tab1 WHERE col4 < 79.4

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

query I rowsort label-3915
SELECT pk FROM tab1 WHERE NOT (col4 < 79.4)
----

statement ok
DELETE FROM tab2 WHERE col4 < 79.4

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

query I rowsort label-3915
SELECT pk FROM tab2 WHERE NOT (col4 < 79.4)
----

statement ok
DELETE FROM tab3 WHERE col4 < 79.4

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

query I rowsort label-3915
SELECT pk FROM tab3 WHERE NOT (col4 < 79.4)
----

statement ok
DELETE FROM tab4 WHERE col4 < 79.4

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

query I rowsort label-3915
SELECT pk FROM tab4 WHERE NOT (col4 < 79.4)
----

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,11,11.10,'vgxfj',24,64.5,'dadxe')

statement ok
INSERT INTO tab0 VALUES(1,14,20.59,'waqyd',85,89.76,'tuarn')

statement ok
INSERT INTO tab0 VALUES(2,51,8.88,'nksue',72,50.38,'dcdyp')

statement ok
INSERT INTO tab0 VALUES(3,43,38.25,'mqcfy',52,77.17,'baatj')

statement ok
INSERT INTO tab0 VALUES(4,2,97.21,'ueinl',89,6.18,'yxjls')

statement ok
INSERT INTO tab0 VALUES(5,48,61.64,'huvzd',58,44.42,'hmvwe')

statement ok
INSERT INTO tab0 VALUES(6,13,57.91,'jstvi',54,26.91,'mymmn')

statement ok
INSERT INTO tab0 VALUES(7,61,22.4,'prnkw',11,85.89,'kfmji')

statement ok
INSERT INTO tab0 VALUES(8,97,71.75,'gfllu',9,7.91,'zwtnt')

statement ok
INSERT INTO tab0 VALUES(9,80,55.66,'bplyx',90,98.91,'vmmxz')

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,col0)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3)

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 (col0 DESC,col1 DESC)

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

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0,col4 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 INDEX idx_tab4_0 ON tab4 (col1 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

query I rowsort label-3930
SELECT pk FROM tab0 WHERE NOT (((col3 >= 72)))
----
0
3
5
6
7
8

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

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

query I rowsort label-3930
SELECT pk FROM tab1 WHERE NOT (((col3 >= 72)))
----
0
3
5
6
7
8

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

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

query I rowsort label-3930
SELECT pk FROM tab2 WHERE NOT (((col3 >= 72)))
----
0
3
5
6
7
8

statement ok
DELETE FROM tab3 WHERE ((col3 >= 72))

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

query I rowsort label-3930
SELECT pk FROM tab3 WHERE NOT (((col3 >= 72)))
----
0
3
5
6
7
8

statement ok
DELETE FROM tab4 WHERE ((col3 >= 72))

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

query I rowsort label-3930
SELECT pk FROM tab4 WHERE NOT (((col3 >= 72)))
----
0
3
5
6
7
8

statement ok
DELETE FROM tab0 WHERE (col0 > 26 AND col3 > 75)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 26 AND col3 > 75)
----

query I rowsort label-3945
SELECT pk FROM tab0 WHERE NOT ((col0 > 26 AND col3 > 75))
----
0
3
5
6
7
8

statement ok
DELETE FROM tab1 WHERE (col0 > 26 AND col3 > 75)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 26 AND col3 > 75)
----

query I rowsort label-3945
SELECT pk FROM tab1 WHERE NOT ((col0 > 26 AND col3 > 75))
----
0
3
5
6
7
8

statement ok
DELETE FROM tab2 WHERE (col0 > 26 AND col3 > 75)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 26 AND col3 > 75)
----

query I rowsort label-3945
SELECT pk FROM tab2 WHERE NOT ((col0 > 26 AND col3 > 75))
----
0
3
5
6
7
8

statement ok
DELETE FROM tab3 WHERE (col0 > 26 AND col3 > 75)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 26 AND col3 > 75)
----

query I rowsort label-3945
SELECT pk FROM tab3 WHERE NOT ((col0 > 26 AND col3 > 75))
----
0
3
5
6
7
8

statement ok
DELETE FROM tab4 WHERE (col0 > 26 AND col3 > 75)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 26 AND col3 > 75)
----

query I rowsort label-3945
SELECT pk FROM tab4 WHERE NOT ((col0 > 26 AND col3 > 75))
----
0
3
5
6
7
8

statement ok
DELETE FROM tab0 WHERE col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82)))
----

query I rowsort label-3960
SELECT pk FROM tab0 WHERE NOT (col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82))))
----
7
8

statement ok
DELETE FROM tab1 WHERE col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82)))
----

query I rowsort label-3960
SELECT pk FROM tab1 WHERE NOT (col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82))))
----
7
8

statement ok
DELETE FROM tab2 WHERE col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82)))
----

query I rowsort label-3960
SELECT pk FROM tab2 WHERE NOT (col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82))))
----
7
8

statement ok
DELETE FROM tab3 WHERE col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82)))
----

query I rowsort label-3960
SELECT pk FROM tab3 WHERE NOT (col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82))))
----
7
8

statement ok
DELETE FROM tab4 WHERE col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82)))
----

query I rowsort label-3960
SELECT pk FROM tab4 WHERE NOT (col0 < 59 OR (col0 < 70) AND col3 > 24 AND col0 < 61 AND col1 > 4.46 OR (((col0 < 2))) OR (col3 >= 7) AND (((col3 >= 82))))
----
7
8

statement ok
DELETE FROM tab0 WHERE (col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43
----

query I rowsort label-3975
SELECT pk FROM tab0 WHERE NOT ((col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43)
----
7
8

statement ok
DELETE FROM tab1 WHERE (col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43
----

query I rowsort label-3975
SELECT pk FROM tab1 WHERE NOT ((col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43)
----
7
8

statement ok
DELETE FROM tab2 WHERE (col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43
----

query I rowsort label-3975
SELECT pk FROM tab2 WHERE NOT ((col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43)
----
7
8

statement ok
DELETE FROM tab3 WHERE (col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43
----

query I rowsort label-3975
SELECT pk FROM tab3 WHERE NOT ((col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43)
----
7
8

statement ok
DELETE FROM tab4 WHERE (col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43
----

query I rowsort label-3975
SELECT pk FROM tab4 WHERE NOT ((col0 <= 27) AND (((col0 >= 62)) AND col3 < 83) AND col1 > 55.11 AND col3 >= 26 AND col3 = 43)
----
7
8

statement ok
DELETE FROM tab0 WHERE col1 < 34.75

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

query I rowsort label-3990
SELECT pk FROM tab0 WHERE NOT (col1 < 34.75)
----
8

statement ok
DELETE FROM tab1 WHERE col1 < 34.75

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

query I rowsort label-3990
SELECT pk FROM tab1 WHERE NOT (col1 < 34.75)
----
8

statement ok
DELETE FROM tab2 WHERE col1 < 34.75

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

query I rowsort label-3990
SELECT pk FROM tab2 WHERE NOT (col1 < 34.75)
----
8

statement ok
DELETE FROM tab3 WHERE col1 < 34.75

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

query I rowsort label-3990
SELECT pk FROM tab3 WHERE NOT (col1 < 34.75)
----
8

statement ok
DELETE FROM tab4 WHERE col1 < 34.75

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

query I rowsort label-3990
SELECT pk FROM tab4 WHERE NOT (col1 < 34.75)
----
8

statement ok
DELETE FROM tab0 WHERE col1 < 33.45 AND (col1 > 79.18)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 33.45 AND (col1 > 79.18)
----

query I rowsort label-4005
SELECT pk FROM tab0 WHERE NOT (col1 < 33.45 AND (col1 > 79.18))
----
8

statement ok
DELETE FROM tab1 WHERE col1 < 33.45 AND (col1 > 79.18)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 33.45 AND (col1 > 79.18)
----

query I rowsort label-4005
SELECT pk FROM tab1 WHERE NOT (col1 < 33.45 AND (col1 > 79.18))
----
8

statement ok
DELETE FROM tab2 WHERE col1 < 33.45 AND (col1 > 79.18)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 33.45 AND (col1 > 79.18)
----

query I rowsort label-4005
SELECT pk FROM tab2 WHERE NOT (col1 < 33.45 AND (col1 > 79.18))
----
8

statement ok
DELETE FROM tab3 WHERE col1 < 33.45 AND (col1 > 79.18)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 33.45 AND (col1 > 79.18)
----

query I rowsort label-4005
SELECT pk FROM tab3 WHERE NOT (col1 < 33.45 AND (col1 > 79.18))
----
8

statement ok
DELETE FROM tab4 WHERE col1 < 33.45 AND (col1 > 79.18)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 33.45 AND (col1 > 79.18)
----

query I rowsort label-4005
SELECT pk FROM tab4 WHERE NOT (col1 < 33.45 AND (col1 > 79.18))
----
8

statement ok
DELETE FROM tab0 WHERE ((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27))))
----

query I rowsort label-4020
SELECT pk FROM tab0 WHERE NOT (((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27)))))
----
8

statement ok
DELETE FROM tab1 WHERE ((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27))))
----

query I rowsort label-4020
SELECT pk FROM tab1 WHERE NOT (((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27)))))
----
8

statement ok
DELETE FROM tab2 WHERE ((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27))))
----

query I rowsort label-4020
SELECT pk FROM tab2 WHERE NOT (((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27)))))
----
8

statement ok
DELETE FROM tab3 WHERE ((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27))))
----

query I rowsort label-4020
SELECT pk FROM tab3 WHERE NOT (((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27)))))
----
8

statement ok
DELETE FROM tab4 WHERE ((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27))))
----

query I rowsort label-4020
SELECT pk FROM tab4 WHERE NOT (((((col0 <= 13))) AND ((col3 > 43 OR (((col0 > 38) AND col3 > 78 AND col3 < 88 AND col0 > 25 OR (col3 BETWEEN 0 AND 23) AND ((col1 < 34.60)))) OR (col3 < 83) AND col0 > 41))) OR ((((col3 BETWEEN 49 AND 27)))))
----
8

statement ok
DELETE FROM tab0 WHERE col0 <= 26

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

query I rowsort label-4035
SELECT pk FROM tab0 WHERE NOT (col0 <= 26)
----
8

statement ok
DELETE FROM tab1 WHERE col0 <= 26

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

query I rowsort label-4035
SELECT pk FROM tab1 WHERE NOT (col0 <= 26)
----
8

statement ok
DELETE FROM tab2 WHERE col0 <= 26

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

query I rowsort label-4035
SELECT pk FROM tab2 WHERE NOT (col0 <= 26)
----
8

statement ok
DELETE FROM tab3 WHERE col0 <= 26

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

query I rowsort label-4035
SELECT pk FROM tab3 WHERE NOT (col0 <= 26)
----
8

statement ok
DELETE FROM tab4 WHERE col0 <= 26

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

query I rowsort label-4035
SELECT pk FROM tab4 WHERE NOT (col0 <= 26)
----
8

statement ok
DELETE FROM tab0 WHERE (col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61)
----

query I rowsort label-4050
SELECT pk FROM tab0 WHERE NOT ((col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61))
----
8

statement ok
DELETE FROM tab1 WHERE (col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61)
----

query I rowsort label-4050
SELECT pk FROM tab1 WHERE NOT ((col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61))
----
8

statement ok
DELETE FROM tab2 WHERE (col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61)
----

query I rowsort label-4050
SELECT pk FROM tab2 WHERE NOT ((col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61))
----
8

statement ok
DELETE FROM tab3 WHERE (col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61)
----

query I rowsort label-4050
SELECT pk FROM tab3 WHERE NOT ((col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61))
----
8

statement ok
DELETE FROM tab4 WHERE (col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61)
----

query I rowsort label-4050
SELECT pk FROM tab4 WHERE NOT ((col4 > 33.8 AND col1 > 92.86 OR col0 < 4 OR ((col0 = 16) OR col3 BETWEEN 44 AND 79) OR col4 = 77.61))
----
8

statement ok
DELETE FROM tab0 WHERE col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90)
----

query I rowsort label-4065
SELECT pk FROM tab0 WHERE NOT (col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90))
----

statement ok
DELETE FROM tab1 WHERE col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90)
----

query I rowsort label-4065
SELECT pk FROM tab1 WHERE NOT (col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90))
----

statement ok
DELETE FROM tab2 WHERE col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90)
----

query I rowsort label-4065
SELECT pk FROM tab2 WHERE NOT (col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90))
----

statement ok
DELETE FROM tab3 WHERE col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90)
----

query I rowsort label-4065
SELECT pk FROM tab3 WHERE NOT (col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90))
----

statement ok
DELETE FROM tab4 WHERE col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90)
----

query I rowsort label-4065
SELECT pk FROM tab4 WHERE NOT (col4 IN (85.50,99.12,45.52) OR col3 > 59 AND col4 = 45.7 OR (((col1 IS NULL)) OR col3 <= 59 AND col4 < 36.11 AND ((col4 > 30.7 OR (((col1 < 90.30 OR col3 > 50)) OR col1 = 45.52))) AND (col3 < 14) AND (col3 >= 81 OR ((((((col4 >= 68.65)))) AND col0 > 3 OR (col1 < 82.94) OR col4 < 91.40)) AND col1 > 16.36 AND (col1 > 40.69) AND col4 > 92.20)) AND col1 IS NULL AND (col1 IS NULL) OR col4 < 72.98 AND col3 <= 22 AND col4 >= 64.38 OR col1 IS NULL OR col0 > 64 OR col1 > 95.44 OR (((col0 > 90 AND (((col0 > 91 AND (col1 > 50.37 OR col3 < 3 OR col1 IN (68.47,51.88)) AND col0 IS NULL)) AND ((col3 <= 56 AND ((col3 > 5 AND col4 <= 74.54 AND col3 > 29) AND col4 >= 5.8 OR col0 >= 63 OR (col0 > 39)))) AND col1 < 0.30 OR col4 >= 30.78 AND col0 IN (41,28,65,92)) AND col3 > 99 OR col3 > 24 AND col0 > 84)) AND (col3 <= 0)) OR (col4 < 91.46) OR (col3 >= 90 OR col3 >= 40) OR col3 > 21 AND (col1 < 79.90))
----

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,50.13,'uqelz',49,25.60,'rsnne')

statement ok
INSERT INTO tab0 VALUES(1,46,39.63,'gsylg',67,2.74,'plolr')

statement ok
INSERT INTO tab0 VALUES(2,96,49.27,'nfmjj',63,82.18,'zkpnv')

statement ok
INSERT INTO tab0 VALUES(3,85,70.9,'emstz',3,10.38,'bxsss')

statement ok
INSERT INTO tab0 VALUES(4,45,53.41,'wkybx',97,92.90,'uclwe')

statement ok
INSERT INTO tab0 VALUES(5,83,15.43,'rzwgf',64,13.2,'znvcw')

statement ok
INSERT INTO tab0 VALUES(6,47,58.91,'xdxpn',95,42.39,'kaoom')

statement ok
INSERT INTO tab0 VALUES(7,81,77.78,'ncdcw',12,54.58,'xzcbw')

statement ok
INSERT INTO tab0 VALUES(8,1,75.71,'celea',33,34.81,'ogxqz')

statement ok
INSERT INTO tab0 VALUES(9,48,76.82,'zjvkq',34,95.50,'trlei')

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,col0)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0 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 INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE 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 (col0,col4 DESC)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 > 10.43 OR col0 > 81

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 10.43 OR col0 > 81
----

query I rowsort label-4080
SELECT pk FROM tab0 WHERE NOT (col4 > 10.43 OR col0 > 81)
----
1

statement ok
DELETE FROM tab1 WHERE col4 > 10.43 OR col0 > 81

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 10.43 OR col0 > 81
----

query I rowsort label-4080
SELECT pk FROM tab1 WHERE NOT (col4 > 10.43 OR col0 > 81)
----
1

statement ok
DELETE FROM tab2 WHERE col4 > 10.43 OR col0 > 81

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 10.43 OR col0 > 81
----

query I rowsort label-4080
SELECT pk FROM tab2 WHERE NOT (col4 > 10.43 OR col0 > 81)
----
1

statement ok
DELETE FROM tab3 WHERE col4 > 10.43 OR col0 > 81

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 10.43 OR col0 > 81
----

query I rowsort label-4080
SELECT pk FROM tab3 WHERE NOT (col4 > 10.43 OR col0 > 81)
----
1

statement ok
DELETE FROM tab4 WHERE col4 > 10.43 OR col0 > 81

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 10.43 OR col0 > 81
----

query I rowsort label-4080
SELECT pk FROM tab4 WHERE NOT (col4 > 10.43 OR col0 > 81)
----
1

statement ok
DELETE FROM tab0 WHERE col0 = 51

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

query I rowsort label-4095
SELECT pk FROM tab0 WHERE NOT (col0 = 51)
----
1

statement ok
DELETE FROM tab1 WHERE col0 = 51

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

query I rowsort label-4095
SELECT pk FROM tab1 WHERE NOT (col0 = 51)
----
1

statement ok
DELETE FROM tab2 WHERE col0 = 51

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

query I rowsort label-4095
SELECT pk FROM tab2 WHERE NOT (col0 = 51)
----
1

statement ok
DELETE FROM tab3 WHERE col0 = 51

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

query I rowsort label-4095
SELECT pk FROM tab3 WHERE NOT (col0 = 51)
----
1

statement ok
DELETE FROM tab4 WHERE col0 = 51

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

query I rowsort label-4095
SELECT pk FROM tab4 WHERE NOT (col0 = 51)
----
1

statement ok
DELETE FROM tab0 WHERE col3 < 66 OR col0 <= 23

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 66 OR col0 <= 23
----

query I rowsort label-4110
SELECT pk FROM tab0 WHERE NOT (col3 < 66 OR col0 <= 23)
----
1

statement ok
DELETE FROM tab1 WHERE col3 < 66 OR col0 <= 23

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 66 OR col0 <= 23
----

query I rowsort label-4110
SELECT pk FROM tab1 WHERE NOT (col3 < 66 OR col0 <= 23)
----
1

statement ok
DELETE FROM tab2 WHERE col3 < 66 OR col0 <= 23

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 66 OR col0 <= 23
----

query I rowsort label-4110
SELECT pk FROM tab2 WHERE NOT (col3 < 66 OR col0 <= 23)
----
1

statement ok
DELETE FROM tab3 WHERE col3 < 66 OR col0 <= 23

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 66 OR col0 <= 23
----

query I rowsort label-4110
SELECT pk FROM tab3 WHERE NOT (col3 < 66 OR col0 <= 23)
----
1

statement ok
DELETE FROM tab4 WHERE col3 < 66 OR col0 <= 23

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 66 OR col0 <= 23
----

query I rowsort label-4110
SELECT pk FROM tab4 WHERE NOT (col3 < 66 OR col0 <= 23)
----
1

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56
----

query I rowsort label-4125
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56)
----

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56
----

query I rowsort label-4125
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56)
----

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56
----

query I rowsort label-4125
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56)
----

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56
----

query I rowsort label-4125
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56)
----

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.56
----

query I rowsort label-4125
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 34 AND 93 OR (col1 <= 26.83) AND col1 > 42.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,7,36.76,'doeph',57,52.20,'csnwe')

statement ok
INSERT INTO tab0 VALUES(1,91,37.76,'lalbn',87,56.14,'qhumu')

statement ok
INSERT INTO tab0 VALUES(2,68,14.26,'fmvhq',42,16.94,'ntqkt')

statement ok
INSERT INTO tab0 VALUES(3,5,69.18,'alljz',8,76.17,'hmhjr')

statement ok
INSERT INTO tab0 VALUES(4,85,56.78,'jnufx',44,66.82,'gruub')

statement ok
INSERT INTO tab0 VALUES(5,20,47.80,'itmil',90,67.42,'djlyz')

statement ok
INSERT INTO tab0 VALUES(6,58,95.58,'dmveb',85,69.15,'qqsyq')

statement ok
INSERT INTO tab0 VALUES(7,3,93.20,'wsnfd',74,35.0,'cppdz')

statement ok
INSERT INTO tab0 VALUES(8,22,42.58,'accbr',24,68.88,'crmym')

statement ok
INSERT INTO tab0 VALUES(9,62,7.62,'daunx',39,61.71,'brodn')

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 (col1 DESC,col0)

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 (col3)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_3 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,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77)
----

query I rowsort label-4140
SELECT pk FROM tab0 WHERE NOT ((col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77))
----

statement ok
DELETE FROM tab1 WHERE (col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77)
----

query I rowsort label-4140
SELECT pk FROM tab1 WHERE NOT ((col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77))
----

statement ok
DELETE FROM tab2 WHERE (col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77)
----

query I rowsort label-4140
SELECT pk FROM tab2 WHERE NOT ((col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77))
----

statement ok
DELETE FROM tab3 WHERE (col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77)
----

query I rowsort label-4140
SELECT pk FROM tab3 WHERE NOT ((col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77))
----

statement ok
DELETE FROM tab4 WHERE (col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77)
----

query I rowsort label-4140
SELECT pk FROM tab4 WHERE NOT ((col0 > 4 AND col4 > 17.55 AND (col0 = 23) OR col0 BETWEEN 96 AND 5 AND (col3 >= 73 OR (col3 < 83)) OR col3 < 6 OR (col3 IS NULL) AND ((col1 IS NULL)) OR ((col0 BETWEEN 13 AND 22) OR (col0 > 18) AND col0 < 13 OR ((col4 > 10.29)) OR ((col0 = 14))) OR col3 <= 77))
----

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,3.99,'tmyen',28,57.54,'tjmyw')

statement ok
INSERT INTO tab0 VALUES(1,26,30.97,'vmzfk',32,23.5,'fhoqr')

statement ok
INSERT INTO tab0 VALUES(2,39,28.0,'pfvhh',71,1.12,'vzgyr')

statement ok
INSERT INTO tab0 VALUES(3,89,59.15,'empnk',54,73.21,'kbnkf')

statement ok
INSERT INTO tab0 VALUES(4,56,89.33,'dughn',9,55.70,'deotx')

statement ok
INSERT INTO tab0 VALUES(5,97,54.43,'blmfr',97,63.3,'zooxo')

statement ok
INSERT INTO tab0 VALUES(6,57,15.44,'hsbes',29,75.77,'mtdkn')

statement ok
INSERT INTO tab0 VALUES(7,85,31.57,'kwpsx',72,91.81,'gccgm')

statement ok
INSERT INTO tab0 VALUES(8,45,10.41,'zkfzu',62,0.46,'smzfz')

statement ok
INSERT INTO tab0 VALUES(9,30,82.1,'ecbuk',25,35.54,'owtue')

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,col1 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0,col4 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 (col4,col3 DESC)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3,col4 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 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96
----

query I rowsort label-4155
SELECT pk FROM tab0 WHERE NOT (col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96)
----

statement ok
DELETE FROM tab1 WHERE col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96
----

query I rowsort label-4155
SELECT pk FROM tab1 WHERE NOT (col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96)
----

statement ok
DELETE FROM tab2 WHERE col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96
----

query I rowsort label-4155
SELECT pk FROM tab2 WHERE NOT (col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96)
----

statement ok
DELETE FROM tab3 WHERE col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96
----

query I rowsort label-4155
SELECT pk FROM tab3 WHERE NOT (col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96)
----

statement ok
DELETE FROM tab4 WHERE col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96
----

query I rowsort label-4155
SELECT pk FROM tab4 WHERE NOT (col4 > 54.82 OR col4 < 45.9 OR (((col0 IS NULL OR ((col0 < 35)) AND col0 >= 83))) AND ((col0 <= 84) OR col3 IN (70,65)) AND col0 BETWEEN 39 AND 40 OR (col3 > 71) AND (col0 >= 4) OR (col0 < 8) AND col3 = 42 AND col1 < 26.88 AND (col0 > 43) AND col3 <= 96)
----

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,20.24,'umwqg',91,18.71,'ltigl')

statement ok
INSERT INTO tab0 VALUES(1,92,55.34,'cnnma',53,98.49,'vjymp')

statement ok
INSERT INTO tab0 VALUES(2,23,95.62,'jretw',42,44.41,'aqivq')

statement ok
INSERT INTO tab0 VALUES(3,62,17.84,'eodxt',81,55.51,'slvsp')

statement ok
INSERT INTO tab0 VALUES(4,96,21.98,'ojdnf',63,14.32,'ierce')

statement ok
INSERT INTO tab0 VALUES(5,67,51.77,'ekfzu',16,2.48,'tbbvf')

statement ok
INSERT INTO tab0 VALUES(6,32,1.42,'iwyvz',66,7.37,'vdjkl')

statement ok
INSERT INTO tab0 VALUES(7,25,33.13,'ijssl',0,38.72,'gndrx')

statement ok
INSERT INTO tab0 VALUES(8,24,82.81,'hpqua',23,40.25,'tihix')

statement ok
INSERT INTO tab0 VALUES(9,4,78.67,'pxtkb',29,1.30,'fcing')

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,col1 DESC)

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

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 UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

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

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0 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 UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 < 93

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

query I rowsort label-4170
SELECT pk FROM tab0 WHERE NOT (col3 < 93)
----

statement ok
DELETE FROM tab1 WHERE col3 < 93

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

query I rowsort label-4170
SELECT pk FROM tab1 WHERE NOT (col3 < 93)
----

statement ok
DELETE FROM tab2 WHERE col3 < 93

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

query I rowsort label-4170
SELECT pk FROM tab2 WHERE NOT (col3 < 93)
----

statement ok
DELETE FROM tab3 WHERE col3 < 93

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

query I rowsort label-4170
SELECT pk FROM tab3 WHERE NOT (col3 < 93)
----

statement ok
DELETE FROM tab4 WHERE col3 < 93

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

query I rowsort label-4170
SELECT pk FROM tab4 WHERE NOT (col3 < 93)
----

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,53.38,'zjfin',63,95.6,'efkck')

statement ok
INSERT INTO tab0 VALUES(1,25,70.62,'evtkn',31,89.19,'goxkg')

statement ok
INSERT INTO tab0 VALUES(2,86,86.38,'viktk',69,30.74,'cxwql')

statement ok
INSERT INTO tab0 VALUES(3,90,64.89,'tsnxr',11,40.21,'vkomr')

statement ok
INSERT INTO tab0 VALUES(4,26,77.19,'matrv',98,29.43,'jpgsy')

statement ok
INSERT INTO tab0 VALUES(5,85,63.22,'prmja',86,57.75,'gizzd')

statement ok
INSERT INTO tab0 VALUES(6,89,95.0,'qrsyn',59,97.15,'beaes')

statement ok
INSERT INTO tab0 VALUES(7,93,38.73,'mokxq',44,98.32,'hiojh')

statement ok
INSERT INTO tab0 VALUES(8,98,13.92,'fthua',22,45.86,'qufeh')

statement ok
INSERT INTO tab0 VALUES(9,67,61.49,'nknym',39,25.33,'znyqp')

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,col3)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3)

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 (col3,col1 DESC)

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

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

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

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 INDEX idx_tab4_0 ON tab4 (col0,col3 DESC)

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 > 62

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 62
----

query I rowsort label-4185
SELECT pk FROM tab0 WHERE NOT (col3 > 62)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 > 62

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 62
----

query I rowsort label-4185
SELECT pk FROM tab1 WHERE NOT (col3 > 62)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 > 62

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 62
----

query I rowsort label-4185
SELECT pk FROM tab2 WHERE NOT (col3 > 62)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 > 62

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 62
----

query I rowsort label-4185
SELECT pk FROM tab3 WHERE NOT (col3 > 62)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 > 62

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 62
----

query I rowsort label-4185
SELECT pk FROM tab4 WHERE NOT (col3 > 62)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (((col0 < 45)) AND col3 < 6)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 < 45)) AND col3 < 6)
----

query I rowsort label-4200
SELECT pk FROM tab0 WHERE NOT ((((col0 < 45)) AND col3 < 6))
----
1
3
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (((col0 < 45)) AND col3 < 6)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 < 45)) AND col3 < 6)
----

query I rowsort label-4200
SELECT pk FROM tab1 WHERE NOT ((((col0 < 45)) AND col3 < 6))
----
1
3
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (((col0 < 45)) AND col3 < 6)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 < 45)) AND col3 < 6)
----

query I rowsort label-4200
SELECT pk FROM tab2 WHERE NOT ((((col0 < 45)) AND col3 < 6))
----
1
3
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (((col0 < 45)) AND col3 < 6)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 < 45)) AND col3 < 6)
----

query I rowsort label-4200
SELECT pk FROM tab3 WHERE NOT ((((col0 < 45)) AND col3 < 6))
----
1
3
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (((col0 < 45)) AND col3 < 6)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 < 45)) AND col3 < 6)
----

query I rowsort label-4200
SELECT pk FROM tab4 WHERE NOT ((((col0 < 45)) AND col3 < 6))
----
1
3
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 = 52

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

query I rowsort label-4215
SELECT pk FROM tab0 WHERE NOT (col3 = 52)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 = 52

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

query I rowsort label-4215
SELECT pk FROM tab1 WHERE NOT (col3 = 52)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 = 52

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

query I rowsort label-4215
SELECT pk FROM tab2 WHERE NOT (col3 = 52)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 = 52

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

query I rowsort label-4215
SELECT pk FROM tab3 WHERE NOT (col3 = 52)
----
1
3
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 = 52

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

query I rowsort label-4215
SELECT pk FROM tab4 WHERE NOT (col3 = 52)
----
1
3
6
7
8
9

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

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

query I rowsort label-4230
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-4230
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-4230
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-4230
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-4230
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,48,19.36,'bojof',13,42.30,'qoang')

statement ok
INSERT INTO tab0 VALUES(1,33,70.72,'dnyxl',58,81.28,'iluzr')

statement ok
INSERT INTO tab0 VALUES(2,3,27.63,'vfcfx',10,33.30,'dbbme')

statement ok
INSERT INTO tab0 VALUES(3,83,13.29,'wradc',71,98.27,'mzmik')

statement ok
INSERT INTO tab0 VALUES(4,28,71.38,'mkzfj',25,23.67,'itdsq')

statement ok
INSERT INTO tab0 VALUES(5,32,20.18,'cdzvg',54,69.62,'nweth')

statement ok
INSERT INTO tab0 VALUES(6,41,22.70,'yjlkj',49,68.5,'pwgro')

statement ok
INSERT INTO tab0 VALUES(7,68,48.81,'udolx',19,88.79,'jplwy')

statement ok
INSERT INTO tab0 VALUES(8,1,33.34,'higtg',11,99.72,'khpbd')

statement ok
INSERT INTO tab0 VALUES(9,20,40.24,'zupnq',16,27.89,'xrdkk')

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_2 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE 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)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 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 INDEX idx_tab4_0 ON tab4 (col3 DESC,col4 DESC)

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

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

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

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54)
----

query I rowsort label-4245
SELECT pk FROM tab0 WHERE NOT (((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54))
----
2
3
4
7
8
9

statement ok
DELETE FROM tab1 WHERE ((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54)
----

query I rowsort label-4245
SELECT pk FROM tab1 WHERE NOT (((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54))
----
2
3
4
7
8
9

statement ok
DELETE FROM tab2 WHERE ((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54)
----

query I rowsort label-4245
SELECT pk FROM tab2 WHERE NOT (((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54))
----
2
3
4
7
8
9

statement ok
DELETE FROM tab3 WHERE ((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54)
----

query I rowsort label-4245
SELECT pk FROM tab3 WHERE NOT (((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54))
----
2
3
4
7
8
9

statement ok
DELETE FROM tab4 WHERE ((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54)
----

query I rowsort label-4245
SELECT pk FROM tab4 WHERE NOT (((col1 IS NULL) AND col3 <= 22 OR col0 >= 31 AND col0 < 54))
----
2
3
4
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 > 29.45

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

query I rowsort label-4260
SELECT pk FROM tab0 WHERE NOT (col4 > 29.45)
----
4
9

statement ok
DELETE FROM tab1 WHERE col4 > 29.45

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

query I rowsort label-4260
SELECT pk FROM tab1 WHERE NOT (col4 > 29.45)
----
4
9

statement ok
DELETE FROM tab2 WHERE col4 > 29.45

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

query I rowsort label-4260
SELECT pk FROM tab2 WHERE NOT (col4 > 29.45)
----
4
9

statement ok
DELETE FROM tab3 WHERE col4 > 29.45

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

query I rowsort label-4260
SELECT pk FROM tab3 WHERE NOT (col4 > 29.45)
----
4
9

statement ok
DELETE FROM tab4 WHERE col4 > 29.45

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

query I rowsort label-4260
SELECT pk FROM tab4 WHERE NOT (col4 > 29.45)
----
4
9

statement ok
DELETE FROM tab0 WHERE col1 < 91.58

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

query I rowsort label-4275
SELECT pk FROM tab0 WHERE NOT (col1 < 91.58)
----

statement ok
DELETE FROM tab1 WHERE col1 < 91.58

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

query I rowsort label-4275
SELECT pk FROM tab1 WHERE NOT (col1 < 91.58)
----

statement ok
DELETE FROM tab2 WHERE col1 < 91.58

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

query I rowsort label-4275
SELECT pk FROM tab2 WHERE NOT (col1 < 91.58)
----

statement ok
DELETE FROM tab3 WHERE col1 < 91.58

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

query I rowsort label-4275
SELECT pk FROM tab3 WHERE NOT (col1 < 91.58)
----

statement ok
DELETE FROM tab4 WHERE col1 < 91.58

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

query I rowsort label-4275
SELECT pk FROM tab4 WHERE NOT (col1 < 91.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,89,56.59,'iiieh',79,36.42,'gonpq')

statement ok
INSERT INTO tab0 VALUES(1,59,47.36,'ceqff',34,37.15,'nteza')

statement ok
INSERT INTO tab0 VALUES(2,53,38.47,'kbbzu',91,10.80,'ibztb')

statement ok
INSERT INTO tab0 VALUES(3,52,49.27,'dugsv',77,46.69,'quetr')

statement ok
INSERT INTO tab0 VALUES(4,67,20.68,'lcgzu',25,6.96,'wzuok')

statement ok
INSERT INTO tab0 VALUES(5,98,14.76,'zhioy',42,38.29,'ydpfs')

statement ok
INSERT INTO tab0 VALUES(6,97,37.42,'bvdxk',69,81.43,'mrlrz')

statement ok
INSERT INTO tab0 VALUES(7,34,48.94,'paysi',45,89.88,'xqiro')

statement ok
INSERT INTO tab0 VALUES(8,58,66.68,'nqtsy',67,33.51,'nilbe')

statement ok
INSERT INTO tab0 VALUES(9,56,94.67,'qlfeu',55,19.15,'sziss')

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 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 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)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 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,col4,col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 >= 24.33) OR col3 > 65 OR col0 > 99

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 24.33) OR col3 > 65 OR col0 > 99
----

query I rowsort label-4290
SELECT pk FROM tab0 WHERE NOT ((col4 >= 24.33) OR col3 > 65 OR col0 > 99)
----
4
9

statement ok
DELETE FROM tab1 WHERE (col4 >= 24.33) OR col3 > 65 OR col0 > 99

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 24.33) OR col3 > 65 OR col0 > 99
----

query I rowsort label-4290
SELECT pk FROM tab1 WHERE NOT ((col4 >= 24.33) OR col3 > 65 OR col0 > 99)
----
4
9

statement ok
DELETE FROM tab2 WHERE (col4 >= 24.33) OR col3 > 65 OR col0 > 99

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 24.33) OR col3 > 65 OR col0 > 99
----

query I rowsort label-4290
SELECT pk FROM tab2 WHERE NOT ((col4 >= 24.33) OR col3 > 65 OR col0 > 99)
----
4
9

statement ok
DELETE FROM tab3 WHERE (col4 >= 24.33) OR col3 > 65 OR col0 > 99

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 24.33) OR col3 > 65 OR col0 > 99
----

query I rowsort label-4290
SELECT pk FROM tab3 WHERE NOT ((col4 >= 24.33) OR col3 > 65 OR col0 > 99)
----
4
9

statement ok
DELETE FROM tab4 WHERE (col4 >= 24.33) OR col3 > 65 OR col0 > 99

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 24.33) OR col3 > 65 OR col0 > 99
----

query I rowsort label-4290
SELECT pk FROM tab4 WHERE NOT ((col4 >= 24.33) OR col3 > 65 OR col0 > 99)
----
4
9

statement ok
DELETE FROM tab0 WHERE (col4 > 54.1) AND col1 < 48.45

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 54.1) AND col1 < 48.45
----

query I rowsort label-4305
SELECT pk FROM tab0 WHERE NOT ((col4 > 54.1) AND col1 < 48.45)
----
4
9

statement ok
DELETE FROM tab1 WHERE (col4 > 54.1) AND col1 < 48.45

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 54.1) AND col1 < 48.45
----

query I rowsort label-4305
SELECT pk FROM tab1 WHERE NOT ((col4 > 54.1) AND col1 < 48.45)
----
4
9

statement ok
DELETE FROM tab2 WHERE (col4 > 54.1) AND col1 < 48.45

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 54.1) AND col1 < 48.45
----

query I rowsort label-4305
SELECT pk FROM tab2 WHERE NOT ((col4 > 54.1) AND col1 < 48.45)
----
4
9

statement ok
DELETE FROM tab3 WHERE (col4 > 54.1) AND col1 < 48.45

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 54.1) AND col1 < 48.45
----

query I rowsort label-4305
SELECT pk FROM tab3 WHERE NOT ((col4 > 54.1) AND col1 < 48.45)
----
4
9

statement ok
DELETE FROM tab4 WHERE (col4 > 54.1) AND col1 < 48.45

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 54.1) AND col1 < 48.45
----

query I rowsort label-4305
SELECT pk FROM tab4 WHERE NOT ((col4 > 54.1) AND col1 < 48.45)
----
4
9

statement ok
DELETE FROM tab0 WHERE (col0 BETWEEN 98 AND 68)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 BETWEEN 98 AND 68)
----

query I rowsort label-4320
SELECT pk FROM tab0 WHERE NOT ((col0 BETWEEN 98 AND 68))
----
4
9

statement ok
DELETE FROM tab1 WHERE (col0 BETWEEN 98 AND 68)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 BETWEEN 98 AND 68)
----

query I rowsort label-4320
SELECT pk FROM tab1 WHERE NOT ((col0 BETWEEN 98 AND 68))
----
4
9

statement ok
DELETE FROM tab2 WHERE (col0 BETWEEN 98 AND 68)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 BETWEEN 98 AND 68)
----

query I rowsort label-4320
SELECT pk FROM tab2 WHERE NOT ((col0 BETWEEN 98 AND 68))
----
4
9

statement ok
DELETE FROM tab3 WHERE (col0 BETWEEN 98 AND 68)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 BETWEEN 98 AND 68)
----

query I rowsort label-4320
SELECT pk FROM tab3 WHERE NOT ((col0 BETWEEN 98 AND 68))
----
4
9

statement ok
DELETE FROM tab4 WHERE (col0 BETWEEN 98 AND 68)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 BETWEEN 98 AND 68)
----

query I rowsort label-4320
SELECT pk FROM tab4 WHERE NOT ((col0 BETWEEN 98 AND 68))
----
4
9

statement ok
DELETE FROM tab0 WHERE col0 < 40 AND (col3 < 47)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 40 AND (col3 < 47)
----

query I rowsort label-4335
SELECT pk FROM tab0 WHERE NOT (col0 < 40 AND (col3 < 47))
----
4
9

statement ok
DELETE FROM tab1 WHERE col0 < 40 AND (col3 < 47)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 40 AND (col3 < 47)
----

query I rowsort label-4335
SELECT pk FROM tab1 WHERE NOT (col0 < 40 AND (col3 < 47))
----
4
9

statement ok
DELETE FROM tab2 WHERE col0 < 40 AND (col3 < 47)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 40 AND (col3 < 47)
----

query I rowsort label-4335
SELECT pk FROM tab2 WHERE NOT (col0 < 40 AND (col3 < 47))
----
4
9

statement ok
DELETE FROM tab3 WHERE col0 < 40 AND (col3 < 47)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 40 AND (col3 < 47)
----

query I rowsort label-4335
SELECT pk FROM tab3 WHERE NOT (col0 < 40 AND (col3 < 47))
----
4
9

statement ok
DELETE FROM tab4 WHERE col0 < 40 AND (col3 < 47)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 40 AND (col3 < 47)
----

query I rowsort label-4335
SELECT pk FROM tab4 WHERE NOT (col0 < 40 AND (col3 < 47))
----
4
9

statement ok
DELETE FROM tab0 WHERE (((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97))))
----

query I rowsort label-4350
SELECT pk FROM tab0 WHERE NOT ((((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97)))))
----

statement ok
DELETE FROM tab1 WHERE (((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97))))
----

query I rowsort label-4350
SELECT pk FROM tab1 WHERE NOT ((((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97)))))
----

statement ok
DELETE FROM tab2 WHERE (((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97))))
----

query I rowsort label-4350
SELECT pk FROM tab2 WHERE NOT ((((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97)))))
----

statement ok
DELETE FROM tab3 WHERE (((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97))))
----

query I rowsort label-4350
SELECT pk FROM tab3 WHERE NOT ((((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97)))))
----

statement ok
DELETE FROM tab4 WHERE (((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.97))))
----

query I rowsort label-4350
SELECT pk FROM tab4 WHERE NOT ((((col4 >= 87.35 OR col0 = 86 OR col1 <= 24.68) AND col0 = 77) AND col4 > 2.54 OR (col1 > 13.46 OR (((col1 = 50.61)) OR col1 <= 91.88 AND ((col3 >= 69) OR (col1 IS NULL OR col0 >= 12 OR (col3 > 0) AND ((col3 < 57)) OR col3 > 96) AND col3 <= 16) AND (col1 >= 51.78)) OR col3 IN (4,91) OR ((((col3 > 88 AND col3 > 82 AND col1 IS NULL AND (col0 <= 67 AND col1 IN (12.77,27.11)) AND col3 >= 6) AND col3 < 29 OR col0 <= 77))) AND col4 >= 63.69 OR col1 > 97.17 AND col3 > 99 OR ((col1 <= 86.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,13,23.72,'vjgof',26,7.73,'qhsho')

statement ok
INSERT INTO tab0 VALUES(1,44,92.28,'qjmwl',28,90.29,'lopkg')

statement ok
INSERT INTO tab0 VALUES(2,72,26.82,'hycjr',90,71.21,'tytra')

statement ok
INSERT INTO tab0 VALUES(3,22,37.22,'hcizu',46,31.31,'itmxl')

statement ok
INSERT INTO tab0 VALUES(4,6,80.12,'xsepy',50,3.96,'elyka')

statement ok
INSERT INTO tab0 VALUES(5,84,64.53,'fymnt',36,75.72,'tcexf')

statement ok
INSERT INTO tab0 VALUES(6,29,65.48,'izyhh',78,11.96,'dgden')

statement ok
INSERT INTO tab0 VALUES(7,86,36.61,'ntlfg',59,61.51,'agbmr')

statement ok
INSERT INTO tab0 VALUES(8,36,25.81,'eizae',25,72.25,'wdijt')

statement ok
INSERT INTO tab0 VALUES(9,59,82.86,'esxkn',55,97.74,'dctei')

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,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3)

statement ok
CREATE UNIQUE 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 (col1 DESC,col3)

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

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE 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 (col1,col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

query I rowsort label-4365
SELECT pk FROM tab0 WHERE NOT ((col0 >= 82))
----
0
1
2
3
4
6
8
9

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

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

query I rowsort label-4365
SELECT pk FROM tab1 WHERE NOT ((col0 >= 82))
----
0
1
2
3
4
6
8
9

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

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

query I rowsort label-4365
SELECT pk FROM tab2 WHERE NOT ((col0 >= 82))
----
0
1
2
3
4
6
8
9

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

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

query I rowsort label-4365
SELECT pk FROM tab3 WHERE NOT ((col0 >= 82))
----
0
1
2
3
4
6
8
9

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

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

query I rowsort label-4365
SELECT pk FROM tab4 WHERE NOT ((col0 >= 82))
----
0
1
2
3
4
6
8
9

statement ok
DELETE FROM tab0 WHERE (col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43))))
----

query I rowsort label-4380
SELECT pk FROM tab0 WHERE NOT ((col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43)))))
----

statement ok
DELETE FROM tab1 WHERE (col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43))))
----

query I rowsort label-4380
SELECT pk FROM tab1 WHERE NOT ((col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43)))))
----

statement ok
DELETE FROM tab2 WHERE (col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43))))
----

query I rowsort label-4380
SELECT pk FROM tab2 WHERE NOT ((col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43)))))
----

statement ok
DELETE FROM tab3 WHERE (col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43))))
----

query I rowsort label-4380
SELECT pk FROM tab3 WHERE NOT ((col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43)))))
----

statement ok
DELETE FROM tab4 WHERE (col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43))))
----

query I rowsort label-4380
SELECT pk FROM tab4 WHERE NOT ((col1 >= 73.20 OR (((col0 < 44) OR (col0 > 43)))))
----

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.96,'edroi',98,62.53,'novfi')

statement ok
INSERT INTO tab0 VALUES(1,44,2.54,'ccegi',0,89.50,'zvnbb')

statement ok
INSERT INTO tab0 VALUES(2,88,47.89,'xbvjt',81,11.11,'ogwca')

statement ok
INSERT INTO tab0 VALUES(3,55,71.95,'xdnkw',99,35.83,'vzsbp')

statement ok
INSERT INTO tab0 VALUES(4,95,3.52,'qpxre',50,50.61,'zhien')

statement ok
INSERT INTO tab0 VALUES(5,2,33.47,'pxvpz',80,94.99,'lwdju')

statement ok
INSERT INTO tab0 VALUES(6,30,87.80,'uvesa',1,15.21,'nsked')

statement ok
INSERT INTO tab0 VALUES(7,99,76.76,'mrkye',97,30.36,'zkqbr')

statement ok
INSERT INTO tab0 VALUES(8,13,66.6,'picra',45,95.48,'sejno')

statement ok
INSERT INTO tab0 VALUES(9,72,39.87,'qkqrj',20,57.71,'jbvco')

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 INDEX idx_tab2_2 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 (col0)

statement ok
CREATE 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_1 ON tab4 (col4 DESC,col0 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 = 98.59

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

query I rowsort label-4395
SELECT pk FROM tab0 WHERE NOT (col4 = 98.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 = 98.59

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

query I rowsort label-4395
SELECT pk FROM tab1 WHERE NOT (col4 = 98.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 = 98.59

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

query I rowsort label-4395
SELECT pk FROM tab2 WHERE NOT (col4 = 98.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 = 98.59

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

query I rowsort label-4395
SELECT pk FROM tab3 WHERE NOT (col4 = 98.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 = 98.59

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

query I rowsort label-4395
SELECT pk FROM tab4 WHERE NOT (col4 = 98.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 <= 96 OR col3 >= 50

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 96 OR col3 >= 50
----

query I rowsort label-4410
SELECT pk FROM tab0 WHERE NOT (col3 <= 96 OR col3 >= 50)
----

statement ok
DELETE FROM tab1 WHERE col3 <= 96 OR col3 >= 50

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 96 OR col3 >= 50
----

query I rowsort label-4410
SELECT pk FROM tab1 WHERE NOT (col3 <= 96 OR col3 >= 50)
----

statement ok
DELETE FROM tab2 WHERE col3 <= 96 OR col3 >= 50

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 96 OR col3 >= 50
----

query I rowsort label-4410
SELECT pk FROM tab2 WHERE NOT (col3 <= 96 OR col3 >= 50)
----

statement ok
DELETE FROM tab3 WHERE col3 <= 96 OR col3 >= 50

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 96 OR col3 >= 50
----

query I rowsort label-4410
SELECT pk FROM tab3 WHERE NOT (col3 <= 96 OR col3 >= 50)
----

statement ok
DELETE FROM tab4 WHERE col3 <= 96 OR col3 >= 50

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 96 OR col3 >= 50
----

query I rowsort label-4410
SELECT pk FROM tab4 WHERE NOT (col3 <= 96 OR col3 >= 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,5,77.17,'wwzfr',55,64.95,'ypxzt')

statement ok
INSERT INTO tab0 VALUES(1,66,39.47,'tyznf',26,1.8,'jkisf')

statement ok
INSERT INTO tab0 VALUES(2,10,43.41,'ojkrb',72,79.57,'krwep')

statement ok
INSERT INTO tab0 VALUES(3,3,87.94,'rykuy',41,55.65,'qsypc')

statement ok
INSERT INTO tab0 VALUES(4,54,50.61,'uwvrx',79,94.22,'tzaba')

statement ok
INSERT INTO tab0 VALUES(5,24,53.68,'jztiz',39,39.95,'xxbvm')

statement ok
INSERT INTO tab0 VALUES(6,39,23.29,'gsjtu',98,65.46,'ofmic')

statement ok
INSERT INTO tab0 VALUES(7,1,51.55,'lijgg',64,47.39,'cbmfk')

statement ok
INSERT INTO tab0 VALUES(8,6,62.66,'pcrnz',92,23.54,'iautp')

statement ok
INSERT INTO tab0 VALUES(9,45,71.6,'rfytf',99,53.2,'hhhrg')

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 UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4 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 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3,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 (col4 DESC)

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74)
----

query I rowsort label-4425
SELECT pk FROM tab0 WHERE NOT (col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74))
----

statement ok
DELETE FROM tab1 WHERE col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74)
----

query I rowsort label-4425
SELECT pk FROM tab1 WHERE NOT (col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74))
----

statement ok
DELETE FROM tab2 WHERE col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74)
----

query I rowsort label-4425
SELECT pk FROM tab2 WHERE NOT (col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74))
----

statement ok
DELETE FROM tab3 WHERE col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74)
----

query I rowsort label-4425
SELECT pk FROM tab3 WHERE NOT (col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74))
----

statement ok
DELETE FROM tab4 WHERE col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74)
----

query I rowsort label-4425
SELECT pk FROM tab4 WHERE NOT (col0 < 15 AND col0 <= 26 AND col1 > 90.74 OR (col4 <= 1.13 AND col0 < 69 AND col3 = 84 AND col0 > 98 OR col0 < 21 OR col1 = 66.55 OR col0 > 32 AND (((col3 = 44 OR col3 >= 17 AND ((col4 > 63.57 AND col0 < 27)) AND (col0 > 43)) AND col0 > 82 AND (col3 > 1) OR col3 >= 34 AND col3 IS NULL OR (col1 > 8.73) AND (col4 >= 28.90)) OR col3 IN (76)) AND (col4 = 10.59) AND col0 > 52 AND col0 >= 6 AND col1 >= 12.49 AND col0 IS NULL) AND col1 < 7.5 OR (col1 > 82.19) AND col1 IS NULL AND (col0 > 29) AND (col3 < 69) OR col3 > 16 OR col0 > 68 AND (((col1 > 42.98))) OR (col0 < 86 AND col1 < 28.74))
----

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.48,'rltky',84,29.96,'sdgxh')

statement ok
INSERT INTO tab0 VALUES(1,48,19.10,'yyden',53,42.66,'jzohx')

statement ok
INSERT INTO tab0 VALUES(2,65,52.54,'qbnua',19,1.33,'ohoyc')

statement ok
INSERT INTO tab0 VALUES(3,19,55.85,'giinb',43,66.97,'yglox')

statement ok
INSERT INTO tab0 VALUES(4,66,9.41,'hhnlg',88,88.77,'ppdsx')

statement ok
INSERT INTO tab0 VALUES(5,89,94.61,'hjall',79,30.69,'hzkjh')

statement ok
INSERT INTO tab0 VALUES(6,73,3.39,'zgmno',71,71.10,'qvzod')

statement ok
INSERT INTO tab0 VALUES(7,57,57.94,'ostqz',6,25.41,'avsak')

statement ok
INSERT INTO tab0 VALUES(8,3,15.29,'nzsfo',80,48.66,'xosud')

statement ok
INSERT INTO tab0 VALUES(9,54,85.95,'arrtv',97,55.21,'zfjvn')

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,col1)

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

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col4,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 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_1 ON tab4 (col0 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 > 96.11

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

query I rowsort label-4440
SELECT pk FROM tab0 WHERE NOT (col1 > 96.11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 > 96.11

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

query I rowsort label-4440
SELECT pk FROM tab1 WHERE NOT (col1 > 96.11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 > 96.11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 96.11
----

query I rowsort label-4440
SELECT pk FROM tab2 WHERE NOT (col1 > 96.11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 > 96.11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 96.11
----

query I rowsort label-4440
SELECT pk FROM tab3 WHERE NOT (col1 > 96.11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 > 96.11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 96.11
----

query I rowsort label-4440
SELECT pk FROM tab4 WHERE NOT (col1 > 96.11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col1 = 72.46 OR (col4 <= 46.17)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 = 72.46 OR (col4 <= 46.17)))
----

query I rowsort label-4455
SELECT pk FROM tab0 WHERE NOT (((col1 = 72.46 OR (col4 <= 46.17))))
----
3
4
6
8
9

statement ok
DELETE FROM tab1 WHERE ((col1 = 72.46 OR (col4 <= 46.17)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 = 72.46 OR (col4 <= 46.17)))
----

query I rowsort label-4455
SELECT pk FROM tab1 WHERE NOT (((col1 = 72.46 OR (col4 <= 46.17))))
----
3
4
6
8
9

statement ok
DELETE FROM tab2 WHERE ((col1 = 72.46 OR (col4 <= 46.17)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 = 72.46 OR (col4 <= 46.17)))
----

query I rowsort label-4455
SELECT pk FROM tab2 WHERE NOT (((col1 = 72.46 OR (col4 <= 46.17))))
----
3
4
6
8
9

statement ok
DELETE FROM tab3 WHERE ((col1 = 72.46 OR (col4 <= 46.17)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 = 72.46 OR (col4 <= 46.17)))
----

query I rowsort label-4455
SELECT pk FROM tab3 WHERE NOT (((col1 = 72.46 OR (col4 <= 46.17))))
----
3
4
6
8
9

statement ok
DELETE FROM tab4 WHERE ((col1 = 72.46 OR (col4 <= 46.17)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 = 72.46 OR (col4 <= 46.17)))
----

query I rowsort label-4455
SELECT pk FROM tab4 WHERE NOT (((col1 = 72.46 OR (col4 <= 46.17))))
----
3
4
6
8
9

statement ok
DELETE FROM tab0 WHERE col4 IN (37.78,24.13,48.20,47.84,96.51)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (37.78,24.13,48.20,47.84,96.51)
----

query I rowsort label-4470
SELECT pk FROM tab0 WHERE NOT (col4 IN (37.78,24.13,48.20,47.84,96.51))
----
3
4
6
8
9

statement ok
DELETE FROM tab1 WHERE col4 IN (37.78,24.13,48.20,47.84,96.51)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (37.78,24.13,48.20,47.84,96.51)
----

query I rowsort label-4470
SELECT pk FROM tab1 WHERE NOT (col4 IN (37.78,24.13,48.20,47.84,96.51))
----
3
4
6
8
9

statement ok
DELETE FROM tab2 WHERE col4 IN (37.78,24.13,48.20,47.84,96.51)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (37.78,24.13,48.20,47.84,96.51)
----

query I rowsort label-4470
SELECT pk FROM tab2 WHERE NOT (col4 IN (37.78,24.13,48.20,47.84,96.51))
----
3
4
6
8
9

statement ok
DELETE FROM tab3 WHERE col4 IN (37.78,24.13,48.20,47.84,96.51)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (37.78,24.13,48.20,47.84,96.51)
----

query I rowsort label-4470
SELECT pk FROM tab3 WHERE NOT (col4 IN (37.78,24.13,48.20,47.84,96.51))
----
3
4
6
8
9

statement ok
DELETE FROM tab4 WHERE col4 IN (37.78,24.13,48.20,47.84,96.51)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (37.78,24.13,48.20,47.84,96.51)
----

query I rowsort label-4470
SELECT pk FROM tab4 WHERE NOT (col4 IN (37.78,24.13,48.20,47.84,96.51))
----
3
4
6
8
9

statement ok
DELETE FROM tab0 WHERE col0 < 0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 0
----

query I rowsort label-4485
SELECT pk FROM tab0 WHERE NOT (col0 < 0)
----
3
4
6
8
9

statement ok
DELETE FROM tab1 WHERE col0 < 0

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 0
----

query I rowsort label-4485
SELECT pk FROM tab1 WHERE NOT (col0 < 0)
----
3
4
6
8
9

statement ok
DELETE FROM tab2 WHERE col0 < 0

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 0
----

query I rowsort label-4485
SELECT pk FROM tab2 WHERE NOT (col0 < 0)
----
3
4
6
8
9

statement ok
DELETE FROM tab3 WHERE col0 < 0

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 0
----

query I rowsort label-4485
SELECT pk FROM tab3 WHERE NOT (col0 < 0)
----
3
4
6
8
9

statement ok
DELETE FROM tab4 WHERE col0 < 0

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 0
----

query I rowsort label-4485
SELECT pk FROM tab4 WHERE NOT (col0 < 0)
----
3
4
6
8
9

statement ok
DELETE FROM tab0 WHERE col4 < 79.8

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 79.8
----

query I rowsort label-4500
SELECT pk FROM tab0 WHERE NOT (col4 < 79.8)
----
4

statement ok
DELETE FROM tab1 WHERE col4 < 79.8

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 79.8
----

query I rowsort label-4500
SELECT pk FROM tab1 WHERE NOT (col4 < 79.8)
----
4

statement ok
DELETE FROM tab2 WHERE col4 < 79.8

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 79.8
----

query I rowsort label-4500
SELECT pk FROM tab2 WHERE NOT (col4 < 79.8)
----
4

statement ok
DELETE FROM tab3 WHERE col4 < 79.8

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 79.8
----

query I rowsort label-4500
SELECT pk FROM tab3 WHERE NOT (col4 < 79.8)
----
4

statement ok
DELETE FROM tab4 WHERE col4 < 79.8

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 79.8
----

query I rowsort label-4500
SELECT pk FROM tab4 WHERE NOT (col4 < 79.8)
----
4

statement ok
DELETE FROM tab0 WHERE (col0 > 4)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 4)
----

query I rowsort label-4515
SELECT pk FROM tab0 WHERE NOT ((col0 > 4))
----

statement ok
DELETE FROM tab1 WHERE (col0 > 4)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 4)
----

query I rowsort label-4515
SELECT pk FROM tab1 WHERE NOT ((col0 > 4))
----

statement ok
DELETE FROM tab2 WHERE (col0 > 4)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 4)
----

query I rowsort label-4515
SELECT pk FROM tab2 WHERE NOT ((col0 > 4))
----

statement ok
DELETE FROM tab3 WHERE (col0 > 4)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 4)
----

query I rowsort label-4515
SELECT pk FROM tab3 WHERE NOT ((col0 > 4))
----

statement ok
DELETE FROM tab4 WHERE (col0 > 4)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 4)
----

query I rowsort label-4515
SELECT pk FROM tab4 WHERE NOT ((col0 > 4))
----

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,10,89.18,'bmqwm',26,57.36,'avzhp')

statement ok
INSERT INTO tab0 VALUES(1,99,47.53,'bhyzh',3,94.30,'qvyrp')

statement ok
INSERT INTO tab0 VALUES(2,29,27.45,'hdpre',50,6.2,'jqhkf')

statement ok
INSERT INTO tab0 VALUES(3,32,61.5,'xyjhf',23,50.94,'myxpd')

statement ok
INSERT INTO tab0 VALUES(4,92,23.36,'kpnnj',39,3.91,'xhaie')

statement ok
INSERT INTO tab0 VALUES(5,61,83.35,'jvopx',88,24.37,'yettv')

statement ok
INSERT INTO tab0 VALUES(6,72,77.14,'zmtkh',46,14.39,'whwfa')

statement ok
INSERT INTO tab0 VALUES(7,46,65.9,'rquoo',86,81.88,'lojnq')

statement ok
INSERT INTO tab0 VALUES(8,11,95.94,'vphsa',91,4.67,'sibud')

statement ok
INSERT INTO tab0 VALUES(9,8,63.89,'hfsjz',69,90.67,'pkfug')

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
CREATE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
CREATE UNIQUE 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col4,col3 DESC,col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3 DESC,col4)

statement ok
CREATE UNIQUE 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 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 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL))))
----

query I rowsort label-4530
SELECT pk FROM tab0 WHERE NOT (col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL)))))
----
1
4

statement ok
DELETE FROM tab1 WHERE col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL))))
----

query I rowsort label-4530
SELECT pk FROM tab1 WHERE NOT (col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL)))))
----
1
4

statement ok
DELETE FROM tab2 WHERE col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL))))
----

query I rowsort label-4530
SELECT pk FROM tab2 WHERE NOT (col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL)))))
----
1
4

statement ok
DELETE FROM tab3 WHERE col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL))))
----

query I rowsort label-4530
SELECT pk FROM tab3 WHERE NOT (col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL)))))
----
1
4

statement ok
DELETE FROM tab4 WHERE col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL))))
----

query I rowsort label-4530
SELECT pk FROM tab4 WHERE NOT (col0 < 80 AND (((col1 >= 59.39 AND (col0 <= 30) OR ((col1 > 4.3)) AND (col0 <= 73 OR (col3 >= 56) AND col3 >= 96 AND col0 > 76) OR col0 IS NULL AND col3 < 72 AND col0 > 78 AND (col0 IN (4,69,83,78)) AND col0 <= 97 AND (col0 > 45) OR (col1 <= 44.74) AND col3 < 10 OR (col0 IS NULL)))))
----
1
4

statement ok
DELETE FROM tab0 WHERE (col1 >= 33.28)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 33.28)
----

query I rowsort label-4545
SELECT pk FROM tab0 WHERE NOT ((col1 >= 33.28))
----
4

statement ok
DELETE FROM tab1 WHERE (col1 >= 33.28)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 33.28)
----

query I rowsort label-4545
SELECT pk FROM tab1 WHERE NOT ((col1 >= 33.28))
----
4

statement ok
DELETE FROM tab2 WHERE (col1 >= 33.28)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 33.28)
----

query I rowsort label-4545
SELECT pk FROM tab2 WHERE NOT ((col1 >= 33.28))
----
4

statement ok
DELETE FROM tab3 WHERE (col1 >= 33.28)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 33.28)
----

query I rowsort label-4545
SELECT pk FROM tab3 WHERE NOT ((col1 >= 33.28))
----
4

statement ok
DELETE FROM tab4 WHERE (col1 >= 33.28)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 33.28)
----

query I rowsort label-4545
SELECT pk FROM tab4 WHERE NOT ((col1 >= 33.28))
----
4

statement ok
DELETE FROM tab0 WHERE col3 > 25

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 25
----

query I rowsort label-4560
SELECT pk FROM tab0 WHERE NOT (col3 > 25)
----

statement ok
DELETE FROM tab1 WHERE col3 > 25

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 25
----

query I rowsort label-4560
SELECT pk FROM tab1 WHERE NOT (col3 > 25)
----

statement ok
DELETE FROM tab2 WHERE col3 > 25

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 25
----

query I rowsort label-4560
SELECT pk FROM tab2 WHERE NOT (col3 > 25)
----

statement ok
DELETE FROM tab3 WHERE col3 > 25

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 25
----

query I rowsort label-4560
SELECT pk FROM tab3 WHERE NOT (col3 > 25)
----

statement ok
DELETE FROM tab4 WHERE col3 > 25

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 25
----

query I rowsort label-4560
SELECT pk FROM tab4 WHERE NOT (col3 > 25)
----

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,29.28,'uodgv',19,55.35,'mpeed')

statement ok
INSERT INTO tab0 VALUES(1,28,95.33,'nzcvv',7,79.93,'ydiue')

statement ok
INSERT INTO tab0 VALUES(2,81,9.88,'ivmat',4,62.69,'qdyde')

statement ok
INSERT INTO tab0 VALUES(3,16,16.0,'wuxvc',68,82.64,'ghzig')

statement ok
INSERT INTO tab0 VALUES(4,7,46.24,'fiijo',20,32.43,'skwsn')

statement ok
INSERT INTO tab0 VALUES(5,47,70.80,'onmio',54,83.35,'xrifp')

statement ok
INSERT INTO tab0 VALUES(6,61,72.63,'vgpwv',50,41.53,'dowhi')

statement ok
INSERT INTO tab0 VALUES(7,17,2.59,'fkbue',91,19.7,'zchei')

statement ok
INSERT INTO tab0 VALUES(8,33,47.52,'aayta',69,93.11,'uaqxs')

statement ok
INSERT INTO tab0 VALUES(9,5,87.41,'ahshz',0,64.0,'fuloq')

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)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC,col1 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_1 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_1 ON tab4 (col3,col4)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 < 5.72

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 5.72
----

query I rowsort label-4575
SELECT pk FROM tab0 WHERE NOT (col4 < 5.72)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 < 5.72

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 5.72
----

query I rowsort label-4575
SELECT pk FROM tab1 WHERE NOT (col4 < 5.72)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 < 5.72

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 5.72
----

query I rowsort label-4575
SELECT pk FROM tab2 WHERE NOT (col4 < 5.72)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 < 5.72

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 5.72
----

query I rowsort label-4575
SELECT pk FROM tab3 WHERE NOT (col4 < 5.72)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 < 5.72

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 5.72
----

query I rowsort label-4575
SELECT pk FROM tab4 WHERE NOT (col4 < 5.72)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9
----

query I rowsort label-4590
SELECT pk FROM tab0 WHERE NOT (col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9)
----
1
2
3
5
8
9

statement ok
DELETE FROM tab1 WHERE col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9
----

query I rowsort label-4590
SELECT pk FROM tab1 WHERE NOT (col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9)
----
1
2
3
5
8
9

statement ok
DELETE FROM tab2 WHERE col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9
----

query I rowsort label-4590
SELECT pk FROM tab2 WHERE NOT (col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9)
----
1
2
3
5
8
9

statement ok
DELETE FROM tab3 WHERE col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9
----

query I rowsort label-4590
SELECT pk FROM tab3 WHERE NOT (col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9)
----
1
2
3
5
8
9

statement ok
DELETE FROM tab4 WHERE col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9
----

query I rowsort label-4590
SELECT pk FROM tab4 WHERE NOT (col4 <= 56.43 OR col1 < 65.91 AND col4 < 35.9)
----
1
2
3
5
8
9

statement ok
DELETE FROM tab0 WHERE col1 < 70.71

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 70.71
----

query I rowsort label-4605
SELECT pk FROM tab0 WHERE NOT (col1 < 70.71)
----
1
5
9

statement ok
DELETE FROM tab1 WHERE col1 < 70.71

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 70.71
----

query I rowsort label-4605
SELECT pk FROM tab1 WHERE NOT (col1 < 70.71)
----
1
5
9

statement ok
DELETE FROM tab2 WHERE col1 < 70.71

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 70.71
----

query I rowsort label-4605
SELECT pk FROM tab2 WHERE NOT (col1 < 70.71)
----
1
5
9

statement ok
DELETE FROM tab3 WHERE col1 < 70.71

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 70.71
----

query I rowsort label-4605
SELECT pk FROM tab3 WHERE NOT (col1 < 70.71)
----
1
5
9

statement ok
DELETE FROM tab4 WHERE col1 < 70.71

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 70.71
----

query I rowsort label-4605
SELECT pk FROM tab4 WHERE NOT (col1 < 70.71)
----
1
5
9

statement ok
DELETE FROM tab0 WHERE (col0 = 30)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 30)
----

query I rowsort label-4620
SELECT pk FROM tab0 WHERE NOT ((col0 = 30))
----
1
5
9

statement ok
DELETE FROM tab1 WHERE (col0 = 30)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 30)
----

query I rowsort label-4620
SELECT pk FROM tab1 WHERE NOT ((col0 = 30))
----
1
5
9

statement ok
DELETE FROM tab2 WHERE (col0 = 30)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 30)
----

query I rowsort label-4620
SELECT pk FROM tab2 WHERE NOT ((col0 = 30))
----
1
5
9

statement ok
DELETE FROM tab3 WHERE (col0 = 30)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 30)
----

query I rowsort label-4620
SELECT pk FROM tab3 WHERE NOT ((col0 = 30))
----
1
5
9

statement ok
DELETE FROM tab4 WHERE (col0 = 30)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 30)
----

query I rowsort label-4620
SELECT pk FROM tab4 WHERE NOT ((col0 = 30))
----
1
5
9

statement ok
DELETE FROM tab0 WHERE col3 < 79

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 79
----

query I rowsort label-4635
SELECT pk FROM tab0 WHERE NOT (col3 < 79)
----

statement ok
DELETE FROM tab1 WHERE col3 < 79

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 79
----

query I rowsort label-4635
SELECT pk FROM tab1 WHERE NOT (col3 < 79)
----

statement ok
DELETE FROM tab2 WHERE col3 < 79

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 79
----

query I rowsort label-4635
SELECT pk FROM tab2 WHERE NOT (col3 < 79)
----

statement ok
DELETE FROM tab3 WHERE col3 < 79

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 79
----

query I rowsort label-4635
SELECT pk FROM tab3 WHERE NOT (col3 < 79)
----

statement ok
DELETE FROM tab4 WHERE col3 < 79

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 79
----

query I rowsort label-4635
SELECT pk FROM tab4 WHERE NOT (col3 < 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,16,57.37,'qcpwd',69,8.95,'hqnwa')

statement ok
INSERT INTO tab0 VALUES(1,60,78.56,'fxocz',52,79.83,'omjlc')

statement ok
INSERT INTO tab0 VALUES(2,61,32.22,'nnmod',32,16.64,'ukgqm')

statement ok
INSERT INTO tab0 VALUES(3,1,21.68,'lcbbt',90,27.52,'kzlpx')

statement ok
INSERT INTO tab0 VALUES(4,89,76.43,'dmsgz',86,80.88,'zdfow')

statement ok
INSERT INTO tab0 VALUES(5,69,15.31,'aldxt',78,59.50,'xgizl')

statement ok
INSERT INTO tab0 VALUES(6,35,10.59,'yvzdf',25,39.68,'bjwmx')

statement ok
INSERT INTO tab0 VALUES(7,43,46.12,'enjhl',7,33.36,'mdugd')

statement ok
INSERT INTO tab0 VALUES(8,25,85.45,'xvsfe',33,66.21,'vdnwm')

statement ok
INSERT INTO tab0 VALUES(9,95,28.95,'tickh',57,31.83,'evorh')

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)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC,col4,col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1 DESC,col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3,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,col4)

statement ok
CREATE INDEX idx_tab3_3 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 (col1,col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80
----

query I rowsort label-4650
SELECT pk FROM tab0 WHERE NOT (col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab1 WHERE col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80
----

query I rowsort label-4650
SELECT pk FROM tab1 WHERE NOT (col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab2 WHERE col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80
----

query I rowsort label-4650
SELECT pk FROM tab2 WHERE NOT (col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab3 WHERE col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80
----

query I rowsort label-4650
SELECT pk FROM tab3 WHERE NOT (col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab4 WHERE col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80
----

query I rowsort label-4650
SELECT pk FROM tab4 WHERE NOT (col0 > 28 AND (col3 >= 0) AND (col0 > 84) AND ((col0 > 77) AND (((col3 IS NULL))) OR ((col3 < 60))) OR col0 = 80)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab0 WHERE col0 >= 86 AND ((col3 BETWEEN 87 AND 17))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 86 AND ((col3 BETWEEN 87 AND 17))
----

query I rowsort label-4665
SELECT pk FROM tab0 WHERE NOT (col0 >= 86 AND ((col3 BETWEEN 87 AND 17)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab1 WHERE col0 >= 86 AND ((col3 BETWEEN 87 AND 17))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 86 AND ((col3 BETWEEN 87 AND 17))
----

query I rowsort label-4665
SELECT pk FROM tab1 WHERE NOT (col0 >= 86 AND ((col3 BETWEEN 87 AND 17)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab2 WHERE col0 >= 86 AND ((col3 BETWEEN 87 AND 17))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 86 AND ((col3 BETWEEN 87 AND 17))
----

query I rowsort label-4665
SELECT pk FROM tab2 WHERE NOT (col0 >= 86 AND ((col3 BETWEEN 87 AND 17)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab3 WHERE col0 >= 86 AND ((col3 BETWEEN 87 AND 17))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 86 AND ((col3 BETWEEN 87 AND 17))
----

query I rowsort label-4665
SELECT pk FROM tab3 WHERE NOT (col0 >= 86 AND ((col3 BETWEEN 87 AND 17)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab4 WHERE col0 >= 86 AND ((col3 BETWEEN 87 AND 17))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 86 AND ((col3 BETWEEN 87 AND 17))
----

query I rowsort label-4665
SELECT pk FROM tab4 WHERE NOT (col0 >= 86 AND ((col3 BETWEEN 87 AND 17)))
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab0 WHERE col0 <= 27

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 27
----

query I rowsort label-4680
SELECT pk FROM tab0 WHERE NOT (col0 <= 27)
----
1
2
4
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 <= 27

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 27
----

query I rowsort label-4680
SELECT pk FROM tab1 WHERE NOT (col0 <= 27)
----
1
2
4
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 <= 27

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 27
----

query I rowsort label-4680
SELECT pk FROM tab2 WHERE NOT (col0 <= 27)
----
1
2
4
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 <= 27

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 27
----

query I rowsort label-4680
SELECT pk FROM tab3 WHERE NOT (col0 <= 27)
----
1
2
4
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 <= 27

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 27
----

query I rowsort label-4680
SELECT pk FROM tab4 WHERE NOT (col0 <= 27)
----
1
2
4
5
6
7

statement ok
DELETE FROM tab0 WHERE col3 > 19

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 19
----

query I rowsort label-4695
SELECT pk FROM tab0 WHERE NOT (col3 > 19)
----
7

statement ok
DELETE FROM tab1 WHERE col3 > 19

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 19
----

query I rowsort label-4695
SELECT pk FROM tab1 WHERE NOT (col3 > 19)
----
7

statement ok
DELETE FROM tab2 WHERE col3 > 19

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 19
----

query I rowsort label-4695
SELECT pk FROM tab2 WHERE NOT (col3 > 19)
----
7

statement ok
DELETE FROM tab3 WHERE col3 > 19

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 19
----

query I rowsort label-4695
SELECT pk FROM tab3 WHERE NOT (col3 > 19)
----
7

statement ok
DELETE FROM tab4 WHERE col3 > 19

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 19
----

query I rowsort label-4695
SELECT pk FROM tab4 WHERE NOT (col3 > 19)
----
7

statement ok
DELETE FROM tab0 WHERE (col4 IS NULL AND col1 = 62.23)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 IS NULL AND col1 = 62.23)
----

query I rowsort label-4710
SELECT pk FROM tab0 WHERE NOT ((col4 IS NULL AND col1 = 62.23))
----
7

statement ok
DELETE FROM tab1 WHERE (col4 IS NULL AND col1 = 62.23)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 IS NULL AND col1 = 62.23)
----

query I rowsort label-4710
SELECT pk FROM tab1 WHERE NOT ((col4 IS NULL AND col1 = 62.23))
----
7

statement ok
DELETE FROM tab2 WHERE (col4 IS NULL AND col1 = 62.23)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 IS NULL AND col1 = 62.23)
----

query I rowsort label-4710
SELECT pk FROM tab2 WHERE NOT ((col4 IS NULL AND col1 = 62.23))
----
7

statement ok
DELETE FROM tab3 WHERE (col4 IS NULL AND col1 = 62.23)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 IS NULL AND col1 = 62.23)
----

query I rowsort label-4710
SELECT pk FROM tab3 WHERE NOT ((col4 IS NULL AND col1 = 62.23))
----
7

statement ok
DELETE FROM tab4 WHERE (col4 IS NULL AND col1 = 62.23)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 IS NULL AND col1 = 62.23)
----

query I rowsort label-4710
SELECT pk FROM tab4 WHERE NOT ((col4 IS NULL AND col1 = 62.23))
----
7

statement ok
DELETE FROM tab0 WHERE col4 > 60.20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 60.20
----

query I rowsort label-4725
SELECT pk FROM tab0 WHERE NOT (col4 > 60.20)
----
7

statement ok
DELETE FROM tab1 WHERE col4 > 60.20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 60.20
----

query I rowsort label-4725
SELECT pk FROM tab1 WHERE NOT (col4 > 60.20)
----
7

statement ok
DELETE FROM tab2 WHERE col4 > 60.20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 60.20
----

query I rowsort label-4725
SELECT pk FROM tab2 WHERE NOT (col4 > 60.20)
----
7

statement ok
DELETE FROM tab3 WHERE col4 > 60.20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 60.20
----

query I rowsort label-4725
SELECT pk FROM tab3 WHERE NOT (col4 > 60.20)
----
7

statement ok
DELETE FROM tab4 WHERE col4 > 60.20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 60.20
----

query I rowsort label-4725
SELECT pk FROM tab4 WHERE NOT (col4 > 60.20)
----
7

statement ok
DELETE FROM tab0 WHERE col3 <= 93

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 93
----

query I rowsort label-4740
SELECT pk FROM tab0 WHERE NOT (col3 <= 93)
----

statement ok
DELETE FROM tab1 WHERE col3 <= 93

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 93
----

query I rowsort label-4740
SELECT pk FROM tab1 WHERE NOT (col3 <= 93)
----

statement ok
DELETE FROM tab2 WHERE col3 <= 93

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 93
----

query I rowsort label-4740
SELECT pk FROM tab2 WHERE NOT (col3 <= 93)
----

statement ok
DELETE FROM tab3 WHERE col3 <= 93

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 93
----

query I rowsort label-4740
SELECT pk FROM tab3 WHERE NOT (col3 <= 93)
----

statement ok
DELETE FROM tab4 WHERE col3 <= 93

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 93
----

query I rowsort label-4740
SELECT pk FROM tab4 WHERE NOT (col3 <= 93)
----

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,14.92,'pashg',4,45.66,'hebds')

statement ok
INSERT INTO tab0 VALUES(1,82,8.84,'szixb',74,13.81,'qztvk')

statement ok
INSERT INTO tab0 VALUES(2,10,80.77,'diehb',81,5.81,'emgdg')

statement ok
INSERT INTO tab0 VALUES(3,81,32.60,'oixvj',14,49.70,'bdqax')

statement ok
INSERT INTO tab0 VALUES(4,54,87.51,'qygsq',80,32.84,'oqlfd')

statement ok
INSERT INTO tab0 VALUES(5,61,56.10,'yuurf',13,55.9,'ixkdm')

statement ok
INSERT INTO tab0 VALUES(6,15,99.49,'hlkic',87,99.89,'ijwbt')

statement ok
INSERT INTO tab0 VALUES(7,28,84.50,'pldfl',27,89.43,'gymjv')

statement ok
INSERT INTO tab0 VALUES(8,20,57.70,'jjnze',25,54.75,'igylb')

statement ok
INSERT INTO tab0 VALUES(9,32,96.62,'idlko',51,90.84,'utmac')

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_2 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE 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 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC,col0)

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 INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3 DESC,col1 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84)))))
----

query I rowsort label-4755
SELECT pk FROM tab0 WHERE NOT (((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84))))))
----
4

statement ok
DELETE FROM tab1 WHERE ((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84)))))
----

query I rowsort label-4755
SELECT pk FROM tab1 WHERE NOT (((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84))))))
----
4

statement ok
DELETE FROM tab2 WHERE ((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84)))))
----

query I rowsort label-4755
SELECT pk FROM tab2 WHERE NOT (((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84))))))
----
4

statement ok
DELETE FROM tab3 WHERE ((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84)))))
----

query I rowsort label-4755
SELECT pk FROM tab3 WHERE NOT (((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84))))))
----
4

statement ok
DELETE FROM tab4 WHERE ((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84)))))
----

query I rowsort label-4755
SELECT pk FROM tab4 WHERE NOT (((col1 IN (63.67,61.47,17.47,81.84,53.86) OR (((col0 <= 19 AND col0 > 74 OR (((col1 < 82.39)) OR (col0 <= 51 AND col3 <= 17)) OR ((((((col0 > 36 AND (col1 IS NULL) AND (((((col4 < 82.61) OR col3 > 75)) OR (col0 BETWEEN 85 AND 12) AND col0 > 29 OR col0 < 60 OR (((((((((((col3 <= 93 OR col3 = 19)))) AND (col0 = 86) AND col3 > 18))))))) AND col4 IN (87.11,38.46,64.12,64.51,71.61,91.32) OR (col3 >= 75 AND col4 >= 18.71) OR (col3 = 90))) OR col3 < 84))))) AND col3 = 57) OR (col0 < 47) OR (col3 >= 93 AND (((col4 > 87.16) OR col3 < 20 OR col3 < 45 AND col0 <= 99) OR col0 < 6)) AND col0 >= 84))))))
----
4

statement ok
DELETE FROM tab0 WHERE col3 = 78

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 78
----

query I rowsort label-4770
SELECT pk FROM tab0 WHERE NOT (col3 = 78)
----
4

statement ok
DELETE FROM tab1 WHERE col3 = 78

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 78
----

query I rowsort label-4770
SELECT pk FROM tab1 WHERE NOT (col3 = 78)
----
4

statement ok
DELETE FROM tab2 WHERE col3 = 78

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 78
----

query I rowsort label-4770
SELECT pk FROM tab2 WHERE NOT (col3 = 78)
----
4

statement ok
DELETE FROM tab3 WHERE col3 = 78

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 78
----

query I rowsort label-4770
SELECT pk FROM tab3 WHERE NOT (col3 = 78)
----
4

statement ok
DELETE FROM tab4 WHERE col3 = 78

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 78
----

query I rowsort label-4770
SELECT pk FROM tab4 WHERE NOT (col3 = 78)
----
4

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-4785
SELECT pk FROM tab0 WHERE NOT (col4 > 32.91)
----
4

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-4785
SELECT pk FROM tab1 WHERE NOT (col4 > 32.91)
----
4

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-4785
SELECT pk FROM tab2 WHERE NOT (col4 > 32.91)
----
4

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-4785
SELECT pk FROM tab3 WHERE NOT (col4 > 32.91)
----
4

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-4785
SELECT pk FROM tab4 WHERE NOT (col4 > 32.91)
----
4

statement ok
DELETE FROM tab0 WHERE (col3 < 35 OR col1 >= 61.72) OR col3 > 68

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 35 OR col1 >= 61.72) OR col3 > 68
----

query I rowsort label-4800
SELECT pk FROM tab0 WHERE NOT ((col3 < 35 OR col1 >= 61.72) OR col3 > 68)
----

statement ok
DELETE FROM tab1 WHERE (col3 < 35 OR col1 >= 61.72) OR col3 > 68

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 35 OR col1 >= 61.72) OR col3 > 68
----

query I rowsort label-4800
SELECT pk FROM tab1 WHERE NOT ((col3 < 35 OR col1 >= 61.72) OR col3 > 68)
----

statement ok
DELETE FROM tab2 WHERE (col3 < 35 OR col1 >= 61.72) OR col3 > 68

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 35 OR col1 >= 61.72) OR col3 > 68
----

query I rowsort label-4800
SELECT pk FROM tab2 WHERE NOT ((col3 < 35 OR col1 >= 61.72) OR col3 > 68)
----

statement ok
DELETE FROM tab3 WHERE (col3 < 35 OR col1 >= 61.72) OR col3 > 68

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 35 OR col1 >= 61.72) OR col3 > 68
----

query I rowsort label-4800
SELECT pk FROM tab3 WHERE NOT ((col3 < 35 OR col1 >= 61.72) OR col3 > 68)
----

statement ok
DELETE FROM tab4 WHERE (col3 < 35 OR col1 >= 61.72) OR col3 > 68

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 35 OR col1 >= 61.72) OR col3 > 68
----

query I rowsort label-4800
SELECT pk FROM tab4 WHERE NOT ((col3 < 35 OR col1 >= 61.72) OR col3 > 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,33,27.29,'pndbq',25,40.30,'jtmdd')

statement ok
INSERT INTO tab0 VALUES(1,38,72.80,'prhcj',5,14.55,'pcpwg')

statement ok
INSERT INTO tab0 VALUES(2,80,45.69,'fzzwg',39,57.28,'emwat')

statement ok
INSERT INTO tab0 VALUES(3,28,73.35,'wvxwc',92,3.65,'fblwc')

statement ok
INSERT INTO tab0 VALUES(4,47,87.98,'mucup',32,73.17,'pjnlz')

statement ok
INSERT INTO tab0 VALUES(5,12,88.70,'exhxc',46,38.87,'wlxxa')

statement ok
INSERT INTO tab0 VALUES(6,22,8.71,'xpvbf',48,83.39,'puunl')

statement ok
INSERT INTO tab0 VALUES(7,11,74.37,'cbcsj',95,66.10,'frdwp')

statement ok
INSERT INTO tab0 VALUES(8,61,68.37,'hecgm',96,84.26,'leoxq')

statement ok
INSERT INTO tab0 VALUES(9,15,92.80,'rsjar',30,34.11,'ditcd')

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 UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0 DESC)

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 UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4 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,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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,6,62.0,'rztdb',88,4.79,'chtds')

statement ok
INSERT INTO tab0 VALUES(1,63,91.59,'cjqqy',46,47.74,'kovwz')

statement ok
INSERT INTO tab0 VALUES(2,15,8.82,'eomic',5,67.44,'rlqkn')

statement ok
INSERT INTO tab0 VALUES(3,99,69.11,'ovgmf',47,86.27,'uvqta')

statement ok
INSERT INTO tab0 VALUES(4,81,40.43,'goiup',61,98.45,'yjdmw')

statement ok
INSERT INTO tab0 VALUES(5,17,20.92,'tngzg',12,80.70,'xzish')

statement ok
INSERT INTO tab0 VALUES(6,18,43.53,'bwaqd',96,5.85,'bsinm')

statement ok
INSERT INTO tab0 VALUES(7,7,99.63,'bjfne',8,56.45,'rekpq')

statement ok
INSERT INTO tab0 VALUES(8,89,41.62,'jickn',1,37.43,'wgczh')

statement ok
INSERT INTO tab0 VALUES(9,10,1.60,'retrk',53,84.71,'utgmc')

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_1 ON tab2 (col1 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1 DESC,col3)

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 (col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1,col3 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0,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,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col0 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 < 46.0) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 46.0) OR col3 IS NULL
----

query I rowsort label-4815
SELECT pk FROM tab0 WHERE NOT ((col4 < 46.0) OR col3 IS NULL)
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab1 WHERE (col4 < 46.0) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 46.0) OR col3 IS NULL
----

query I rowsort label-4815
SELECT pk FROM tab1 WHERE NOT ((col4 < 46.0) OR col3 IS NULL)
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab2 WHERE (col4 < 46.0) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 46.0) OR col3 IS NULL
----

query I rowsort label-4815
SELECT pk FROM tab2 WHERE NOT ((col4 < 46.0) OR col3 IS NULL)
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab3 WHERE (col4 < 46.0) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 46.0) OR col3 IS NULL
----

query I rowsort label-4815
SELECT pk FROM tab3 WHERE NOT ((col4 < 46.0) OR col3 IS NULL)
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab4 WHERE (col4 < 46.0) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 46.0) OR col3 IS NULL
----

query I rowsort label-4815
SELECT pk FROM tab4 WHERE NOT ((col4 < 46.0) OR col3 IS NULL)
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab0 WHERE col0 = 96

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 96
----

query I rowsort label-4830
SELECT pk FROM tab0 WHERE NOT (col0 = 96)
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab1 WHERE col0 = 96

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 96
----

query I rowsort label-4830
SELECT pk FROM tab1 WHERE NOT (col0 = 96)
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab2 WHERE col0 = 96

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 96
----

query I rowsort label-4830
SELECT pk FROM tab2 WHERE NOT (col0 = 96)
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab3 WHERE col0 = 96

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 96
----

query I rowsort label-4830
SELECT pk FROM tab3 WHERE NOT (col0 = 96)
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab4 WHERE col0 = 96

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 96
----

query I rowsort label-4830
SELECT pk FROM tab4 WHERE NOT (col0 = 96)
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab0 WHERE (col3 <= 1)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 1)
----

query I rowsort label-4845
SELECT pk FROM tab0 WHERE NOT ((col3 <= 1))
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab1 WHERE (col3 <= 1)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 1)
----

query I rowsort label-4845
SELECT pk FROM tab1 WHERE NOT ((col3 <= 1))
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab2 WHERE (col3 <= 1)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 1)
----

query I rowsort label-4845
SELECT pk FROM tab2 WHERE NOT ((col3 <= 1))
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab3 WHERE (col3 <= 1)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 1)
----

query I rowsort label-4845
SELECT pk FROM tab3 WHERE NOT ((col3 <= 1))
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab4 WHERE (col3 <= 1)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 1)
----

query I rowsort label-4845
SELECT pk FROM tab4 WHERE NOT ((col3 <= 1))
----
1
2
3
4
5
7
9

statement ok
DELETE FROM tab0 WHERE (col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 55)
----

query I rowsort label-4860
SELECT pk FROM tab0 WHERE NOT ((col0 > 55))
----
2
5
7
9

statement ok
DELETE FROM tab1 WHERE (col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 55)
----

query I rowsort label-4860
SELECT pk FROM tab1 WHERE NOT ((col0 > 55))
----
2
5
7
9

statement ok
DELETE FROM tab2 WHERE (col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 55)
----

query I rowsort label-4860
SELECT pk FROM tab2 WHERE NOT ((col0 > 55))
----
2
5
7
9

statement ok
DELETE FROM tab3 WHERE (col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 55)
----

query I rowsort label-4860
SELECT pk FROM tab3 WHERE NOT ((col0 > 55))
----
2
5
7
9

statement ok
DELETE FROM tab4 WHERE (col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 55)
----

query I rowsort label-4860
SELECT pk FROM tab4 WHERE NOT ((col0 > 55))
----
2
5
7
9

statement ok
DELETE FROM tab0 WHERE col0 <= 11 AND col4 < 64.73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 11 AND col4 < 64.73
----

query I rowsort label-4875
SELECT pk FROM tab0 WHERE NOT (col0 <= 11 AND col4 < 64.73)
----
2
5
9

statement ok
DELETE FROM tab1 WHERE col0 <= 11 AND col4 < 64.73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 11 AND col4 < 64.73
----

query I rowsort label-4875
SELECT pk FROM tab1 WHERE NOT (col0 <= 11 AND col4 < 64.73)
----
2
5
9

statement ok
DELETE FROM tab2 WHERE col0 <= 11 AND col4 < 64.73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 11 AND col4 < 64.73
----

query I rowsort label-4875
SELECT pk FROM tab2 WHERE NOT (col0 <= 11 AND col4 < 64.73)
----
2
5
9

statement ok
DELETE FROM tab3 WHERE col0 <= 11 AND col4 < 64.73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 11 AND col4 < 64.73
----

query I rowsort label-4875
SELECT pk FROM tab3 WHERE NOT (col0 <= 11 AND col4 < 64.73)
----
2
5
9

statement ok
DELETE FROM tab4 WHERE col0 <= 11 AND col4 < 64.73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 11 AND col4 < 64.73
----

query I rowsort label-4875
SELECT pk FROM tab4 WHERE NOT (col0 <= 11 AND col4 < 64.73)
----
2
5
9

statement ok
DELETE FROM tab0 WHERE col0 > 86 AND col3 <= 21

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 86 AND col3 <= 21
----

query I rowsort label-4890
SELECT pk FROM tab0 WHERE NOT (col0 > 86 AND col3 <= 21)
----
2
5
9

statement ok
DELETE FROM tab1 WHERE col0 > 86 AND col3 <= 21

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 86 AND col3 <= 21
----

query I rowsort label-4890
SELECT pk FROM tab1 WHERE NOT (col0 > 86 AND col3 <= 21)
----
2
5
9

statement ok
DELETE FROM tab2 WHERE col0 > 86 AND col3 <= 21

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 86 AND col3 <= 21
----

query I rowsort label-4890
SELECT pk FROM tab2 WHERE NOT (col0 > 86 AND col3 <= 21)
----
2
5
9

statement ok
DELETE FROM tab3 WHERE col0 > 86 AND col3 <= 21

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 86 AND col3 <= 21
----

query I rowsort label-4890
SELECT pk FROM tab3 WHERE NOT (col0 > 86 AND col3 <= 21)
----
2
5
9

statement ok
DELETE FROM tab4 WHERE col0 > 86 AND col3 <= 21

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 86 AND col3 <= 21
----

query I rowsort label-4890
SELECT pk FROM tab4 WHERE NOT (col0 > 86 AND col3 <= 21)
----
2
5
9

statement ok
DELETE FROM tab0 WHERE col0 > 12

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 12
----

query I rowsort label-4905
SELECT pk FROM tab0 WHERE NOT (col0 > 12)
----
9

statement ok
DELETE FROM tab1 WHERE col0 > 12

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 12
----

query I rowsort label-4905
SELECT pk FROM tab1 WHERE NOT (col0 > 12)
----
9

statement ok
DELETE FROM tab2 WHERE col0 > 12

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 12
----

query I rowsort label-4905
SELECT pk FROM tab2 WHERE NOT (col0 > 12)
----
9

statement ok
DELETE FROM tab3 WHERE col0 > 12

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 12
----

query I rowsort label-4905
SELECT pk FROM tab3 WHERE NOT (col0 > 12)
----
9

statement ok
DELETE FROM tab4 WHERE col0 > 12

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 12
----

query I rowsort label-4905
SELECT pk FROM tab4 WHERE NOT (col0 > 12)
----
9

statement ok
DELETE FROM tab0 WHERE (col3 > 97)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 97)
----

query I rowsort label-4920
SELECT pk FROM tab0 WHERE NOT ((col3 > 97))
----
9

statement ok
DELETE FROM tab1 WHERE (col3 > 97)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 97)
----

query I rowsort label-4920
SELECT pk FROM tab1 WHERE NOT ((col3 > 97))
----
9

statement ok
DELETE FROM tab2 WHERE (col3 > 97)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 97)
----

query I rowsort label-4920
SELECT pk FROM tab2 WHERE NOT ((col3 > 97))
----
9

statement ok
DELETE FROM tab3 WHERE (col3 > 97)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 97)
----

query I rowsort label-4920
SELECT pk FROM tab3 WHERE NOT ((col3 > 97))
----
9

statement ok
DELETE FROM tab4 WHERE (col3 > 97)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 97)
----

query I rowsort label-4920
SELECT pk FROM tab4 WHERE NOT ((col3 > 97))
----
9

statement ok
DELETE FROM tab0 WHERE col3 > 37 OR (col3 > 44) OR ((col4 > 79.84))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 37 OR (col3 > 44) OR ((col4 > 79.84))
----

query I rowsort label-4935
SELECT pk FROM tab0 WHERE NOT (col3 > 37 OR (col3 > 44) OR ((col4 > 79.84)))
----

statement ok
DELETE FROM tab1 WHERE col3 > 37 OR (col3 > 44) OR ((col4 > 79.84))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 37 OR (col3 > 44) OR ((col4 > 79.84))
----

query I rowsort label-4935
SELECT pk FROM tab1 WHERE NOT (col3 > 37 OR (col3 > 44) OR ((col4 > 79.84)))
----

statement ok
DELETE FROM tab2 WHERE col3 > 37 OR (col3 > 44) OR ((col4 > 79.84))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 37 OR (col3 > 44) OR ((col4 > 79.84))
----

query I rowsort label-4935
SELECT pk FROM tab2 WHERE NOT (col3 > 37 OR (col3 > 44) OR ((col4 > 79.84)))
----

statement ok
DELETE FROM tab3 WHERE col3 > 37 OR (col3 > 44) OR ((col4 > 79.84))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 37 OR (col3 > 44) OR ((col4 > 79.84))
----

query I rowsort label-4935
SELECT pk FROM tab3 WHERE NOT (col3 > 37 OR (col3 > 44) OR ((col4 > 79.84)))
----

statement ok
DELETE FROM tab4 WHERE col3 > 37 OR (col3 > 44) OR ((col4 > 79.84))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 37 OR (col3 > 44) OR ((col4 > 79.84))
----

query I rowsort label-4935
SELECT pk FROM tab4 WHERE NOT (col3 > 37 OR (col3 > 44) OR ((col4 > 79.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,85,12.70,'ohjzt',30,29.21,'jzgao')

statement ok
INSERT INTO tab0 VALUES(1,34,99.24,'udbmj',11,39.75,'sicbs')

statement ok
INSERT INTO tab0 VALUES(2,48,46.91,'jexss',86,77.69,'varva')

statement ok
INSERT INTO tab0 VALUES(3,3,87.70,'fympe',12,40.5,'mxinc')

statement ok
INSERT INTO tab0 VALUES(4,74,65.37,'bqjvh',22,94.94,'kifiu')

statement ok
INSERT INTO tab0 VALUES(5,94,45.99,'lrmgr',89,81.10,'dtgce')

statement ok
INSERT INTO tab0 VALUES(6,20,25.66,'bjztj',92,34.59,'lfgus')

statement ok
INSERT INTO tab0 VALUES(7,90,49.7,'unspv',75,88.42,'geeei')

statement ok
INSERT INTO tab0 VALUES(8,95,21.15,'rayha',9,92.9,'xabns')

statement ok
INSERT INTO tab0 VALUES(9,28,15.68,'hqvat',57,24.33,'epige')

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 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,col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col1,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 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 (col1,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 > 87 AND col1 IS NULL OR (col3 > 92)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 87 AND col1 IS NULL OR (col3 > 92)
----

query I rowsort label-4950
SELECT pk FROM tab0 WHERE NOT (col0 > 87 AND col1 IS NULL OR (col3 > 92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 > 87 AND col1 IS NULL OR (col3 > 92)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 87 AND col1 IS NULL OR (col3 > 92)
----

query I rowsort label-4950
SELECT pk FROM tab1 WHERE NOT (col0 > 87 AND col1 IS NULL OR (col3 > 92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 > 87 AND col1 IS NULL OR (col3 > 92)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 87 AND col1 IS NULL OR (col3 > 92)
----

query I rowsort label-4950
SELECT pk FROM tab2 WHERE NOT (col0 > 87 AND col1 IS NULL OR (col3 > 92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 > 87 AND col1 IS NULL OR (col3 > 92)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 87 AND col1 IS NULL OR (col3 > 92)
----

query I rowsort label-4950
SELECT pk FROM tab3 WHERE NOT (col0 > 87 AND col1 IS NULL OR (col3 > 92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 > 87 AND col1 IS NULL OR (col3 > 92)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 87 AND col1 IS NULL OR (col3 > 92)
----

query I rowsort label-4950
SELECT pk FROM tab4 WHERE NOT (col0 > 87 AND col1 IS NULL OR (col3 > 92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col3 > 28)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 28)
----

query I rowsort label-4965
SELECT pk FROM tab0 WHERE NOT ((col3 > 28))
----
1
3
4
8

statement ok
DELETE FROM tab1 WHERE (col3 > 28)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 28)
----

query I rowsort label-4965
SELECT pk FROM tab1 WHERE NOT ((col3 > 28))
----
1
3
4
8

statement ok
DELETE FROM tab2 WHERE (col3 > 28)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 28)
----

query I rowsort label-4965
SELECT pk FROM tab2 WHERE NOT ((col3 > 28))
----
1
3
4
8

statement ok
DELETE FROM tab3 WHERE (col3 > 28)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 28)
----

query I rowsort label-4965
SELECT pk FROM tab3 WHERE NOT ((col3 > 28))
----
1
3
4
8

statement ok
DELETE FROM tab4 WHERE (col3 > 28)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 28)
----

query I rowsort label-4965
SELECT pk FROM tab4 WHERE NOT ((col3 > 28))
----
1
3
4
8

statement ok
DELETE FROM tab0 WHERE ((col0 > 39))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 39))
----

query I rowsort label-4980
SELECT pk FROM tab0 WHERE NOT (((col0 > 39)))
----
1
3

statement ok
DELETE FROM tab1 WHERE ((col0 > 39))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 39))
----

query I rowsort label-4980
SELECT pk FROM tab1 WHERE NOT (((col0 > 39)))
----
1
3

statement ok
DELETE FROM tab2 WHERE ((col0 > 39))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 39))
----

query I rowsort label-4980
SELECT pk FROM tab2 WHERE NOT (((col0 > 39)))
----
1
3

statement ok
DELETE FROM tab3 WHERE ((col0 > 39))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 39))
----

query I rowsort label-4980
SELECT pk FROM tab3 WHERE NOT (((col0 > 39)))
----
1
3

statement ok
DELETE FROM tab4 WHERE ((col0 > 39))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 39))
----

query I rowsort label-4980
SELECT pk FROM tab4 WHERE NOT (((col0 > 39)))
----
1
3

statement ok
DELETE FROM tab0 WHERE col4 > 68.94

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 68.94
----

query I rowsort label-4995
SELECT pk FROM tab0 WHERE NOT (col4 > 68.94)
----
1
3

statement ok
DELETE FROM tab1 WHERE col4 > 68.94

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 68.94
----

query I rowsort label-4995
SELECT pk FROM tab1 WHERE NOT (col4 > 68.94)
----
1
3

statement ok
DELETE FROM tab2 WHERE col4 > 68.94

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 68.94
----

query I rowsort label-4995
SELECT pk FROM tab2 WHERE NOT (col4 > 68.94)
----
1
3

statement ok
DELETE FROM tab3 WHERE col4 > 68.94

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 68.94
----

query I rowsort label-4995
SELECT pk FROM tab3 WHERE NOT (col4 > 68.94)
----
1
3

statement ok
DELETE FROM tab4 WHERE col4 > 68.94

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 68.94
----

query I rowsort label-4995
SELECT pk FROM tab4 WHERE NOT (col4 > 68.94)
----
1
3

statement ok
DELETE FROM tab0 WHERE col4 >= 30.19

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 30.19
----

query I rowsort label-5010
SELECT pk FROM tab0 WHERE NOT (col4 >= 30.19)
----

statement ok
DELETE FROM tab1 WHERE col4 >= 30.19

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 30.19
----

query I rowsort label-5010
SELECT pk FROM tab1 WHERE NOT (col4 >= 30.19)
----

statement ok
DELETE FROM tab2 WHERE col4 >= 30.19

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 30.19
----

query I rowsort label-5010
SELECT pk FROM tab2 WHERE NOT (col4 >= 30.19)
----

statement ok
DELETE FROM tab3 WHERE col4 >= 30.19

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 30.19
----

query I rowsort label-5010
SELECT pk FROM tab3 WHERE NOT (col4 >= 30.19)
----

statement ok
DELETE FROM tab4 WHERE col4 >= 30.19

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 30.19
----

query I rowsort label-5010
SELECT pk FROM tab4 WHERE NOT (col4 >= 30.19)
----

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,77,90.49,'nhigv',59,89.75,'hngrn')

statement ok
INSERT INTO tab0 VALUES(1,88,86.4,'tmcbz',19,46.46,'hybpu')

statement ok
INSERT INTO tab0 VALUES(2,1,65.90,'cworh',5,83.47,'tmref')

statement ok
INSERT INTO tab0 VALUES(3,65,72.3,'ubgis',24,74.88,'nbuei')

statement ok
INSERT INTO tab0 VALUES(4,7,13.55,'qipqf',92,58.77,'nnbjh')

statement ok
INSERT INTO tab0 VALUES(5,0,63.44,'xkzbv',0,54.87,'rnelu')

statement ok
INSERT INTO tab0 VALUES(6,19,87.7,'oxzvu',74,71.16,'fvbll')

statement ok
INSERT INTO tab0 VALUES(7,8,46.92,'jzjfs',41,25.49,'vfykp')

statement ok
INSERT INTO tab0 VALUES(8,38,9.13,'bbilq',86,47.20,'nwnbu')

statement ok
INSERT INTO tab0 VALUES(9,78,71.16,'kjqff',20,94.78,'bfblo')

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 INDEX idx_tab2_1 ON tab2 (col3,col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1,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,col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1,col4)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4 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 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 <= 13.12

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 13.12
----

query I rowsort label-5025
SELECT pk FROM tab0 WHERE NOT (col1 <= 13.12)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab1 WHERE col1 <= 13.12

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 13.12
----

query I rowsort label-5025
SELECT pk FROM tab1 WHERE NOT (col1 <= 13.12)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab2 WHERE col1 <= 13.12

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 13.12
----

query I rowsort label-5025
SELECT pk FROM tab2 WHERE NOT (col1 <= 13.12)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab3 WHERE col1 <= 13.12

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 13.12
----

query I rowsort label-5025
SELECT pk FROM tab3 WHERE NOT (col1 <= 13.12)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab4 WHERE col1 <= 13.12

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 13.12
----

query I rowsort label-5025
SELECT pk FROM tab4 WHERE NOT (col1 <= 13.12)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab0 WHERE col0 > 63

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 63
----

query I rowsort label-5040
SELECT pk FROM tab0 WHERE NOT (col0 > 63)
----
2
4
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 > 63

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 63
----

query I rowsort label-5040
SELECT pk FROM tab1 WHERE NOT (col0 > 63)
----
2
4
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 > 63

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 63
----

query I rowsort label-5040
SELECT pk FROM tab2 WHERE NOT (col0 > 63)
----
2
4
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 > 63

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 63
----

query I rowsort label-5040
SELECT pk FROM tab3 WHERE NOT (col0 > 63)
----
2
4
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 > 63

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 63
----

query I rowsort label-5040
SELECT pk FROM tab4 WHERE NOT (col0 > 63)
----
2
4
5
6
7

statement ok
DELETE FROM tab0 WHERE col3 <= 18

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 18
----

query I rowsort label-5055
SELECT pk FROM tab0 WHERE NOT (col3 <= 18)
----
4
6
7

statement ok
DELETE FROM tab1 WHERE col3 <= 18

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 18
----

query I rowsort label-5055
SELECT pk FROM tab1 WHERE NOT (col3 <= 18)
----
4
6
7

statement ok
DELETE FROM tab2 WHERE col3 <= 18

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 18
----

query I rowsort label-5055
SELECT pk FROM tab2 WHERE NOT (col3 <= 18)
----
4
6
7

statement ok
DELETE FROM tab3 WHERE col3 <= 18

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 18
----

query I rowsort label-5055
SELECT pk FROM tab3 WHERE NOT (col3 <= 18)
----
4
6
7

statement ok
DELETE FROM tab4 WHERE col3 <= 18

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 18
----

query I rowsort label-5055
SELECT pk FROM tab4 WHERE NOT (col3 <= 18)
----
4
6
7

statement ok
DELETE FROM tab0 WHERE col1 = 89.85 AND col4 = 52.22

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 89.85 AND col4 = 52.22
----

query I rowsort label-5070
SELECT pk FROM tab0 WHERE NOT (col1 = 89.85 AND col4 = 52.22)
----
4
6
7

statement ok
DELETE FROM tab1 WHERE col1 = 89.85 AND col4 = 52.22

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 89.85 AND col4 = 52.22
----

query I rowsort label-5070
SELECT pk FROM tab1 WHERE NOT (col1 = 89.85 AND col4 = 52.22)
----
4
6
7

statement ok
DELETE FROM tab2 WHERE col1 = 89.85 AND col4 = 52.22

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 89.85 AND col4 = 52.22
----

query I rowsort label-5070
SELECT pk FROM tab2 WHERE NOT (col1 = 89.85 AND col4 = 52.22)
----
4
6
7

statement ok
DELETE FROM tab3 WHERE col1 = 89.85 AND col4 = 52.22

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 89.85 AND col4 = 52.22
----

query I rowsort label-5070
SELECT pk FROM tab3 WHERE NOT (col1 = 89.85 AND col4 = 52.22)
----
4
6
7

statement ok
DELETE FROM tab4 WHERE col1 = 89.85 AND col4 = 52.22

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 89.85 AND col4 = 52.22
----

query I rowsort label-5070
SELECT pk FROM tab4 WHERE NOT (col1 = 89.85 AND col4 = 52.22)
----
4
6
7

statement ok
DELETE FROM tab0 WHERE col0 < 30 OR col1 <= 42.25

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 30 OR col1 <= 42.25
----

query I rowsort label-5085
SELECT pk FROM tab0 WHERE NOT (col0 < 30 OR col1 <= 42.25)
----

statement ok
DELETE FROM tab1 WHERE col0 < 30 OR col1 <= 42.25

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 30 OR col1 <= 42.25
----

query I rowsort label-5085
SELECT pk FROM tab1 WHERE NOT (col0 < 30 OR col1 <= 42.25)
----

statement ok
DELETE FROM tab2 WHERE col0 < 30 OR col1 <= 42.25

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 30 OR col1 <= 42.25
----

query I rowsort label-5085
SELECT pk FROM tab2 WHERE NOT (col0 < 30 OR col1 <= 42.25)
----

statement ok
DELETE FROM tab3 WHERE col0 < 30 OR col1 <= 42.25

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 30 OR col1 <= 42.25
----

query I rowsort label-5085
SELECT pk FROM tab3 WHERE NOT (col0 < 30 OR col1 <= 42.25)
----

statement ok
DELETE FROM tab4 WHERE col0 < 30 OR col1 <= 42.25

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 30 OR col1 <= 42.25
----

query I rowsort label-5085
SELECT pk FROM tab4 WHERE NOT (col0 < 30 OR col1 <= 42.25)
----

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,48.66,'jvigy',55,50.28,'oytjx')

statement ok
INSERT INTO tab0 VALUES(1,71,70.24,'fsypo',56,83.8,'ineyg')

statement ok
INSERT INTO tab0 VALUES(2,72,71.31,'onyzf',41,94.8,'kzeyn')

statement ok
INSERT INTO tab0 VALUES(3,50,91.48,'yyvgd',16,71.53,'hxjuh')

statement ok
INSERT INTO tab0 VALUES(4,10,32.70,'tuoxr',57,88.12,'gsfqa')

statement ok
INSERT INTO tab0 VALUES(5,80,9.39,'zgeet',24,69.4,'ypmjr')

statement ok
INSERT INTO tab0 VALUES(6,29,17.58,'wxlfv',73,48.19,'aucwl')

statement ok
INSERT INTO tab0 VALUES(7,78,96.4,'jxmed',70,33.23,'srmce')

statement ok
INSERT INTO tab0 VALUES(8,14,87.37,'ychjs',0,67.75,'oukfi')

statement ok
INSERT INTO tab0 VALUES(9,1,2.17,'ccnhq',85,93.38,'yeoqe')

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_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 (col1,col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 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 INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1 DESC,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 > 98.73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 98.73
----

query I rowsort label-5100
SELECT pk FROM tab0 WHERE NOT (col1 > 98.73)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 > 98.73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 98.73
----

query I rowsort label-5100
SELECT pk FROM tab1 WHERE NOT (col1 > 98.73)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 > 98.73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 98.73
----

query I rowsort label-5100
SELECT pk FROM tab2 WHERE NOT (col1 > 98.73)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 > 98.73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 98.73
----

query I rowsort label-5100
SELECT pk FROM tab3 WHERE NOT (col1 > 98.73)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 > 98.73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 98.73
----

query I rowsort label-5100
SELECT pk FROM tab4 WHERE NOT (col1 > 98.73)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 > 12.15

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 12.15
----

query I rowsort label-5115
SELECT pk FROM tab0 WHERE NOT (col4 > 12.15)
----

statement ok
DELETE FROM tab1 WHERE col4 > 12.15

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 12.15
----

query I rowsort label-5115
SELECT pk FROM tab1 WHERE NOT (col4 > 12.15)
----

statement ok
DELETE FROM tab2 WHERE col4 > 12.15

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 12.15
----

query I rowsort label-5115
SELECT pk FROM tab2 WHERE NOT (col4 > 12.15)
----

statement ok
DELETE FROM tab3 WHERE col4 > 12.15

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 12.15
----

query I rowsort label-5115
SELECT pk FROM tab3 WHERE NOT (col4 > 12.15)
----

statement ok
DELETE FROM tab4 WHERE col4 > 12.15

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 12.15
----

query I rowsort label-5115
SELECT pk FROM tab4 WHERE NOT (col4 > 12.15)
----

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,41.32,'nrdhk',93,62.37,'jdtpn')

statement ok
INSERT INTO tab0 VALUES(1,78,94.6,'lynyh',92,53.17,'tfofd')

statement ok
INSERT INTO tab0 VALUES(2,87,71.7,'dtnxh',72,71.60,'nbvih')

statement ok
INSERT INTO tab0 VALUES(3,88,43.61,'otbhm',40,48.6,'esots')

statement ok
INSERT INTO tab0 VALUES(4,95,21.77,'haxsc',44,90.84,'qewba')

statement ok
INSERT INTO tab0 VALUES(5,22,16.59,'ygfrd',91,33.24,'umqon')

statement ok
INSERT INTO tab0 VALUES(6,93,7.16,'aqejb',54,8.72,'bwcnu')

statement ok
INSERT INTO tab0 VALUES(7,60,95.81,'jhrbm',88,7.97,'calfg')

statement ok
INSERT INTO tab0 VALUES(8,8,74.14,'wcydo',41,39.7,'nymbv')

statement ok
INSERT INTO tab0 VALUES(9,75,89.24,'dcaev',63,99.61,'hhgvp')

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)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1 DESC)

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 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 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 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 < 72.57

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 72.57
----

query I rowsort label-5130
SELECT pk FROM tab0 WHERE NOT (col1 < 72.57)
----
1
7
8
9

statement ok
DELETE FROM tab1 WHERE col1 < 72.57

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 72.57
----

query I rowsort label-5130
SELECT pk FROM tab1 WHERE NOT (col1 < 72.57)
----
1
7
8
9

statement ok
DELETE FROM tab2 WHERE col1 < 72.57

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 72.57
----

query I rowsort label-5130
SELECT pk FROM tab2 WHERE NOT (col1 < 72.57)
----
1
7
8
9

statement ok
DELETE FROM tab3 WHERE col1 < 72.57

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 72.57
----

query I rowsort label-5130
SELECT pk FROM tab3 WHERE NOT (col1 < 72.57)
----
1
7
8
9

statement ok
DELETE FROM tab4 WHERE col1 < 72.57

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 72.57
----

query I rowsort label-5130
SELECT pk FROM tab4 WHERE NOT (col1 < 72.57)
----
1
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-5145
SELECT pk FROM tab0 WHERE NOT (col3 = 38)
----
1
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 = 38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 38
----

query I rowsort label-5145
SELECT pk FROM tab1 WHERE NOT (col3 = 38)
----
1
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 = 38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 38
----

query I rowsort label-5145
SELECT pk FROM tab2 WHERE NOT (col3 = 38)
----
1
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 = 38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 38
----

query I rowsort label-5145
SELECT pk FROM tab3 WHERE NOT (col3 = 38)
----
1
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 = 38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 38
----

query I rowsort label-5145
SELECT pk FROM tab4 WHERE NOT (col3 = 38)
----
1
7
8
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-5160
SELECT pk FROM tab0 WHERE NOT (col0 = 3)
----
1
7
8
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-5160
SELECT pk FROM tab1 WHERE NOT (col0 = 3)
----
1
7
8
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-5160
SELECT pk FROM tab2 WHERE NOT (col0 = 3)
----
1
7
8
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-5160
SELECT pk FROM tab3 WHERE NOT (col0 = 3)
----
1
7
8
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-5160
SELECT pk FROM tab4 WHERE NOT (col0 = 3)
----
1
7
8
9

statement ok
DELETE FROM tab0 WHERE (col3 < 71)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 71)
----

query I rowsort label-5175
SELECT pk FROM tab0 WHERE NOT ((col3 < 71))
----
1
7

statement ok
DELETE FROM tab1 WHERE (col3 < 71)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 71)
----

query I rowsort label-5175
SELECT pk FROM tab1 WHERE NOT ((col3 < 71))
----
1
7

statement ok
DELETE FROM tab2 WHERE (col3 < 71)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 71)
----

query I rowsort label-5175
SELECT pk FROM tab2 WHERE NOT ((col3 < 71))
----
1
7

statement ok
DELETE FROM tab3 WHERE (col3 < 71)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 71)
----

query I rowsort label-5175
SELECT pk FROM tab3 WHERE NOT ((col3 < 71))
----
1
7

statement ok
DELETE FROM tab4 WHERE (col3 < 71)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 71)
----

query I rowsort label-5175
SELECT pk FROM tab4 WHERE NOT ((col3 < 71))
----
1
7

statement ok
DELETE FROM tab0 WHERE col0 < 8 AND col4 >= 3.72

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 8 AND col4 >= 3.72
----

query I rowsort label-5190
SELECT pk FROM tab0 WHERE NOT (col0 < 8 AND col4 >= 3.72)
----
1
7

statement ok
DELETE FROM tab1 WHERE col0 < 8 AND col4 >= 3.72

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 8 AND col4 >= 3.72
----

query I rowsort label-5190
SELECT pk FROM tab1 WHERE NOT (col0 < 8 AND col4 >= 3.72)
----
1
7

statement ok
DELETE FROM tab2 WHERE col0 < 8 AND col4 >= 3.72

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 8 AND col4 >= 3.72
----

query I rowsort label-5190
SELECT pk FROM tab2 WHERE NOT (col0 < 8 AND col4 >= 3.72)
----
1
7

statement ok
DELETE FROM tab3 WHERE col0 < 8 AND col4 >= 3.72

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 8 AND col4 >= 3.72
----

query I rowsort label-5190
SELECT pk FROM tab3 WHERE NOT (col0 < 8 AND col4 >= 3.72)
----
1
7

statement ok
DELETE FROM tab4 WHERE col0 < 8 AND col4 >= 3.72

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 8 AND col4 >= 3.72
----

query I rowsort label-5190
SELECT pk FROM tab4 WHERE NOT (col0 < 8 AND col4 >= 3.72)
----
1
7

statement ok
DELETE FROM tab0 WHERE col3 = 98

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 98
----

query I rowsort label-5205
SELECT pk FROM tab0 WHERE NOT (col3 = 98)
----
1
7

statement ok
DELETE FROM tab1 WHERE col3 = 98

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 98
----

query I rowsort label-5205
SELECT pk FROM tab1 WHERE NOT (col3 = 98)
----
1
7

statement ok
DELETE FROM tab2 WHERE col3 = 98

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 98
----

query I rowsort label-5205
SELECT pk FROM tab2 WHERE NOT (col3 = 98)
----
1
7

statement ok
DELETE FROM tab3 WHERE col3 = 98

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 98
----

query I rowsort label-5205
SELECT pk FROM tab3 WHERE NOT (col3 = 98)
----
1
7

statement ok
DELETE FROM tab4 WHERE col3 = 98

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 98
----

query I rowsort label-5205
SELECT pk FROM tab4 WHERE NOT (col3 = 98)
----
1
7

statement ok
DELETE FROM tab0 WHERE (col0 > 51)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 51)
----

query I rowsort label-5220
SELECT pk FROM tab0 WHERE NOT ((col0 > 51))
----

statement ok
DELETE FROM tab1 WHERE (col0 > 51)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 51)
----

query I rowsort label-5220
SELECT pk FROM tab1 WHERE NOT ((col0 > 51))
----

statement ok
DELETE FROM tab2 WHERE (col0 > 51)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 51)
----

query I rowsort label-5220
SELECT pk FROM tab2 WHERE NOT ((col0 > 51))
----

statement ok
DELETE FROM tab3 WHERE (col0 > 51)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 51)
----

query I rowsort label-5220
SELECT pk FROM tab3 WHERE NOT ((col0 > 51))
----

statement ok
DELETE FROM tab4 WHERE (col0 > 51)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 51)
----

query I rowsort label-5220
SELECT pk FROM tab4 WHERE NOT ((col0 > 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,39,19.62,'wuksp',65,88.62,'dzzoz')

statement ok
INSERT INTO tab0 VALUES(1,44,69.23,'eaynu',89,1.11,'raxni')

statement ok
INSERT INTO tab0 VALUES(2,63,74.98,'hppkl',6,68.42,'cyutw')

statement ok
INSERT INTO tab0 VALUES(3,66,55.95,'pknya',41,62.7,'lraim')

statement ok
INSERT INTO tab0 VALUES(4,41,94.53,'rwiqd',59,23.69,'nwldv')

statement ok
INSERT INTO tab0 VALUES(5,52,40.0,'gpcos',37,65.62,'ysjki')

statement ok
INSERT INTO tab0 VALUES(6,0,25.16,'pbnzc',19,91.55,'hnvio')

statement ok
INSERT INTO tab0 VALUES(7,92,77.1,'kayaf',86,4.16,'eirsc')

statement ok
INSERT INTO tab0 VALUES(8,95,28.29,'ckqer',11,24.70,'onosu')

statement ok
INSERT INTO tab0 VALUES(9,6,34.17,'utwzv',27,90.64,'pliiw')

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 (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 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 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 (col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64
----

query I rowsort label-5235
SELECT pk FROM tab0 WHERE NOT ((col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64
----

query I rowsort label-5235
SELECT pk FROM tab1 WHERE NOT ((col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64
----

query I rowsort label-5235
SELECT pk FROM tab2 WHERE NOT ((col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64
----

query I rowsort label-5235
SELECT pk FROM tab3 WHERE NOT ((col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64
----

query I rowsort label-5235
SELECT pk FROM tab4 WHERE NOT ((col3 IS NULL) OR ((col0 BETWEEN 48 AND 63) AND col3 IN (79,76,5,17) AND col3 < 32 OR col4 > 29.21 OR col3 <= 79) AND (col3 < 24 OR ((col0 IS NULL AND ((col3 IN (26,94,13)))))) AND col3 > 64)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54)
----

query I rowsort label-5250
SELECT pk FROM tab0 WHERE NOT (col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54))
----
2
3
7
8

statement ok
DELETE FROM tab1 WHERE col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54)
----

query I rowsort label-5250
SELECT pk FROM tab1 WHERE NOT (col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54))
----
2
3
7
8

statement ok
DELETE FROM tab2 WHERE col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54)
----

query I rowsort label-5250
SELECT pk FROM tab2 WHERE NOT (col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54))
----
2
3
7
8

statement ok
DELETE FROM tab3 WHERE col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54)
----

query I rowsort label-5250
SELECT pk FROM tab3 WHERE NOT (col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54))
----
2
3
7
8

statement ok
DELETE FROM tab4 WHERE col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54)
----

query I rowsort label-5250
SELECT pk FROM tab4 WHERE NOT (col0 <= 61 OR (col4 = 13.18) OR col0 < 52 AND (col4 >= 99.29 AND col4 < 85.54))
----
2
3
7
8

statement ok
DELETE FROM tab0 WHERE (col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1))
----

query I rowsort label-5265
SELECT pk FROM tab0 WHERE NOT ((col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1)))
----
7
8

statement ok
DELETE FROM tab1 WHERE (col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1))
----

query I rowsort label-5265
SELECT pk FROM tab1 WHERE NOT ((col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1)))
----
7
8

statement ok
DELETE FROM tab2 WHERE (col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1))
----

query I rowsort label-5265
SELECT pk FROM tab2 WHERE NOT ((col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1)))
----
7
8

statement ok
DELETE FROM tab3 WHERE (col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1))
----

query I rowsort label-5265
SELECT pk FROM tab3 WHERE NOT ((col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1)))
----
7
8

statement ok
DELETE FROM tab4 WHERE (col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1))
----

query I rowsort label-5265
SELECT pk FROM tab4 WHERE NOT ((col3 >= 63 OR col0 > 31) AND ((col4 BETWEEN 33.69 AND 90.1)))
----
7
8

statement ok
DELETE FROM tab0 WHERE (col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83)
----

query I rowsort label-5280
SELECT pk FROM tab0 WHERE NOT ((col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83))
----
8

statement ok
DELETE FROM tab1 WHERE (col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83)
----

query I rowsort label-5280
SELECT pk FROM tab1 WHERE NOT ((col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83))
----
8

statement ok
DELETE FROM tab2 WHERE (col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83)
----

query I rowsort label-5280
SELECT pk FROM tab2 WHERE NOT ((col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83))
----
8

statement ok
DELETE FROM tab3 WHERE (col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83)
----

query I rowsort label-5280
SELECT pk FROM tab3 WHERE NOT ((col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83))
----
8

statement ok
DELETE FROM tab4 WHERE (col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83)
----

query I rowsort label-5280
SELECT pk FROM tab4 WHERE NOT ((col3 = 55 AND (col0 <= 18 AND col4 > 7.13 OR (((col3 IS NULL AND (col4 < 5.86) OR col4 = 15.27 AND col3 > 71)) AND col0 > 53) AND col4 > 85.9 OR ((col0 < 54)) OR col1 IN (12.94,6.2,65.0,74.96,9.60,97.56) OR col3 IS NULL AND col4 >= 16.14 AND col0 < 46 AND col1 <= 64.2 AND (col3 > 20))) OR (col3 > 83))
----
8

statement ok
DELETE FROM tab0 WHERE (col3 = 81)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 81)
----

query I rowsort label-5295
SELECT pk FROM tab0 WHERE NOT ((col3 = 81))
----
8

statement ok
DELETE FROM tab1 WHERE (col3 = 81)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 81)
----

query I rowsort label-5295
SELECT pk FROM tab1 WHERE NOT ((col3 = 81))
----
8

statement ok
DELETE FROM tab2 WHERE (col3 = 81)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 81)
----

query I rowsort label-5295
SELECT pk FROM tab2 WHERE NOT ((col3 = 81))
----
8

statement ok
DELETE FROM tab3 WHERE (col3 = 81)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 81)
----

query I rowsort label-5295
SELECT pk FROM tab3 WHERE NOT ((col3 = 81))
----
8

statement ok
DELETE FROM tab4 WHERE (col3 = 81)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 81)
----

query I rowsort label-5295
SELECT pk FROM tab4 WHERE NOT ((col3 = 81))
----
8

statement ok
DELETE FROM tab0 WHERE col3 < 20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 20
----

query I rowsort label-5310
SELECT pk FROM tab0 WHERE NOT (col3 < 20)
----

statement ok
DELETE FROM tab1 WHERE col3 < 20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 20
----

query I rowsort label-5310
SELECT pk FROM tab1 WHERE NOT (col3 < 20)
----

statement ok
DELETE FROM tab2 WHERE col3 < 20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 20
----

query I rowsort label-5310
SELECT pk FROM tab2 WHERE NOT (col3 < 20)
----

statement ok
DELETE FROM tab3 WHERE col3 < 20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 20
----

query I rowsort label-5310
SELECT pk FROM tab3 WHERE NOT (col3 < 20)
----

statement ok
DELETE FROM tab4 WHERE col3 < 20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 20
----

query I rowsort label-5310
SELECT pk FROM tab4 WHERE NOT (col3 < 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,15,39.47,'ddypm',70,29.4,'wzkfj')

statement ok
INSERT INTO tab0 VALUES(1,43,26.68,'cemuw',33,23.96,'fokfg')

statement ok
INSERT INTO tab0 VALUES(2,35,37.27,'erxpo',50,78.89,'mfspa')

statement ok
INSERT INTO tab0 VALUES(3,10,76.11,'qdoiv',15,74.50,'oiddq')

statement ok
INSERT INTO tab0 VALUES(4,80,77.28,'duems',97,73.91,'ysncs')

statement ok
INSERT INTO tab0 VALUES(5,9,10.65,'byvfc',98,35.38,'veqta')

statement ok
INSERT INTO tab0 VALUES(6,78,1.49,'jugzz',16,30.89,'edhye')

statement ok
INSERT INTO tab0 VALUES(7,44,40.16,'zwthj',9,43.79,'uhrxf')

statement ok
INSERT INTO tab0 VALUES(8,8,93.65,'uwncp',60,1.41,'qdfph')

statement ok
INSERT INTO tab0 VALUES(9,73,19.28,'tersj',34,75.70,'uuzre')

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 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 INDEX idx_tab3_0 ON tab3 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC,col1,col4 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0)

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 (col4 DESC,col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14))))))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14))))))))))
----

query I rowsort label-5325
SELECT pk FROM tab0 WHERE NOT (((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14)))))))))))
----
8

statement ok
DELETE FROM tab1 WHERE ((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14))))))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14))))))))))
----

query I rowsort label-5325
SELECT pk FROM tab1 WHERE NOT (((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14)))))))))))
----
8

statement ok
DELETE FROM tab2 WHERE ((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14))))))))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14))))))))))
----

query I rowsort label-5325
SELECT pk FROM tab2 WHERE NOT (((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14)))))))))))
----
8

statement ok
DELETE FROM tab3 WHERE ((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14))))))))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14))))))))))
----

query I rowsort label-5325
SELECT pk FROM tab3 WHERE NOT (((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14)))))))))))
----
8

statement ok
DELETE FROM tab4 WHERE ((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14))))))))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14))))))))))
----

query I rowsort label-5325
SELECT pk FROM tab4 WHERE NOT (((col3 > 17 OR (col0 <= 59)) AND col3 IN (31) OR (col3 <= 1 OR col0 IS NULL AND ((col3 >= 20)) OR col0 <= 89 AND (col3 >= 76 AND col0 >= 31 AND (((col1 > 48.55 OR col4 IN (33.63)))) AND (col3 < 22) AND col3 < 18 OR col0 >= 45 OR ((col4 > 29.30) AND col0 <= 48) OR col4 BETWEEN 68.34 AND 56.65 AND ((((col3 < 63) AND col1 > 53.78 AND col3 <= 23 AND col1 >= 81.6 OR col0 <= 94 OR (col4 < 17.38) OR col0 < 87 OR col3 < 40 AND col0 > 43 AND col0 IS NULL AND col3 < 64))) AND ((col0 <= 23 OR col3 > 65 AND col0 >= 52 AND col1 < 47.60)) OR ((col0 > 20 AND ((((col1 > 28.53 OR (col0 > 14)))))))))))
----
8

statement ok
DELETE FROM tab0 WHERE (col3 <= 55)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 55)
----

query I rowsort label-5340
SELECT pk FROM tab0 WHERE NOT ((col3 <= 55))
----
8

statement ok
DELETE FROM tab1 WHERE (col3 <= 55)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 55)
----

query I rowsort label-5340
SELECT pk FROM tab1 WHERE NOT ((col3 <= 55))
----
8

statement ok
DELETE FROM tab2 WHERE (col3 <= 55)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 55)
----

query I rowsort label-5340
SELECT pk FROM tab2 WHERE NOT ((col3 <= 55))
----
8

statement ok
DELETE FROM tab3 WHERE (col3 <= 55)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 55)
----

query I rowsort label-5340
SELECT pk FROM tab3 WHERE NOT ((col3 <= 55))
----
8

statement ok
DELETE FROM tab4 WHERE (col3 <= 55)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 55)
----

query I rowsort label-5340
SELECT pk FROM tab4 WHERE NOT ((col3 <= 55))
----
8

statement ok
DELETE FROM tab0 WHERE col3 < 7

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 7
----

query I rowsort label-5355
SELECT pk FROM tab0 WHERE NOT (col3 < 7)
----
8

statement ok
DELETE FROM tab1 WHERE col3 < 7

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 7
----

query I rowsort label-5355
SELECT pk FROM tab1 WHERE NOT (col3 < 7)
----
8

statement ok
DELETE FROM tab2 WHERE col3 < 7

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 7
----

query I rowsort label-5355
SELECT pk FROM tab2 WHERE NOT (col3 < 7)
----
8

statement ok
DELETE FROM tab3 WHERE col3 < 7

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 7
----

query I rowsort label-5355
SELECT pk FROM tab3 WHERE NOT (col3 < 7)
----
8

statement ok
DELETE FROM tab4 WHERE col3 < 7

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 7
----

query I rowsort label-5355
SELECT pk FROM tab4 WHERE NOT (col3 < 7)
----
8

statement ok
DELETE FROM tab0 WHERE ((col3 > 47) OR (col0 < 70))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 47) OR (col0 < 70))
----

query I rowsort label-5370
SELECT pk FROM tab0 WHERE NOT (((col3 > 47) OR (col0 < 70)))
----

statement ok
DELETE FROM tab1 WHERE ((col3 > 47) OR (col0 < 70))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 47) OR (col0 < 70))
----

query I rowsort label-5370
SELECT pk FROM tab1 WHERE NOT (((col3 > 47) OR (col0 < 70)))
----

statement ok
DELETE FROM tab2 WHERE ((col3 > 47) OR (col0 < 70))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 47) OR (col0 < 70))
----

query I rowsort label-5370
SELECT pk FROM tab2 WHERE NOT (((col3 > 47) OR (col0 < 70)))
----

statement ok
DELETE FROM tab3 WHERE ((col3 > 47) OR (col0 < 70))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 47) OR (col0 < 70))
----

query I rowsort label-5370
SELECT pk FROM tab3 WHERE NOT (((col3 > 47) OR (col0 < 70)))
----

statement ok
DELETE FROM tab4 WHERE ((col3 > 47) OR (col0 < 70))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 47) OR (col0 < 70))
----

query I rowsort label-5370
SELECT pk FROM tab4 WHERE NOT (((col3 > 47) OR (col0 < 70)))
----

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,50.0,'ozaxi',67,1.96,'dewhe')

statement ok
INSERT INTO tab0 VALUES(1,88,43.99,'qgqll',84,52.37,'tvxru')

statement ok
INSERT INTO tab0 VALUES(2,77,63.15,'wrpnj',23,8.12,'kohed')

statement ok
INSERT INTO tab0 VALUES(3,89,13.90,'jsbja',26,57.9,'wvryn')

statement ok
INSERT INTO tab0 VALUES(4,63,95.69,'dzvud',15,43.47,'awsxc')

statement ok
INSERT INTO tab0 VALUES(5,98,24.62,'jxioe',59,79.42,'urilu')

statement ok
INSERT INTO tab0 VALUES(6,21,39.6,'ihsdt',33,59.65,'khuts')

statement ok
INSERT INTO tab0 VALUES(7,43,16.26,'sachj',78,69.12,'luttb')

statement ok
INSERT INTO tab0 VALUES(8,30,80.98,'oppsz',69,2.57,'boppi')

statement ok
INSERT INTO tab0 VALUES(9,56,18.15,'nulqs',75,65.24,'ydhhl')

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 (col1,col3 DESC,col4 DESC)

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 INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0 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 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 < 56.99

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 56.99
----

query I rowsort label-5385
SELECT pk FROM tab0 WHERE NOT (col4 < 56.99)
----
3
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col4 < 56.99

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 56.99
----

query I rowsort label-5385
SELECT pk FROM tab1 WHERE NOT (col4 < 56.99)
----
3
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col4 < 56.99

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 56.99
----

query I rowsort label-5385
SELECT pk FROM tab2 WHERE NOT (col4 < 56.99)
----
3
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col4 < 56.99

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 56.99
----

query I rowsort label-5385
SELECT pk FROM tab3 WHERE NOT (col4 < 56.99)
----
3
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col4 < 56.99

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 56.99
----

query I rowsort label-5385
SELECT pk FROM tab4 WHERE NOT (col4 < 56.99)
----
3
5
6
7
9

statement ok
DELETE FROM tab0 WHERE (col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57)))
----

query I rowsort label-5400
SELECT pk FROM tab0 WHERE NOT ((col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57))))
----

statement ok
DELETE FROM tab1 WHERE (col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57)))
----

query I rowsort label-5400
SELECT pk FROM tab1 WHERE NOT ((col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57))))
----

statement ok
DELETE FROM tab2 WHERE (col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57)))
----

query I rowsort label-5400
SELECT pk FROM tab2 WHERE NOT ((col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57))))
----

statement ok
DELETE FROM tab3 WHERE (col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57)))
----

query I rowsort label-5400
SELECT pk FROM tab3 WHERE NOT ((col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57))))
----

statement ok
DELETE FROM tab4 WHERE (col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 57)))
----

query I rowsort label-5400
SELECT pk FROM tab4 WHERE NOT ((col3 > 14) OR col3 <= 48 OR (col0 < 11) AND col4 <= 48.23 AND (col3 IS NULL) OR col1 IS NULL AND ((col1 > 0.91 AND col0 >= 94 OR (col3 >= 22 OR col3 < 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,76,87.23,'gbhmf',82,56.37,'unkhh')

statement ok
INSERT INTO tab0 VALUES(1,42,2.65,'vnzzf',65,36.54,'haytq')

statement ok
INSERT INTO tab0 VALUES(2,82,67.80,'algpl',69,32.40,'qtyow')

statement ok
INSERT INTO tab0 VALUES(3,28,44.24,'wddwm',43,47.31,'ngygs')

statement ok
INSERT INTO tab0 VALUES(4,78,90.66,'cdchc',62,9.82,'cubhz')

statement ok
INSERT INTO tab0 VALUES(5,12,21.0,'rhqlz',38,35.81,'mprgc')

statement ok
INSERT INTO tab0 VALUES(6,1,71.61,'jyuzi',33,95.59,'mxfbx')

statement ok
INSERT INTO tab0 VALUES(7,25,61.33,'kzwyl',70,73.8,'gaoud')

statement ok
INSERT INTO tab0 VALUES(8,79,54.63,'eabrj',46,29.85,'trueb')

statement ok
INSERT INTO tab0 VALUES(9,89,22.76,'roadn',45,63.32,'mwtme')

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_1 ON tab2 (col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3,col1 DESC)

statement ok
CREATE UNIQUE 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 UNIQUE INDEX idx_tab3_1 ON tab3 (col4,col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3,col4 DESC)

statement ok
CREATE 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col4,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4 DESC,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 > 14.29

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 14.29
----

query I rowsort label-5415
SELECT pk FROM tab0 WHERE NOT (col1 > 14.29)
----
1

statement ok
DELETE FROM tab1 WHERE col1 > 14.29

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 14.29
----

query I rowsort label-5415
SELECT pk FROM tab1 WHERE NOT (col1 > 14.29)
----
1

statement ok
DELETE FROM tab2 WHERE col1 > 14.29

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 14.29
----

query I rowsort label-5415
SELECT pk FROM tab2 WHERE NOT (col1 > 14.29)
----
1

statement ok
DELETE FROM tab3 WHERE col1 > 14.29

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 14.29
----

query I rowsort label-5415
SELECT pk FROM tab3 WHERE NOT (col1 > 14.29)
----
1

statement ok
DELETE FROM tab4 WHERE col1 > 14.29

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 14.29
----

query I rowsort label-5415
SELECT pk FROM tab4 WHERE NOT (col1 > 14.29)
----
1

statement ok
DELETE FROM tab0 WHERE ((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26))
----

query I rowsort label-5430
SELECT pk FROM tab0 WHERE NOT (((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26)))
----

statement ok
DELETE FROM tab1 WHERE ((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26))
----

query I rowsort label-5430
SELECT pk FROM tab1 WHERE NOT (((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26)))
----

statement ok
DELETE FROM tab2 WHERE ((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26))
----

query I rowsort label-5430
SELECT pk FROM tab2 WHERE NOT (((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26)))
----

statement ok
DELETE FROM tab3 WHERE ((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26))
----

query I rowsort label-5430
SELECT pk FROM tab3 WHERE NOT (((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26)))
----

statement ok
DELETE FROM tab4 WHERE ((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 26))
----

query I rowsort label-5430
SELECT pk FROM tab4 WHERE NOT (((col3 > 94 AND col3 >= 45 OR col1 > 23.65 OR ((col3 > 6 OR (col0 <= 2 AND col4 IS NULL))) AND col0 >= 8 AND (col0 > 12) OR col4 IS NULL)) OR (col3 IS NULL OR col4 > 90.56 AND (col3 < 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,81,47.82,'obufs',64,70.20,'imndl')

statement ok
INSERT INTO tab0 VALUES(1,1,20.83,'jzxep',29,71.89,'xwddl')

statement ok
INSERT INTO tab0 VALUES(2,41,88.80,'jovxy',60,25.66,'mbhac')

statement ok
INSERT INTO tab0 VALUES(3,68,8.42,'gfelx',7,47.61,'nkbjx')

statement ok
INSERT INTO tab0 VALUES(4,39,58.75,'syfah',66,96.31,'bfmzt')

statement ok
INSERT INTO tab0 VALUES(5,18,99.37,'rgkbx',96,48.88,'paezj')

statement ok
INSERT INTO tab0 VALUES(6,87,38.50,'iibmj',31,57.15,'invcc')

statement ok
INSERT INTO tab0 VALUES(7,60,89.11,'ohbsq',92,13.78,'exann')

statement ok
INSERT INTO tab0 VALUES(8,92,35.6,'nehvt',97,11.35,'bvtgy')

statement ok
INSERT INTO tab0 VALUES(9,96,97.21,'lbmti',79,9.55,'uradd')

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)

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 UNIQUE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL
----

query I rowsort label-5445
SELECT pk FROM tab0 WHERE NOT (((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL)
----

statement ok
DELETE FROM tab1 WHERE ((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL
----

query I rowsort label-5445
SELECT pk FROM tab1 WHERE NOT (((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL)
----

statement ok
DELETE FROM tab2 WHERE ((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL
----

query I rowsort label-5445
SELECT pk FROM tab2 WHERE NOT (((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL)
----

statement ok
DELETE FROM tab3 WHERE ((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL
----

query I rowsort label-5445
SELECT pk FROM tab3 WHERE NOT (((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL)
----

statement ok
DELETE FROM tab4 WHERE ((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND col3 IS NULL
----

query I rowsort label-5445
SELECT pk FROM tab4 WHERE NOT (((col3 < 76)) OR col4 > 14.58 OR col3 > 25 AND ((col1 IN (11.50,57.7,66.28,70.83,47.54,9.64) OR col3 > 49)) OR col0 < 29 AND 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,87,86.69,'nltgp',27,54.47,'ggois')

statement ok
INSERT INTO tab0 VALUES(1,25,96.30,'hnacm',94,26.0,'fgbxr')

statement ok
INSERT INTO tab0 VALUES(2,34,64.43,'eppnn',23,60.60,'nthqc')

statement ok
INSERT INTO tab0 VALUES(3,68,37.55,'cenye',24,39.76,'aqjxs')

statement ok
INSERT INTO tab0 VALUES(4,67,95.23,'psyew',46,2.16,'zftmx')

statement ok
INSERT INTO tab0 VALUES(5,76,7.27,'osymk',7,15.76,'ukdtk')

statement ok
INSERT INTO tab0 VALUES(6,54,99.82,'vvzvu',88,29.92,'pxatt')

statement ok
INSERT INTO tab0 VALUES(7,88,12.52,'tcqzp',58,43.57,'zifjd')

statement ok
INSERT INTO tab0 VALUES(8,6,70.58,'zwelw',81,69.29,'jfnlv')

statement ok
INSERT INTO tab0 VALUES(9,85,36.99,'veewp',30,90.46,'afnww')

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_4 ON tab2 (col1 DESC)

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_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE 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,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC,col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 > 83.83

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 83.83
----

query I rowsort label-5460
SELECT pk FROM tab0 WHERE NOT (col4 > 83.83)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab1 WHERE col4 > 83.83

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 83.83
----

query I rowsort label-5460
SELECT pk FROM tab1 WHERE NOT (col4 > 83.83)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab2 WHERE col4 > 83.83

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 83.83
----

query I rowsort label-5460
SELECT pk FROM tab2 WHERE NOT (col4 > 83.83)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab3 WHERE col4 > 83.83

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 83.83
----

query I rowsort label-5460
SELECT pk FROM tab3 WHERE NOT (col4 > 83.83)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab4 WHERE col4 > 83.83

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 83.83
----

query I rowsort label-5460
SELECT pk FROM tab4 WHERE NOT (col4 > 83.83)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab0 WHERE col4 < 23.33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 23.33
----

query I rowsort label-5475
SELECT pk FROM tab0 WHERE NOT (col4 < 23.33)
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab1 WHERE col4 < 23.33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 23.33
----

query I rowsort label-5475
SELECT pk FROM tab1 WHERE NOT (col4 < 23.33)
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab2 WHERE col4 < 23.33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 23.33
----

query I rowsort label-5475
SELECT pk FROM tab2 WHERE NOT (col4 < 23.33)
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab3 WHERE col4 < 23.33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 23.33
----

query I rowsort label-5475
SELECT pk FROM tab3 WHERE NOT (col4 < 23.33)
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab4 WHERE col4 < 23.33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 23.33
----

query I rowsort label-5475
SELECT pk FROM tab4 WHERE NOT (col4 < 23.33)
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab0 WHERE (col0 <= 69)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 69)
----

query I rowsort label-5490
SELECT pk FROM tab0 WHERE NOT ((col0 <= 69))
----
0
7

statement ok
DELETE FROM tab1 WHERE (col0 <= 69)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 69)
----

query I rowsort label-5490
SELECT pk FROM tab1 WHERE NOT ((col0 <= 69))
----
0
7

statement ok
DELETE FROM tab2 WHERE (col0 <= 69)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 69)
----

query I rowsort label-5490
SELECT pk FROM tab2 WHERE NOT ((col0 <= 69))
----
0
7

statement ok
DELETE FROM tab3 WHERE (col0 <= 69)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 69)
----

query I rowsort label-5490
SELECT pk FROM tab3 WHERE NOT ((col0 <= 69))
----
0
7

statement ok
DELETE FROM tab4 WHERE (col0 <= 69)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 69)
----

query I rowsort label-5490
SELECT pk FROM tab4 WHERE NOT ((col0 <= 69))
----
0
7

statement ok
DELETE FROM tab0 WHERE (col3 > 52 OR col3 >= 88)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 52 OR col3 >= 88)
----

query I rowsort label-5505
SELECT pk FROM tab0 WHERE NOT ((col3 > 52 OR col3 >= 88))
----
0

statement ok
DELETE FROM tab1 WHERE (col3 > 52 OR col3 >= 88)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 52 OR col3 >= 88)
----

query I rowsort label-5505
SELECT pk FROM tab1 WHERE NOT ((col3 > 52 OR col3 >= 88))
----
0

statement ok
DELETE FROM tab2 WHERE (col3 > 52 OR col3 >= 88)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 52 OR col3 >= 88)
----

query I rowsort label-5505
SELECT pk FROM tab2 WHERE NOT ((col3 > 52 OR col3 >= 88))
----
0

statement ok
DELETE FROM tab3 WHERE (col3 > 52 OR col3 >= 88)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 52 OR col3 >= 88)
----

query I rowsort label-5505
SELECT pk FROM tab3 WHERE NOT ((col3 > 52 OR col3 >= 88))
----
0

statement ok
DELETE FROM tab4 WHERE (col3 > 52 OR col3 >= 88)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 52 OR col3 >= 88)
----

query I rowsort label-5505
SELECT pk FROM tab4 WHERE NOT ((col3 > 52 OR col3 >= 88))
----
0

statement ok
DELETE FROM tab0 WHERE col3 < 44

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 44
----

query I rowsort label-5520
SELECT pk FROM tab0 WHERE NOT (col3 < 44)
----

statement ok
DELETE FROM tab1 WHERE col3 < 44

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 44
----

query I rowsort label-5520
SELECT pk FROM tab1 WHERE NOT (col3 < 44)
----

statement ok
DELETE FROM tab2 WHERE col3 < 44

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 44
----

query I rowsort label-5520
SELECT pk FROM tab2 WHERE NOT (col3 < 44)
----

statement ok
DELETE FROM tab3 WHERE col3 < 44

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 44
----

query I rowsort label-5520
SELECT pk FROM tab3 WHERE NOT (col3 < 44)
----

statement ok
DELETE FROM tab4 WHERE col3 < 44

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 44
----

query I rowsort label-5520
SELECT pk FROM tab4 WHERE NOT (col3 < 44)
----

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,2.33,'kkufp',39,86.70,'furpf')

statement ok
INSERT INTO tab0 VALUES(1,92,39.60,'bcisg',38,22.64,'exjrw')

statement ok
INSERT INTO tab0 VALUES(2,73,8.55,'jjgfp',46,32.88,'gdrid')

statement ok
INSERT INTO tab0 VALUES(3,20,96.78,'qsigs',51,39.97,'xrpke')

statement ok
INSERT INTO tab0 VALUES(4,77,66.74,'tcikr',17,46.13,'sgdmw')

statement ok
INSERT INTO tab0 VALUES(5,91,65.27,'hhdsx',43,48.77,'nzoov')

statement ok
INSERT INTO tab0 VALUES(6,79,40.30,'otwnz',24,44.23,'ntmsp')

statement ok
INSERT INTO tab0 VALUES(7,84,42.46,'ybdze',20,49.33,'jaxqr')

statement ok
INSERT INTO tab0 VALUES(8,44,53.68,'usytd',13,7.2,'klliv')

statement ok
INSERT INTO tab0 VALUES(9,51,85.83,'ppypi',71,4.99,'rjkqz')

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 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 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_1 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1)

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,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0 DESC,col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60
----

query I rowsort label-5535
SELECT pk FROM tab0 WHERE NOT ((col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60)
----

statement ok
DELETE FROM tab1 WHERE (col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60
----

query I rowsort label-5535
SELECT pk FROM tab1 WHERE NOT ((col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60)
----

statement ok
DELETE FROM tab2 WHERE (col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60
----

query I rowsort label-5535
SELECT pk FROM tab2 WHERE NOT ((col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60)
----

statement ok
DELETE FROM tab3 WHERE (col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60
----

query I rowsort label-5535
SELECT pk FROM tab3 WHERE NOT ((col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60)
----

statement ok
DELETE FROM tab4 WHERE (col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60
----

query I rowsort label-5535
SELECT pk FROM tab4 WHERE NOT ((col3 < 79) AND ((col3 > 10)) AND ((col0 = 42 OR ((col3 IN (23,98,57,65,31) OR col3 = 70 AND ((col0 = 22))) OR col1 < 40.48 OR (col0 < 96) OR (((col4 > 15.86)) AND (col1 < 87.85)) AND col3 BETWEEN 52 AND 10))) OR col1 > 40.61 AND ((col3 IS NULL)) AND col0 > 60)
----

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,82.14,'xqogd',4,36.84,'qmjbi')

statement ok
INSERT INTO tab0 VALUES(1,16,90.2,'ehpnh',97,22.46,'racct')

statement ok
INSERT INTO tab0 VALUES(2,98,52.37,'esnjc',35,15.13,'ifmya')

statement ok
INSERT INTO tab0 VALUES(3,14,97.16,'stbep',56,40.86,'dbhni')

statement ok
INSERT INTO tab0 VALUES(4,52,2.82,'cibll',13,81.93,'afquc')

statement ok
INSERT INTO tab0 VALUES(5,46,8.88,'jixjb',36,92.53,'zldgb')

statement ok
INSERT INTO tab0 VALUES(6,36,34.60,'lcmqs',90,7.38,'pgznh')

statement ok
INSERT INTO tab0 VALUES(7,35,86.58,'ebivs',48,56.36,'urcdo')

statement ok
INSERT INTO tab0 VALUES(8,85,70.39,'nkufl',44,77.13,'hthae')

statement ok
INSERT INTO tab0 VALUES(9,29,7.19,'qsein',39,26.78,'mfidk')

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,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4)

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 INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC,col0)

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 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC,col0 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 > 49.11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 49.11
----

query I rowsort label-5550
SELECT pk FROM tab0 WHERE NOT (col1 > 49.11)
----
4
5
6
9

statement ok
DELETE FROM tab1 WHERE col1 > 49.11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 49.11
----

query I rowsort label-5550
SELECT pk FROM tab1 WHERE NOT (col1 > 49.11)
----
4
5
6
9

statement ok
DELETE FROM tab2 WHERE col1 > 49.11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 49.11
----

query I rowsort label-5550
SELECT pk FROM tab2 WHERE NOT (col1 > 49.11)
----
4
5
6
9

statement ok
DELETE FROM tab3 WHERE col1 > 49.11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 49.11
----

query I rowsort label-5550
SELECT pk FROM tab3 WHERE NOT (col1 > 49.11)
----
4
5
6
9

statement ok
DELETE FROM tab4 WHERE col1 > 49.11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 49.11
----

query I rowsort label-5550
SELECT pk FROM tab4 WHERE NOT (col1 > 49.11)
----
4
5
6
9

statement ok
DELETE FROM tab0 WHERE (col3 < 44)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 44)
----

query I rowsort label-5565
SELECT pk FROM tab0 WHERE NOT ((col3 < 44))
----
6

statement ok
DELETE FROM tab1 WHERE (col3 < 44)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 44)
----

query I rowsort label-5565
SELECT pk FROM tab1 WHERE NOT ((col3 < 44))
----
6

statement ok
DELETE FROM tab2 WHERE (col3 < 44)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 44)
----

query I rowsort label-5565
SELECT pk FROM tab2 WHERE NOT ((col3 < 44))
----
6

statement ok
DELETE FROM tab3 WHERE (col3 < 44)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 44)
----

query I rowsort label-5565
SELECT pk FROM tab3 WHERE NOT ((col3 < 44))
----
6

statement ok
DELETE FROM tab4 WHERE (col3 < 44)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 44)
----

query I rowsort label-5565
SELECT pk FROM tab4 WHERE NOT ((col3 < 44))
----
6

statement ok
DELETE FROM tab0 WHERE (col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51
----

query I rowsort label-5580
SELECT pk FROM tab0 WHERE NOT ((col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51)
----
6

statement ok
DELETE FROM tab1 WHERE (col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51
----

query I rowsort label-5580
SELECT pk FROM tab1 WHERE NOT ((col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51)
----
6

statement ok
DELETE FROM tab2 WHERE (col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51
----

query I rowsort label-5580
SELECT pk FROM tab2 WHERE NOT ((col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51)
----
6

statement ok
DELETE FROM tab3 WHERE (col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51
----

query I rowsort label-5580
SELECT pk FROM tab3 WHERE NOT ((col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51)
----
6

statement ok
DELETE FROM tab4 WHERE (col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51
----

query I rowsort label-5580
SELECT pk FROM tab4 WHERE NOT ((col0 > 38) AND col3 = 66 AND col0 >= 68 AND col3 <= 51)
----
6

statement ok
DELETE FROM tab0 WHERE (col4 > 78.98)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 78.98)
----

query I rowsort label-5595
SELECT pk FROM tab0 WHERE NOT ((col4 > 78.98))
----
6

statement ok
DELETE FROM tab1 WHERE (col4 > 78.98)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 78.98)
----

query I rowsort label-5595
SELECT pk FROM tab1 WHERE NOT ((col4 > 78.98))
----
6

statement ok
DELETE FROM tab2 WHERE (col4 > 78.98)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 78.98)
----

query I rowsort label-5595
SELECT pk FROM tab2 WHERE NOT ((col4 > 78.98))
----
6

statement ok
DELETE FROM tab3 WHERE (col4 > 78.98)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 78.98)
----

query I rowsort label-5595
SELECT pk FROM tab3 WHERE NOT ((col4 > 78.98))
----
6

statement ok
DELETE FROM tab4 WHERE (col4 > 78.98)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 78.98)
----

query I rowsort label-5595
SELECT pk FROM tab4 WHERE NOT ((col4 > 78.98))
----
6

statement ok
DELETE FROM tab0 WHERE (((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59)))
----

query I rowsort label-5610
SELECT pk FROM tab0 WHERE NOT ((((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59))))
----

statement ok
DELETE FROM tab1 WHERE (((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59)))
----

query I rowsort label-5610
SELECT pk FROM tab1 WHERE NOT ((((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59))))
----

statement ok
DELETE FROM tab2 WHERE (((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59)))
----

query I rowsort label-5610
SELECT pk FROM tab2 WHERE NOT ((((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59))))
----

statement ok
DELETE FROM tab3 WHERE (((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59)))
----

query I rowsort label-5610
SELECT pk FROM tab3 WHERE NOT ((((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59))))
----

statement ok
DELETE FROM tab4 WHERE (((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 59)))
----

query I rowsort label-5610
SELECT pk FROM tab4 WHERE NOT ((((col0 BETWEEN 21 AND 62 AND (col0 <= 93) OR col0 < 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,75,12.95,'qnbkk',41,52.18,'vqmex')

statement ok
INSERT INTO tab0 VALUES(1,48,80.6,'ivyso',1,51.92,'iulzn')

statement ok
INSERT INTO tab0 VALUES(2,78,61.85,'jhctf',32,44.5,'kfqbs')

statement ok
INSERT INTO tab0 VALUES(3,60,70.72,'wxyqw',27,59.68,'bfupu')

statement ok
INSERT INTO tab0 VALUES(4,62,10.51,'olsdc',6,39.40,'ujvmu')

statement ok
INSERT INTO tab0 VALUES(5,33,32.58,'rnauw',28,9.40,'jqfme')

statement ok
INSERT INTO tab0 VALUES(6,21,99.98,'ivmfk',3,34.58,'hovmg')

statement ok
INSERT INTO tab0 VALUES(7,81,46.52,'kcjyp',12,86.72,'olmiz')

statement ok
INSERT INTO tab0 VALUES(8,91,47.95,'wigvx',8,3.57,'dhpho')

statement ok
INSERT INTO tab0 VALUES(9,63,69.5,'rwmyq',37,55.98,'wbuxa')

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_4 ON tab2 (col0 DESC,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 (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 (col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((((col4 >= 79.58)) AND col0 < 4))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col4 >= 79.58)) AND col0 < 4))
----

query I rowsort label-5625
SELECT pk FROM tab0 WHERE NOT (((((col4 >= 79.58)) AND col0 < 4)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((((col4 >= 79.58)) AND col0 < 4))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col4 >= 79.58)) AND col0 < 4))
----

query I rowsort label-5625
SELECT pk FROM tab1 WHERE NOT (((((col4 >= 79.58)) AND col0 < 4)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((((col4 >= 79.58)) AND col0 < 4))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col4 >= 79.58)) AND col0 < 4))
----

query I rowsort label-5625
SELECT pk FROM tab2 WHERE NOT (((((col4 >= 79.58)) AND col0 < 4)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((((col4 >= 79.58)) AND col0 < 4))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col4 >= 79.58)) AND col0 < 4))
----

query I rowsort label-5625
SELECT pk FROM tab3 WHERE NOT (((((col4 >= 79.58)) AND col0 < 4)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((((col4 >= 79.58)) AND col0 < 4))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col4 >= 79.58)) AND col0 < 4))
----

query I rowsort label-5625
SELECT pk FROM tab4 WHERE NOT (((((col4 >= 79.58)) AND col0 < 4)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 <= 57

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 57
----

query I rowsort label-5640
SELECT pk FROM tab0 WHERE NOT (col3 <= 57)
----

statement ok
DELETE FROM tab1 WHERE col3 <= 57

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 57
----

query I rowsort label-5640
SELECT pk FROM tab1 WHERE NOT (col3 <= 57)
----

statement ok
DELETE FROM tab2 WHERE col3 <= 57

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 57
----

query I rowsort label-5640
SELECT pk FROM tab2 WHERE NOT (col3 <= 57)
----

statement ok
DELETE FROM tab3 WHERE col3 <= 57

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 57
----

query I rowsort label-5640
SELECT pk FROM tab3 WHERE NOT (col3 <= 57)
----

statement ok
DELETE FROM tab4 WHERE col3 <= 57

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 57
----

query I rowsort label-5640
SELECT pk FROM tab4 WHERE NOT (col3 <= 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,24,17.72,'xxcin',59,6.86,'esxem')

statement ok
INSERT INTO tab0 VALUES(1,61,64.46,'obevg',32,31.91,'hurid')

statement ok
INSERT INTO tab0 VALUES(2,94,55.45,'icwlh',40,22.36,'menhy')

statement ok
INSERT INTO tab0 VALUES(3,62,98.59,'zyaev',23,86.16,'mddom')

statement ok
INSERT INTO tab0 VALUES(4,10,90.14,'fxqwg',33,99.20,'eldbv')

statement ok
INSERT INTO tab0 VALUES(5,98,77.88,'hsgkb',41,69.41,'fjnjg')

statement ok
INSERT INTO tab0 VALUES(6,16,18.20,'ortuc',57,96.92,'vtjua')

statement ok
INSERT INTO tab0 VALUES(7,95,47.23,'euyjo',39,39.14,'hhplv')

statement ok
INSERT INTO tab0 VALUES(8,21,35.96,'qvcvh',3,73.93,'nmjkk')

statement ok
INSERT INTO tab0 VALUES(9,46,56.40,'mqtjq',42,58.72,'vvwuj')

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 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3,col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 IN (55,12)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (55,12)
----

query I rowsort label-5655
SELECT pk FROM tab0 WHERE NOT (col0 IN (55,12))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 IN (55,12)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (55,12)
----

query I rowsort label-5655
SELECT pk FROM tab1 WHERE NOT (col0 IN (55,12))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 IN (55,12)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (55,12)
----

query I rowsort label-5655
SELECT pk FROM tab2 WHERE NOT (col0 IN (55,12))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 IN (55,12)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (55,12)
----

query I rowsort label-5655
SELECT pk FROM tab3 WHERE NOT (col0 IN (55,12))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 IN (55,12)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (55,12)
----

query I rowsort label-5655
SELECT pk FROM tab4 WHERE NOT (col0 IN (55,12))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94)
----

query I rowsort label-5670
SELECT pk FROM tab0 WHERE NOT (col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94)
----

query I rowsort label-5670
SELECT pk FROM tab1 WHERE NOT (col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94)
----

query I rowsort label-5670
SELECT pk FROM tab2 WHERE NOT (col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94)
----

query I rowsort label-5670
SELECT pk FROM tab3 WHERE NOT (col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94)
----

query I rowsort label-5670
SELECT pk FROM tab4 WHERE NOT (col0 > 91 AND (col1 = 61.51 AND (col0 IS NULL OR (col1 IS NULL OR col0 >= 87 OR col0 > 4) OR (col3 < 10)) AND col0 >= 94))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 <= 11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 11
----

query I rowsort label-5685
SELECT pk FROM tab0 WHERE NOT (col3 <= 11)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab1 WHERE col3 <= 11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 11
----

query I rowsort label-5685
SELECT pk FROM tab1 WHERE NOT (col3 <= 11)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab2 WHERE col3 <= 11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 11
----

query I rowsort label-5685
SELECT pk FROM tab2 WHERE NOT (col3 <= 11)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab3 WHERE col3 <= 11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 11
----

query I rowsort label-5685
SELECT pk FROM tab3 WHERE NOT (col3 <= 11)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab4 WHERE col3 <= 11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 11
----

query I rowsort label-5685
SELECT pk FROM tab4 WHERE NOT (col3 <= 11)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab0 WHERE (col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL)
----

query I rowsort label-5700
SELECT pk FROM tab0 WHERE NOT ((col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab1 WHERE (col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL)
----

query I rowsort label-5700
SELECT pk FROM tab1 WHERE NOT ((col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab2 WHERE (col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL)
----

query I rowsort label-5700
SELECT pk FROM tab2 WHERE NOT ((col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab3 WHERE (col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL)
----

query I rowsort label-5700
SELECT pk FROM tab3 WHERE NOT ((col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab4 WHERE (col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL)
----

query I rowsort label-5700
SELECT pk FROM tab4 WHERE NOT ((col1 < 7.99 AND col3 >= 26 OR (col4 <= 18.36 AND col1 IS NULL) AND col3 IS NULL))
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab0 WHERE col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25
----

query I rowsort label-5715
SELECT pk FROM tab0 WHERE NOT (col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25)
----
0
1
2
3
4
6
7

statement ok
DELETE FROM tab1 WHERE col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25
----

query I rowsort label-5715
SELECT pk FROM tab1 WHERE NOT (col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25)
----
0
1
2
3
4
6
7

statement ok
DELETE FROM tab2 WHERE col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25
----

query I rowsort label-5715
SELECT pk FROM tab2 WHERE NOT (col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25)
----
0
1
2
3
4
6
7

statement ok
DELETE FROM tab3 WHERE col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25
----

query I rowsort label-5715
SELECT pk FROM tab3 WHERE NOT (col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25)
----
0
1
2
3
4
6
7

statement ok
DELETE FROM tab4 WHERE col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25
----

query I rowsort label-5715
SELECT pk FROM tab4 WHERE NOT (col1 >= 38.23 AND col4 >= 40.95 AND col0 > 16 AND col3 > 25)
----
0
1
2
3
4
6
7

statement ok
DELETE FROM tab0 WHERE ((col0 <= 95)) AND (col0 < 18)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 <= 95)) AND (col0 < 18)
----

query I rowsort label-5730
SELECT pk FROM tab0 WHERE NOT (((col0 <= 95)) AND (col0 < 18))
----
0
1
2
3
7

statement ok
DELETE FROM tab1 WHERE ((col0 <= 95)) AND (col0 < 18)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 <= 95)) AND (col0 < 18)
----

query I rowsort label-5730
SELECT pk FROM tab1 WHERE NOT (((col0 <= 95)) AND (col0 < 18))
----
0
1
2
3
7

statement ok
DELETE FROM tab2 WHERE ((col0 <= 95)) AND (col0 < 18)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 <= 95)) AND (col0 < 18)
----

query I rowsort label-5730
SELECT pk FROM tab2 WHERE NOT (((col0 <= 95)) AND (col0 < 18))
----
0
1
2
3
7

statement ok
DELETE FROM tab3 WHERE ((col0 <= 95)) AND (col0 < 18)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 <= 95)) AND (col0 < 18)
----

query I rowsort label-5730
SELECT pk FROM tab3 WHERE NOT (((col0 <= 95)) AND (col0 < 18))
----
0
1
2
3
7

statement ok
DELETE FROM tab4 WHERE ((col0 <= 95)) AND (col0 < 18)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 <= 95)) AND (col0 < 18)
----

query I rowsort label-5730
SELECT pk FROM tab4 WHERE NOT (((col0 <= 95)) AND (col0 < 18))
----
0
1
2
3
7

statement ok
DELETE FROM tab0 WHERE col0 IN (53,38,89,75) AND col1 >= 5.97

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (53,38,89,75) AND col1 >= 5.97
----

query I rowsort label-5745
SELECT pk FROM tab0 WHERE NOT (col0 IN (53,38,89,75) AND col1 >= 5.97)
----
0
1
2
3
7

statement ok
DELETE FROM tab1 WHERE col0 IN (53,38,89,75) AND col1 >= 5.97

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (53,38,89,75) AND col1 >= 5.97
----

query I rowsort label-5745
SELECT pk FROM tab1 WHERE NOT (col0 IN (53,38,89,75) AND col1 >= 5.97)
----
0
1
2
3
7

statement ok
DELETE FROM tab2 WHERE col0 IN (53,38,89,75) AND col1 >= 5.97

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (53,38,89,75) AND col1 >= 5.97
----

query I rowsort label-5745
SELECT pk FROM tab2 WHERE NOT (col0 IN (53,38,89,75) AND col1 >= 5.97)
----
0
1
2
3
7

statement ok
DELETE FROM tab3 WHERE col0 IN (53,38,89,75) AND col1 >= 5.97

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (53,38,89,75) AND col1 >= 5.97
----

query I rowsort label-5745
SELECT pk FROM tab3 WHERE NOT (col0 IN (53,38,89,75) AND col1 >= 5.97)
----
0
1
2
3
7

statement ok
DELETE FROM tab4 WHERE col0 IN (53,38,89,75) AND col1 >= 5.97

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (53,38,89,75) AND col1 >= 5.97
----

query I rowsort label-5745
SELECT pk FROM tab4 WHERE NOT (col0 IN (53,38,89,75) AND col1 >= 5.97)
----
0
1
2
3
7

statement ok
DELETE FROM tab0 WHERE col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49)
----

query I rowsort label-5760
SELECT pk FROM tab0 WHERE NOT (col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49))
----
0
1
2
3
7

statement ok
DELETE FROM tab1 WHERE col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49)
----

query I rowsort label-5760
SELECT pk FROM tab1 WHERE NOT (col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49))
----
0
1
2
3
7

statement ok
DELETE FROM tab2 WHERE col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49)
----

query I rowsort label-5760
SELECT pk FROM tab2 WHERE NOT (col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49))
----
0
1
2
3
7

statement ok
DELETE FROM tab3 WHERE col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49)
----

query I rowsort label-5760
SELECT pk FROM tab3 WHERE NOT (col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49))
----
0
1
2
3
7

statement ok
DELETE FROM tab4 WHERE col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49)
----

query I rowsort label-5760
SELECT pk FROM tab4 WHERE NOT (col0 = 74 AND col0 >= 26 AND col3 BETWEEN 69 AND 62 OR ((col0 >= 55 OR (col1 > 24.61) OR ((((col3 > 54 OR col3 = 32 OR col3 > 30 AND col0 IN (81,50,41,43,44))))) OR col4 > 28.60) AND col3 = 6 AND col0 > 49))
----
0
1
2
3
7

statement ok
DELETE FROM tab0 WHERE col4 <= 5.60

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 5.60
----

query I rowsort label-5775
SELECT pk FROM tab0 WHERE NOT (col4 <= 5.60)
----
0
1
2
3
7

statement ok
DELETE FROM tab1 WHERE col4 <= 5.60

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 5.60
----

query I rowsort label-5775
SELECT pk FROM tab1 WHERE NOT (col4 <= 5.60)
----
0
1
2
3
7

statement ok
DELETE FROM tab2 WHERE col4 <= 5.60

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 5.60
----

query I rowsort label-5775
SELECT pk FROM tab2 WHERE NOT (col4 <= 5.60)
----
0
1
2
3
7

statement ok
DELETE FROM tab3 WHERE col4 <= 5.60

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 5.60
----

query I rowsort label-5775
SELECT pk FROM tab3 WHERE NOT (col4 <= 5.60)
----
0
1
2
3
7

statement ok
DELETE FROM tab4 WHERE col4 <= 5.60

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 5.60
----

query I rowsort label-5775
SELECT pk FROM tab4 WHERE NOT (col4 <= 5.60)
----
0
1
2
3
7

statement ok
DELETE FROM tab0 WHERE ((col3 <= 11)) OR (col3 IN (78,93,64,47))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 <= 11)) OR (col3 IN (78,93,64,47))
----

query I rowsort label-5790
SELECT pk FROM tab0 WHERE NOT (((col3 <= 11)) OR (col3 IN (78,93,64,47)))
----
0
1
2
3
7

statement ok
DELETE FROM tab1 WHERE ((col3 <= 11)) OR (col3 IN (78,93,64,47))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 <= 11)) OR (col3 IN (78,93,64,47))
----

query I rowsort label-5790
SELECT pk FROM tab1 WHERE NOT (((col3 <= 11)) OR (col3 IN (78,93,64,47)))
----
0
1
2
3
7

statement ok
DELETE FROM tab2 WHERE ((col3 <= 11)) OR (col3 IN (78,93,64,47))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 <= 11)) OR (col3 IN (78,93,64,47))
----

query I rowsort label-5790
SELECT pk FROM tab2 WHERE NOT (((col3 <= 11)) OR (col3 IN (78,93,64,47)))
----
0
1
2
3
7

statement ok
DELETE FROM tab3 WHERE ((col3 <= 11)) OR (col3 IN (78,93,64,47))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 <= 11)) OR (col3 IN (78,93,64,47))
----

query I rowsort label-5790
SELECT pk FROM tab3 WHERE NOT (((col3 <= 11)) OR (col3 IN (78,93,64,47)))
----
0
1
2
3
7

statement ok
DELETE FROM tab4 WHERE ((col3 <= 11)) OR (col3 IN (78,93,64,47))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 <= 11)) OR (col3 IN (78,93,64,47))
----

query I rowsort label-5790
SELECT pk FROM tab4 WHERE NOT (((col3 <= 11)) OR (col3 IN (78,93,64,47)))
----
0
1
2
3
7

statement ok
DELETE FROM tab0 WHERE col4 > 37.10

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 37.10
----

query I rowsort label-5805
SELECT pk FROM tab0 WHERE NOT (col4 > 37.10)
----
0
1
2

statement ok
DELETE FROM tab1 WHERE col4 > 37.10

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 37.10
----

query I rowsort label-5805
SELECT pk FROM tab1 WHERE NOT (col4 > 37.10)
----
0
1
2

statement ok
DELETE FROM tab2 WHERE col4 > 37.10

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 37.10
----

query I rowsort label-5805
SELECT pk FROM tab2 WHERE NOT (col4 > 37.10)
----
0
1
2

statement ok
DELETE FROM tab3 WHERE col4 > 37.10

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 37.10
----

query I rowsort label-5805
SELECT pk FROM tab3 WHERE NOT (col4 > 37.10)
----
0
1
2

statement ok
DELETE FROM tab4 WHERE col4 > 37.10

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 37.10
----

query I rowsort label-5805
SELECT pk FROM tab4 WHERE NOT (col4 > 37.10)
----
0
1
2

statement ok
DELETE FROM tab0 WHERE col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32)
----

query I rowsort label-5820
SELECT pk FROM tab0 WHERE NOT (col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32))
----

statement ok
DELETE FROM tab1 WHERE col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32)
----

query I rowsort label-5820
SELECT pk FROM tab1 WHERE NOT (col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32))
----

statement ok
DELETE FROM tab2 WHERE col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32)
----

query I rowsort label-5820
SELECT pk FROM tab2 WHERE NOT (col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32))
----

statement ok
DELETE FROM tab3 WHERE col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32)
----

query I rowsort label-5820
SELECT pk FROM tab3 WHERE NOT (col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32))
----

statement ok
DELETE FROM tab4 WHERE col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.32)
----

query I rowsort label-5820
SELECT pk FROM tab4 WHERE NOT (col1 <= 11.15 AND col1 >= 25.28 AND col3 < 63 OR col1 > 65.79 AND col3 = 29 AND col1 >= 77.64 AND col1 >= 42.31 OR ((((((col1 > 40.19)))) OR col3 > 36)) OR col3 > 11 AND col4 = 91.32 AND col1 IN (59.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,0,11.48,'eogwe',59,3.34,'kckwg')

statement ok
INSERT INTO tab0 VALUES(1,37,82.4,'bixko',14,63.26,'kfgqz')

statement ok
INSERT INTO tab0 VALUES(2,32,44.43,'gmiyx',62,95.89,'bphph')

statement ok
INSERT INTO tab0 VALUES(3,38,64.81,'skyrp',48,94.60,'ulpez')

statement ok
INSERT INTO tab0 VALUES(4,94,53.5,'krwao',9,77.2,'eernq')

statement ok
INSERT INTO tab0 VALUES(5,39,25.82,'xcjro',86,48.14,'vobtb')

statement ok
INSERT INTO tab0 VALUES(6,19,67.71,'wyrwc',37,65.46,'vvxxx')

statement ok
INSERT INTO tab0 VALUES(7,6,95.39,'xvjiv',49,96.7,'issho')

statement ok
INSERT INTO tab0 VALUES(8,4,19.69,'afdph',47,81.83,'jrvjj')

statement ok
INSERT INTO tab0 VALUES(9,68,7.76,'hdman',17,5.45,'gaedr')

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,col4)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0,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 INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_1 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 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18))
----

query I rowsort label-5835
SELECT pk FROM tab0 WHERE NOT (col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18)))
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab1 WHERE col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18))
----

query I rowsort label-5835
SELECT pk FROM tab1 WHERE NOT (col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18)))
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab2 WHERE col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18))
----

query I rowsort label-5835
SELECT pk FROM tab2 WHERE NOT (col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18)))
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab3 WHERE col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18))
----

query I rowsort label-5835
SELECT pk FROM tab3 WHERE NOT (col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18)))
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab4 WHERE col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18))
----

query I rowsort label-5835
SELECT pk FROM tab4 WHERE NOT (col4 <= 28.95 OR ((col3 < 0 OR col1 <= 12.3 AND col4 > 62.18)))
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab0 WHERE col3 IN (42,52,24) AND col0 < 66

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (42,52,24) AND col0 < 66
----

query I rowsort label-5850
SELECT pk FROM tab0 WHERE NOT (col3 IN (42,52,24) AND col0 < 66)
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab1 WHERE col3 IN (42,52,24) AND col0 < 66

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (42,52,24) AND col0 < 66
----

query I rowsort label-5850
SELECT pk FROM tab1 WHERE NOT (col3 IN (42,52,24) AND col0 < 66)
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab2 WHERE col3 IN (42,52,24) AND col0 < 66

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (42,52,24) AND col0 < 66
----

query I rowsort label-5850
SELECT pk FROM tab2 WHERE NOT (col3 IN (42,52,24) AND col0 < 66)
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab3 WHERE col3 IN (42,52,24) AND col0 < 66

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (42,52,24) AND col0 < 66
----

query I rowsort label-5850
SELECT pk FROM tab3 WHERE NOT (col3 IN (42,52,24) AND col0 < 66)
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab4 WHERE col3 IN (42,52,24) AND col0 < 66

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (42,52,24) AND col0 < 66
----

query I rowsort label-5850
SELECT pk FROM tab4 WHERE NOT (col3 IN (42,52,24) AND col0 < 66)
----
1
2
3
4
5
6
7
8

statement ok
DELETE FROM tab0 WHERE col0 > 74

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 74
----

query I rowsort label-5865
SELECT pk FROM tab0 WHERE NOT (col0 > 74)
----
1
2
3
5
6
7
8

statement ok
DELETE FROM tab1 WHERE col0 > 74

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 74
----

query I rowsort label-5865
SELECT pk FROM tab1 WHERE NOT (col0 > 74)
----
1
2
3
5
6
7
8

statement ok
DELETE FROM tab2 WHERE col0 > 74

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 74
----

query I rowsort label-5865
SELECT pk FROM tab2 WHERE NOT (col0 > 74)
----
1
2
3
5
6
7
8

statement ok
DELETE FROM tab3 WHERE col0 > 74

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 74
----

query I rowsort label-5865
SELECT pk FROM tab3 WHERE NOT (col0 > 74)
----
1
2
3
5
6
7
8

statement ok
DELETE FROM tab4 WHERE col0 > 74

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 74
----

query I rowsort label-5865
SELECT pk FROM tab4 WHERE NOT (col0 > 74)
----
1
2
3
5
6
7
8

statement ok
DELETE FROM tab0 WHERE col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15
----

query I rowsort label-5880
SELECT pk FROM tab0 WHERE NOT (col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab1 WHERE col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15
----

query I rowsort label-5880
SELECT pk FROM tab1 WHERE NOT (col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab2 WHERE col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15
----

query I rowsort label-5880
SELECT pk FROM tab2 WHERE NOT (col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab3 WHERE col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15
----

query I rowsort label-5880
SELECT pk FROM tab3 WHERE NOT (col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab4 WHERE col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15
----

query I rowsort label-5880
SELECT pk FROM tab4 WHERE NOT (col3 > 32 AND (col1 = 38.8 OR col3 >= 51 AND (((col3 < 19) OR (col0 > 17) AND col1 < 32.92) AND col4 IN (78.89,46.23,32.28,33.68) OR col0 <= 52 AND (col4 IN (26.98,22.94,94.46)) AND col4 = 8.93 AND col3 < 10 AND (col1 <= 84.28 OR col4 > 13.44))) OR (col0 < 82) AND ((col0 < 46) AND col0 > 43 OR (col4 = 79.34 AND col1 <= 85.68) OR col4 >= 89.50) AND col1 >= 85.7 AND col3 < 61 AND col3 >= 15)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab0 WHERE col0 > 73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 73
----

query I rowsort label-5895
SELECT pk FROM tab0 WHERE NOT (col0 > 73)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab1 WHERE col0 > 73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 73
----

query I rowsort label-5895
SELECT pk FROM tab1 WHERE NOT (col0 > 73)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab2 WHERE col0 > 73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 73
----

query I rowsort label-5895
SELECT pk FROM tab2 WHERE NOT (col0 > 73)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab3 WHERE col0 > 73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 73
----

query I rowsort label-5895
SELECT pk FROM tab3 WHERE NOT (col0 > 73)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab4 WHERE col0 > 73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 73
----

query I rowsort label-5895
SELECT pk FROM tab4 WHERE NOT (col0 > 73)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab0 WHERE col0 = 55

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 55
----

query I rowsort label-5910
SELECT pk FROM tab0 WHERE NOT (col0 = 55)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab1 WHERE col0 = 55

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 55
----

query I rowsort label-5910
SELECT pk FROM tab1 WHERE NOT (col0 = 55)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab2 WHERE col0 = 55

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 55
----

query I rowsort label-5910
SELECT pk FROM tab2 WHERE NOT (col0 = 55)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab3 WHERE col0 = 55

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 55
----

query I rowsort label-5910
SELECT pk FROM tab3 WHERE NOT (col0 = 55)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab4 WHERE col0 = 55

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 55
----

query I rowsort label-5910
SELECT pk FROM tab4 WHERE NOT (col0 = 55)
----
1
2
3
5
6
8

statement ok
DELETE FROM tab0 WHERE (col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94)))
----

query I rowsort label-5925
SELECT pk FROM tab0 WHERE NOT ((col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94))))
----
1
2
3
5
6
8

statement ok
DELETE FROM tab1 WHERE (col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94)))
----

query I rowsort label-5925
SELECT pk FROM tab1 WHERE NOT ((col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94))))
----
1
2
3
5
6
8

statement ok
DELETE FROM tab2 WHERE (col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94)))
----

query I rowsort label-5925
SELECT pk FROM tab2 WHERE NOT ((col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94))))
----
1
2
3
5
6
8

statement ok
DELETE FROM tab3 WHERE (col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94)))
----

query I rowsort label-5925
SELECT pk FROM tab3 WHERE NOT ((col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94))))
----
1
2
3
5
6
8

statement ok
DELETE FROM tab4 WHERE (col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94)))
----

query I rowsort label-5925
SELECT pk FROM tab4 WHERE NOT ((col0 > 94 AND ((col0 < 17) AND col3 <= 28 AND ((((((col4 <= 18.65))))) OR ((col3 > 86))) OR (col1 >= 1.94))))
----
1
2
3
5
6
8

statement ok
DELETE FROM tab0 WHERE col3 IN (60,88,16,28,47,40)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (60,88,16,28,47,40)
----

query I rowsort label-5940
SELECT pk FROM tab0 WHERE NOT (col3 IN (60,88,16,28,47,40))
----
1
2
3
5
6

statement ok
DELETE FROM tab1 WHERE col3 IN (60,88,16,28,47,40)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (60,88,16,28,47,40)
----

query I rowsort label-5940
SELECT pk FROM tab1 WHERE NOT (col3 IN (60,88,16,28,47,40))
----
1
2
3
5
6

statement ok
DELETE FROM tab2 WHERE col3 IN (60,88,16,28,47,40)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (60,88,16,28,47,40)
----

query I rowsort label-5940
SELECT pk FROM tab2 WHERE NOT (col3 IN (60,88,16,28,47,40))
----
1
2
3
5
6

statement ok
DELETE FROM tab3 WHERE col3 IN (60,88,16,28,47,40)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (60,88,16,28,47,40)
----

query I rowsort label-5940
SELECT pk FROM tab3 WHERE NOT (col3 IN (60,88,16,28,47,40))
----
1
2
3
5
6

statement ok
DELETE FROM tab4 WHERE col3 IN (60,88,16,28,47,40)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (60,88,16,28,47,40)
----

query I rowsort label-5940
SELECT pk FROM tab4 WHERE NOT (col3 IN (60,88,16,28,47,40))
----
1
2
3
5
6

statement ok
DELETE FROM tab0 WHERE (col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38
----

query I rowsort label-5955
SELECT pk FROM tab0 WHERE NOT ((col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38)
----
1
2
3
6

statement ok
DELETE FROM tab1 WHERE (col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38
----

query I rowsort label-5955
SELECT pk FROM tab1 WHERE NOT ((col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38)
----
1
2
3
6

statement ok
DELETE FROM tab2 WHERE (col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38
----

query I rowsort label-5955
SELECT pk FROM tab2 WHERE NOT ((col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38)
----
1
2
3
6

statement ok
DELETE FROM tab3 WHERE (col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38
----

query I rowsort label-5955
SELECT pk FROM tab3 WHERE NOT ((col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38)
----
1
2
3
6

statement ok
DELETE FROM tab4 WHERE (col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38
----

query I rowsort label-5955
SELECT pk FROM tab4 WHERE NOT ((col0 >= 27) AND col3 IN (20,83) AND col3 > 22 OR col0 > 38)
----
1
2
3
6

statement ok
DELETE FROM tab0 WHERE col3 = 93

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 93
----

query I rowsort label-5970
SELECT pk FROM tab0 WHERE NOT (col3 = 93)
----
1
2
3
6

statement ok
DELETE FROM tab1 WHERE col3 = 93

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 93
----

query I rowsort label-5970
SELECT pk FROM tab1 WHERE NOT (col3 = 93)
----
1
2
3
6

statement ok
DELETE FROM tab2 WHERE col3 = 93

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 93
----

query I rowsort label-5970
SELECT pk FROM tab2 WHERE NOT (col3 = 93)
----
1
2
3
6

statement ok
DELETE FROM tab3 WHERE col3 = 93

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 93
----

query I rowsort label-5970
SELECT pk FROM tab3 WHERE NOT (col3 = 93)
----
1
2
3
6

statement ok
DELETE FROM tab4 WHERE col3 = 93

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 93
----

query I rowsort label-5970
SELECT pk FROM tab4 WHERE NOT (col3 = 93)
----
1
2
3
6

statement ok
DELETE FROM tab0 WHERE (col0 = 7)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 7)
----

query I rowsort label-5985
SELECT pk FROM tab0 WHERE NOT ((col0 = 7))
----
1
2
3
6

statement ok
DELETE FROM tab1 WHERE (col0 = 7)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 7)
----

query I rowsort label-5985
SELECT pk FROM tab1 WHERE NOT ((col0 = 7))
----
1
2
3
6

statement ok
DELETE FROM tab2 WHERE (col0 = 7)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 7)
----

query I rowsort label-5985
SELECT pk FROM tab2 WHERE NOT ((col0 = 7))
----
1
2
3
6

statement ok
DELETE FROM tab3 WHERE (col0 = 7)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 7)
----

query I rowsort label-5985
SELECT pk FROM tab3 WHERE NOT ((col0 = 7))
----
1
2
3
6

statement ok
DELETE FROM tab4 WHERE (col0 = 7)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 7)
----

query I rowsort label-5985
SELECT pk FROM tab4 WHERE NOT ((col0 = 7))
----
1
2
3
6

statement ok
DELETE FROM tab0 WHERE col4 > 32.4

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 32.4
----

query I rowsort label-6000
SELECT pk FROM tab0 WHERE NOT (col4 > 32.4)
----

statement ok
DELETE FROM tab1 WHERE col4 > 32.4

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 32.4
----

query I rowsort label-6000
SELECT pk FROM tab1 WHERE NOT (col4 > 32.4)
----

statement ok
DELETE FROM tab2 WHERE col4 > 32.4

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 32.4
----

query I rowsort label-6000
SELECT pk FROM tab2 WHERE NOT (col4 > 32.4)
----

statement ok
DELETE FROM tab3 WHERE col4 > 32.4

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 32.4
----

query I rowsort label-6000
SELECT pk FROM tab3 WHERE NOT (col4 > 32.4)
----

statement ok
DELETE FROM tab4 WHERE col4 > 32.4

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 32.4
----

query I rowsort label-6000
SELECT pk FROM tab4 WHERE NOT (col4 > 32.4)
----

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,2.64,'cwsti',19,2.50,'yyqis')

statement ok
INSERT INTO tab0 VALUES(1,90,32.77,'gtpjc',52,54.45,'mqrzc')

statement ok
INSERT INTO tab0 VALUES(2,25,25.29,'xwiho',3,93.96,'ggkoz')

statement ok
INSERT INTO tab0 VALUES(3,70,52.37,'qxeph',23,62.5,'jztgl')

statement ok
INSERT INTO tab0 VALUES(4,17,31.75,'isebp',10,57.10,'wkhvw')

statement ok
INSERT INTO tab0 VALUES(5,35,39.39,'ktdtu',72,42.52,'scteg')

statement ok
INSERT INTO tab0 VALUES(6,38,28.3,'rwavh',92,58.31,'yguzf')

statement ok
INSERT INTO tab0 VALUES(7,45,34.86,'uwvxr',90,37.75,'zmhid')

statement ok
INSERT INTO tab0 VALUES(8,40,91.15,'ccwyy',83,19.99,'mbnhh')

statement ok
INSERT INTO tab0 VALUES(9,41,44.83,'xevqm',49,59.68,'szctb')

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)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1 DESC,col0)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4 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 UNIQUE INDEX idx_tab3_2 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 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 INDEX idx_tab4_0 ON tab4 (col0 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 = 46

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 46
----

query I rowsort label-6015
SELECT pk FROM tab0 WHERE NOT (col0 = 46)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 = 46

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 46
----

query I rowsort label-6015
SELECT pk FROM tab1 WHERE NOT (col0 = 46)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 = 46

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 46
----

query I rowsort label-6015
SELECT pk FROM tab2 WHERE NOT (col0 = 46)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 = 46

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 46
----

query I rowsort label-6015
SELECT pk FROM tab3 WHERE NOT (col0 = 46)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 = 46

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 46
----

query I rowsort label-6015
SELECT pk FROM tab4 WHERE NOT (col0 = 46)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (((col0 > 55)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 > 55)))
----

query I rowsort label-6030
SELECT pk FROM tab0 WHERE NOT ((((col0 > 55))))
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (((col0 > 55)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 > 55)))
----

query I rowsort label-6030
SELECT pk FROM tab1 WHERE NOT ((((col0 > 55))))
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (((col0 > 55)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 > 55)))
----

query I rowsort label-6030
SELECT pk FROM tab2 WHERE NOT ((((col0 > 55))))
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (((col0 > 55)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 > 55)))
----

query I rowsort label-6030
SELECT pk FROM tab3 WHERE NOT ((((col0 > 55))))
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (((col0 > 55)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 > 55)))
----

query I rowsort label-6030
SELECT pk FROM tab4 WHERE NOT ((((col0 > 55))))
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 > 31 AND col0 < 15

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 31 AND col0 < 15
----

query I rowsort label-6045
SELECT pk FROM tab0 WHERE NOT (col3 > 31 AND col0 < 15)
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 > 31 AND col0 < 15

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 31 AND col0 < 15
----

query I rowsort label-6045
SELECT pk FROM tab1 WHERE NOT (col3 > 31 AND col0 < 15)
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 > 31 AND col0 < 15

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 31 AND col0 < 15
----

query I rowsort label-6045
SELECT pk FROM tab2 WHERE NOT (col3 > 31 AND col0 < 15)
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 > 31 AND col0 < 15

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 31 AND col0 < 15
----

query I rowsort label-6045
SELECT pk FROM tab3 WHERE NOT (col3 > 31 AND col0 < 15)
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 > 31 AND col0 < 15

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 31 AND col0 < 15
----

query I rowsort label-6045
SELECT pk FROM tab4 WHERE NOT (col3 > 31 AND col0 < 15)
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col3 >= 97)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 97)
----

query I rowsort label-6060
SELECT pk FROM tab0 WHERE NOT ((col3 >= 97))
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col3 >= 97)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 97)
----

query I rowsort label-6060
SELECT pk FROM tab1 WHERE NOT ((col3 >= 97))
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col3 >= 97)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 97)
----

query I rowsort label-6060
SELECT pk FROM tab2 WHERE NOT ((col3 >= 97))
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col3 >= 97)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 97)
----

query I rowsort label-6060
SELECT pk FROM tab3 WHERE NOT ((col3 >= 97))
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col3 >= 97)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 97)
----

query I rowsort label-6060
SELECT pk FROM tab4 WHERE NOT ((col3 >= 97))
----
2
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col4 > 90.94)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 90.94)
----

query I rowsort label-6075
SELECT pk FROM tab0 WHERE NOT ((col4 > 90.94))
----
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col4 > 90.94)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 90.94)
----

query I rowsort label-6075
SELECT pk FROM tab1 WHERE NOT ((col4 > 90.94))
----
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col4 > 90.94)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 90.94)
----

query I rowsort label-6075
SELECT pk FROM tab2 WHERE NOT ((col4 > 90.94))
----
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col4 > 90.94)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 90.94)
----

query I rowsort label-6075
SELECT pk FROM tab3 WHERE NOT ((col4 > 90.94))
----
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col4 > 90.94)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 90.94)
----

query I rowsort label-6075
SELECT pk FROM tab4 WHERE NOT ((col4 > 90.94))
----
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 < 23

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 23
----

query I rowsort label-6090
SELECT pk FROM tab0 WHERE NOT (col3 < 23)
----
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 < 23

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 23
----

query I rowsort label-6090
SELECT pk FROM tab1 WHERE NOT (col3 < 23)
----
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 < 23

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 23
----

query I rowsort label-6090
SELECT pk FROM tab2 WHERE NOT (col3 < 23)
----
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 < 23

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 23
----

query I rowsort label-6090
SELECT pk FROM tab3 WHERE NOT (col3 < 23)
----
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 < 23

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 23
----

query I rowsort label-6090
SELECT pk FROM tab4 WHERE NOT (col3 < 23)
----
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col3 >= 80)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 80)
----

query I rowsort label-6105
SELECT pk FROM tab0 WHERE NOT ((col3 >= 80))
----
5
9

statement ok
DELETE FROM tab1 WHERE (col3 >= 80)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 80)
----

query I rowsort label-6105
SELECT pk FROM tab1 WHERE NOT ((col3 >= 80))
----
5
9

statement ok
DELETE FROM tab2 WHERE (col3 >= 80)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 80)
----

query I rowsort label-6105
SELECT pk FROM tab2 WHERE NOT ((col3 >= 80))
----
5
9

statement ok
DELETE FROM tab3 WHERE (col3 >= 80)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 80)
----

query I rowsort label-6105
SELECT pk FROM tab3 WHERE NOT ((col3 >= 80))
----
5
9

statement ok
DELETE FROM tab4 WHERE (col3 >= 80)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 80)
----

query I rowsort label-6105
SELECT pk FROM tab4 WHERE NOT ((col3 >= 80))
----
5
9

statement ok
DELETE FROM tab0 WHERE col1 >= 45.4

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 45.4
----

query I rowsort label-6120
SELECT pk FROM tab0 WHERE NOT (col1 >= 45.4)
----
5
9

statement ok
DELETE FROM tab1 WHERE col1 >= 45.4

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 45.4
----

query I rowsort label-6120
SELECT pk FROM tab1 WHERE NOT (col1 >= 45.4)
----
5
9

statement ok
DELETE FROM tab2 WHERE col1 >= 45.4

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 45.4
----

query I rowsort label-6120
SELECT pk FROM tab2 WHERE NOT (col1 >= 45.4)
----
5
9

statement ok
DELETE FROM tab3 WHERE col1 >= 45.4

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 45.4
----

query I rowsort label-6120
SELECT pk FROM tab3 WHERE NOT (col1 >= 45.4)
----
5
9

statement ok
DELETE FROM tab4 WHERE col1 >= 45.4

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 45.4
----

query I rowsort label-6120
SELECT pk FROM tab4 WHERE NOT (col1 >= 45.4)
----
5
9

statement ok
DELETE FROM tab0 WHERE (col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60)
----

query I rowsort label-6135
SELECT pk FROM tab0 WHERE NOT ((col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60))
----

statement ok
DELETE FROM tab1 WHERE (col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60)
----

query I rowsort label-6135
SELECT pk FROM tab1 WHERE NOT ((col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60))
----

statement ok
DELETE FROM tab2 WHERE (col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60)
----

query I rowsort label-6135
SELECT pk FROM tab2 WHERE NOT ((col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60))
----

statement ok
DELETE FROM tab3 WHERE (col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60)
----

query I rowsort label-6135
SELECT pk FROM tab3 WHERE NOT ((col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60))
----

statement ok
DELETE FROM tab4 WHERE (col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60)
----

query I rowsort label-6135
SELECT pk FROM tab4 WHERE NOT ((col0 = 29 OR (col3 <= 59 OR (col3 > 11) OR (col3 > 76) AND ((((((col0 IN (17,86,72,81,48,33))))) AND col0 > 27 AND col3 > 3)) AND col4 >= 79.54 OR col3 >= 74 AND col4 <= 45.66 OR col4 > 23.16 AND col3 > 37 AND col0 <= 6)) AND (col1 <= 75.96) OR (col4 > 44.60))
----

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,28.81,'baacu',25,48.15,'obxdd')

statement ok
INSERT INTO tab0 VALUES(1,80,31.38,'dhhie',48,30.19,'xrydy')

statement ok
INSERT INTO tab0 VALUES(2,67,78.99,'mconu',91,35.48,'ddhej')

statement ok
INSERT INTO tab0 VALUES(3,95,52.80,'qpint',54,44.28,'onxjn')

statement ok
INSERT INTO tab0 VALUES(4,83,73.92,'hvacg',31,52.36,'wsrmu')

statement ok
INSERT INTO tab0 VALUES(5,52,53.58,'vmueb',24,33.15,'tiuwn')

statement ok
INSERT INTO tab0 VALUES(6,38,68.20,'afwxg',53,3.86,'qapsr')

statement ok
INSERT INTO tab0 VALUES(7,1,14.54,'otnuu',71,80.60,'hpcfi')

statement ok
INSERT INTO tab0 VALUES(8,40,72.83,'vwmwd',77,49.48,'iaqmn')

statement ok
INSERT INTO tab0 VALUES(9,5,70.89,'jtnux',26,20.80,'yplyp')

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 (col0)

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 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col0,col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col3 <= 4) OR col0 >= 71) OR col3 < 53)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 <= 4) OR col0 >= 71) OR col3 < 53)
----

query I rowsort label-6150
SELECT pk FROM tab0 WHERE NOT ((((col3 <= 4) OR col0 >= 71) OR col3 < 53))
----
2
6
7
8

statement ok
DELETE FROM tab1 WHERE (((col3 <= 4) OR col0 >= 71) OR col3 < 53)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 <= 4) OR col0 >= 71) OR col3 < 53)
----

query I rowsort label-6150
SELECT pk FROM tab1 WHERE NOT ((((col3 <= 4) OR col0 >= 71) OR col3 < 53))
----
2
6
7
8

statement ok
DELETE FROM tab2 WHERE (((col3 <= 4) OR col0 >= 71) OR col3 < 53)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 <= 4) OR col0 >= 71) OR col3 < 53)
----

query I rowsort label-6150
SELECT pk FROM tab2 WHERE NOT ((((col3 <= 4) OR col0 >= 71) OR col3 < 53))
----
2
6
7
8

statement ok
DELETE FROM tab3 WHERE (((col3 <= 4) OR col0 >= 71) OR col3 < 53)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 <= 4) OR col0 >= 71) OR col3 < 53)
----

query I rowsort label-6150
SELECT pk FROM tab3 WHERE NOT ((((col3 <= 4) OR col0 >= 71) OR col3 < 53))
----
2
6
7
8

statement ok
DELETE FROM tab4 WHERE (((col3 <= 4) OR col0 >= 71) OR col3 < 53)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 <= 4) OR col0 >= 71) OR col3 < 53)
----

query I rowsort label-6150
SELECT pk FROM tab4 WHERE NOT ((((col3 <= 4) OR col0 >= 71) OR col3 < 53))
----
2
6
7
8

statement ok
DELETE FROM tab0 WHERE (((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89
----

query I rowsort label-6165
SELECT pk FROM tab0 WHERE NOT ((((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89)
----
2
6
7
8

statement ok
DELETE FROM tab1 WHERE (((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89
----

query I rowsort label-6165
SELECT pk FROM tab1 WHERE NOT ((((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89)
----
2
6
7
8

statement ok
DELETE FROM tab2 WHERE (((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89
----

query I rowsort label-6165
SELECT pk FROM tab2 WHERE NOT ((((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89)
----
2
6
7
8

statement ok
DELETE FROM tab3 WHERE (((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89
----

query I rowsort label-6165
SELECT pk FROM tab3 WHERE NOT ((((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89)
----
2
6
7
8

statement ok
DELETE FROM tab4 WHERE (((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89
----

query I rowsort label-6165
SELECT pk FROM tab4 WHERE NOT ((((col0 = 46))) AND col1 = 98.58 AND col4 >= 82.89)
----
2
6
7
8

statement ok
DELETE FROM tab0 WHERE col0 <= 94

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 94
----

query I rowsort label-6180
SELECT pk FROM tab0 WHERE NOT (col0 <= 94)
----

statement ok
DELETE FROM tab1 WHERE col0 <= 94

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 94
----

query I rowsort label-6180
SELECT pk FROM tab1 WHERE NOT (col0 <= 94)
----

statement ok
DELETE FROM tab2 WHERE col0 <= 94

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 94
----

query I rowsort label-6180
SELECT pk FROM tab2 WHERE NOT (col0 <= 94)
----

statement ok
DELETE FROM tab3 WHERE col0 <= 94

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 94
----

query I rowsort label-6180
SELECT pk FROM tab3 WHERE NOT (col0 <= 94)
----

statement ok
DELETE FROM tab4 WHERE col0 <= 94

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 94
----

query I rowsort label-6180
SELECT pk FROM tab4 WHERE NOT (col0 <= 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,66,98.56,'rxvvv',69,67.76,'iyflj')

statement ok
INSERT INTO tab0 VALUES(1,95,76.68,'temio',78,7.23,'xflie')

statement ok
INSERT INTO tab0 VALUES(2,89,47.88,'jwaty',68,85.60,'etkfm')

statement ok
INSERT INTO tab0 VALUES(3,72,78.99,'skgap',30,72.52,'vmbip')

statement ok
INSERT INTO tab0 VALUES(4,15,96.90,'uzksu',29,8.56,'vqwob')

statement ok
INSERT INTO tab0 VALUES(5,96,9.25,'ijhvr',72,17.82,'nbyyx')

statement ok
INSERT INTO tab0 VALUES(6,65,8.2,'biglj',67,15.55,'vfbir')

statement ok
INSERT INTO tab0 VALUES(7,3,89.14,'vlnce',86,27.79,'glwar')

statement ok
INSERT INTO tab0 VALUES(8,88,60.15,'qqhro',27,99.0,'dwbkx')

statement ok
INSERT INTO tab0 VALUES(9,56,54.83,'wwszm',79,6.64,'rwink')

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_2 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 (col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col0 DESC)

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 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 41

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 41
----

query I rowsort label-6195
SELECT pk FROM tab0 WHERE NOT (col0 < 41)
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab1 WHERE col0 < 41

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 41
----

query I rowsort label-6195
SELECT pk FROM tab1 WHERE NOT (col0 < 41)
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab2 WHERE col0 < 41

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 41
----

query I rowsort label-6195
SELECT pk FROM tab2 WHERE NOT (col0 < 41)
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab3 WHERE col0 < 41

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 41
----

query I rowsort label-6195
SELECT pk FROM tab3 WHERE NOT (col0 < 41)
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab4 WHERE col0 < 41

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 41
----

query I rowsort label-6195
SELECT pk FROM tab4 WHERE NOT (col0 < 41)
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab0 WHERE ((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51)
----

query I rowsort label-6210
SELECT pk FROM tab0 WHERE NOT (((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51))
----
0
1
3
5
6
9

statement ok
DELETE FROM tab1 WHERE ((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51)
----

query I rowsort label-6210
SELECT pk FROM tab1 WHERE NOT (((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51))
----
0
1
3
5
6
9

statement ok
DELETE FROM tab2 WHERE ((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51)
----

query I rowsort label-6210
SELECT pk FROM tab2 WHERE NOT (((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51))
----
0
1
3
5
6
9

statement ok
DELETE FROM tab3 WHERE ((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51)
----

query I rowsort label-6210
SELECT pk FROM tab3 WHERE NOT (((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51))
----
0
1
3
5
6
9

statement ok
DELETE FROM tab4 WHERE ((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51)
----

query I rowsort label-6210
SELECT pk FROM tab4 WHERE NOT (((col3 > 18) AND ((col4 > 78.38)) OR col0 < 51))
----
0
1
3
5
6
9

statement ok
DELETE FROM tab0 WHERE (col1 > 78.3)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 78.3)
----

query I rowsort label-6225
SELECT pk FROM tab0 WHERE NOT ((col1 > 78.3))
----
1
5
6
9

statement ok
DELETE FROM tab1 WHERE (col1 > 78.3)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 78.3)
----

query I rowsort label-6225
SELECT pk FROM tab1 WHERE NOT ((col1 > 78.3))
----
1
5
6
9

statement ok
DELETE FROM tab2 WHERE (col1 > 78.3)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 78.3)
----

query I rowsort label-6225
SELECT pk FROM tab2 WHERE NOT ((col1 > 78.3))
----
1
5
6
9

statement ok
DELETE FROM tab3 WHERE (col1 > 78.3)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 78.3)
----

query I rowsort label-6225
SELECT pk FROM tab3 WHERE NOT ((col1 > 78.3))
----
1
5
6
9

statement ok
DELETE FROM tab4 WHERE (col1 > 78.3)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 78.3)
----

query I rowsort label-6225
SELECT pk FROM tab4 WHERE NOT ((col1 > 78.3))
----
1
5
6
9

statement ok
DELETE FROM tab0 WHERE col4 < 23.71

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 23.71
----

query I rowsort label-6240
SELECT pk FROM tab0 WHERE NOT (col4 < 23.71)
----

statement ok
DELETE FROM tab1 WHERE col4 < 23.71

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 23.71
----

query I rowsort label-6240
SELECT pk FROM tab1 WHERE NOT (col4 < 23.71)
----

statement ok
DELETE FROM tab2 WHERE col4 < 23.71

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 23.71
----

query I rowsort label-6240
SELECT pk FROM tab2 WHERE NOT (col4 < 23.71)
----

statement ok
DELETE FROM tab3 WHERE col4 < 23.71

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 23.71
----

query I rowsort label-6240
SELECT pk FROM tab3 WHERE NOT (col4 < 23.71)
----

statement ok
DELETE FROM tab4 WHERE col4 < 23.71

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 23.71
----

query I rowsort label-6240
SELECT pk FROM tab4 WHERE NOT (col4 < 23.71)
----

