sqllogictest
Artifact Content
Not logged in

Artifact 55eebfc2de3fa17415f17d6cb60a9fb520345714:


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,68,70.19,'lahbq',70,46.96,'nzgys')

statement ok
INSERT INTO tab0 VALUES(1,76,63.48,'prpnt',60,60.85,'mncpf')

statement ok
INSERT INTO tab0 VALUES(2,14,78.27,'iwayf',42,86.21,'azvxa')

statement ok
INSERT INTO tab0 VALUES(3,15,21.26,'ugcjr',79,39.53,'xerps')

statement ok
INSERT INTO tab0 VALUES(4,48,79.77,'jzxrc',31,42.98,'xvxkd')

statement ok
INSERT INTO tab0 VALUES(5,42,80.83,'drzwo',66,95.51,'nukyw')

statement ok
INSERT INTO tab0 VALUES(6,85,58.35,'utuzq',73,32.99,'jgigx')

statement ok
INSERT INTO tab0 VALUES(7,44,14.20,'yjjib',75,87.33,'brsnh')

statement ok
INSERT INTO tab0 VALUES(8,78,81.35,'yqwpo',43,52.59,'oaemr')

statement ok
INSERT INTO tab0 VALUES(9,45,77.1,'mrlbg',4,47.15,'dykjb')

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 (col0 DESC,col3)

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

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

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_0 ON tab3 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65
----

query I rowsort label-0
SELECT pk FROM tab0 WHERE NOT (col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65)
----
3
7

statement ok
DELETE FROM tab1 WHERE col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65
----

query I rowsort label-0
SELECT pk FROM tab1 WHERE NOT (col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65)
----
3
7

statement ok
DELETE FROM tab2 WHERE col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65
----

query I rowsort label-0
SELECT pk FROM tab2 WHERE NOT (col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65)
----
3
7

statement ok
DELETE FROM tab3 WHERE col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65
----

query I rowsort label-0
SELECT pk FROM tab3 WHERE NOT (col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65)
----
3
7

statement ok
DELETE FROM tab4 WHERE col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65
----

query I rowsort label-0
SELECT pk FROM tab4 WHERE NOT (col1 > 22.17 OR (col0 > 6 AND col1 > 29.22) AND col0 <= 78 AND col0 < 65)
----
3
7

statement ok
DELETE FROM tab0 WHERE ((col0 >= 94)) OR col4 > 27.64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 94)) OR col4 > 27.64
----

query I rowsort label-15
SELECT pk FROM tab0 WHERE NOT (((col0 >= 94)) OR col4 > 27.64)
----

statement ok
DELETE FROM tab1 WHERE ((col0 >= 94)) OR col4 > 27.64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 94)) OR col4 > 27.64
----

query I rowsort label-15
SELECT pk FROM tab1 WHERE NOT (((col0 >= 94)) OR col4 > 27.64)
----

statement ok
DELETE FROM tab2 WHERE ((col0 >= 94)) OR col4 > 27.64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 94)) OR col4 > 27.64
----

query I rowsort label-15
SELECT pk FROM tab2 WHERE NOT (((col0 >= 94)) OR col4 > 27.64)
----

statement ok
DELETE FROM tab3 WHERE ((col0 >= 94)) OR col4 > 27.64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 94)) OR col4 > 27.64
----

query I rowsort label-15
SELECT pk FROM tab3 WHERE NOT (((col0 >= 94)) OR col4 > 27.64)
----

statement ok
DELETE FROM tab4 WHERE ((col0 >= 94)) OR col4 > 27.64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 94)) OR col4 > 27.64
----

query I rowsort label-15
SELECT pk FROM tab4 WHERE NOT (((col0 >= 94)) OR col4 > 27.64)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,32,62.99,'tkjag',86,90.59,'busuv')

statement ok
INSERT INTO tab0 VALUES(1,82,39.32,'jcamq',85,29.13,'ccsvd')

statement ok
INSERT INTO tab0 VALUES(2,33,70.93,'ajyra',76,51.82,'iqker')

statement ok
INSERT INTO tab0 VALUES(3,24,97.54,'mkqlf',7,80.96,'sszyj')

statement ok
INSERT INTO tab0 VALUES(4,51,3.70,'zrdlv',61,37.97,'wrmjd')

statement ok
INSERT INTO tab0 VALUES(5,23,25.37,'pixmn',15,50.0,'gofgy')

statement ok
INSERT INTO tab0 VALUES(6,29,63.55,'eafnd',9,71.58,'gmpqy')

statement ok
INSERT INTO tab0 VALUES(7,98,95.93,'plczr',2,83.21,'eqomq')

statement ok
INSERT INTO tab0 VALUES(8,61,90.49,'uamnq',39,17.1,'rpkjy')

statement ok
INSERT INTO tab0 VALUES(9,19,18.13,'zllpy',14,62.33,'obbvk')

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_1 ON tab2 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC)

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

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

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
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,73.43,'pcchb',46,2.19,'syaef')

statement ok
INSERT INTO tab0 VALUES(1,19,74.23,'keoje',84,14.43,'bfdjg')

statement ok
INSERT INTO tab0 VALUES(2,78,86.80,'zhonh',2,21.29,'pcbka')

statement ok
INSERT INTO tab0 VALUES(3,0,85.7,'bqgaq',4,37.53,'pgqni')

statement ok
INSERT INTO tab0 VALUES(4,45,14.90,'ouppd',13,23.42,'wujsw')

statement ok
INSERT INTO tab0 VALUES(5,98,47.22,'hxcny',79,58.81,'gjciv')

statement ok
INSERT INTO tab0 VALUES(6,80,53.13,'krgvb',94,92.33,'mimvr')

statement ok
INSERT INTO tab0 VALUES(7,58,56.5,'friix',5,13.45,'pwugp')

statement ok
INSERT INTO tab0 VALUES(8,61,0.80,'ufzwc',23,15.67,'scjzf')

statement ok
INSERT INTO tab0 VALUES(9,88,11.80,'kstia',43,41.57,'pgmef')

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

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col1 <= 70.21

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

query I rowsort label-30
SELECT pk FROM tab0 WHERE NOT (col1 <= 70.21)
----
0
1
2
3

statement ok
DELETE FROM tab1 WHERE col1 <= 70.21

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

query I rowsort label-30
SELECT pk FROM tab1 WHERE NOT (col1 <= 70.21)
----
0
1
2
3

statement ok
DELETE FROM tab2 WHERE col1 <= 70.21

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

query I rowsort label-30
SELECT pk FROM tab2 WHERE NOT (col1 <= 70.21)
----
0
1
2
3

statement ok
DELETE FROM tab3 WHERE col1 <= 70.21

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

query I rowsort label-30
SELECT pk FROM tab3 WHERE NOT (col1 <= 70.21)
----
0
1
2
3

statement ok
DELETE FROM tab4 WHERE col1 <= 70.21

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

query I rowsort label-30
SELECT pk FROM tab4 WHERE NOT (col1 <= 70.21)
----
0
1
2
3

statement ok
DELETE FROM tab0 WHERE ((col0 < 13 AND col0 > 85))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 13 AND col0 > 85))
----

query I rowsort label-45
SELECT pk FROM tab0 WHERE NOT (((col0 < 13 AND col0 > 85)))
----
0
1
2
3

statement ok
DELETE FROM tab1 WHERE ((col0 < 13 AND col0 > 85))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 13 AND col0 > 85))
----

query I rowsort label-45
SELECT pk FROM tab1 WHERE NOT (((col0 < 13 AND col0 > 85)))
----
0
1
2
3

statement ok
DELETE FROM tab2 WHERE ((col0 < 13 AND col0 > 85))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 13 AND col0 > 85))
----

query I rowsort label-45
SELECT pk FROM tab2 WHERE NOT (((col0 < 13 AND col0 > 85)))
----
0
1
2
3

statement ok
DELETE FROM tab3 WHERE ((col0 < 13 AND col0 > 85))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 13 AND col0 > 85))
----

query I rowsort label-45
SELECT pk FROM tab3 WHERE NOT (((col0 < 13 AND col0 > 85)))
----
0
1
2
3

statement ok
DELETE FROM tab4 WHERE ((col0 < 13 AND col0 > 85))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 13 AND col0 > 85))
----

query I rowsort label-45
SELECT pk FROM tab4 WHERE NOT (((col0 < 13 AND col0 > 85)))
----
0
1
2
3

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

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

query I rowsort label-60
SELECT pk FROM tab0 WHERE NOT (((col4 >= 15.60)))
----
0
1

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

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

query I rowsort label-60
SELECT pk FROM tab1 WHERE NOT (((col4 >= 15.60)))
----
0
1

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

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

query I rowsort label-60
SELECT pk FROM tab2 WHERE NOT (((col4 >= 15.60)))
----
0
1

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

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

query I rowsort label-60
SELECT pk FROM tab3 WHERE NOT (((col4 >= 15.60)))
----
0
1

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

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

query I rowsort label-60
SELECT pk FROM tab4 WHERE NOT (((col4 >= 15.60)))
----
0
1

statement ok
DELETE FROM tab0 WHERE col0 < 34

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

query I rowsort label-75
SELECT pk FROM tab0 WHERE NOT (col0 < 34)
----
0

statement ok
DELETE FROM tab1 WHERE col0 < 34

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

query I rowsort label-75
SELECT pk FROM tab1 WHERE NOT (col0 < 34)
----
0

statement ok
DELETE FROM tab2 WHERE col0 < 34

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

query I rowsort label-75
SELECT pk FROM tab2 WHERE NOT (col0 < 34)
----
0

statement ok
DELETE FROM tab3 WHERE col0 < 34

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

query I rowsort label-75
SELECT pk FROM tab3 WHERE NOT (col0 < 34)
----
0

statement ok
DELETE FROM tab4 WHERE col0 < 34

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

query I rowsort label-75
SELECT pk FROM tab4 WHERE NOT (col0 < 34)
----
0

statement ok
DELETE FROM tab0 WHERE col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32)
----

query I rowsort label-90
SELECT pk FROM tab0 WHERE NOT (col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32))
----

statement ok
DELETE FROM tab1 WHERE col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32)
----

query I rowsort label-90
SELECT pk FROM tab1 WHERE NOT (col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32))
----

statement ok
DELETE FROM tab2 WHERE col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32)
----

query I rowsort label-90
SELECT pk FROM tab2 WHERE NOT (col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32))
----

statement ok
DELETE FROM tab3 WHERE col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32)
----

query I rowsort label-90
SELECT pk FROM tab3 WHERE NOT (col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32))
----

statement ok
DELETE FROM tab4 WHERE col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 32)
----

query I rowsort label-90
SELECT pk FROM tab4 WHERE NOT (col0 >= 39 AND (col0 > 80) OR (col1 > 19.84 AND col1 >= 37.31 OR col3 > 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,68,66.51,'aruva',38,57.77,'ksmag')

statement ok
INSERT INTO tab0 VALUES(1,13,95.85,'hhpuq',54,64.16,'osynw')

statement ok
INSERT INTO tab0 VALUES(2,58,58.54,'xgtxn',20,81.1,'odbzm')

statement ok
INSERT INTO tab0 VALUES(3,12,24.75,'mgpzx',71,91.11,'eeqqz')

statement ok
INSERT INTO tab0 VALUES(4,4,96.81,'gcbdd',98,13.20,'jkfua')

statement ok
INSERT INTO tab0 VALUES(5,51,9.76,'dmrix',9,12.57,'jqaob')

statement ok
INSERT INTO tab0 VALUES(6,18,62.4,'biwcg',91,15.70,'yfdim')

statement ok
INSERT INTO tab0 VALUES(7,83,15.10,'uqbet',77,22.89,'hytmv')

statement ok
INSERT INTO tab0 VALUES(8,94,10.0,'jdpap',0,17.89,'jocav')

statement ok
INSERT INTO tab0 VALUES(9,38,76.5,'xsfnv',64,83.49,'yhsdo')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3)

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

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col0 = 32)

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

query I rowsort label-105
SELECT pk FROM tab0 WHERE NOT ((col0 = 32))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 = 32)

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

query I rowsort label-105
SELECT pk FROM tab1 WHERE NOT ((col0 = 32))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 = 32)

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

query I rowsort label-105
SELECT pk FROM tab2 WHERE NOT ((col0 = 32))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 = 32)

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

query I rowsort label-105
SELECT pk FROM tab3 WHERE NOT ((col0 = 32))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 = 32)

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

query I rowsort label-105
SELECT pk FROM tab4 WHERE NOT ((col0 = 32))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 >= 2.69

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

query I rowsort label-120
SELECT pk FROM tab0 WHERE NOT (col4 >= 2.69)
----

statement ok
DELETE FROM tab1 WHERE col4 >= 2.69

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

query I rowsort label-120
SELECT pk FROM tab1 WHERE NOT (col4 >= 2.69)
----

statement ok
DELETE FROM tab2 WHERE col4 >= 2.69

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

query I rowsort label-120
SELECT pk FROM tab2 WHERE NOT (col4 >= 2.69)
----

statement ok
DELETE FROM tab3 WHERE col4 >= 2.69

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

query I rowsort label-120
SELECT pk FROM tab3 WHERE NOT (col4 >= 2.69)
----

statement ok
DELETE FROM tab4 WHERE col4 >= 2.69

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

query I rowsort label-120
SELECT pk FROM tab4 WHERE NOT (col4 >= 2.69)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,17,2.95,'ihmyp',6,30.7,'ohyla')

statement ok
INSERT INTO tab0 VALUES(1,36,97.30,'hngcv',33,80.66,'klpmt')

statement ok
INSERT INTO tab0 VALUES(2,34,37.43,'cekyj',39,44.84,'ylhfg')

statement ok
INSERT INTO tab0 VALUES(3,76,13.85,'jyejb',78,49.8,'ynoup')

statement ok
INSERT INTO tab0 VALUES(4,71,91.89,'gvxht',79,0.49,'hraik')

statement ok
INSERT INTO tab0 VALUES(5,33,21.32,'pxyhp',5,96.41,'bclea')

statement ok
INSERT INTO tab0 VALUES(6,42,51.97,'csbac',21,37.6,'txyuv')

statement ok
INSERT INTO tab0 VALUES(7,10,40.38,'hzgce',49,45.19,'iqchc')

statement ok
INSERT INTO tab0 VALUES(8,38,69.37,'vkdnh',38,62.63,'kdzbj')

statement ok
INSERT INTO tab0 VALUES(9,85,55.73,'ozxmt',22,82.0,'hxmjj')

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col3 IN (61)) OR col0 = 96

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 IN (61)) OR col0 = 96
----

query I rowsort label-135
SELECT pk FROM tab0 WHERE NOT ((col3 IN (61)) OR col0 = 96)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 IN (61)) OR col0 = 96

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 IN (61)) OR col0 = 96
----

query I rowsort label-135
SELECT pk FROM tab1 WHERE NOT ((col3 IN (61)) OR col0 = 96)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 IN (61)) OR col0 = 96

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 IN (61)) OR col0 = 96
----

query I rowsort label-135
SELECT pk FROM tab2 WHERE NOT ((col3 IN (61)) OR col0 = 96)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 IN (61)) OR col0 = 96

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 IN (61)) OR col0 = 96
----

query I rowsort label-135
SELECT pk FROM tab3 WHERE NOT ((col3 IN (61)) OR col0 = 96)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 IN (61)) OR col0 = 96

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 IN (61)) OR col0 = 96
----

query I rowsort label-135
SELECT pk FROM tab4 WHERE NOT ((col3 IN (61)) OR col0 = 96)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72)))
----

query I rowsort label-150
SELECT pk FROM tab0 WHERE NOT (col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72))))
----
1

statement ok
DELETE FROM tab1 WHERE col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72)))
----

query I rowsort label-150
SELECT pk FROM tab1 WHERE NOT (col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72))))
----
1

statement ok
DELETE FROM tab2 WHERE col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72)))
----

query I rowsort label-150
SELECT pk FROM tab2 WHERE NOT (col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72))))
----
1

statement ok
DELETE FROM tab3 WHERE col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72)))
----

query I rowsort label-150
SELECT pk FROM tab3 WHERE NOT (col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72))))
----
1

statement ok
DELETE FROM tab4 WHERE col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72)))
----

query I rowsort label-150
SELECT pk FROM tab4 WHERE NOT (col3 > 70 OR ((col1 < 89.63 OR ((col3 < 35)) AND col3 IN (72))))
----
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,20,88.60,'dylme',86,51.96,'saqet')

statement ok
INSERT INTO tab0 VALUES(1,76,38.56,'wbzup',33,62.36,'osyxz')

statement ok
INSERT INTO tab0 VALUES(2,54,55.95,'ksgkh',96,24.75,'ijrcc')

statement ok
INSERT INTO tab0 VALUES(3,52,29.76,'xnusp',91,65.98,'njwup')

statement ok
INSERT INTO tab0 VALUES(4,59,64.48,'xsarg',38,7.99,'kxgap')

statement ok
INSERT INTO tab0 VALUES(5,75,45.25,'zlvwa',67,36.90,'ndrgm')

statement ok
INSERT INTO tab0 VALUES(6,16,96.1,'jwbtd',36,57.22,'neafq')

statement ok
INSERT INTO tab0 VALUES(7,33,44.57,'qejqc',41,59.87,'ojocu')

statement ok
INSERT INTO tab0 VALUES(8,21,83.78,'hwrxf',28,82.41,'bisvy')

statement ok
INSERT INTO tab0 VALUES(9,34,35.65,'jrvff',9,71.6,'icsyv')

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

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

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,13,92.46,'zzaef',69,32.6,'qylvo')

statement ok
INSERT INTO tab0 VALUES(1,19,31.31,'hripu',1,36.87,'qcubs')

statement ok
INSERT INTO tab0 VALUES(2,46,84.88,'nzekq',22,56.28,'adfft')

statement ok
INSERT INTO tab0 VALUES(3,47,49.64,'amajq',58,61.65,'nkubq')

statement ok
INSERT INTO tab0 VALUES(4,52,83.31,'jbdgr',75,9.63,'ybwnz')

statement ok
INSERT INTO tab0 VALUES(5,89,60.2,'abobb',88,12.32,'tlrst')

statement ok
INSERT INTO tab0 VALUES(6,88,42.39,'wkmch',72,92.40,'sycbv')

statement ok
INSERT INTO tab0 VALUES(7,99,33.68,'xuyzo',78,51.25,'mebnq')

statement ok
INSERT INTO tab0 VALUES(8,2,44.91,'wsoam',44,29.5,'gijrv')

statement ok
INSERT INTO tab0 VALUES(9,20,61.99,'upycp',7,69.96,'jxftw')

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

statement ok
CREATE INDEX idx_tab3_1 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 INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE ((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85
----

query I rowsort label-165
SELECT pk FROM tab0 WHERE NOT (((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85
----

query I rowsort label-165
SELECT pk FROM tab1 WHERE NOT (((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85
----

query I rowsort label-165
SELECT pk FROM tab2 WHERE NOT (((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85
----

query I rowsort label-165
SELECT pk FROM tab3 WHERE NOT (((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85
----

query I rowsort label-165
SELECT pk FROM tab4 WHERE NOT (((((((col0 IN (39,24,38,64,91,21))))))) OR col0 IS NULL OR col4 >= 97.85)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 <= 49

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

query I rowsort label-180
SELECT pk FROM tab0 WHERE NOT (col0 <= 49)
----
4
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 <= 49

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

query I rowsort label-180
SELECT pk FROM tab1 WHERE NOT (col0 <= 49)
----
4
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 <= 49

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

query I rowsort label-180
SELECT pk FROM tab2 WHERE NOT (col0 <= 49)
----
4
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 <= 49

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

query I rowsort label-180
SELECT pk FROM tab3 WHERE NOT (col0 <= 49)
----
4
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 <= 49

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

query I rowsort label-180
SELECT pk FROM tab4 WHERE NOT (col0 <= 49)
----
4
5
6
7

statement ok
DELETE FROM tab0 WHERE (((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89))
----

query I rowsort label-195
SELECT pk FROM tab0 WHERE NOT ((((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89)))
----
4
5
7

statement ok
DELETE FROM tab1 WHERE (((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89))
----

query I rowsort label-195
SELECT pk FROM tab1 WHERE NOT ((((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89)))
----
4
5
7

statement ok
DELETE FROM tab2 WHERE (((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89))
----

query I rowsort label-195
SELECT pk FROM tab2 WHERE NOT ((((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89)))
----
4
5
7

statement ok
DELETE FROM tab3 WHERE (((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89))
----

query I rowsort label-195
SELECT pk FROM tab3 WHERE NOT ((((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89)))
----
4
5
7

statement ok
DELETE FROM tab4 WHERE (((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89))
----

query I rowsort label-195
SELECT pk FROM tab4 WHERE NOT ((((((col0 <= 54)) OR (((col1 IS NULL)) OR col3 > 58 OR col3 > 19 AND (((col3 > 77 OR (col4 >= 35.39)) AND col3 BETWEEN 60 AND 29)) AND col3 < 42)) OR col0 > 50)) AND ((col4 >= 71.89)))
----
4
5
7

statement ok
DELETE FROM tab0 WHERE col0 <= 41

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

query I rowsort label-210
SELECT pk FROM tab0 WHERE NOT (col0 <= 41)
----
4
5
7

statement ok
DELETE FROM tab1 WHERE col0 <= 41

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

query I rowsort label-210
SELECT pk FROM tab1 WHERE NOT (col0 <= 41)
----
4
5
7

statement ok
DELETE FROM tab2 WHERE col0 <= 41

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

query I rowsort label-210
SELECT pk FROM tab2 WHERE NOT (col0 <= 41)
----
4
5
7

statement ok
DELETE FROM tab3 WHERE col0 <= 41

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

query I rowsort label-210
SELECT pk FROM tab3 WHERE NOT (col0 <= 41)
----
4
5
7

statement ok
DELETE FROM tab4 WHERE col0 <= 41

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

query I rowsort label-210
SELECT pk FROM tab4 WHERE NOT (col0 <= 41)
----
4
5
7

statement ok
DELETE FROM tab0 WHERE col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20))))
----

query I rowsort label-225
SELECT pk FROM tab0 WHERE NOT (col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20)))))
----
4
5
7

statement ok
DELETE FROM tab1 WHERE col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20))))
----

query I rowsort label-225
SELECT pk FROM tab1 WHERE NOT (col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20)))))
----
4
5
7

statement ok
DELETE FROM tab2 WHERE col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20))))
----

query I rowsort label-225
SELECT pk FROM tab2 WHERE NOT (col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20)))))
----
4
5
7

statement ok
DELETE FROM tab3 WHERE col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20))))
----

query I rowsort label-225
SELECT pk FROM tab3 WHERE NOT (col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20)))))
----
4
5
7

statement ok
DELETE FROM tab4 WHERE col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20))))
----

query I rowsort label-225
SELECT pk FROM tab4 WHERE NOT (col0 IN (77,31) AND ((col0 = 41 OR ((col4 > 1.13) OR col4 >= 76.90 AND col4 <= 45.13 AND col3 < 7 OR (col3 > 4) OR col0 < 39 OR (col1 < 70.20)))))
----
4
5
7

statement ok
DELETE FROM tab0 WHERE col0 IS NULL AND col0 > 11 AND col3 = 9

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IS NULL AND col0 > 11 AND col3 = 9
----

query I rowsort label-240
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL AND col0 > 11 AND col3 = 9)
----
4
5
7

statement ok
DELETE FROM tab1 WHERE col0 IS NULL AND col0 > 11 AND col3 = 9

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IS NULL AND col0 > 11 AND col3 = 9
----

query I rowsort label-240
SELECT pk FROM tab1 WHERE NOT (col0 IS NULL AND col0 > 11 AND col3 = 9)
----
4
5
7

statement ok
DELETE FROM tab2 WHERE col0 IS NULL AND col0 > 11 AND col3 = 9

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IS NULL AND col0 > 11 AND col3 = 9
----

query I rowsort label-240
SELECT pk FROM tab2 WHERE NOT (col0 IS NULL AND col0 > 11 AND col3 = 9)
----
4
5
7

statement ok
DELETE FROM tab3 WHERE col0 IS NULL AND col0 > 11 AND col3 = 9

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IS NULL AND col0 > 11 AND col3 = 9
----

query I rowsort label-240
SELECT pk FROM tab3 WHERE NOT (col0 IS NULL AND col0 > 11 AND col3 = 9)
----
4
5
7

statement ok
DELETE FROM tab4 WHERE col0 IS NULL AND col0 > 11 AND col3 = 9

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IS NULL AND col0 > 11 AND col3 = 9
----

query I rowsort label-240
SELECT pk FROM tab4 WHERE NOT (col0 IS NULL AND col0 > 11 AND col3 = 9)
----
4
5
7

statement ok
DELETE FROM tab0 WHERE (col0 < 31)

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

query I rowsort label-255
SELECT pk FROM tab0 WHERE NOT ((col0 < 31))
----
4
5
7

statement ok
DELETE FROM tab1 WHERE (col0 < 31)

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

query I rowsort label-255
SELECT pk FROM tab1 WHERE NOT ((col0 < 31))
----
4
5
7

statement ok
DELETE FROM tab2 WHERE (col0 < 31)

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

query I rowsort label-255
SELECT pk FROM tab2 WHERE NOT ((col0 < 31))
----
4
5
7

statement ok
DELETE FROM tab3 WHERE (col0 < 31)

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

query I rowsort label-255
SELECT pk FROM tab3 WHERE NOT ((col0 < 31))
----
4
5
7

statement ok
DELETE FROM tab4 WHERE (col0 < 31)

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

query I rowsort label-255
SELECT pk FROM tab4 WHERE NOT ((col0 < 31))
----
4
5
7

statement ok
DELETE FROM tab0 WHERE ((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82
----

query I rowsort label-270
SELECT pk FROM tab0 WHERE NOT (((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82)
----
4
5
7

statement ok
DELETE FROM tab1 WHERE ((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82
----

query I rowsort label-270
SELECT pk FROM tab1 WHERE NOT (((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82)
----
4
5
7

statement ok
DELETE FROM tab2 WHERE ((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82
----

query I rowsort label-270
SELECT pk FROM tab2 WHERE NOT (((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82)
----
4
5
7

statement ok
DELETE FROM tab3 WHERE ((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82
----

query I rowsort label-270
SELECT pk FROM tab3 WHERE NOT (((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82)
----
4
5
7

statement ok
DELETE FROM tab4 WHERE ((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82
----

query I rowsort label-270
SELECT pk FROM tab4 WHERE NOT (((col4 >= 22.65 AND (col1 < 36.73) AND col4 = 59.94)) AND (col0 > 45 OR (col3 < 66 AND col3 > 8 OR col3 > 69 OR col4 > 36.64 OR col0 >= 30 OR (col1 > 41.80) AND (((((col3 >= 21) OR (col0 <= 4 AND col0 <= 73 AND col1 = 41.56))) OR col0 > 90 AND col0 >= 94 AND ((col3 < 97)) AND (col0 >= 35) AND col3 < 88 OR col1 > 70.68 AND col3 > 49 OR (col3 > 69))) AND (col4 = 6.23))) AND col0 = 82)
----
4
5
7

statement ok
DELETE FROM tab0 WHERE col1 < 89.20

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

query I rowsort label-285
SELECT pk FROM tab0 WHERE NOT (col1 < 89.20)
----

statement ok
DELETE FROM tab1 WHERE col1 < 89.20

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

query I rowsort label-285
SELECT pk FROM tab1 WHERE NOT (col1 < 89.20)
----

statement ok
DELETE FROM tab2 WHERE col1 < 89.20

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

query I rowsort label-285
SELECT pk FROM tab2 WHERE NOT (col1 < 89.20)
----

statement ok
DELETE FROM tab3 WHERE col1 < 89.20

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

query I rowsort label-285
SELECT pk FROM tab3 WHERE NOT (col1 < 89.20)
----

statement ok
DELETE FROM tab4 WHERE col1 < 89.20

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

query I rowsort label-285
SELECT pk FROM tab4 WHERE NOT (col1 < 89.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,80,55.67,'snnwd',95,98.38,'ppwqw')

statement ok
INSERT INTO tab0 VALUES(1,64,60.19,'vscmo',87,29.85,'ydlbt')

statement ok
INSERT INTO tab0 VALUES(2,75,72.42,'rwyzx',83,33.19,'douew')

statement ok
INSERT INTO tab0 VALUES(3,56,99.85,'johwr',90,24.72,'sbjzl')

statement ok
INSERT INTO tab0 VALUES(4,98,15.9,'thvmd',96,86.71,'rycaz')

statement ok
INSERT INTO tab0 VALUES(5,96,68.44,'pwsni',22,87.94,'gjlbk')

statement ok
INSERT INTO tab0 VALUES(6,19,97.57,'nivrj',97,88.36,'hwqph')

statement ok
INSERT INTO tab0 VALUES(7,68,38.11,'ilugm',11,54.68,'hawqu')

statement ok
INSERT INTO tab0 VALUES(8,39,45.29,'yiguc',82,78.5,'mdcgw')

statement ok
INSERT INTO tab0 VALUES(9,85,94.55,'sbtua',16,79.63,'zupen')

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col0 = 42)

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

query I rowsort label-300
SELECT pk FROM tab0 WHERE NOT ((col0 = 42))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 = 42)

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

query I rowsort label-300
SELECT pk FROM tab1 WHERE NOT ((col0 = 42))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 = 42)

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

query I rowsort label-300
SELECT pk FROM tab2 WHERE NOT ((col0 = 42))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 = 42)

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

query I rowsort label-300
SELECT pk FROM tab3 WHERE NOT ((col0 = 42))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 = 42)

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

query I rowsort label-300
SELECT pk FROM tab4 WHERE NOT ((col0 = 42))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 > 36

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

query I rowsort label-315
SELECT pk FROM tab0 WHERE NOT (col0 > 36)
----
6

statement ok
DELETE FROM tab1 WHERE col0 > 36

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

query I rowsort label-315
SELECT pk FROM tab1 WHERE NOT (col0 > 36)
----
6

statement ok
DELETE FROM tab2 WHERE col0 > 36

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

query I rowsort label-315
SELECT pk FROM tab2 WHERE NOT (col0 > 36)
----
6

statement ok
DELETE FROM tab3 WHERE col0 > 36

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

query I rowsort label-315
SELECT pk FROM tab3 WHERE NOT (col0 > 36)
----
6

statement ok
DELETE FROM tab4 WHERE col0 > 36

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

query I rowsort label-315
SELECT pk FROM tab4 WHERE NOT (col0 > 36)
----
6

statement ok
DELETE FROM tab0 WHERE ((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48
----

query I rowsort label-330
SELECT pk FROM tab0 WHERE NOT (((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48)
----

statement ok
DELETE FROM tab1 WHERE ((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48
----

query I rowsort label-330
SELECT pk FROM tab1 WHERE NOT (((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48)
----

statement ok
DELETE FROM tab2 WHERE ((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48
----

query I rowsort label-330
SELECT pk FROM tab2 WHERE NOT (((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48)
----

statement ok
DELETE FROM tab3 WHERE ((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48
----

query I rowsort label-330
SELECT pk FROM tab3 WHERE NOT (((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48)
----

statement ok
DELETE FROM tab4 WHERE ((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.48
----

query I rowsort label-330
SELECT pk FROM tab4 WHERE NOT (((((col3 > 32)))) AND col0 = 42 OR col3 < 57 OR col4 > 17.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,60,60.64,'mfzal',63,21.86,'wjzdw')

statement ok
INSERT INTO tab0 VALUES(1,9,30.11,'zipfh',76,60.81,'mnhcg')

statement ok
INSERT INTO tab0 VALUES(2,21,9.93,'zrnuu',4,34.71,'wditq')

statement ok
INSERT INTO tab0 VALUES(3,67,7.1,'hftkw',77,89.28,'iqtqk')

statement ok
INSERT INTO tab0 VALUES(4,32,1.17,'zgbhz',36,24.74,'tuzhw')

statement ok
INSERT INTO tab0 VALUES(5,22,99.31,'xrtfx',54,49.94,'eaqnu')

statement ok
INSERT INTO tab0 VALUES(6,79,5.50,'jwgpe',47,50.45,'ijfhe')

statement ok
INSERT INTO tab0 VALUES(7,92,77.12,'ucqwx',81,51.73,'ktwax')

statement ok
INSERT INTO tab0 VALUES(8,12,94.98,'fmkfg',91,75.24,'pzvqd')

statement ok
INSERT INTO tab0 VALUES(9,61,15.44,'ccyad',92,8.53,'tabte')

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

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

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC)

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63
----

query I rowsort label-345
SELECT pk FROM tab0 WHERE NOT ((((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63)
----

statement ok
DELETE FROM tab1 WHERE (((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63
----

query I rowsort label-345
SELECT pk FROM tab1 WHERE NOT ((((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63)
----

statement ok
DELETE FROM tab2 WHERE (((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63
----

query I rowsort label-345
SELECT pk FROM tab2 WHERE NOT ((((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63)
----

statement ok
DELETE FROM tab3 WHERE (((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63
----

query I rowsort label-345
SELECT pk FROM tab3 WHERE NOT ((((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63)
----

statement ok
DELETE FROM tab4 WHERE (((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.63
----

query I rowsort label-345
SELECT pk FROM tab4 WHERE NOT ((((col1 >= 25.92) AND ((col0 >= 78)))) OR (col1 >= 65.17) OR (col0 < 32) OR col0 > 3 OR col0 < 42 AND col4 >= 4.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,72,77.62,'sywqk',73,61.73,'nzxra')

statement ok
INSERT INTO tab0 VALUES(1,41,18.20,'urzjn',63,45.10,'feanp')

statement ok
INSERT INTO tab0 VALUES(2,56,26.12,'hcgdf',86,50.78,'scomc')

statement ok
INSERT INTO tab0 VALUES(3,59,55.37,'izvsw',69,72.52,'unqjt')

statement ok
INSERT INTO tab0 VALUES(4,15,85.29,'yateu',72,10.0,'mfcvz')

statement ok
INSERT INTO tab0 VALUES(5,31,76.65,'tenbs',99,30.91,'rhbqc')

statement ok
INSERT INTO tab0 VALUES(6,62,39.83,'spvqp',11,25.10,'ycpsu')

statement ok
INSERT INTO tab0 VALUES(7,28,92.94,'nzaud',39,81.68,'yojhy')

statement ok
INSERT INTO tab0 VALUES(8,25,27.88,'nmyik',98,35.17,'dceca')

statement ok
INSERT INTO tab0 VALUES(9,38,67.57,'yxido',95,41.61,'kzrhx')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC)

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

statement ok
CREATE INDEX idx_tab2_2 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 UNIQUE INDEX idx_tab3_2 ON tab3 (col1)

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 UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col0 = 7) AND ((col4 > 35.95))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 7) AND ((col4 > 35.95))
----

query I rowsort label-360
SELECT pk FROM tab0 WHERE NOT ((col0 = 7) AND ((col4 > 35.95)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 = 7) AND ((col4 > 35.95))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 7) AND ((col4 > 35.95))
----

query I rowsort label-360
SELECT pk FROM tab1 WHERE NOT ((col0 = 7) AND ((col4 > 35.95)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 = 7) AND ((col4 > 35.95))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 7) AND ((col4 > 35.95))
----

query I rowsort label-360
SELECT pk FROM tab2 WHERE NOT ((col0 = 7) AND ((col4 > 35.95)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 = 7) AND ((col4 > 35.95))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 7) AND ((col4 > 35.95))
----

query I rowsort label-360
SELECT pk FROM tab3 WHERE NOT ((col0 = 7) AND ((col4 > 35.95)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 = 7) AND ((col4 > 35.95))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 7) AND ((col4 > 35.95))
----

query I rowsort label-360
SELECT pk FROM tab4 WHERE NOT ((col0 = 7) AND ((col4 > 35.95)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6)
----

query I rowsort label-375
SELECT pk FROM tab0 WHERE NOT (((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6)
----

query I rowsort label-375
SELECT pk FROM tab1 WHERE NOT (((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6)
----

query I rowsort label-375
SELECT pk FROM tab2 WHERE NOT (((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6)
----

query I rowsort label-375
SELECT pk FROM tab3 WHERE NOT (((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6)
----

query I rowsort label-375
SELECT pk FROM tab4 WHERE NOT (((col0 BETWEEN 0 AND 84 AND col0 < 90) AND col3 < 6))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0
----

query I rowsort label-390
SELECT pk FROM tab0 WHERE NOT (col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0)
----
4

statement ok
DELETE FROM tab1 WHERE col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0
----

query I rowsort label-390
SELECT pk FROM tab1 WHERE NOT (col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0)
----
4

statement ok
DELETE FROM tab2 WHERE col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0
----

query I rowsort label-390
SELECT pk FROM tab2 WHERE NOT (col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0)
----
4

statement ok
DELETE FROM tab3 WHERE col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0
----

query I rowsort label-390
SELECT pk FROM tab3 WHERE NOT (col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0)
----
4

statement ok
DELETE FROM tab4 WHERE col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0
----

query I rowsort label-390
SELECT pk FROM tab4 WHERE NOT (col0 >= 25 OR col4 BETWEEN 38.2 AND 69.0)
----
4

statement ok
DELETE FROM tab0 WHERE (col3 = 6)

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

query I rowsort label-405
SELECT pk FROM tab0 WHERE NOT ((col3 = 6))
----
4

statement ok
DELETE FROM tab1 WHERE (col3 = 6)

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

query I rowsort label-405
SELECT pk FROM tab1 WHERE NOT ((col3 = 6))
----
4

statement ok
DELETE FROM tab2 WHERE (col3 = 6)

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

query I rowsort label-405
SELECT pk FROM tab2 WHERE NOT ((col3 = 6))
----
4

statement ok
DELETE FROM tab3 WHERE (col3 = 6)

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

query I rowsort label-405
SELECT pk FROM tab3 WHERE NOT ((col3 = 6))
----
4

statement ok
DELETE FROM tab4 WHERE (col3 = 6)

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

query I rowsort label-405
SELECT pk FROM tab4 WHERE NOT ((col3 = 6))
----
4

statement ok
DELETE FROM tab0 WHERE col3 >= 2

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

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

statement ok
DELETE FROM tab1 WHERE col3 >= 2

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

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

statement ok
DELETE FROM tab2 WHERE col3 >= 2

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

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

statement ok
DELETE FROM tab3 WHERE col3 >= 2

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

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

statement ok
DELETE FROM tab4 WHERE col3 >= 2

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

query I rowsort label-420
SELECT pk FROM tab4 WHERE NOT (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,97,48.98,'nagan',28,24.67,'lmxrl')

statement ok
INSERT INTO tab0 VALUES(1,55,46.53,'gwppd',17,63.27,'mndqp')

statement ok
INSERT INTO tab0 VALUES(2,87,77.4,'ybdhm',23,4.69,'ztfep')

statement ok
INSERT INTO tab0 VALUES(3,75,47.65,'wfehf',56,75.43,'fbnxq')

statement ok
INSERT INTO tab0 VALUES(4,80,23.77,'qexwy',58,97.34,'mhtsq')

statement ok
INSERT INTO tab0 VALUES(5,58,94.18,'rldjs',25,40.68,'teoor')

statement ok
INSERT INTO tab0 VALUES(6,70,30.19,'xyzns',13,90.30,'grbwy')

statement ok
INSERT INTO tab0 VALUES(7,95,45.71,'gljly',51,8.75,'cbrmd')

statement ok
INSERT INTO tab0 VALUES(8,42,65.46,'kjrur',57,95.39,'zxmxb')

statement ok
INSERT INTO tab0 VALUES(9,65,83.99,'nilvg',47,56.55,'tkchm')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col1 = 47.44 AND col1 >= 34.4) AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 47.44 AND col1 >= 34.4) AND col0 > 64
----

query I rowsort label-435
SELECT pk FROM tab0 WHERE NOT ((col1 = 47.44 AND col1 >= 34.4) AND col0 > 64)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col1 = 47.44 AND col1 >= 34.4) AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 47.44 AND col1 >= 34.4) AND col0 > 64
----

query I rowsort label-435
SELECT pk FROM tab1 WHERE NOT ((col1 = 47.44 AND col1 >= 34.4) AND col0 > 64)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col1 = 47.44 AND col1 >= 34.4) AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 47.44 AND col1 >= 34.4) AND col0 > 64
----

query I rowsort label-435
SELECT pk FROM tab2 WHERE NOT ((col1 = 47.44 AND col1 >= 34.4) AND col0 > 64)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col1 = 47.44 AND col1 >= 34.4) AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 47.44 AND col1 >= 34.4) AND col0 > 64
----

query I rowsort label-435
SELECT pk FROM tab3 WHERE NOT ((col1 = 47.44 AND col1 >= 34.4) AND col0 > 64)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col1 = 47.44 AND col1 >= 34.4) AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 47.44 AND col1 >= 34.4) AND col0 > 64
----

query I rowsort label-435
SELECT pk FROM tab4 WHERE NOT ((col1 = 47.44 AND col1 >= 34.4) AND col0 > 64)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col4 <= 55.41 OR col0 < 3)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 <= 55.41 OR col0 < 3)
----

query I rowsort label-450
SELECT pk FROM tab0 WHERE NOT ((col4 <= 55.41 OR col0 < 3))
----
1
3
4
6
8
9

statement ok
DELETE FROM tab1 WHERE (col4 <= 55.41 OR col0 < 3)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 <= 55.41 OR col0 < 3)
----

query I rowsort label-450
SELECT pk FROM tab1 WHERE NOT ((col4 <= 55.41 OR col0 < 3))
----
1
3
4
6
8
9

statement ok
DELETE FROM tab2 WHERE (col4 <= 55.41 OR col0 < 3)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 <= 55.41 OR col0 < 3)
----

query I rowsort label-450
SELECT pk FROM tab2 WHERE NOT ((col4 <= 55.41 OR col0 < 3))
----
1
3
4
6
8
9

statement ok
DELETE FROM tab3 WHERE (col4 <= 55.41 OR col0 < 3)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 <= 55.41 OR col0 < 3)
----

query I rowsort label-450
SELECT pk FROM tab3 WHERE NOT ((col4 <= 55.41 OR col0 < 3))
----
1
3
4
6
8
9

statement ok
DELETE FROM tab4 WHERE (col4 <= 55.41 OR col0 < 3)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 <= 55.41 OR col0 < 3)
----

query I rowsort label-450
SELECT pk FROM tab4 WHERE NOT ((col4 <= 55.41 OR col0 < 3))
----
1
3
4
6
8
9

statement ok
DELETE FROM tab0 WHERE col3 > 39

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

query I rowsort label-465
SELECT pk FROM tab0 WHERE NOT (col3 > 39)
----
1
6

statement ok
DELETE FROM tab1 WHERE col3 > 39

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

query I rowsort label-465
SELECT pk FROM tab1 WHERE NOT (col3 > 39)
----
1
6

statement ok
DELETE FROM tab2 WHERE col3 > 39

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

query I rowsort label-465
SELECT pk FROM tab2 WHERE NOT (col3 > 39)
----
1
6

statement ok
DELETE FROM tab3 WHERE col3 > 39

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

query I rowsort label-465
SELECT pk FROM tab3 WHERE NOT (col3 > 39)
----
1
6

statement ok
DELETE FROM tab4 WHERE col3 > 39

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

query I rowsort label-465
SELECT pk FROM tab4 WHERE NOT (col3 > 39)
----
1
6

statement ok
DELETE FROM tab0 WHERE (((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22
----

query I rowsort label-480
SELECT pk FROM tab0 WHERE NOT ((((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22)
----
1
6

statement ok
DELETE FROM tab1 WHERE (((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22
----

query I rowsort label-480
SELECT pk FROM tab1 WHERE NOT ((((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22)
----
1
6

statement ok
DELETE FROM tab2 WHERE (((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22
----

query I rowsort label-480
SELECT pk FROM tab2 WHERE NOT ((((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22)
----
1
6

statement ok
DELETE FROM tab3 WHERE (((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22
----

query I rowsort label-480
SELECT pk FROM tab3 WHERE NOT ((((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22)
----
1
6

statement ok
DELETE FROM tab4 WHERE (((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22
----

query I rowsort label-480
SELECT pk FROM tab4 WHERE NOT ((((col1 < 55.66))) AND ((col1 = 61.6) AND col3 <= 55 AND col0 IS NULL AND col1 > 36.12) AND (col3 <= 14) AND col4 < 16.22)
----
1
6

statement ok
DELETE FROM tab0 WHERE col4 = 14.54

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

query I rowsort label-495
SELECT pk FROM tab0 WHERE NOT (col4 = 14.54)
----
1
6

statement ok
DELETE FROM tab1 WHERE col4 = 14.54

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

query I rowsort label-495
SELECT pk FROM tab1 WHERE NOT (col4 = 14.54)
----
1
6

statement ok
DELETE FROM tab2 WHERE col4 = 14.54

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

query I rowsort label-495
SELECT pk FROM tab2 WHERE NOT (col4 = 14.54)
----
1
6

statement ok
DELETE FROM tab3 WHERE col4 = 14.54

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

query I rowsort label-495
SELECT pk FROM tab3 WHERE NOT (col4 = 14.54)
----
1
6

statement ok
DELETE FROM tab4 WHERE col4 = 14.54

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

query I rowsort label-495
SELECT pk FROM tab4 WHERE NOT (col4 = 14.54)
----
1
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,20,7.32,'divwt',64,79.1,'ahxmr')

statement ok
INSERT INTO tab0 VALUES(1,47,55.36,'qseku',99,48.19,'aysta')

statement ok
INSERT INTO tab0 VALUES(2,79,35.47,'hjnyy',8,73.95,'yefon')

statement ok
INSERT INTO tab0 VALUES(3,59,24.30,'ikyuh',10,97.95,'ddhoe')

statement ok
INSERT INTO tab0 VALUES(4,62,96.53,'bkkka',16,89.95,'pzdrt')

statement ok
INSERT INTO tab0 VALUES(5,12,84.4,'cjkta',38,15.92,'rwrmo')

statement ok
INSERT INTO tab0 VALUES(6,91,48.95,'jxolj',6,94.23,'pfjbz')

statement ok
INSERT INTO tab0 VALUES(7,50,33.84,'llesc',74,61.67,'frrhd')

statement ok
INSERT INTO tab0 VALUES(8,27,32.81,'gfdqv',39,32.67,'oivzk')

statement ok
INSERT INTO tab0 VALUES(9,54,50.63,'uleef',46,67.38,'kxjyf')

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)

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0 DESC)

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 UNIQUE INDEX idx_tab4_0 ON tab4 (col3,col4)

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col0 = 52

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

query I rowsort label-510
SELECT pk FROM tab0 WHERE NOT (col0 = 52)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 = 52

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

query I rowsort label-510
SELECT pk FROM tab1 WHERE NOT (col0 = 52)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 = 52

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

query I rowsort label-510
SELECT pk FROM tab2 WHERE NOT (col0 = 52)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 = 52

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

query I rowsort label-510
SELECT pk FROM tab3 WHERE NOT (col0 = 52)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 = 52

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

query I rowsort label-510
SELECT pk FROM tab4 WHERE NOT (col0 = 52)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col3 <= 55))

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

query I rowsort label-525
SELECT pk FROM tab0 WHERE NOT (((col3 <= 55)))
----
0
1
7

statement ok
DELETE FROM tab1 WHERE ((col3 <= 55))

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

query I rowsort label-525
SELECT pk FROM tab1 WHERE NOT (((col3 <= 55)))
----
0
1
7

statement ok
DELETE FROM tab2 WHERE ((col3 <= 55))

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

query I rowsort label-525
SELECT pk FROM tab2 WHERE NOT (((col3 <= 55)))
----
0
1
7

statement ok
DELETE FROM tab3 WHERE ((col3 <= 55))

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

query I rowsort label-525
SELECT pk FROM tab3 WHERE NOT (((col3 <= 55)))
----
0
1
7

statement ok
DELETE FROM tab4 WHERE ((col3 <= 55))

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

query I rowsort label-525
SELECT pk FROM tab4 WHERE NOT (((col3 <= 55)))
----
0
1
7

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

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

query I rowsort label-540
SELECT pk FROM tab0 WHERE NOT ((col3 >= 80))
----
0
7

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

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

query I rowsort label-540
SELECT pk FROM tab1 WHERE NOT ((col3 >= 80))
----
0
7

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

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

query I rowsort label-540
SELECT pk FROM tab2 WHERE NOT ((col3 >= 80))
----
0
7

statement ok
DELETE FROM tab3 WHERE (col3 >= 80)

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

query I rowsort label-540
SELECT pk FROM tab3 WHERE NOT ((col3 >= 80))
----
0
7

statement ok
DELETE FROM tab4 WHERE (col3 >= 80)

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

query I rowsort label-540
SELECT pk FROM tab4 WHERE NOT ((col3 >= 80))
----
0
7

statement ok
DELETE FROM tab0 WHERE col0 IN (40,93,0)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (40,93,0)
----

query I rowsort label-555
SELECT pk FROM tab0 WHERE NOT (col0 IN (40,93,0))
----
0
7

statement ok
DELETE FROM tab1 WHERE col0 IN (40,93,0)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (40,93,0)
----

query I rowsort label-555
SELECT pk FROM tab1 WHERE NOT (col0 IN (40,93,0))
----
0
7

statement ok
DELETE FROM tab2 WHERE col0 IN (40,93,0)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (40,93,0)
----

query I rowsort label-555
SELECT pk FROM tab2 WHERE NOT (col0 IN (40,93,0))
----
0
7

statement ok
DELETE FROM tab3 WHERE col0 IN (40,93,0)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (40,93,0)
----

query I rowsort label-555
SELECT pk FROM tab3 WHERE NOT (col0 IN (40,93,0))
----
0
7

statement ok
DELETE FROM tab4 WHERE col0 IN (40,93,0)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (40,93,0)
----

query I rowsort label-555
SELECT pk FROM tab4 WHERE NOT (col0 IN (40,93,0))
----
0
7

statement ok
DELETE FROM tab0 WHERE (col4 < 76.88)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 76.88)
----

query I rowsort label-570
SELECT pk FROM tab0 WHERE NOT ((col4 < 76.88))
----
0

statement ok
DELETE FROM tab1 WHERE (col4 < 76.88)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 76.88)
----

query I rowsort label-570
SELECT pk FROM tab1 WHERE NOT ((col4 < 76.88))
----
0

statement ok
DELETE FROM tab2 WHERE (col4 < 76.88)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 76.88)
----

query I rowsort label-570
SELECT pk FROM tab2 WHERE NOT ((col4 < 76.88))
----
0

statement ok
DELETE FROM tab3 WHERE (col4 < 76.88)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 76.88)
----

query I rowsort label-570
SELECT pk FROM tab3 WHERE NOT ((col4 < 76.88))
----
0

statement ok
DELETE FROM tab4 WHERE (col4 < 76.88)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 76.88)
----

query I rowsort label-570
SELECT pk FROM tab4 WHERE NOT ((col4 < 76.88))
----
0

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

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

query I rowsort label-585
SELECT pk FROM tab0 WHERE NOT (((((col3 >= 28)))))
----

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

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

query I rowsort label-585
SELECT pk FROM tab1 WHERE NOT (((((col3 >= 28)))))
----

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

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

query I rowsort label-585
SELECT pk FROM tab2 WHERE NOT (((((col3 >= 28)))))
----

statement ok
DELETE FROM tab3 WHERE ((((col3 >= 28))))

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

query I rowsort label-585
SELECT pk FROM tab3 WHERE NOT (((((col3 >= 28)))))
----

statement ok
DELETE FROM tab4 WHERE ((((col3 >= 28))))

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

query I rowsort label-585
SELECT pk FROM tab4 WHERE NOT (((((col3 >= 28)))))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,75,10.85,'jlxhk',10,65.48,'ifual')

statement ok
INSERT INTO tab0 VALUES(1,2,98.51,'mbvsw',59,38.29,'btpho')

statement ok
INSERT INTO tab0 VALUES(2,44,73.10,'qmyfg',98,57.78,'caycu')

statement ok
INSERT INTO tab0 VALUES(3,89,86.62,'gfmvb',62,28.30,'utgih')

statement ok
INSERT INTO tab0 VALUES(4,12,26.95,'dsszd',58,51.40,'uojol')

statement ok
INSERT INTO tab0 VALUES(5,40,31.49,'lcwzk',23,30.49,'kornu')

statement ok
INSERT INTO tab0 VALUES(6,13,0.76,'avirf',87,87.40,'mxium')

statement ok
INSERT INTO tab0 VALUES(7,41,7.9,'ifsdj',37,77.6,'qmhob')

statement ok
INSERT INTO tab0 VALUES(8,78,14.17,'rdedf',81,96.10,'jnnzt')

statement ok
INSERT INTO tab0 VALUES(9,76,81.71,'hphzz',5,97.48,'ggaaq')

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 UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col4 < 64.95 AND col0 = 77

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 64.95 AND col0 = 77
----

query I rowsort label-600
SELECT pk FROM tab0 WHERE NOT (col4 < 64.95 AND col0 = 77)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 < 64.95 AND col0 = 77

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 64.95 AND col0 = 77
----

query I rowsort label-600
SELECT pk FROM tab1 WHERE NOT (col4 < 64.95 AND col0 = 77)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 < 64.95 AND col0 = 77

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 64.95 AND col0 = 77
----

query I rowsort label-600
SELECT pk FROM tab2 WHERE NOT (col4 < 64.95 AND col0 = 77)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 < 64.95 AND col0 = 77

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 64.95 AND col0 = 77
----

query I rowsort label-600
SELECT pk FROM tab3 WHERE NOT (col4 < 64.95 AND col0 = 77)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 < 64.95 AND col0 = 77

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 64.95 AND col0 = 77
----

query I rowsort label-600
SELECT pk FROM tab4 WHERE NOT (col4 < 64.95 AND col0 = 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,53,44.94,'gxtta',55,68.69,'kuktf')

statement ok
INSERT INTO tab0 VALUES(1,87,41.96,'qqhbf',82,25.6,'obcnl')

statement ok
INSERT INTO tab0 VALUES(2,20,50.88,'cgdxv',41,88.64,'loior')

statement ok
INSERT INTO tab0 VALUES(3,58,95.74,'feajt',96,6.74,'tefvg')

statement ok
INSERT INTO tab0 VALUES(4,38,2.53,'pmndd',77,34.47,'wytqh')

statement ok
INSERT INTO tab0 VALUES(5,94,10.86,'crbdg',37,48.34,'xmvlp')

statement ok
INSERT INTO tab0 VALUES(6,19,85.55,'xgcev',22,57.88,'wtokb')

statement ok
INSERT INTO tab0 VALUES(7,24,31.29,'rhiqc',26,12.31,'vqfwl')

statement ok
INSERT INTO tab0 VALUES(8,4,3.19,'rcrwu',61,24.10,'zokhw')

statement ok
INSERT INTO tab0 VALUES(9,2,16.50,'tvnem',14,73.65,'ubhoq')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1 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 (col3 DESC)

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col4 < 80.71

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

query I rowsort label-615
SELECT pk FROM tab0 WHERE NOT (col4 < 80.71)
----
2

statement ok
DELETE FROM tab1 WHERE col4 < 80.71

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

query I rowsort label-615
SELECT pk FROM tab1 WHERE NOT (col4 < 80.71)
----
2

statement ok
DELETE FROM tab2 WHERE col4 < 80.71

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

query I rowsort label-615
SELECT pk FROM tab2 WHERE NOT (col4 < 80.71)
----
2

statement ok
DELETE FROM tab3 WHERE col4 < 80.71

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

query I rowsort label-615
SELECT pk FROM tab3 WHERE NOT (col4 < 80.71)
----
2

statement ok
DELETE FROM tab4 WHERE col4 < 80.71

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

query I rowsort label-615
SELECT pk FROM tab4 WHERE NOT (col4 < 80.71)
----
2

statement ok
DELETE FROM tab0 WHERE col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52))
----

query I rowsort label-630
SELECT pk FROM tab0 WHERE NOT (col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52)))
----
2

statement ok
DELETE FROM tab1 WHERE col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52))
----

query I rowsort label-630
SELECT pk FROM tab1 WHERE NOT (col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52)))
----
2

statement ok
DELETE FROM tab2 WHERE col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52))
----

query I rowsort label-630
SELECT pk FROM tab2 WHERE NOT (col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52)))
----
2

statement ok
DELETE FROM tab3 WHERE col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52))
----

query I rowsort label-630
SELECT pk FROM tab3 WHERE NOT (col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52)))
----
2

statement ok
DELETE FROM tab4 WHERE col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52))
----

query I rowsort label-630
SELECT pk FROM tab4 WHERE NOT (col0 < 7 AND col3 >= 81 OR ((((col0 < 33) AND ((((col3 <= 24 AND col3 >= 21)) OR (col0 < 26) OR ((((((col3 > 2)))) OR ((col3 > 16)) OR (col4 > 23.29) OR ((col3 <= 87 AND col3 < 21)) OR col0 = 46 AND col0 >= 27) OR col1 = 90.18 AND (col0 > 56)) AND col3 < 72 AND col1 > 33.57)) AND col1 > 0.11) AND col3 >= 60 OR col3 = 40) AND (col3 = 52)))
----
2

statement ok
DELETE FROM tab0 WHERE col0 = 72

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

query I rowsort label-645
SELECT pk FROM tab0 WHERE NOT (col0 = 72)
----
2

statement ok
DELETE FROM tab1 WHERE col0 = 72

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

query I rowsort label-645
SELECT pk FROM tab1 WHERE NOT (col0 = 72)
----
2

statement ok
DELETE FROM tab2 WHERE col0 = 72

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

query I rowsort label-645
SELECT pk FROM tab2 WHERE NOT (col0 = 72)
----
2

statement ok
DELETE FROM tab3 WHERE col0 = 72

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

query I rowsort label-645
SELECT pk FROM tab3 WHERE NOT (col0 = 72)
----
2

statement ok
DELETE FROM tab4 WHERE col0 = 72

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

query I rowsort label-645
SELECT pk FROM tab4 WHERE NOT (col0 = 72)
----
2

statement ok
DELETE FROM tab0 WHERE col4 <= 2.60

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

query I rowsort label-660
SELECT pk FROM tab0 WHERE NOT (col4 <= 2.60)
----
2

statement ok
DELETE FROM tab1 WHERE col4 <= 2.60

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

query I rowsort label-660
SELECT pk FROM tab1 WHERE NOT (col4 <= 2.60)
----
2

statement ok
DELETE FROM tab2 WHERE col4 <= 2.60

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

query I rowsort label-660
SELECT pk FROM tab2 WHERE NOT (col4 <= 2.60)
----
2

statement ok
DELETE FROM tab3 WHERE col4 <= 2.60

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

query I rowsort label-660
SELECT pk FROM tab3 WHERE NOT (col4 <= 2.60)
----
2

statement ok
DELETE FROM tab4 WHERE col4 <= 2.60

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

query I rowsort label-660
SELECT pk FROM tab4 WHERE NOT (col4 <= 2.60)
----
2

statement ok
DELETE FROM tab0 WHERE col3 IN (42,22,8,16)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (42,22,8,16)
----

query I rowsort label-675
SELECT pk FROM tab0 WHERE NOT (col3 IN (42,22,8,16))
----
2

statement ok
DELETE FROM tab1 WHERE col3 IN (42,22,8,16)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (42,22,8,16)
----

query I rowsort label-675
SELECT pk FROM tab1 WHERE NOT (col3 IN (42,22,8,16))
----
2

statement ok
DELETE FROM tab2 WHERE col3 IN (42,22,8,16)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (42,22,8,16)
----

query I rowsort label-675
SELECT pk FROM tab2 WHERE NOT (col3 IN (42,22,8,16))
----
2

statement ok
DELETE FROM tab3 WHERE col3 IN (42,22,8,16)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (42,22,8,16)
----

query I rowsort label-675
SELECT pk FROM tab3 WHERE NOT (col3 IN (42,22,8,16))
----
2

statement ok
DELETE FROM tab4 WHERE col3 IN (42,22,8,16)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (42,22,8,16)
----

query I rowsort label-675
SELECT pk FROM tab4 WHERE NOT (col3 IN (42,22,8,16))
----
2

statement ok
DELETE FROM tab0 WHERE col0 > 31

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

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

statement ok
DELETE FROM tab1 WHERE col0 > 31

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

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

statement ok
DELETE FROM tab2 WHERE col0 > 31

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

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

statement ok
DELETE FROM tab3 WHERE col0 > 31

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

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

statement ok
DELETE FROM tab4 WHERE col0 > 31

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

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

statement ok
DELETE FROM tab0 WHERE col1 IN (97.31,45.17,64.11,93.67)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IN (97.31,45.17,64.11,93.67)
----

query I rowsort label-705
SELECT pk FROM tab0 WHERE NOT (col1 IN (97.31,45.17,64.11,93.67))
----
2

statement ok
DELETE FROM tab1 WHERE col1 IN (97.31,45.17,64.11,93.67)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IN (97.31,45.17,64.11,93.67)
----

query I rowsort label-705
SELECT pk FROM tab1 WHERE NOT (col1 IN (97.31,45.17,64.11,93.67))
----
2

statement ok
DELETE FROM tab2 WHERE col1 IN (97.31,45.17,64.11,93.67)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IN (97.31,45.17,64.11,93.67)
----

query I rowsort label-705
SELECT pk FROM tab2 WHERE NOT (col1 IN (97.31,45.17,64.11,93.67))
----
2

statement ok
DELETE FROM tab3 WHERE col1 IN (97.31,45.17,64.11,93.67)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IN (97.31,45.17,64.11,93.67)
----

query I rowsort label-705
SELECT pk FROM tab3 WHERE NOT (col1 IN (97.31,45.17,64.11,93.67))
----
2

statement ok
DELETE FROM tab4 WHERE col1 IN (97.31,45.17,64.11,93.67)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IN (97.31,45.17,64.11,93.67)
----

query I rowsort label-705
SELECT pk FROM tab4 WHERE NOT (col1 IN (97.31,45.17,64.11,93.67))
----
2

statement ok
DELETE FROM tab0 WHERE col3 > 90

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

query I rowsort label-720
SELECT pk FROM tab0 WHERE NOT (col3 > 90)
----
2

statement ok
DELETE FROM tab1 WHERE col3 > 90

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

query I rowsort label-720
SELECT pk FROM tab1 WHERE NOT (col3 > 90)
----
2

statement ok
DELETE FROM tab2 WHERE col3 > 90

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

query I rowsort label-720
SELECT pk FROM tab2 WHERE NOT (col3 > 90)
----
2

statement ok
DELETE FROM tab3 WHERE col3 > 90

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

query I rowsort label-720
SELECT pk FROM tab3 WHERE NOT (col3 > 90)
----
2

statement ok
DELETE FROM tab4 WHERE col3 > 90

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

query I rowsort label-720
SELECT pk FROM tab4 WHERE NOT (col3 > 90)
----
2

statement ok
DELETE FROM tab0 WHERE col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68
----

query I rowsort label-735
SELECT pk FROM tab0 WHERE NOT (col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68)
----
2

statement ok
DELETE FROM tab1 WHERE col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68
----

query I rowsort label-735
SELECT pk FROM tab1 WHERE NOT (col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68)
----
2

statement ok
DELETE FROM tab2 WHERE col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68
----

query I rowsort label-735
SELECT pk FROM tab2 WHERE NOT (col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68)
----
2

statement ok
DELETE FROM tab3 WHERE col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68
----

query I rowsort label-735
SELECT pk FROM tab3 WHERE NOT (col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68)
----
2

statement ok
DELETE FROM tab4 WHERE col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68
----

query I rowsort label-735
SELECT pk FROM tab4 WHERE NOT (col4 < 96.59 AND (col3 > 95 OR ((col4 IS NULL OR col4 > 1.98 OR col1 > 56.86 OR col3 BETWEEN 38 AND 92) AND col3 > 18)) AND col3 = 68)
----
2

statement ok
DELETE FROM tab0 WHERE col0 BETWEEN 25 AND 62

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 BETWEEN 25 AND 62
----

query I rowsort label-750
SELECT pk FROM tab0 WHERE NOT (col0 BETWEEN 25 AND 62)
----
2

statement ok
DELETE FROM tab1 WHERE col0 BETWEEN 25 AND 62

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 BETWEEN 25 AND 62
----

query I rowsort label-750
SELECT pk FROM tab1 WHERE NOT (col0 BETWEEN 25 AND 62)
----
2

statement ok
DELETE FROM tab2 WHERE col0 BETWEEN 25 AND 62

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 BETWEEN 25 AND 62
----

query I rowsort label-750
SELECT pk FROM tab2 WHERE NOT (col0 BETWEEN 25 AND 62)
----
2

statement ok
DELETE FROM tab3 WHERE col0 BETWEEN 25 AND 62

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 BETWEEN 25 AND 62
----

query I rowsort label-750
SELECT pk FROM tab3 WHERE NOT (col0 BETWEEN 25 AND 62)
----
2

statement ok
DELETE FROM tab4 WHERE col0 BETWEEN 25 AND 62

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 BETWEEN 25 AND 62
----

query I rowsort label-750
SELECT pk FROM tab4 WHERE NOT (col0 BETWEEN 25 AND 62)
----
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,83,91.20,'dikdw',51,52.25,'bgvom')

statement ok
INSERT INTO tab0 VALUES(1,3,64.71,'oesoj',10,16.93,'mvsvu')

statement ok
INSERT INTO tab0 VALUES(2,24,65.89,'wdqqq',25,95.35,'qvdzq')

statement ok
INSERT INTO tab0 VALUES(3,77,44.4,'vblwn',4,96.7,'mjouv')

statement ok
INSERT INTO tab0 VALUES(4,68,21.39,'jcxgc',68,1.39,'waakb')

statement ok
INSERT INTO tab0 VALUES(5,45,95.68,'yzkzy',6,83.92,'nohaa')

statement ok
INSERT INTO tab0 VALUES(6,56,63.83,'lbzcd',42,15.28,'hmukm')

statement ok
INSERT INTO tab0 VALUES(7,13,27.54,'lqpbm',92,82.66,'goaoo')

statement ok
INSERT INTO tab0 VALUES(8,55,9.91,'hrejo',33,97.46,'upilp')

statement ok
INSERT INTO tab0 VALUES(9,12,66.8,'gntgw',62,10.97,'vclmo')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 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_0 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col0 > 15

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

query I rowsort label-765
SELECT pk FROM tab0 WHERE NOT (col0 > 15)
----
1
7
9

statement ok
DELETE FROM tab1 WHERE col0 > 15

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

query I rowsort label-765
SELECT pk FROM tab1 WHERE NOT (col0 > 15)
----
1
7
9

statement ok
DELETE FROM tab2 WHERE col0 > 15

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

query I rowsort label-765
SELECT pk FROM tab2 WHERE NOT (col0 > 15)
----
1
7
9

statement ok
DELETE FROM tab3 WHERE col0 > 15

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

query I rowsort label-765
SELECT pk FROM tab3 WHERE NOT (col0 > 15)
----
1
7
9

statement ok
DELETE FROM tab4 WHERE col0 > 15

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

query I rowsort label-765
SELECT pk FROM tab4 WHERE NOT (col0 > 15)
----
1
7
9

statement ok
DELETE FROM tab0 WHERE ((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41
----

query I rowsort label-780
SELECT pk FROM tab0 WHERE NOT (((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41)
----
1
7
9

statement ok
DELETE FROM tab1 WHERE ((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41
----

query I rowsort label-780
SELECT pk FROM tab1 WHERE NOT (((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41)
----
1
7
9

statement ok
DELETE FROM tab2 WHERE ((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41
----

query I rowsort label-780
SELECT pk FROM tab2 WHERE NOT (((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41)
----
1
7
9

statement ok
DELETE FROM tab3 WHERE ((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41
----

query I rowsort label-780
SELECT pk FROM tab3 WHERE NOT (((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41)
----
1
7
9

statement ok
DELETE FROM tab4 WHERE ((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41
----

query I rowsort label-780
SELECT pk FROM tab4 WHERE NOT (((col3 >= 69)) AND (col1 IN (20.72)) AND col1 > 88.41)
----
1
7
9

statement ok
DELETE FROM tab0 WHERE col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL
----

query I rowsort label-795
SELECT pk FROM tab0 WHERE NOT (col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL)
----
1
7
9

statement ok
DELETE FROM tab1 WHERE col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL
----

query I rowsort label-795
SELECT pk FROM tab1 WHERE NOT (col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL)
----
1
7
9

statement ok
DELETE FROM tab2 WHERE col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL
----

query I rowsort label-795
SELECT pk FROM tab2 WHERE NOT (col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL)
----
1
7
9

statement ok
DELETE FROM tab3 WHERE col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL
----

query I rowsort label-795
SELECT pk FROM tab3 WHERE NOT (col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL)
----
1
7
9

statement ok
DELETE FROM tab4 WHERE col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL
----

query I rowsort label-795
SELECT pk FROM tab4 WHERE NOT (col3 IN (56,29,33) AND col1 >= 69.16 OR col3 < 91 AND col4 IS NULL)
----
1
7
9

statement ok
DELETE FROM tab0 WHERE ((col3 < 1 AND col3 = 35) AND col3 >= 6 OR col0 > 6)

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

query I rowsort label-810
SELECT pk FROM tab0 WHERE NOT (((col3 < 1 AND col3 = 35) AND col3 >= 6 OR col0 > 6))
----
1

statement ok
DELETE FROM tab1 WHERE ((col3 < 1 AND col3 = 35) AND col3 >= 6 OR col0 > 6)

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

query I rowsort label-810
SELECT pk FROM tab1 WHERE NOT (((col3 < 1 AND col3 = 35) AND col3 >= 6 OR col0 > 6))
----
1

statement ok
DELETE FROM tab2 WHERE ((col3 < 1 AND col3 = 35) AND col3 >= 6 OR col0 > 6)

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

query I rowsort label-810
SELECT pk FROM tab2 WHERE NOT (((col3 < 1 AND col3 = 35) AND col3 >= 6 OR col0 > 6))
----
1

statement ok
DELETE FROM tab3 WHERE ((col3 < 1 AND col3 = 35) AND col3 >= 6 OR col0 > 6)

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

query I rowsort label-810
SELECT pk FROM tab3 WHERE NOT (((col3 < 1 AND col3 = 35) AND col3 >= 6 OR col0 > 6))
----
1

statement ok
DELETE FROM tab4 WHERE ((col3 < 1 AND col3 = 35) AND col3 >= 6 OR col0 > 6)

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

query I rowsort label-810
SELECT pk FROM tab4 WHERE NOT (((col3 < 1 AND col3 = 35) AND col3 >= 6 OR col0 > 6))
----
1

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 76 AND 11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 76 AND 11
----

query I rowsort label-825
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 76 AND 11)
----
1

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 76 AND 11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 76 AND 11
----

query I rowsort label-825
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 76 AND 11)
----
1

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 76 AND 11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 76 AND 11
----

query I rowsort label-825
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 76 AND 11)
----
1

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 76 AND 11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 76 AND 11
----

query I rowsort label-825
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 76 AND 11)
----
1

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 76 AND 11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 76 AND 11
----

query I rowsort label-825
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 76 AND 11)
----
1

statement ok
DELETE FROM tab0 WHERE ((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL)))
----

query I rowsort label-840
SELECT pk FROM tab0 WHERE NOT (((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL))))
----
1

statement ok
DELETE FROM tab1 WHERE ((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL)))
----

query I rowsort label-840
SELECT pk FROM tab1 WHERE NOT (((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL))))
----
1

statement ok
DELETE FROM tab2 WHERE ((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL)))
----

query I rowsort label-840
SELECT pk FROM tab2 WHERE NOT (((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL))))
----
1

statement ok
DELETE FROM tab3 WHERE ((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL)))
----

query I rowsort label-840
SELECT pk FROM tab3 WHERE NOT (((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL))))
----
1

statement ok
DELETE FROM tab4 WHERE ((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL)))
----

query I rowsort label-840
SELECT pk FROM tab4 WHERE NOT (((col3 > 27 AND col3 < 1 AND (((col3 >= 64))) OR (((col0 > 72) AND (col1 >= 14.6)) AND col3 >= 73 AND ((col0 > 37) OR (col1 >= 3.10)) OR col0 IS NULL))))
----
1

statement ok
DELETE FROM tab0 WHERE (col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26))
----

query I rowsort label-855
SELECT pk FROM tab0 WHERE NOT ((col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26)))
----
1

statement ok
DELETE FROM tab1 WHERE (col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26))
----

query I rowsort label-855
SELECT pk FROM tab1 WHERE NOT ((col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26)))
----
1

statement ok
DELETE FROM tab2 WHERE (col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26))
----

query I rowsort label-855
SELECT pk FROM tab2 WHERE NOT ((col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26)))
----
1

statement ok
DELETE FROM tab3 WHERE (col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26))
----

query I rowsort label-855
SELECT pk FROM tab3 WHERE NOT ((col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26)))
----
1

statement ok
DELETE FROM tab4 WHERE (col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26))
----

query I rowsort label-855
SELECT pk FROM tab4 WHERE NOT ((col3 > 96) OR col3 = 75 OR col4 < 27.8 AND (col3 < 1) AND ((col4 > 11.26)))
----
1

statement ok
DELETE FROM tab0 WHERE col1 < 19.11

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

query I rowsort label-870
SELECT pk FROM tab0 WHERE NOT (col1 < 19.11)
----
1

statement ok
DELETE FROM tab1 WHERE col1 < 19.11

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

query I rowsort label-870
SELECT pk FROM tab1 WHERE NOT (col1 < 19.11)
----
1

statement ok
DELETE FROM tab2 WHERE col1 < 19.11

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

query I rowsort label-870
SELECT pk FROM tab2 WHERE NOT (col1 < 19.11)
----
1

statement ok
DELETE FROM tab3 WHERE col1 < 19.11

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

query I rowsort label-870
SELECT pk FROM tab3 WHERE NOT (col1 < 19.11)
----
1

statement ok
DELETE FROM tab4 WHERE col1 < 19.11

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

query I rowsort label-870
SELECT pk FROM tab4 WHERE NOT (col1 < 19.11)
----
1

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL) AND col0 >= 83

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IS NULL) AND col0 >= 83
----

query I rowsort label-885
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL) AND col0 >= 83)
----
1

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL) AND col0 >= 83

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IS NULL) AND col0 >= 83
----

query I rowsort label-885
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL) AND col0 >= 83)
----
1

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL) AND col0 >= 83

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IS NULL) AND col0 >= 83
----

query I rowsort label-885
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL) AND col0 >= 83)
----
1

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL) AND col0 >= 83

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IS NULL) AND col0 >= 83
----

query I rowsort label-885
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL) AND col0 >= 83)
----
1

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL) AND col0 >= 83

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IS NULL) AND col0 >= 83
----

query I rowsort label-885
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL) AND col0 >= 83)
----
1

statement ok
DELETE FROM tab0 WHERE col1 BETWEEN 92.76 AND 79.41

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 BETWEEN 92.76 AND 79.41
----

query I rowsort label-900
SELECT pk FROM tab0 WHERE NOT (col1 BETWEEN 92.76 AND 79.41)
----
1

statement ok
DELETE FROM tab1 WHERE col1 BETWEEN 92.76 AND 79.41

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 BETWEEN 92.76 AND 79.41
----

query I rowsort label-900
SELECT pk FROM tab1 WHERE NOT (col1 BETWEEN 92.76 AND 79.41)
----
1

statement ok
DELETE FROM tab2 WHERE col1 BETWEEN 92.76 AND 79.41

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 BETWEEN 92.76 AND 79.41
----

query I rowsort label-900
SELECT pk FROM tab2 WHERE NOT (col1 BETWEEN 92.76 AND 79.41)
----
1

statement ok
DELETE FROM tab3 WHERE col1 BETWEEN 92.76 AND 79.41

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 BETWEEN 92.76 AND 79.41
----

query I rowsort label-900
SELECT pk FROM tab3 WHERE NOT (col1 BETWEEN 92.76 AND 79.41)
----
1

statement ok
DELETE FROM tab4 WHERE col1 BETWEEN 92.76 AND 79.41

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 BETWEEN 92.76 AND 79.41
----

query I rowsort label-900
SELECT pk FROM tab4 WHERE NOT (col1 BETWEEN 92.76 AND 79.41)
----
1

statement ok
DELETE FROM tab0 WHERE col0 < 41

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

query I rowsort label-915
SELECT pk FROM tab0 WHERE NOT (col0 < 41)
----

statement ok
DELETE FROM tab1 WHERE col0 < 41

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

query I rowsort label-915
SELECT pk FROM tab1 WHERE NOT (col0 < 41)
----

statement ok
DELETE FROM tab2 WHERE col0 < 41

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

query I rowsort label-915
SELECT pk FROM tab2 WHERE NOT (col0 < 41)
----

statement ok
DELETE FROM tab3 WHERE col0 < 41

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

query I rowsort label-915
SELECT pk FROM tab3 WHERE NOT (col0 < 41)
----

statement ok
DELETE FROM tab4 WHERE col0 < 41

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

query I rowsort label-915
SELECT pk FROM tab4 WHERE NOT (col0 < 41)
----

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,98.97,'btayf',47,15.81,'ibsud')

statement ok
INSERT INTO tab0 VALUES(1,52,87.9,'ganwi',34,68.44,'xmqpy')

statement ok
INSERT INTO tab0 VALUES(2,48,81.68,'nyopc',77,20.58,'avdhx')

statement ok
INSERT INTO tab0 VALUES(3,32,67.37,'oyylm',2,23.83,'jgmtk')

statement ok
INSERT INTO tab0 VALUES(4,77,53.1,'imvpz',31,36.59,'geedu')

statement ok
INSERT INTO tab0 VALUES(5,61,37.83,'rmlcl',98,85.19,'glldd')

statement ok
INSERT INTO tab0 VALUES(6,75,68.55,'zeqar',60,31.3,'sjfco')

statement ok
INSERT INTO tab0 VALUES(7,44,5.50,'tnmra',7,26.67,'lygxg')

statement ok
INSERT INTO tab0 VALUES(8,31,84.79,'fcdmy',81,78.1,'ivhls')

statement ok
INSERT INTO tab0 VALUES(9,54,80.35,'bfcjt',82,17.33,'zsemq')

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

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

query I rowsort label-930
SELECT pk FROM tab0 WHERE NOT ((col3 >= 56))
----
0
1
3
4
7

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

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

query I rowsort label-930
SELECT pk FROM tab1 WHERE NOT ((col3 >= 56))
----
0
1
3
4
7

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

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

query I rowsort label-930
SELECT pk FROM tab2 WHERE NOT ((col3 >= 56))
----
0
1
3
4
7

statement ok
DELETE FROM tab3 WHERE (col3 >= 56)

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

query I rowsort label-930
SELECT pk FROM tab3 WHERE NOT ((col3 >= 56))
----
0
1
3
4
7

statement ok
DELETE FROM tab4 WHERE (col3 >= 56)

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

query I rowsort label-930
SELECT pk FROM tab4 WHERE NOT ((col3 >= 56))
----
0
1
3
4
7

statement ok
DELETE FROM tab0 WHERE col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74))
----

query I rowsort label-945
SELECT pk FROM tab0 WHERE NOT (col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74)))
----

statement ok
DELETE FROM tab1 WHERE col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74))
----

query I rowsort label-945
SELECT pk FROM tab1 WHERE NOT (col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74)))
----

statement ok
DELETE FROM tab2 WHERE col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74))
----

query I rowsort label-945
SELECT pk FROM tab2 WHERE NOT (col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74)))
----

statement ok
DELETE FROM tab3 WHERE col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74))
----

query I rowsort label-945
SELECT pk FROM tab3 WHERE NOT (col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74)))
----

statement ok
DELETE FROM tab4 WHERE col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (col3 > 74))
----

query I rowsort label-945
SELECT pk FROM tab4 WHERE NOT (col0 > 51 AND (col0 >= 26) OR col3 < 87 OR col0 > 3 AND col3 > 33 AND col3 <= 77 AND ((col4 <= 77.15)) AND col3 <= 21 OR ((col4 >= 31.1) AND col3 < 55 OR col1 < 40.54 AND (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,77,47.98,'gnqvl',8,23.92,'xbyqy')

statement ok
INSERT INTO tab0 VALUES(1,7,66.36,'oszyy',95,80.22,'kwuiq')

statement ok
INSERT INTO tab0 VALUES(2,16,55.97,'qorqm',71,87.95,'jqnxx')

statement ok
INSERT INTO tab0 VALUES(3,95,20.29,'cgidz',14,89.39,'zorqo')

statement ok
INSERT INTO tab0 VALUES(4,59,88.15,'lcmaf',35,37.70,'uzqtn')

statement ok
INSERT INTO tab0 VALUES(5,64,73.84,'xmdjl',86,46.7,'glalp')

statement ok
INSERT INTO tab0 VALUES(6,17,33.24,'vdmwc',80,59.85,'jwjea')

statement ok
INSERT INTO tab0 VALUES(7,87,37.95,'mekzj',97,11.66,'hpwrb')

statement ok
INSERT INTO tab0 VALUES(8,21,26.37,'qffax',1,91.51,'aqvcu')

statement ok
INSERT INTO tab0 VALUES(9,51,75.92,'drdhg',51,1.95,'yskfo')

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3,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_1 ON tab4 (col0)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67)
----

query I rowsort label-960
SELECT pk FROM tab0 WHERE NOT ((((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67))
----

statement ok
DELETE FROM tab1 WHERE (((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67)
----

query I rowsort label-960
SELECT pk FROM tab1 WHERE NOT ((((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67))
----

statement ok
DELETE FROM tab2 WHERE (((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67)
----

query I rowsort label-960
SELECT pk FROM tab2 WHERE NOT ((((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67))
----

statement ok
DELETE FROM tab3 WHERE (((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67)
----

query I rowsort label-960
SELECT pk FROM tab3 WHERE NOT ((((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67))
----

statement ok
DELETE FROM tab4 WHERE (((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67)
----

query I rowsort label-960
SELECT pk FROM tab4 WHERE NOT ((((col1 > 4.74)) OR col1 > 89.1 OR col4 IS NULL OR col1 <= 33.67))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,98,26.85,'aifql',98,79.21,'iqhtn')

statement ok
INSERT INTO tab0 VALUES(1,69,97.46,'ccjmt',14,98.15,'kqcss')

statement ok
INSERT INTO tab0 VALUES(2,71,14.2,'vvevs',35,14.39,'jvxdh')

statement ok
INSERT INTO tab0 VALUES(3,0,80.72,'vegpg',12,59.26,'ncokr')

statement ok
INSERT INTO tab0 VALUES(4,32,60.90,'elcbc',10,32.6,'zivcu')

statement ok
INSERT INTO tab0 VALUES(5,83,90.75,'ngfle',67,11.74,'eamoh')

statement ok
INSERT INTO tab0 VALUES(6,78,92.87,'fehro',56,66.49,'panom')

statement ok
INSERT INTO tab0 VALUES(7,6,87.95,'ikeur',49,71.37,'gzhws')

statement ok
INSERT INTO tab0 VALUES(8,87,5.36,'xhesm',80,15.97,'odoyg')

statement ok
INSERT INTO tab0 VALUES(9,34,99.77,'cbcvk',6,19.98,'ovroo')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC)

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col1 = 16.84

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

query I rowsort label-975
SELECT pk FROM tab0 WHERE NOT (col1 = 16.84)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 = 16.84

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

query I rowsort label-975
SELECT pk FROM tab1 WHERE NOT (col1 = 16.84)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 = 16.84

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

query I rowsort label-975
SELECT pk FROM tab2 WHERE NOT (col1 = 16.84)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 = 16.84

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

query I rowsort label-975
SELECT pk FROM tab3 WHERE NOT (col1 = 16.84)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 = 16.84

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

query I rowsort label-975
SELECT pk FROM tab4 WHERE NOT (col1 = 16.84)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 IN (56.55,73.2)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (56.55,73.2)
----

query I rowsort label-990
SELECT pk FROM tab0 WHERE NOT (col4 IN (56.55,73.2))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 IN (56.55,73.2)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (56.55,73.2)
----

query I rowsort label-990
SELECT pk FROM tab1 WHERE NOT (col4 IN (56.55,73.2))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 IN (56.55,73.2)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (56.55,73.2)
----

query I rowsort label-990
SELECT pk FROM tab2 WHERE NOT (col4 IN (56.55,73.2))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 IN (56.55,73.2)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (56.55,73.2)
----

query I rowsort label-990
SELECT pk FROM tab3 WHERE NOT (col4 IN (56.55,73.2))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 IN (56.55,73.2)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (56.55,73.2)
----

query I rowsort label-990
SELECT pk FROM tab4 WHERE NOT (col4 IN (56.55,73.2))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col4 > 99.40)

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

query I rowsort label-1005
SELECT pk FROM tab0 WHERE NOT ((col4 > 99.40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col4 > 99.40)

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

query I rowsort label-1005
SELECT pk FROM tab1 WHERE NOT ((col4 > 99.40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col4 > 99.40)

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

query I rowsort label-1005
SELECT pk FROM tab2 WHERE NOT ((col4 > 99.40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col4 > 99.40)

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

query I rowsort label-1005
SELECT pk FROM tab3 WHERE NOT ((col4 > 99.40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col4 > 99.40)

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

query I rowsort label-1005
SELECT pk FROM tab4 WHERE NOT ((col4 > 99.40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 < 60.89

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

query I rowsort label-1020
SELECT pk FROM tab0 WHERE NOT (col4 < 60.89)
----
0
1
6
7

statement ok
DELETE FROM tab1 WHERE col4 < 60.89

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

query I rowsort label-1020
SELECT pk FROM tab1 WHERE NOT (col4 < 60.89)
----
0
1
6
7

statement ok
DELETE FROM tab2 WHERE col4 < 60.89

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

query I rowsort label-1020
SELECT pk FROM tab2 WHERE NOT (col4 < 60.89)
----
0
1
6
7

statement ok
DELETE FROM tab3 WHERE col4 < 60.89

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

query I rowsort label-1020
SELECT pk FROM tab3 WHERE NOT (col4 < 60.89)
----
0
1
6
7

statement ok
DELETE FROM tab4 WHERE col4 < 60.89

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

query I rowsort label-1020
SELECT pk FROM tab4 WHERE NOT (col4 < 60.89)
----
0
1
6
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,63,26.4,'mzyqw',88,50.61,'kxhkj')

statement ok
INSERT INTO tab0 VALUES(1,2,46.86,'kkddh',97,58.1,'cukwz')

statement ok
INSERT INTO tab0 VALUES(2,58,55.22,'lsrko',5,20.81,'bxwdj')

statement ok
INSERT INTO tab0 VALUES(3,37,3.70,'uonaf',98,40.91,'mzzta')

statement ok
INSERT INTO tab0 VALUES(4,48,28.18,'tkruh',49,69.80,'ubova')

statement ok
INSERT INTO tab0 VALUES(5,66,71.46,'uzzhj',76,17.25,'rkasy')

statement ok
INSERT INTO tab0 VALUES(6,94,89.86,'uyrrp',7,64.84,'eaoka')

statement ok
INSERT INTO tab0 VALUES(7,26,65.93,'enfbw',43,76.67,'zhdjk')

statement ok
INSERT INTO tab0 VALUES(8,9,23.97,'uclha',18,13.93,'jowad')

statement ok
INSERT INTO tab0 VALUES(9,6,39.72,'kavpw',64,45.58,'lwumi')

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

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col3 >= 62

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

query I rowsort label-1035
SELECT pk FROM tab0 WHERE NOT (col3 >= 62)
----
2
4
6
7
8

statement ok
DELETE FROM tab1 WHERE col3 >= 62

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

query I rowsort label-1035
SELECT pk FROM tab1 WHERE NOT (col3 >= 62)
----
2
4
6
7
8

statement ok
DELETE FROM tab2 WHERE col3 >= 62

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

query I rowsort label-1035
SELECT pk FROM tab2 WHERE NOT (col3 >= 62)
----
2
4
6
7
8

statement ok
DELETE FROM tab3 WHERE col3 >= 62

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

query I rowsort label-1035
SELECT pk FROM tab3 WHERE NOT (col3 >= 62)
----
2
4
6
7
8

statement ok
DELETE FROM tab4 WHERE col3 >= 62

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

query I rowsort label-1035
SELECT pk FROM tab4 WHERE NOT (col3 >= 62)
----
2
4
6
7
8

statement ok
DELETE FROM tab0 WHERE col3 >= 67

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

query I rowsort label-1050
SELECT pk FROM tab0 WHERE NOT (col3 >= 67)
----
2
4
6
7
8

statement ok
DELETE FROM tab1 WHERE col3 >= 67

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

query I rowsort label-1050
SELECT pk FROM tab1 WHERE NOT (col3 >= 67)
----
2
4
6
7
8

statement ok
DELETE FROM tab2 WHERE col3 >= 67

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

query I rowsort label-1050
SELECT pk FROM tab2 WHERE NOT (col3 >= 67)
----
2
4
6
7
8

statement ok
DELETE FROM tab3 WHERE col3 >= 67

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

query I rowsort label-1050
SELECT pk FROM tab3 WHERE NOT (col3 >= 67)
----
2
4
6
7
8

statement ok
DELETE FROM tab4 WHERE col3 >= 67

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

query I rowsort label-1050
SELECT pk FROM tab4 WHERE NOT (col3 >= 67)
----
2
4
6
7
8

statement ok
DELETE FROM tab0 WHERE (col3 = 58)

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

query I rowsort label-1065
SELECT pk FROM tab0 WHERE NOT ((col3 = 58))
----
2
4
6
7
8

statement ok
DELETE FROM tab1 WHERE (col3 = 58)

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

query I rowsort label-1065
SELECT pk FROM tab1 WHERE NOT ((col3 = 58))
----
2
4
6
7
8

statement ok
DELETE FROM tab2 WHERE (col3 = 58)

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

query I rowsort label-1065
SELECT pk FROM tab2 WHERE NOT ((col3 = 58))
----
2
4
6
7
8

statement ok
DELETE FROM tab3 WHERE (col3 = 58)

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

query I rowsort label-1065
SELECT pk FROM tab3 WHERE NOT ((col3 = 58))
----
2
4
6
7
8

statement ok
DELETE FROM tab4 WHERE (col3 = 58)

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

query I rowsort label-1065
SELECT pk FROM tab4 WHERE NOT ((col3 = 58))
----
2
4
6
7
8

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,43,83.40,'igffm',20,11.6,'dmath')

statement ok
INSERT INTO tab0 VALUES(1,40,56.86,'fgyna',92,26.47,'usyzt')

statement ok
INSERT INTO tab0 VALUES(2,41,12.66,'cogbh',64,65.1,'aoemc')

statement ok
INSERT INTO tab0 VALUES(3,21,29.96,'zcait',4,39.85,'uczqy')

statement ok
INSERT INTO tab0 VALUES(4,31,80.12,'drojd',30,9.68,'jfnxc')

statement ok
INSERT INTO tab0 VALUES(5,49,43.33,'kntmm',71,0.35,'syfct')

statement ok
INSERT INTO tab0 VALUES(6,48,14.22,'iyfwd',36,7.45,'iisip')

statement ok
INSERT INTO tab0 VALUES(7,58,21.52,'bbmdc',66,16.99,'swanv')

statement ok
INSERT INTO tab0 VALUES(8,27,33.67,'vgwcx',7,12.98,'fhsxn')

statement ok
INSERT INTO tab0 VALUES(9,85,77.40,'rxzgb',65,88.7,'fbcxm')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_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 INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE 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 (col4)

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
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 >= 88

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

query I rowsort label-1080
SELECT pk FROM tab0 WHERE NOT (col0 >= 88)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 >= 88

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

query I rowsort label-1080
SELECT pk FROM tab1 WHERE NOT (col0 >= 88)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 >= 88

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

query I rowsort label-1080
SELECT pk FROM tab2 WHERE NOT (col0 >= 88)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 >= 88

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

query I rowsort label-1080
SELECT pk FROM tab3 WHERE NOT (col0 >= 88)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 >= 88

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

query I rowsort label-1080
SELECT pk FROM tab4 WHERE NOT (col0 >= 88)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 > 69 OR (col4 >= 80.66 AND col0 < 23)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 69 OR (col4 >= 80.66 AND col0 < 23)
----

query I rowsort label-1095
SELECT pk FROM tab0 WHERE NOT (col3 > 69 OR (col4 >= 80.66 AND col0 < 23))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 > 69 OR (col4 >= 80.66 AND col0 < 23)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 69 OR (col4 >= 80.66 AND col0 < 23)
----

query I rowsort label-1095
SELECT pk FROM tab1 WHERE NOT (col3 > 69 OR (col4 >= 80.66 AND col0 < 23))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 > 69 OR (col4 >= 80.66 AND col0 < 23)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 69 OR (col4 >= 80.66 AND col0 < 23)
----

query I rowsort label-1095
SELECT pk FROM tab2 WHERE NOT (col3 > 69 OR (col4 >= 80.66 AND col0 < 23))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 > 69 OR (col4 >= 80.66 AND col0 < 23)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 69 OR (col4 >= 80.66 AND col0 < 23)
----

query I rowsort label-1095
SELECT pk FROM tab3 WHERE NOT (col3 > 69 OR (col4 >= 80.66 AND col0 < 23))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 > 69 OR (col4 >= 80.66 AND col0 < 23)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 69 OR (col4 >= 80.66 AND col0 < 23)
----

query I rowsort label-1095
SELECT pk FROM tab4 WHERE NOT (col3 > 69 OR (col4 >= 80.66 AND col0 < 23))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 <= 10

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

query I rowsort label-1110
SELECT pk FROM tab0 WHERE NOT (col3 <= 10)
----
0
2
4
6
7
9

statement ok
DELETE FROM tab1 WHERE col3 <= 10

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

query I rowsort label-1110
SELECT pk FROM tab1 WHERE NOT (col3 <= 10)
----
0
2
4
6
7
9

statement ok
DELETE FROM tab2 WHERE col3 <= 10

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

query I rowsort label-1110
SELECT pk FROM tab2 WHERE NOT (col3 <= 10)
----
0
2
4
6
7
9

statement ok
DELETE FROM tab3 WHERE col3 <= 10

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

query I rowsort label-1110
SELECT pk FROM tab3 WHERE NOT (col3 <= 10)
----
0
2
4
6
7
9

statement ok
DELETE FROM tab4 WHERE col3 <= 10

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

query I rowsort label-1110
SELECT pk FROM tab4 WHERE NOT (col3 <= 10)
----
0
2
4
6
7
9

statement ok
DELETE FROM tab0 WHERE col0 >= 61

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

query I rowsort label-1125
SELECT pk FROM tab0 WHERE NOT (col0 >= 61)
----
0
2
4
6
7

statement ok
DELETE FROM tab1 WHERE col0 >= 61

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

query I rowsort label-1125
SELECT pk FROM tab1 WHERE NOT (col0 >= 61)
----
0
2
4
6
7

statement ok
DELETE FROM tab2 WHERE col0 >= 61

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

query I rowsort label-1125
SELECT pk FROM tab2 WHERE NOT (col0 >= 61)
----
0
2
4
6
7

statement ok
DELETE FROM tab3 WHERE col0 >= 61

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

query I rowsort label-1125
SELECT pk FROM tab3 WHERE NOT (col0 >= 61)
----
0
2
4
6
7

statement ok
DELETE FROM tab4 WHERE col0 >= 61

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

query I rowsort label-1125
SELECT pk FROM tab4 WHERE NOT (col0 >= 61)
----
0
2
4
6
7

statement ok
DELETE FROM tab0 WHERE col0 = 15

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

query I rowsort label-1140
SELECT pk FROM tab0 WHERE NOT (col0 = 15)
----
0
2
4
6
7

statement ok
DELETE FROM tab1 WHERE col0 = 15

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

query I rowsort label-1140
SELECT pk FROM tab1 WHERE NOT (col0 = 15)
----
0
2
4
6
7

statement ok
DELETE FROM tab2 WHERE col0 = 15

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

query I rowsort label-1140
SELECT pk FROM tab2 WHERE NOT (col0 = 15)
----
0
2
4
6
7

statement ok
DELETE FROM tab3 WHERE col0 = 15

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

query I rowsort label-1140
SELECT pk FROM tab3 WHERE NOT (col0 = 15)
----
0
2
4
6
7

statement ok
DELETE FROM tab4 WHERE col0 = 15

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

query I rowsort label-1140
SELECT pk FROM tab4 WHERE NOT (col0 = 15)
----
0
2
4
6
7

statement ok
DELETE FROM tab0 WHERE col0 > 60

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

query I rowsort label-1155
SELECT pk FROM tab0 WHERE NOT (col0 > 60)
----
0
2
4
6
7

statement ok
DELETE FROM tab1 WHERE col0 > 60

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

query I rowsort label-1155
SELECT pk FROM tab1 WHERE NOT (col0 > 60)
----
0
2
4
6
7

statement ok
DELETE FROM tab2 WHERE col0 > 60

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

query I rowsort label-1155
SELECT pk FROM tab2 WHERE NOT (col0 > 60)
----
0
2
4
6
7

statement ok
DELETE FROM tab3 WHERE col0 > 60

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

query I rowsort label-1155
SELECT pk FROM tab3 WHERE NOT (col0 > 60)
----
0
2
4
6
7

statement ok
DELETE FROM tab4 WHERE col0 > 60

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

query I rowsort label-1155
SELECT pk FROM tab4 WHERE NOT (col0 > 60)
----
0
2
4
6
7

statement ok
DELETE FROM tab0 WHERE (((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL))))))
----

query I rowsort label-1170
SELECT pk FROM tab0 WHERE NOT ((((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL)))))))
----
0
4
6
7

statement ok
DELETE FROM tab1 WHERE (((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL))))))
----

query I rowsort label-1170
SELECT pk FROM tab1 WHERE NOT ((((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL)))))))
----
0
4
6
7

statement ok
DELETE FROM tab2 WHERE (((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL))))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL))))))
----

query I rowsort label-1170
SELECT pk FROM tab2 WHERE NOT ((((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL)))))))
----
0
4
6
7

statement ok
DELETE FROM tab3 WHERE (((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL))))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL))))))
----

query I rowsort label-1170
SELECT pk FROM tab3 WHERE NOT ((((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL)))))))
----
0
4
6
7

statement ok
DELETE FROM tab4 WHERE (((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL))))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL))))))
----

query I rowsort label-1170
SELECT pk FROM tab4 WHERE NOT ((((col4 >= 56.25 OR ((col0 > 94) OR (col0 > 87 OR col3 = 42 OR (col4 <= 75.18) AND col3 = 16 OR col3 BETWEEN 89 AND 2 OR (col3 IS NULL)))))))
----
0
4
6
7

statement ok
DELETE FROM tab0 WHERE (((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33)
----

query I rowsort label-1185
SELECT pk FROM tab0 WHERE NOT ((((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33))
----
0
6
7

statement ok
DELETE FROM tab1 WHERE (((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33)
----

query I rowsort label-1185
SELECT pk FROM tab1 WHERE NOT ((((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33))
----
0
6
7

statement ok
DELETE FROM tab2 WHERE (((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33)
----

query I rowsort label-1185
SELECT pk FROM tab2 WHERE NOT ((((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33))
----
0
6
7

statement ok
DELETE FROM tab3 WHERE (((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33)
----

query I rowsort label-1185
SELECT pk FROM tab3 WHERE NOT ((((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33))
----
0
6
7

statement ok
DELETE FROM tab4 WHERE (((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33)
----

query I rowsort label-1185
SELECT pk FROM tab4 WHERE NOT ((((col1 >= 0.84 AND ((col4 IN (94.11,54.58) OR (((col3 > 27))) AND ((col0 < 65 OR col0 > 32 OR (col0 < 86) AND (col0 <= 56))) AND (col1 IS NULL AND ((col3 < 78)))))) AND (col3 >= 33)) OR col0 < 33))
----
0
6
7

statement ok
DELETE FROM tab0 WHERE (((col0 <= 89 AND (col1 <= 71.1))))

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

query I rowsort label-1200
SELECT pk FROM tab0 WHERE NOT ((((col0 <= 89 AND (col1 <= 71.1)))))
----
0

statement ok
DELETE FROM tab1 WHERE (((col0 <= 89 AND (col1 <= 71.1))))

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

query I rowsort label-1200
SELECT pk FROM tab1 WHERE NOT ((((col0 <= 89 AND (col1 <= 71.1)))))
----
0

statement ok
DELETE FROM tab2 WHERE (((col0 <= 89 AND (col1 <= 71.1))))

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

query I rowsort label-1200
SELECT pk FROM tab2 WHERE NOT ((((col0 <= 89 AND (col1 <= 71.1)))))
----
0

statement ok
DELETE FROM tab3 WHERE (((col0 <= 89 AND (col1 <= 71.1))))

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

query I rowsort label-1200
SELECT pk FROM tab3 WHERE NOT ((((col0 <= 89 AND (col1 <= 71.1)))))
----
0

statement ok
DELETE FROM tab4 WHERE (((col0 <= 89 AND (col1 <= 71.1))))

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

query I rowsort label-1200
SELECT pk FROM tab4 WHERE NOT ((((col0 <= 89 AND (col1 <= 71.1)))))
----
0

statement ok
DELETE FROM tab0 WHERE col0 <= 69

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

query I rowsort label-1215
SELECT pk FROM tab0 WHERE NOT (col0 <= 69)
----

statement ok
DELETE FROM tab1 WHERE col0 <= 69

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

query I rowsort label-1215
SELECT pk FROM tab1 WHERE NOT (col0 <= 69)
----

statement ok
DELETE FROM tab2 WHERE col0 <= 69

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

query I rowsort label-1215
SELECT pk FROM tab2 WHERE NOT (col0 <= 69)
----

statement ok
DELETE FROM tab3 WHERE col0 <= 69

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

query I rowsort label-1215
SELECT pk FROM tab3 WHERE NOT (col0 <= 69)
----

statement ok
DELETE FROM tab4 WHERE col0 <= 69

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

query I rowsort label-1215
SELECT pk FROM tab4 WHERE NOT (col0 <= 69)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,88,20.75,'jwnmk',66,15.99,'pwyye')

statement ok
INSERT INTO tab0 VALUES(1,35,38.96,'zxzlf',45,69.43,'vlchn')

statement ok
INSERT INTO tab0 VALUES(2,37,74.69,'kzrfn',33,41.46,'kakyy')

statement ok
INSERT INTO tab0 VALUES(3,84,33.41,'fbyvr',85,44.35,'oxloz')

statement ok
INSERT INTO tab0 VALUES(4,49,75.98,'ytjxp',46,24.34,'pyquf')

statement ok
INSERT INTO tab0 VALUES(5,0,77.80,'jhikr',59,26.75,'qxdkv')

statement ok
INSERT INTO tab0 VALUES(6,12,92.89,'mxodd',83,55.12,'blikk')

statement ok
INSERT INTO tab0 VALUES(7,79,14.8,'vrzrw',2,37.32,'gemef')

statement ok
INSERT INTO tab0 VALUES(8,27,42.8,'ixdmx',38,81.69,'hzjpg')

statement ok
INSERT INTO tab0 VALUES(9,28,39.62,'tawbd',64,46.14,'kzvem')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col1 < 76.4

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

query I rowsort label-1230
SELECT pk FROM tab0 WHERE NOT (col1 < 76.4)
----
5
6

statement ok
DELETE FROM tab1 WHERE col1 < 76.4

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

query I rowsort label-1230
SELECT pk FROM tab1 WHERE NOT (col1 < 76.4)
----
5
6

statement ok
DELETE FROM tab2 WHERE col1 < 76.4

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

query I rowsort label-1230
SELECT pk FROM tab2 WHERE NOT (col1 < 76.4)
----
5
6

statement ok
DELETE FROM tab3 WHERE col1 < 76.4

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

query I rowsort label-1230
SELECT pk FROM tab3 WHERE NOT (col1 < 76.4)
----
5
6

statement ok
DELETE FROM tab4 WHERE col1 < 76.4

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

query I rowsort label-1230
SELECT pk FROM tab4 WHERE NOT (col1 < 76.4)
----
5
6

statement ok
DELETE FROM tab0 WHERE ((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96
----

query I rowsort label-1245
SELECT pk FROM tab0 WHERE NOT (((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96)
----
5
6

statement ok
DELETE FROM tab1 WHERE ((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96
----

query I rowsort label-1245
SELECT pk FROM tab1 WHERE NOT (((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96)
----
5
6

statement ok
DELETE FROM tab2 WHERE ((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96
----

query I rowsort label-1245
SELECT pk FROM tab2 WHERE NOT (((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96)
----
5
6

statement ok
DELETE FROM tab3 WHERE ((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96
----

query I rowsort label-1245
SELECT pk FROM tab3 WHERE NOT (((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96)
----
5
6

statement ok
DELETE FROM tab4 WHERE ((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96
----

query I rowsort label-1245
SELECT pk FROM tab4 WHERE NOT (((col4 <= 11.65) AND col1 > 17.52 AND col3 = 25 AND col0 < 72 AND col4 < 59.15 AND col3 >= 81 OR col3 >= 14) AND col3 > 96)
----
5
6

statement ok
DELETE FROM tab0 WHERE (col3 > 35)

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

query I rowsort label-1260
SELECT pk FROM tab0 WHERE NOT ((col3 > 35))
----

statement ok
DELETE FROM tab1 WHERE (col3 > 35)

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

query I rowsort label-1260
SELECT pk FROM tab1 WHERE NOT ((col3 > 35))
----

statement ok
DELETE FROM tab2 WHERE (col3 > 35)

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

query I rowsort label-1260
SELECT pk FROM tab2 WHERE NOT ((col3 > 35))
----

statement ok
DELETE FROM tab3 WHERE (col3 > 35)

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

query I rowsort label-1260
SELECT pk FROM tab3 WHERE NOT ((col3 > 35))
----

statement ok
DELETE FROM tab4 WHERE (col3 > 35)

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

query I rowsort label-1260
SELECT pk FROM tab4 WHERE NOT ((col3 > 35))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,38,63.53,'kfayo',0,43.13,'owqtc')

statement ok
INSERT INTO tab0 VALUES(1,33,6.4,'njqyb',14,4.15,'iyfwk')

statement ok
INSERT INTO tab0 VALUES(2,78,77.83,'ansuy',15,69.47,'jgsdl')

statement ok
INSERT INTO tab0 VALUES(3,22,60.53,'mfmnb',26,6.26,'tyldn')

statement ok
INSERT INTO tab0 VALUES(4,61,96.7,'qrvzv',19,18.51,'yyhut')

statement ok
INSERT INTO tab0 VALUES(5,50,43.84,'wcacs',36,12.25,'lfjpq')

statement ok
INSERT INTO tab0 VALUES(6,19,44.75,'xsisz',97,54.60,'krmtv')

statement ok
INSERT INTO tab0 VALUES(7,81,82.43,'ntoaf',16,37.94,'gowdo')

statement ok
INSERT INTO tab0 VALUES(8,51,50.28,'xwuma',3,42.1,'giupj')

statement ok
INSERT INTO tab0 VALUES(9,49,7.67,'pyyao',98,99.4,'gyfat')

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col1 < 5.94

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

query I rowsort label-1275
SELECT pk FROM tab0 WHERE NOT (col1 < 5.94)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 < 5.94

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

query I rowsort label-1275
SELECT pk FROM tab1 WHERE NOT (col1 < 5.94)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 < 5.94

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

query I rowsort label-1275
SELECT pk FROM tab2 WHERE NOT (col1 < 5.94)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 < 5.94

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

query I rowsort label-1275
SELECT pk FROM tab3 WHERE NOT (col1 < 5.94)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 < 5.94

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

query I rowsort label-1275
SELECT pk FROM tab4 WHERE NOT (col1 < 5.94)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37
----

query I rowsort label-1290
SELECT pk FROM tab0 WHERE NOT (col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37)
----
2

statement ok
DELETE FROM tab1 WHERE col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37
----

query I rowsort label-1290
SELECT pk FROM tab1 WHERE NOT (col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37)
----
2

statement ok
DELETE FROM tab2 WHERE col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37
----

query I rowsort label-1290
SELECT pk FROM tab2 WHERE NOT (col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37)
----
2

statement ok
DELETE FROM tab3 WHERE col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37
----

query I rowsort label-1290
SELECT pk FROM tab3 WHERE NOT (col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37)
----
2

statement ok
DELETE FROM tab4 WHERE col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37
----

query I rowsort label-1290
SELECT pk FROM tab4 WHERE NOT (col1 <= 77.40 OR col4 <= 67.70 OR col3 > 63 AND col0 >= 37)
----
2

statement ok
DELETE FROM tab0 WHERE ((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL)
----

query I rowsort label-1305
SELECT pk FROM tab0 WHERE NOT (((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL))
----
2

statement ok
DELETE FROM tab1 WHERE ((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL)
----

query I rowsort label-1305
SELECT pk FROM tab1 WHERE NOT (((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL))
----
2

statement ok
DELETE FROM tab2 WHERE ((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL)
----

query I rowsort label-1305
SELECT pk FROM tab2 WHERE NOT (((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL))
----
2

statement ok
DELETE FROM tab3 WHERE ((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL)
----

query I rowsort label-1305
SELECT pk FROM tab3 WHERE NOT (((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL))
----
2

statement ok
DELETE FROM tab4 WHERE ((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL)
----

query I rowsort label-1305
SELECT pk FROM tab4 WHERE NOT (((col3 >= 37 AND col1 > 63.87) AND col0 = 8 AND (col0 >= 91) AND (col0 = 78) OR ((col1 < 48.42)) AND col1 IS NULL))
----
2

statement ok
DELETE FROM tab0 WHERE col0 >= 59

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

query I rowsort label-1320
SELECT pk FROM tab0 WHERE NOT (col0 >= 59)
----

statement ok
DELETE FROM tab1 WHERE col0 >= 59

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

query I rowsort label-1320
SELECT pk FROM tab1 WHERE NOT (col0 >= 59)
----

statement ok
DELETE FROM tab2 WHERE col0 >= 59

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

query I rowsort label-1320
SELECT pk FROM tab2 WHERE NOT (col0 >= 59)
----

statement ok
DELETE FROM tab3 WHERE col0 >= 59

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

query I rowsort label-1320
SELECT pk FROM tab3 WHERE NOT (col0 >= 59)
----

statement ok
DELETE FROM tab4 WHERE col0 >= 59

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

query I rowsort label-1320
SELECT pk FROM tab4 WHERE NOT (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,4,14.56,'ldjkt',73,3.27,'pmokl')

statement ok
INSERT INTO tab0 VALUES(1,26,96.73,'aeoin',59,59.36,'geuwa')

statement ok
INSERT INTO tab0 VALUES(2,38,17.94,'jtjqz',4,15.73,'swyzt')

statement ok
INSERT INTO tab0 VALUES(3,60,95.28,'hjkqz',97,78.83,'rmrbb')

statement ok
INSERT INTO tab0 VALUES(4,6,66.35,'yhccp',31,51.21,'orfpz')

statement ok
INSERT INTO tab0 VALUES(5,99,42.42,'psjma',9,98.61,'cbzjw')

statement ok
INSERT INTO tab0 VALUES(6,79,79.51,'grdbx',62,5.14,'bhily')

statement ok
INSERT INTO tab0 VALUES(7,20,33.56,'bldbf',61,41.34,'veeky')

statement ok
INSERT INTO tab0 VALUES(8,41,28.53,'fkgsq',25,24.36,'aulmt')

statement ok
INSERT INTO tab0 VALUES(9,16,15.52,'kjlnj',39,79.6,'brxra')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4 DESC)

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 UNIQUE INDEX idx_tab3_0 ON tab3 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col0 IN (70,14,63,6) AND col3 <= 81)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IN (70,14,63,6) AND col3 <= 81)
----

query I rowsort label-1335
SELECT pk FROM tab0 WHERE NOT ((col0 IN (70,14,63,6) AND col3 <= 81))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab1 WHERE (col0 IN (70,14,63,6) AND col3 <= 81)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IN (70,14,63,6) AND col3 <= 81)
----

query I rowsort label-1335
SELECT pk FROM tab1 WHERE NOT ((col0 IN (70,14,63,6) AND col3 <= 81))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab2 WHERE (col0 IN (70,14,63,6) AND col3 <= 81)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IN (70,14,63,6) AND col3 <= 81)
----

query I rowsort label-1335
SELECT pk FROM tab2 WHERE NOT ((col0 IN (70,14,63,6) AND col3 <= 81))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab3 WHERE (col0 IN (70,14,63,6) AND col3 <= 81)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IN (70,14,63,6) AND col3 <= 81)
----

query I rowsort label-1335
SELECT pk FROM tab3 WHERE NOT ((col0 IN (70,14,63,6) AND col3 <= 81))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab4 WHERE (col0 IN (70,14,63,6) AND col3 <= 81)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IN (70,14,63,6) AND col3 <= 81)
----

query I rowsort label-1335
SELECT pk FROM tab4 WHERE NOT ((col0 IN (70,14,63,6) AND col3 <= 81))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab0 WHERE col0 >= 33 OR (col3 < 37)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 33 OR (col3 < 37)
----

query I rowsort label-1350
SELECT pk FROM tab0 WHERE NOT (col0 >= 33 OR (col3 < 37))
----
0
1
7
9

statement ok
DELETE FROM tab1 WHERE col0 >= 33 OR (col3 < 37)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 33 OR (col3 < 37)
----

query I rowsort label-1350
SELECT pk FROM tab1 WHERE NOT (col0 >= 33 OR (col3 < 37))
----
0
1
7
9

statement ok
DELETE FROM tab2 WHERE col0 >= 33 OR (col3 < 37)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 33 OR (col3 < 37)
----

query I rowsort label-1350
SELECT pk FROM tab2 WHERE NOT (col0 >= 33 OR (col3 < 37))
----
0
1
7
9

statement ok
DELETE FROM tab3 WHERE col0 >= 33 OR (col3 < 37)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 33 OR (col3 < 37)
----

query I rowsort label-1350
SELECT pk FROM tab3 WHERE NOT (col0 >= 33 OR (col3 < 37))
----
0
1
7
9

statement ok
DELETE FROM tab4 WHERE col0 >= 33 OR (col3 < 37)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 33 OR (col3 < 37)
----

query I rowsort label-1350
SELECT pk FROM tab4 WHERE NOT (col0 >= 33 OR (col3 < 37))
----
0
1
7
9

statement ok
DELETE FROM tab0 WHERE col0 >= 18

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

query I rowsort label-1365
SELECT pk FROM tab0 WHERE NOT (col0 >= 18)
----
0
9

statement ok
DELETE FROM tab1 WHERE col0 >= 18

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

query I rowsort label-1365
SELECT pk FROM tab1 WHERE NOT (col0 >= 18)
----
0
9

statement ok
DELETE FROM tab2 WHERE col0 >= 18

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

query I rowsort label-1365
SELECT pk FROM tab2 WHERE NOT (col0 >= 18)
----
0
9

statement ok
DELETE FROM tab3 WHERE col0 >= 18

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

query I rowsort label-1365
SELECT pk FROM tab3 WHERE NOT (col0 >= 18)
----
0
9

statement ok
DELETE FROM tab4 WHERE col0 >= 18

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

query I rowsort label-1365
SELECT pk FROM tab4 WHERE NOT (col0 >= 18)
----
0
9

statement ok
DELETE FROM tab0 WHERE (col1 >= 64.47)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 64.47)
----

query I rowsort label-1380
SELECT pk FROM tab0 WHERE NOT ((col1 >= 64.47))
----
0
9

statement ok
DELETE FROM tab1 WHERE (col1 >= 64.47)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 64.47)
----

query I rowsort label-1380
SELECT pk FROM tab1 WHERE NOT ((col1 >= 64.47))
----
0
9

statement ok
DELETE FROM tab2 WHERE (col1 >= 64.47)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 64.47)
----

query I rowsort label-1380
SELECT pk FROM tab2 WHERE NOT ((col1 >= 64.47))
----
0
9

statement ok
DELETE FROM tab3 WHERE (col1 >= 64.47)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 64.47)
----

query I rowsort label-1380
SELECT pk FROM tab3 WHERE NOT ((col1 >= 64.47))
----
0
9

statement ok
DELETE FROM tab4 WHERE (col1 >= 64.47)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 64.47)
----

query I rowsort label-1380
SELECT pk FROM tab4 WHERE NOT ((col1 >= 64.47))
----
0
9

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

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

query I rowsort label-1395
SELECT pk FROM tab0 WHERE NOT ((col1 IS NULL) AND col0 < 33)
----
0
9

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

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

query I rowsort label-1395
SELECT pk FROM tab1 WHERE NOT ((col1 IS NULL) AND col0 < 33)
----
0
9

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

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

query I rowsort label-1395
SELECT pk FROM tab2 WHERE NOT ((col1 IS NULL) AND col0 < 33)
----
0
9

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

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

query I rowsort label-1395
SELECT pk FROM tab3 WHERE NOT ((col1 IS NULL) AND col0 < 33)
----
0
9

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

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

query I rowsort label-1395
SELECT pk FROM tab4 WHERE NOT ((col1 IS NULL) AND col0 < 33)
----
0
9

statement ok
DELETE FROM tab0 WHERE col0 = 59

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

query I rowsort label-1410
SELECT pk FROM tab0 WHERE NOT (col0 = 59)
----
0
9

statement ok
DELETE FROM tab1 WHERE col0 = 59

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

query I rowsort label-1410
SELECT pk FROM tab1 WHERE NOT (col0 = 59)
----
0
9

statement ok
DELETE FROM tab2 WHERE col0 = 59

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

query I rowsort label-1410
SELECT pk FROM tab2 WHERE NOT (col0 = 59)
----
0
9

statement ok
DELETE FROM tab3 WHERE col0 = 59

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

query I rowsort label-1410
SELECT pk FROM tab3 WHERE NOT (col0 = 59)
----
0
9

statement ok
DELETE FROM tab4 WHERE col0 = 59

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

query I rowsort label-1410
SELECT pk FROM tab4 WHERE NOT (col0 = 59)
----
0
9

statement ok
DELETE FROM tab0 WHERE col3 > 4

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

query I rowsort label-1425
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-1425
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-1425
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-1425
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-1425
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,47,84.52,'gzdcs',98,54.99,'oaggc')

statement ok
INSERT INTO tab0 VALUES(1,97,47.34,'nsmcq',73,9.28,'wjrmt')

statement ok
INSERT INTO tab0 VALUES(2,18,56.48,'ccoiu',54,81.50,'ommed')

statement ok
INSERT INTO tab0 VALUES(3,61,62.39,'ylxvx',67,94.83,'lfnye')

statement ok
INSERT INTO tab0 VALUES(4,5,29.0,'nlahp',23,22.98,'pjefi')

statement ok
INSERT INTO tab0 VALUES(5,69,3.84,'pfejr',27,48.33,'eptjg')

statement ok
INSERT INTO tab0 VALUES(6,25,73.17,'piysz',95,31.4,'yvhwk')

statement ok
INSERT INTO tab0 VALUES(7,9,32.11,'mewdy',64,64.22,'zbzhp')

statement ok
INSERT INTO tab0 VALUES(8,37,40.74,'hxcqg',2,41.97,'cvzss')

statement ok
INSERT INTO tab0 VALUES(9,11,87.25,'rnyrj',28,14.61,'tcalh')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col0 > 25)

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

query I rowsort label-1440
SELECT pk FROM tab0 WHERE NOT ((col0 > 25))
----
2
4
6
7
9

statement ok
DELETE FROM tab1 WHERE (col0 > 25)

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

query I rowsort label-1440
SELECT pk FROM tab1 WHERE NOT ((col0 > 25))
----
2
4
6
7
9

statement ok
DELETE FROM tab2 WHERE (col0 > 25)

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

query I rowsort label-1440
SELECT pk FROM tab2 WHERE NOT ((col0 > 25))
----
2
4
6
7
9

statement ok
DELETE FROM tab3 WHERE (col0 > 25)

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

query I rowsort label-1440
SELECT pk FROM tab3 WHERE NOT ((col0 > 25))
----
2
4
6
7
9

statement ok
DELETE FROM tab4 WHERE (col0 > 25)

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

query I rowsort label-1440
SELECT pk FROM tab4 WHERE NOT ((col0 > 25))
----
2
4
6
7
9

statement ok
DELETE FROM tab0 WHERE col3 < 25

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

query I rowsort label-1455
SELECT pk FROM tab0 WHERE NOT (col3 < 25)
----
2
6
7
9

statement ok
DELETE FROM tab1 WHERE col3 < 25

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

query I rowsort label-1455
SELECT pk FROM tab1 WHERE NOT (col3 < 25)
----
2
6
7
9

statement ok
DELETE FROM tab2 WHERE col3 < 25

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

query I rowsort label-1455
SELECT pk FROM tab2 WHERE NOT (col3 < 25)
----
2
6
7
9

statement ok
DELETE FROM tab3 WHERE col3 < 25

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

query I rowsort label-1455
SELECT pk FROM tab3 WHERE NOT (col3 < 25)
----
2
6
7
9

statement ok
DELETE FROM tab4 WHERE col3 < 25

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

query I rowsort label-1455
SELECT pk FROM tab4 WHERE NOT (col3 < 25)
----
2
6
7
9

statement ok
DELETE FROM tab0 WHERE col4 >= 97.81

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

query I rowsort label-1470
SELECT pk FROM tab0 WHERE NOT (col4 >= 97.81)
----
2
6
7
9

statement ok
DELETE FROM tab1 WHERE col4 >= 97.81

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

query I rowsort label-1470
SELECT pk FROM tab1 WHERE NOT (col4 >= 97.81)
----
2
6
7
9

statement ok
DELETE FROM tab2 WHERE col4 >= 97.81

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

query I rowsort label-1470
SELECT pk FROM tab2 WHERE NOT (col4 >= 97.81)
----
2
6
7
9

statement ok
DELETE FROM tab3 WHERE col4 >= 97.81

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

query I rowsort label-1470
SELECT pk FROM tab3 WHERE NOT (col4 >= 97.81)
----
2
6
7
9

statement ok
DELETE FROM tab4 WHERE col4 >= 97.81

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

query I rowsort label-1470
SELECT pk FROM tab4 WHERE NOT (col4 >= 97.81)
----
2
6
7
9

statement ok
DELETE FROM tab0 WHERE col0 > 57

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

query I rowsort label-1485
SELECT pk FROM tab0 WHERE NOT (col0 > 57)
----
2
6
7
9

statement ok
DELETE FROM tab1 WHERE col0 > 57

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

query I rowsort label-1485
SELECT pk FROM tab1 WHERE NOT (col0 > 57)
----
2
6
7
9

statement ok
DELETE FROM tab2 WHERE col0 > 57

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

query I rowsort label-1485
SELECT pk FROM tab2 WHERE NOT (col0 > 57)
----
2
6
7
9

statement ok
DELETE FROM tab3 WHERE col0 > 57

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

query I rowsort label-1485
SELECT pk FROM tab3 WHERE NOT (col0 > 57)
----
2
6
7
9

statement ok
DELETE FROM tab4 WHERE col0 > 57

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

query I rowsort label-1485
SELECT pk FROM tab4 WHERE NOT (col0 > 57)
----
2
6
7
9

statement ok
DELETE FROM tab0 WHERE col0 > 79

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

query I rowsort label-1500
SELECT pk FROM tab0 WHERE NOT (col0 > 79)
----
2
6
7
9

statement ok
DELETE FROM tab1 WHERE col0 > 79

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

query I rowsort label-1500
SELECT pk FROM tab1 WHERE NOT (col0 > 79)
----
2
6
7
9

statement ok
DELETE FROM tab2 WHERE col0 > 79

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

query I rowsort label-1500
SELECT pk FROM tab2 WHERE NOT (col0 > 79)
----
2
6
7
9

statement ok
DELETE FROM tab3 WHERE col0 > 79

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

query I rowsort label-1500
SELECT pk FROM tab3 WHERE NOT (col0 > 79)
----
2
6
7
9

statement ok
DELETE FROM tab4 WHERE col0 > 79

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

query I rowsort label-1500
SELECT pk FROM tab4 WHERE NOT (col0 > 79)
----
2
6
7
9

statement ok
DELETE FROM tab0 WHERE col3 = 49 AND ((col0 BETWEEN 74 AND 46))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 49 AND ((col0 BETWEEN 74 AND 46))
----

query I rowsort label-1515
SELECT pk FROM tab0 WHERE NOT (col3 = 49 AND ((col0 BETWEEN 74 AND 46)))
----
2
6
7
9

statement ok
DELETE FROM tab1 WHERE col3 = 49 AND ((col0 BETWEEN 74 AND 46))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 49 AND ((col0 BETWEEN 74 AND 46))
----

query I rowsort label-1515
SELECT pk FROM tab1 WHERE NOT (col3 = 49 AND ((col0 BETWEEN 74 AND 46)))
----
2
6
7
9

statement ok
DELETE FROM tab2 WHERE col3 = 49 AND ((col0 BETWEEN 74 AND 46))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 49 AND ((col0 BETWEEN 74 AND 46))
----

query I rowsort label-1515
SELECT pk FROM tab2 WHERE NOT (col3 = 49 AND ((col0 BETWEEN 74 AND 46)))
----
2
6
7
9

statement ok
DELETE FROM tab3 WHERE col3 = 49 AND ((col0 BETWEEN 74 AND 46))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 49 AND ((col0 BETWEEN 74 AND 46))
----

query I rowsort label-1515
SELECT pk FROM tab3 WHERE NOT (col3 = 49 AND ((col0 BETWEEN 74 AND 46)))
----
2
6
7
9

statement ok
DELETE FROM tab4 WHERE col3 = 49 AND ((col0 BETWEEN 74 AND 46))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 49 AND ((col0 BETWEEN 74 AND 46))
----

query I rowsort label-1515
SELECT pk FROM tab4 WHERE NOT (col3 = 49 AND ((col0 BETWEEN 74 AND 46)))
----
2
6
7
9

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,60,60.88,'dxejt',84,22.90,'pmism')

statement ok
INSERT INTO tab0 VALUES(1,53,76.12,'ukrhn',10,14.84,'jbfpc')

statement ok
INSERT INTO tab0 VALUES(2,39,80.10,'lqbjp',50,96.60,'smqcr')

statement ok
INSERT INTO tab0 VALUES(3,30,17.20,'bslmy',56,91.11,'wwpkg')

statement ok
INSERT INTO tab0 VALUES(4,70,32.66,'wuqkt',18,8.74,'sloeh')

statement ok
INSERT INTO tab0 VALUES(5,48,38.79,'aftay',76,5.48,'juerm')

statement ok
INSERT INTO tab0 VALUES(6,10,77.0,'huuhb',35,46.99,'uxuaf')

statement ok
INSERT INTO tab0 VALUES(7,71,78.2,'nsjop',74,69.81,'mfebh')

statement ok
INSERT INTO tab0 VALUES(8,27,26.97,'lviqu',62,48.42,'zzcso')

statement ok
INSERT INTO tab0 VALUES(9,73,24.47,'dqfug',69,50.40,'qdxzm')

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12)
----

query I rowsort label-1530
SELECT pk FROM tab0 WHERE NOT (col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12))
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12)
----

query I rowsort label-1530
SELECT pk FROM tab1 WHERE NOT (col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12))
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12)
----

query I rowsort label-1530
SELECT pk FROM tab2 WHERE NOT (col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12))
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12)
----

query I rowsort label-1530
SELECT pk FROM tab3 WHERE NOT (col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12))
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12)
----

query I rowsort label-1530
SELECT pk FROM tab4 WHERE NOT (col3 = 52 OR (col3 < 21) OR (col0 > 50) AND (col3 = 68) OR col3 IN (14,95,31,12))
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col1 BETWEEN 24.52 AND 19.64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 BETWEEN 24.52 AND 19.64
----

query I rowsort label-1545
SELECT pk FROM tab0 WHERE NOT (col1 BETWEEN 24.52 AND 19.64)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col1 BETWEEN 24.52 AND 19.64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 BETWEEN 24.52 AND 19.64
----

query I rowsort label-1545
SELECT pk FROM tab1 WHERE NOT (col1 BETWEEN 24.52 AND 19.64)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col1 BETWEEN 24.52 AND 19.64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 BETWEEN 24.52 AND 19.64
----

query I rowsort label-1545
SELECT pk FROM tab2 WHERE NOT (col1 BETWEEN 24.52 AND 19.64)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col1 BETWEEN 24.52 AND 19.64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 BETWEEN 24.52 AND 19.64
----

query I rowsort label-1545
SELECT pk FROM tab3 WHERE NOT (col1 BETWEEN 24.52 AND 19.64)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col1 BETWEEN 24.52 AND 19.64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 BETWEEN 24.52 AND 19.64
----

query I rowsort label-1545
SELECT pk FROM tab4 WHERE NOT (col1 BETWEEN 24.52 AND 19.64)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 = 63

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

query I rowsort label-1560
SELECT pk FROM tab0 WHERE NOT (col0 = 63)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 = 63

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

query I rowsort label-1560
SELECT pk FROM tab1 WHERE NOT (col0 = 63)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 = 63

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

query I rowsort label-1560
SELECT pk FROM tab2 WHERE NOT (col0 = 63)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 = 63

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

query I rowsort label-1560
SELECT pk FROM tab3 WHERE NOT (col0 = 63)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 = 63

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

query I rowsort label-1560
SELECT pk FROM tab4 WHERE NOT (col0 = 63)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (((col0 >= 65))) AND col4 > 5.18

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 >= 65))) AND col4 > 5.18
----

query I rowsort label-1575
SELECT pk FROM tab0 WHERE NOT ((((col0 >= 65))) AND col4 > 5.18)
----
0
2
3
5
6
8

statement ok
DELETE FROM tab1 WHERE (((col0 >= 65))) AND col4 > 5.18

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 >= 65))) AND col4 > 5.18
----

query I rowsort label-1575
SELECT pk FROM tab1 WHERE NOT ((((col0 >= 65))) AND col4 > 5.18)
----
0
2
3
5
6
8

statement ok
DELETE FROM tab2 WHERE (((col0 >= 65))) AND col4 > 5.18

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 >= 65))) AND col4 > 5.18
----

query I rowsort label-1575
SELECT pk FROM tab2 WHERE NOT ((((col0 >= 65))) AND col4 > 5.18)
----
0
2
3
5
6
8

statement ok
DELETE FROM tab3 WHERE (((col0 >= 65))) AND col4 > 5.18

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 >= 65))) AND col4 > 5.18
----

query I rowsort label-1575
SELECT pk FROM tab3 WHERE NOT ((((col0 >= 65))) AND col4 > 5.18)
----
0
2
3
5
6
8

statement ok
DELETE FROM tab4 WHERE (((col0 >= 65))) AND col4 > 5.18

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 >= 65))) AND col4 > 5.18
----

query I rowsort label-1575
SELECT pk FROM tab4 WHERE NOT ((((col0 >= 65))) AND col4 > 5.18)
----
0
2
3
5
6
8

statement ok
DELETE FROM tab0 WHERE (col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18))))
----

query I rowsort label-1590
SELECT pk FROM tab0 WHERE NOT ((col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18)))))
----
0
2
3
5
6
8

statement ok
DELETE FROM tab1 WHERE (col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18))))
----

query I rowsort label-1590
SELECT pk FROM tab1 WHERE NOT ((col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18)))))
----
0
2
3
5
6
8

statement ok
DELETE FROM tab2 WHERE (col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18))))
----

query I rowsort label-1590
SELECT pk FROM tab2 WHERE NOT ((col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18)))))
----
0
2
3
5
6
8

statement ok
DELETE FROM tab3 WHERE (col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18))))
----

query I rowsort label-1590
SELECT pk FROM tab3 WHERE NOT ((col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18)))))
----
0
2
3
5
6
8

statement ok
DELETE FROM tab4 WHERE (col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18))))
----

query I rowsort label-1590
SELECT pk FROM tab4 WHERE NOT ((col4 < 43.59 AND (col4 IS NULL) OR col0 < 83 AND col1 IN (32.65,44.0,67.46,82.87,66.94)) AND (col0 = 3) AND col4 > 2.97 AND col4 >= 22.8 OR col0 <= 48 AND col0 < 73 AND ((((col4 <= 1.18)))))
----
0
2
3
5
6
8

statement ok
DELETE FROM tab0 WHERE (col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81)
----

query I rowsort label-1605
SELECT pk FROM tab0 WHERE NOT ((col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81))
----
0
2
3
5
6
8

statement ok
DELETE FROM tab1 WHERE (col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81)
----

query I rowsort label-1605
SELECT pk FROM tab1 WHERE NOT ((col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81))
----
0
2
3
5
6
8

statement ok
DELETE FROM tab2 WHERE (col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81)
----

query I rowsort label-1605
SELECT pk FROM tab2 WHERE NOT ((col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81))
----
0
2
3
5
6
8

statement ok
DELETE FROM tab3 WHERE (col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81)
----

query I rowsort label-1605
SELECT pk FROM tab3 WHERE NOT ((col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81))
----
0
2
3
5
6
8

statement ok
DELETE FROM tab4 WHERE (col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81)
----

query I rowsort label-1605
SELECT pk FROM tab4 WHERE NOT ((col0 <= 78 AND ((col4 > 29.53 OR (col3 <= 78) AND col0 <= 81 AND col0 > 40 AND col3 > 91 AND ((((col0 < 86)))) AND col1 < 56.12 AND col0 IN (81,27,50,83) AND ((col3 >= 42)) AND col0 <= 49 OR (col3 < 51) AND col3 >= 96 OR col1 > 46.56 OR (col3 < 1) AND col1 > 56.70 AND col1 = 44.73 AND col4 > 15.41 OR col0 BETWEEN 94 AND 32 OR col4 IN (44.54))) AND ((col1 > 63.97)) AND col0 < 11 AND col0 IS NULL AND (((col3 <= 16 AND col0 IS NULL))) OR col1 = 66.81))
----
0
2
3
5
6
8

statement ok
DELETE FROM tab0 WHERE col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50
----

query I rowsort label-1620
SELECT pk FROM tab0 WHERE NOT (col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50)
----
2
3
5
6
8

statement ok
DELETE FROM tab1 WHERE col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50
----

query I rowsort label-1620
SELECT pk FROM tab1 WHERE NOT (col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50)
----
2
3
5
6
8

statement ok
DELETE FROM tab2 WHERE col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50
----

query I rowsort label-1620
SELECT pk FROM tab2 WHERE NOT (col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50)
----
2
3
5
6
8

statement ok
DELETE FROM tab3 WHERE col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50
----

query I rowsort label-1620
SELECT pk FROM tab3 WHERE NOT (col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50)
----
2
3
5
6
8

statement ok
DELETE FROM tab4 WHERE col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50
----

query I rowsort label-1620
SELECT pk FROM tab4 WHERE NOT (col3 <= 7 AND (col4 >= 31.98 OR col4 = 47.5 AND col0 = 11 AND col0 < 55) OR col0 > 50)
----
2
3
5
6
8

statement ok
DELETE FROM tab0 WHERE col1 < 92.58

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

query I rowsort label-1635
SELECT pk FROM tab0 WHERE NOT (col1 < 92.58)
----

statement ok
DELETE FROM tab1 WHERE col1 < 92.58

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

query I rowsort label-1635
SELECT pk FROM tab1 WHERE NOT (col1 < 92.58)
----

statement ok
DELETE FROM tab2 WHERE col1 < 92.58

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

query I rowsort label-1635
SELECT pk FROM tab2 WHERE NOT (col1 < 92.58)
----

statement ok
DELETE FROM tab3 WHERE col1 < 92.58

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

query I rowsort label-1635
SELECT pk FROM tab3 WHERE NOT (col1 < 92.58)
----

statement ok
DELETE FROM tab4 WHERE col1 < 92.58

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

query I rowsort label-1635
SELECT pk FROM tab4 WHERE NOT (col1 < 92.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,24,68.73,'bjfir',69,57.16,'bukip')

statement ok
INSERT INTO tab0 VALUES(1,26,43.27,'ihgjf',95,46.2,'jvwli')

statement ok
INSERT INTO tab0 VALUES(2,1,64.9,'gbtaw',74,50.65,'elvtw')

statement ok
INSERT INTO tab0 VALUES(3,84,99.80,'dwgqz',42,42.56,'zzmvy')

statement ok
INSERT INTO tab0 VALUES(4,63,63.58,'jfnfc',91,20.40,'wfalz')

statement ok
INSERT INTO tab0 VALUES(5,89,82.35,'hcyok',85,76.10,'bhbph')

statement ok
INSERT INTO tab0 VALUES(6,90,53.83,'szlgq',67,55.0,'panuy')

statement ok
INSERT INTO tab0 VALUES(7,79,7.74,'oyvyk',78,15.94,'yydbk')

statement ok
INSERT INTO tab0 VALUES(8,74,74.87,'naojb',63,96.45,'qkaez')

statement ok
INSERT INTO tab0 VALUES(9,6,42.21,'ozkmd',89,77.79,'uujpr')

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC)

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 INDEX idx_tab4_0 ON tab4 (col0 DESC,col3,col4 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
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,38.65,'zahth',75,42.2,'kfywt')

statement ok
INSERT INTO tab0 VALUES(1,65,85.11,'nvmyr',18,9.77,'qpuwg')

statement ok
INSERT INTO tab0 VALUES(2,8,74.90,'yenti',90,97.22,'gsibi')

statement ok
INSERT INTO tab0 VALUES(3,5,64.21,'mhukx',86,86.3,'huwve')

statement ok
INSERT INTO tab0 VALUES(4,86,33.77,'xkyrq',10,26.67,'ewpjp')

statement ok
INSERT INTO tab0 VALUES(5,70,86.51,'kfxim',40,52.13,'vilfi')

statement ok
INSERT INTO tab0 VALUES(6,33,65.12,'sryxj',87,98.51,'xnkay')

statement ok
INSERT INTO tab0 VALUES(7,63,67.73,'iozff',58,99.62,'vnoyf')

statement ok
INSERT INTO tab0 VALUES(8,28,55.54,'rbqbz',24,21.67,'yohoy')

statement ok
INSERT INTO tab0 VALUES(9,38,68.39,'bkhub',73,57.82,'puggl')

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

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

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 (col0,col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col1 >= 98.39

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

query I rowsort label-1650
SELECT pk FROM tab0 WHERE NOT (col1 >= 98.39)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 >= 98.39

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

query I rowsort label-1650
SELECT pk FROM tab1 WHERE NOT (col1 >= 98.39)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 >= 98.39

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

query I rowsort label-1650
SELECT pk FROM tab2 WHERE NOT (col1 >= 98.39)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 >= 98.39

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

query I rowsort label-1650
SELECT pk FROM tab3 WHERE NOT (col1 >= 98.39)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 >= 98.39

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

query I rowsort label-1650
SELECT pk FROM tab4 WHERE NOT (col1 >= 98.39)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 <= 42 OR col3 < 39

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 42 OR col3 < 39
----

query I rowsort label-1665
SELECT pk FROM tab0 WHERE NOT (col3 <= 42 OR col3 < 39)
----
0
2
3
6
7
9

statement ok
DELETE FROM tab1 WHERE col3 <= 42 OR col3 < 39

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 42 OR col3 < 39
----

query I rowsort label-1665
SELECT pk FROM tab1 WHERE NOT (col3 <= 42 OR col3 < 39)
----
0
2
3
6
7
9

statement ok
DELETE FROM tab2 WHERE col3 <= 42 OR col3 < 39

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 42 OR col3 < 39
----

query I rowsort label-1665
SELECT pk FROM tab2 WHERE NOT (col3 <= 42 OR col3 < 39)
----
0
2
3
6
7
9

statement ok
DELETE FROM tab3 WHERE col3 <= 42 OR col3 < 39

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 42 OR col3 < 39
----

query I rowsort label-1665
SELECT pk FROM tab3 WHERE NOT (col3 <= 42 OR col3 < 39)
----
0
2
3
6
7
9

statement ok
DELETE FROM tab4 WHERE col3 <= 42 OR col3 < 39

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 42 OR col3 < 39
----

query I rowsort label-1665
SELECT pk FROM tab4 WHERE NOT (col3 <= 42 OR col3 < 39)
----
0
2
3
6
7
9

statement ok
DELETE FROM tab0 WHERE col0 >= 91

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

query I rowsort label-1680
SELECT pk FROM tab0 WHERE NOT (col0 >= 91)
----
0
2
3
6
7
9

statement ok
DELETE FROM tab1 WHERE col0 >= 91

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

query I rowsort label-1680
SELECT pk FROM tab1 WHERE NOT (col0 >= 91)
----
0
2
3
6
7
9

statement ok
DELETE FROM tab2 WHERE col0 >= 91

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

query I rowsort label-1680
SELECT pk FROM tab2 WHERE NOT (col0 >= 91)
----
0
2
3
6
7
9

statement ok
DELETE FROM tab3 WHERE col0 >= 91

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

query I rowsort label-1680
SELECT pk FROM tab3 WHERE NOT (col0 >= 91)
----
0
2
3
6
7
9

statement ok
DELETE FROM tab4 WHERE col0 >= 91

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

query I rowsort label-1680
SELECT pk FROM tab4 WHERE NOT (col0 >= 91)
----
0
2
3
6
7
9

statement ok
DELETE FROM tab0 WHERE ((col1 < 98.60))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 < 98.60))
----

query I rowsort label-1695
SELECT pk FROM tab0 WHERE NOT (((col1 < 98.60)))
----

statement ok
DELETE FROM tab1 WHERE ((col1 < 98.60))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 < 98.60))
----

query I rowsort label-1695
SELECT pk FROM tab1 WHERE NOT (((col1 < 98.60)))
----

statement ok
DELETE FROM tab2 WHERE ((col1 < 98.60))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 < 98.60))
----

query I rowsort label-1695
SELECT pk FROM tab2 WHERE NOT (((col1 < 98.60)))
----

statement ok
DELETE FROM tab3 WHERE ((col1 < 98.60))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 < 98.60))
----

query I rowsort label-1695
SELECT pk FROM tab3 WHERE NOT (((col1 < 98.60)))
----

statement ok
DELETE FROM tab4 WHERE ((col1 < 98.60))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 < 98.60))
----

query I rowsort label-1695
SELECT pk FROM tab4 WHERE NOT (((col1 < 98.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,35,69.24,'fwkir',97,45.21,'opfsg')

statement ok
INSERT INTO tab0 VALUES(1,47,33.5,'nzgto',67,53.34,'eahbc')

statement ok
INSERT INTO tab0 VALUES(2,68,97.50,'mafiu',37,92.12,'pqbyk')

statement ok
INSERT INTO tab0 VALUES(3,48,70.78,'gaibs',31,42.60,'iffkk')

statement ok
INSERT INTO tab0 VALUES(4,13,13.34,'iimym',11,70.16,'dlrpd')

statement ok
INSERT INTO tab0 VALUES(5,89,16.2,'yvgft',88,95.63,'gchuw')

statement ok
INSERT INTO tab0 VALUES(6,3,46.15,'wwmji',36,52.39,'hzlru')

statement ok
INSERT INTO tab0 VALUES(7,2,17.72,'yovhv',2,49.54,'titkt')

statement ok
INSERT INTO tab0 VALUES(8,61,52.46,'sxkkd',21,38.0,'rqpus')

statement ok
INSERT INTO tab0 VALUES(9,4,44.1,'dvnxg',26,69.63,'gyuhn')

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 INDEX idx_tab2_1 ON tab2 (col3 DESC)

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 INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col1 < 13.37)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 13.37)
----

query I rowsort label-1710
SELECT pk FROM tab0 WHERE NOT ((col1 < 13.37))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab1 WHERE (col1 < 13.37)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 13.37)
----

query I rowsort label-1710
SELECT pk FROM tab1 WHERE NOT ((col1 < 13.37))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab2 WHERE (col1 < 13.37)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 13.37)
----

query I rowsort label-1710
SELECT pk FROM tab2 WHERE NOT ((col1 < 13.37))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab3 WHERE (col1 < 13.37)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 13.37)
----

query I rowsort label-1710
SELECT pk FROM tab3 WHERE NOT ((col1 < 13.37))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab4 WHERE (col1 < 13.37)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 13.37)
----

query I rowsort label-1710
SELECT pk FROM tab4 WHERE NOT ((col1 < 13.37))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab0 WHERE col0 = 11

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

query I rowsort label-1725
SELECT pk FROM tab0 WHERE NOT (col0 = 11)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab1 WHERE col0 = 11

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

query I rowsort label-1725
SELECT pk FROM tab1 WHERE NOT (col0 = 11)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab2 WHERE col0 = 11

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

query I rowsort label-1725
SELECT pk FROM tab2 WHERE NOT (col0 = 11)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab3 WHERE col0 = 11

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

query I rowsort label-1725
SELECT pk FROM tab3 WHERE NOT (col0 = 11)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab4 WHERE col0 = 11

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

query I rowsort label-1725
SELECT pk FROM tab4 WHERE NOT (col0 = 11)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab0 WHERE ((col3 <= 47) AND (col3 > 29))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 <= 47) AND (col3 > 29))
----

query I rowsort label-1740
SELECT pk FROM tab0 WHERE NOT (((col3 <= 47) AND (col3 > 29)))
----
0
1
5
7
8
9

statement ok
DELETE FROM tab1 WHERE ((col3 <= 47) AND (col3 > 29))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 <= 47) AND (col3 > 29))
----

query I rowsort label-1740
SELECT pk FROM tab1 WHERE NOT (((col3 <= 47) AND (col3 > 29)))
----
0
1
5
7
8
9

statement ok
DELETE FROM tab2 WHERE ((col3 <= 47) AND (col3 > 29))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 <= 47) AND (col3 > 29))
----

query I rowsort label-1740
SELECT pk FROM tab2 WHERE NOT (((col3 <= 47) AND (col3 > 29)))
----
0
1
5
7
8
9

statement ok
DELETE FROM tab3 WHERE ((col3 <= 47) AND (col3 > 29))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 <= 47) AND (col3 > 29))
----

query I rowsort label-1740
SELECT pk FROM tab3 WHERE NOT (((col3 <= 47) AND (col3 > 29)))
----
0
1
5
7
8
9

statement ok
DELETE FROM tab4 WHERE ((col3 <= 47) AND (col3 > 29))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 <= 47) AND (col3 > 29))
----

query I rowsort label-1740
SELECT pk FROM tab4 WHERE NOT (((col3 <= 47) AND (col3 > 29)))
----
0
1
5
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 <= 61

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

query I rowsort label-1755
SELECT pk FROM tab0 WHERE NOT (col3 <= 61)
----
0
1
5

statement ok
DELETE FROM tab1 WHERE col3 <= 61

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

query I rowsort label-1755
SELECT pk FROM tab1 WHERE NOT (col3 <= 61)
----
0
1
5

statement ok
DELETE FROM tab2 WHERE col3 <= 61

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

query I rowsort label-1755
SELECT pk FROM tab2 WHERE NOT (col3 <= 61)
----
0
1
5

statement ok
DELETE FROM tab3 WHERE col3 <= 61

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

query I rowsort label-1755
SELECT pk FROM tab3 WHERE NOT (col3 <= 61)
----
0
1
5

statement ok
DELETE FROM tab4 WHERE col3 <= 61

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

query I rowsort label-1755
SELECT pk FROM tab4 WHERE NOT (col3 <= 61)
----
0
1
5

statement ok
DELETE FROM tab0 WHERE col0 > 23

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

query I rowsort label-1770
SELECT pk FROM tab0 WHERE NOT (col0 > 23)
----

statement ok
DELETE FROM tab1 WHERE col0 > 23

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

query I rowsort label-1770
SELECT pk FROM tab1 WHERE NOT (col0 > 23)
----

statement ok
DELETE FROM tab2 WHERE col0 > 23

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

query I rowsort label-1770
SELECT pk FROM tab2 WHERE NOT (col0 > 23)
----

statement ok
DELETE FROM tab3 WHERE col0 > 23

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

query I rowsort label-1770
SELECT pk FROM tab3 WHERE NOT (col0 > 23)
----

statement ok
DELETE FROM tab4 WHERE col0 > 23

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

query I rowsort label-1770
SELECT pk FROM tab4 WHERE NOT (col0 > 23)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,71,96.45,'xoera',92,47.32,'ocebp')

statement ok
INSERT INTO tab0 VALUES(1,68,97.54,'aciqh',93,13.32,'ntsfg')

statement ok
INSERT INTO tab0 VALUES(2,74,49.14,'utuin',78,76.41,'sqayc')

statement ok
INSERT INTO tab0 VALUES(3,4,98.27,'gsjha',52,14.55,'kpdyr')

statement ok
INSERT INTO tab0 VALUES(4,19,55.77,'dnuwf',94,80.35,'yadsb')

statement ok
INSERT INTO tab0 VALUES(5,80,24.90,'uqbcs',16,25.65,'yqheg')

statement ok
INSERT INTO tab0 VALUES(6,20,2.0,'idien',33,0.18,'kbhgy')

statement ok
INSERT INTO tab0 VALUES(7,96,99.9,'vjefz',18,74.17,'tkcpb')

statement ok
INSERT INTO tab0 VALUES(8,66,42.51,'mjqtf',69,42.98,'cwjco')

statement ok
INSERT INTO tab0 VALUES(9,34,1.54,'osmlx',70,46.70,'homnr')

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

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10
----

query I rowsort label-1785
SELECT pk FROM tab0 WHERE NOT (col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10
----

query I rowsort label-1785
SELECT pk FROM tab1 WHERE NOT (col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10
----

query I rowsort label-1785
SELECT pk FROM tab2 WHERE NOT (col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10
----

query I rowsort label-1785
SELECT pk FROM tab3 WHERE NOT (col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10
----

query I rowsort label-1785
SELECT pk FROM tab4 WHERE NOT (col0 = 52 AND col3 < 4 OR col0 = 27 AND col4 < 55.10)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col3 < 74))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 74))
----

query I rowsort label-1800
SELECT pk FROM tab0 WHERE NOT (((col3 < 74)))
----
0
1
2
4

statement ok
DELETE FROM tab1 WHERE ((col3 < 74))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 74))
----

query I rowsort label-1800
SELECT pk FROM tab1 WHERE NOT (((col3 < 74)))
----
0
1
2
4

statement ok
DELETE FROM tab2 WHERE ((col3 < 74))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 74))
----

query I rowsort label-1800
SELECT pk FROM tab2 WHERE NOT (((col3 < 74)))
----
0
1
2
4

statement ok
DELETE FROM tab3 WHERE ((col3 < 74))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 74))
----

query I rowsort label-1800
SELECT pk FROM tab3 WHERE NOT (((col3 < 74)))
----
0
1
2
4

statement ok
DELETE FROM tab4 WHERE ((col3 < 74))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 74))
----

query I rowsort label-1800
SELECT pk FROM tab4 WHERE NOT (((col3 < 74)))
----
0
1
2
4

statement ok
DELETE FROM tab0 WHERE col0 > 38

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

query I rowsort label-1815
SELECT pk FROM tab0 WHERE NOT (col0 > 38)
----
4

statement ok
DELETE FROM tab1 WHERE col0 > 38

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

query I rowsort label-1815
SELECT pk FROM tab1 WHERE NOT (col0 > 38)
----
4

statement ok
DELETE FROM tab2 WHERE col0 > 38

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

query I rowsort label-1815
SELECT pk FROM tab2 WHERE NOT (col0 > 38)
----
4

statement ok
DELETE FROM tab3 WHERE col0 > 38

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

query I rowsort label-1815
SELECT pk FROM tab3 WHERE NOT (col0 > 38)
----
4

statement ok
DELETE FROM tab4 WHERE col0 > 38

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

query I rowsort label-1815
SELECT pk FROM tab4 WHERE NOT (col0 > 38)
----
4

statement ok
DELETE FROM tab0 WHERE col1 < 35.84 OR col0 > 71 OR (col3 < 62)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 35.84 OR col0 > 71 OR (col3 < 62)
----

query I rowsort label-1830
SELECT pk FROM tab0 WHERE NOT (col1 < 35.84 OR col0 > 71 OR (col3 < 62))
----
4

statement ok
DELETE FROM tab1 WHERE col1 < 35.84 OR col0 > 71 OR (col3 < 62)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 35.84 OR col0 > 71 OR (col3 < 62)
----

query I rowsort label-1830
SELECT pk FROM tab1 WHERE NOT (col1 < 35.84 OR col0 > 71 OR (col3 < 62))
----
4

statement ok
DELETE FROM tab2 WHERE col1 < 35.84 OR col0 > 71 OR (col3 < 62)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 35.84 OR col0 > 71 OR (col3 < 62)
----

query I rowsort label-1830
SELECT pk FROM tab2 WHERE NOT (col1 < 35.84 OR col0 > 71 OR (col3 < 62))
----
4

statement ok
DELETE FROM tab3 WHERE col1 < 35.84 OR col0 > 71 OR (col3 < 62)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 35.84 OR col0 > 71 OR (col3 < 62)
----

query I rowsort label-1830
SELECT pk FROM tab3 WHERE NOT (col1 < 35.84 OR col0 > 71 OR (col3 < 62))
----
4

statement ok
DELETE FROM tab4 WHERE col1 < 35.84 OR col0 > 71 OR (col3 < 62)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 35.84 OR col0 > 71 OR (col3 < 62)
----

query I rowsort label-1830
SELECT pk FROM tab4 WHERE NOT (col1 < 35.84 OR col0 > 71 OR (col3 < 62))
----
4

statement ok
DELETE FROM tab0 WHERE col1 < 60.16

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

query I rowsort label-1845
SELECT pk FROM tab0 WHERE NOT (col1 < 60.16)
----

statement ok
DELETE FROM tab1 WHERE col1 < 60.16

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

query I rowsort label-1845
SELECT pk FROM tab1 WHERE NOT (col1 < 60.16)
----

statement ok
DELETE FROM tab2 WHERE col1 < 60.16

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

query I rowsort label-1845
SELECT pk FROM tab2 WHERE NOT (col1 < 60.16)
----

statement ok
DELETE FROM tab3 WHERE col1 < 60.16

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

query I rowsort label-1845
SELECT pk FROM tab3 WHERE NOT (col1 < 60.16)
----

statement ok
DELETE FROM tab4 WHERE col1 < 60.16

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

query I rowsort label-1845
SELECT pk FROM tab4 WHERE NOT (col1 < 60.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,6,44.7,'kwjeo',95,7.56,'aazoa')

statement ok
INSERT INTO tab0 VALUES(1,2,28.50,'uuruw',58,27.3,'fclbu')

statement ok
INSERT INTO tab0 VALUES(2,90,95.24,'mukne',40,38.90,'kbdvm')

statement ok
INSERT INTO tab0 VALUES(3,50,31.81,'jolir',0,90.78,'heywz')

statement ok
INSERT INTO tab0 VALUES(4,22,43.19,'bnado',63,35.27,'qtwum')

statement ok
INSERT INTO tab0 VALUES(5,21,19.90,'ohkat',34,87.11,'sbsxi')

statement ok
INSERT INTO tab0 VALUES(6,44,91.15,'ulifo',9,88.25,'gqrdn')

statement ok
INSERT INTO tab0 VALUES(7,89,96.94,'fyvgj',88,62.3,'rjbkg')

statement ok
INSERT INTO tab0 VALUES(8,63,41.22,'ocvez',89,89.29,'cmttv')

statement ok
INSERT INTO tab0 VALUES(9,95,65.99,'isqrq',56,57.48,'qxwey')

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

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col3 <= 40)

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

query I rowsort label-1860
SELECT pk FROM tab0 WHERE NOT ((col3 <= 40))
----
0
1
4
7
8
9

statement ok
DELETE FROM tab1 WHERE (col3 <= 40)

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

query I rowsort label-1860
SELECT pk FROM tab1 WHERE NOT ((col3 <= 40))
----
0
1
4
7
8
9

statement ok
DELETE FROM tab2 WHERE (col3 <= 40)

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

query I rowsort label-1860
SELECT pk FROM tab2 WHERE NOT ((col3 <= 40))
----
0
1
4
7
8
9

statement ok
DELETE FROM tab3 WHERE (col3 <= 40)

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

query I rowsort label-1860
SELECT pk FROM tab3 WHERE NOT ((col3 <= 40))
----
0
1
4
7
8
9

statement ok
DELETE FROM tab4 WHERE (col3 <= 40)

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

query I rowsort label-1860
SELECT pk FROM tab4 WHERE NOT ((col3 <= 40))
----
0
1
4
7
8
9

statement ok
DELETE FROM tab0 WHERE (col3 < 56 OR (col3 >= 90))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 56 OR (col3 >= 90))
----

query I rowsort label-1875
SELECT pk FROM tab0 WHERE NOT ((col3 < 56 OR (col3 >= 90)))
----
1
4
7
8
9

statement ok
DELETE FROM tab1 WHERE (col3 < 56 OR (col3 >= 90))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 56 OR (col3 >= 90))
----

query I rowsort label-1875
SELECT pk FROM tab1 WHERE NOT ((col3 < 56 OR (col3 >= 90)))
----
1
4
7
8
9

statement ok
DELETE FROM tab2 WHERE (col3 < 56 OR (col3 >= 90))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 56 OR (col3 >= 90))
----

query I rowsort label-1875
SELECT pk FROM tab2 WHERE NOT ((col3 < 56 OR (col3 >= 90)))
----
1
4
7
8
9

statement ok
DELETE FROM tab3 WHERE (col3 < 56 OR (col3 >= 90))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 56 OR (col3 >= 90))
----

query I rowsort label-1875
SELECT pk FROM tab3 WHERE NOT ((col3 < 56 OR (col3 >= 90)))
----
1
4
7
8
9

statement ok
DELETE FROM tab4 WHERE (col3 < 56 OR (col3 >= 90))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 56 OR (col3 >= 90))
----

query I rowsort label-1875
SELECT pk FROM tab4 WHERE NOT ((col3 < 56 OR (col3 >= 90)))
----
1
4
7
8
9

statement ok
DELETE FROM tab0 WHERE ((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18)))
----

query I rowsort label-1890
SELECT pk FROM tab0 WHERE NOT (((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18))))
----
1
4
7
8
9

statement ok
DELETE FROM tab1 WHERE ((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18)))
----

query I rowsort label-1890
SELECT pk FROM tab1 WHERE NOT (((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18))))
----
1
4
7
8
9

statement ok
DELETE FROM tab2 WHERE ((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18)))
----

query I rowsort label-1890
SELECT pk FROM tab2 WHERE NOT (((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18))))
----
1
4
7
8
9

statement ok
DELETE FROM tab3 WHERE ((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18)))
----

query I rowsort label-1890
SELECT pk FROM tab3 WHERE NOT (((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18))))
----
1
4
7
8
9

statement ok
DELETE FROM tab4 WHERE ((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18)))
----

query I rowsort label-1890
SELECT pk FROM tab4 WHERE NOT (((col3 IS NULL OR (((col0 = 26))) OR (col0 BETWEEN 39 AND 4) OR (col3 IS NULL) AND (col0 < 18))))
----
1
4
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 IS NULL OR col3 >= 18

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IS NULL OR col3 >= 18
----

query I rowsort label-1905
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL OR col3 >= 18)
----

statement ok
DELETE FROM tab1 WHERE col0 IS NULL OR col3 >= 18

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IS NULL OR col3 >= 18
----

query I rowsort label-1905
SELECT pk FROM tab1 WHERE NOT (col0 IS NULL OR col3 >= 18)
----

statement ok
DELETE FROM tab2 WHERE col0 IS NULL OR col3 >= 18

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IS NULL OR col3 >= 18
----

query I rowsort label-1905
SELECT pk FROM tab2 WHERE NOT (col0 IS NULL OR col3 >= 18)
----

statement ok
DELETE FROM tab3 WHERE col0 IS NULL OR col3 >= 18

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IS NULL OR col3 >= 18
----

query I rowsort label-1905
SELECT pk FROM tab3 WHERE NOT (col0 IS NULL OR col3 >= 18)
----

statement ok
DELETE FROM tab4 WHERE col0 IS NULL OR col3 >= 18

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IS NULL OR col3 >= 18
----

query I rowsort label-1905
SELECT pk FROM tab4 WHERE NOT (col0 IS NULL OR col3 >= 18)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,29,34.77,'amnhm',3,40.16,'uclwd')

statement ok
INSERT INTO tab0 VALUES(1,22,36.24,'azdgu',32,23.80,'vcuxs')

statement ok
INSERT INTO tab0 VALUES(2,77,22.63,'omkrv',59,91.4,'czoen')

statement ok
INSERT INTO tab0 VALUES(3,11,7.45,'acfpx',86,0.26,'iusjz')

statement ok
INSERT INTO tab0 VALUES(4,55,63.63,'oswkf',16,13.59,'zghus')

statement ok
INSERT INTO tab0 VALUES(5,20,24.13,'ctnle',7,14.52,'pgryl')

statement ok
INSERT INTO tab0 VALUES(6,56,3.63,'pqypm',42,24.52,'qqmhg')

statement ok
INSERT INTO tab0 VALUES(7,17,4.5,'clazc',89,4.67,'sszur')

statement ok
INSERT INTO tab0 VALUES(8,25,29.29,'yqopp',61,81.30,'vzzou')

statement ok
INSERT INTO tab0 VALUES(9,27,1.76,'soqwf',82,49.59,'hpzll')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col4 < 59.69 AND col3 IN (30,56,34)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 59.69 AND col3 IN (30,56,34)
----

query I rowsort label-1920
SELECT pk FROM tab0 WHERE NOT (col4 < 59.69 AND col3 IN (30,56,34))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 < 59.69 AND col3 IN (30,56,34)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 59.69 AND col3 IN (30,56,34)
----

query I rowsort label-1920
SELECT pk FROM tab1 WHERE NOT (col4 < 59.69 AND col3 IN (30,56,34))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 < 59.69 AND col3 IN (30,56,34)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 59.69 AND col3 IN (30,56,34)
----

query I rowsort label-1920
SELECT pk FROM tab2 WHERE NOT (col4 < 59.69 AND col3 IN (30,56,34))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 < 59.69 AND col3 IN (30,56,34)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 59.69 AND col3 IN (30,56,34)
----

query I rowsort label-1920
SELECT pk FROM tab3 WHERE NOT (col4 < 59.69 AND col3 IN (30,56,34))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 < 59.69 AND col3 IN (30,56,34)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 59.69 AND col3 IN (30,56,34)
----

query I rowsort label-1920
SELECT pk FROM tab4 WHERE NOT (col4 < 59.69 AND col3 IN (30,56,34))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 = 74.7

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

query I rowsort label-1935
SELECT pk FROM tab0 WHERE NOT (col1 = 74.7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 = 74.7

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

query I rowsort label-1935
SELECT pk FROM tab1 WHERE NOT (col1 = 74.7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 = 74.7

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

query I rowsort label-1935
SELECT pk FROM tab2 WHERE NOT (col1 = 74.7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 = 74.7

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

query I rowsort label-1935
SELECT pk FROM tab3 WHERE NOT (col1 = 74.7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 = 74.7

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

query I rowsort label-1935
SELECT pk FROM tab4 WHERE NOT (col1 = 74.7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 = 26.70

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

query I rowsort label-1950
SELECT pk FROM tab0 WHERE NOT (col4 = 26.70)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 = 26.70

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

query I rowsort label-1950
SELECT pk FROM tab1 WHERE NOT (col4 = 26.70)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 = 26.70

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

query I rowsort label-1950
SELECT pk FROM tab2 WHERE NOT (col4 = 26.70)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 = 26.70

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

query I rowsort label-1950
SELECT pk FROM tab3 WHERE NOT (col4 = 26.70)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 = 26.70

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

query I rowsort label-1950
SELECT pk FROM tab4 WHERE NOT (col4 = 26.70)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 <= 38

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

query I rowsort label-1965
SELECT pk FROM tab0 WHERE NOT (col3 <= 38)
----
2
3
6
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-1965
SELECT pk FROM tab1 WHERE NOT (col3 <= 38)
----
2
3
6
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-1965
SELECT pk FROM tab2 WHERE NOT (col3 <= 38)
----
2
3
6
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-1965
SELECT pk FROM tab3 WHERE NOT (col3 <= 38)
----
2
3
6
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-1965
SELECT pk FROM tab4 WHERE NOT (col3 <= 38)
----
2
3
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9))
----

query I rowsort label-1980
SELECT pk FROM tab0 WHERE NOT (col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9)))
----

statement ok
DELETE FROM tab1 WHERE col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9))
----

query I rowsort label-1980
SELECT pk FROM tab1 WHERE NOT (col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9)))
----

statement ok
DELETE FROM tab2 WHERE col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9))
----

query I rowsort label-1980
SELECT pk FROM tab2 WHERE NOT (col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9)))
----

statement ok
DELETE FROM tab3 WHERE col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9))
----

query I rowsort label-1980
SELECT pk FROM tab3 WHERE NOT (col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9)))
----

statement ok
DELETE FROM tab4 WHERE col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 9))
----

query I rowsort label-1980
SELECT pk FROM tab4 WHERE NOT (col4 < 99.2 OR ((col3 IS NULL AND col3 = 73) AND col3 > 47 OR col1 < 92.53 AND ((col3 < 14)) OR col3 < 65 AND col4 >= 68.23 AND (col0 BETWEEN 86 AND 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,53,52.98,'ucxay',58,19.58,'txgrf')

statement ok
INSERT INTO tab0 VALUES(1,77,13.58,'qqidc',72,98.25,'xhemu')

statement ok
INSERT INTO tab0 VALUES(2,29,92.93,'wuiss',83,75.76,'pmfzv')

statement ok
INSERT INTO tab0 VALUES(3,61,58.49,'ljdbq',38,24.46,'ebevh')

statement ok
INSERT INTO tab0 VALUES(4,7,17.64,'sfyvy',54,11.89,'lngfh')

statement ok
INSERT INTO tab0 VALUES(5,55,24.25,'ktxnx',79,8.43,'rujrg')

statement ok
INSERT INTO tab0 VALUES(6,5,95.35,'vwhgd',55,5.90,'tybpa')

statement ok
INSERT INTO tab0 VALUES(7,31,22.73,'bfrht',80,25.22,'jrsta')

statement ok
INSERT INTO tab0 VALUES(8,46,83.58,'yzcsl',69,26.1,'cdrdg')

statement ok
INSERT INTO tab0 VALUES(9,62,56.9,'hpbzq',25,33.20,'nilkp')

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)

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col3 BETWEEN 97 AND 83)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 BETWEEN 97 AND 83)
----

query I rowsort label-1995
SELECT pk FROM tab0 WHERE NOT ((col3 BETWEEN 97 AND 83))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 BETWEEN 97 AND 83)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 BETWEEN 97 AND 83)
----

query I rowsort label-1995
SELECT pk FROM tab1 WHERE NOT ((col3 BETWEEN 97 AND 83))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 BETWEEN 97 AND 83)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 BETWEEN 97 AND 83)
----

query I rowsort label-1995
SELECT pk FROM tab2 WHERE NOT ((col3 BETWEEN 97 AND 83))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 BETWEEN 97 AND 83)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 BETWEEN 97 AND 83)
----

query I rowsort label-1995
SELECT pk FROM tab3 WHERE NOT ((col3 BETWEEN 97 AND 83))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 BETWEEN 97 AND 83)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 BETWEEN 97 AND 83)
----

query I rowsort label-1995
SELECT pk FROM tab4 WHERE NOT ((col3 BETWEEN 97 AND 83))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col3 <= 39 AND col3 > 84) OR col4 = 85.59

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 39 AND col3 > 84) OR col4 = 85.59
----

query I rowsort label-2010
SELECT pk FROM tab0 WHERE NOT ((col3 <= 39 AND col3 > 84) OR col4 = 85.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 <= 39 AND col3 > 84) OR col4 = 85.59

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 39 AND col3 > 84) OR col4 = 85.59
----

query I rowsort label-2010
SELECT pk FROM tab1 WHERE NOT ((col3 <= 39 AND col3 > 84) OR col4 = 85.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 <= 39 AND col3 > 84) OR col4 = 85.59

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 39 AND col3 > 84) OR col4 = 85.59
----

query I rowsort label-2010
SELECT pk FROM tab2 WHERE NOT ((col3 <= 39 AND col3 > 84) OR col4 = 85.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 <= 39 AND col3 > 84) OR col4 = 85.59

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 39 AND col3 > 84) OR col4 = 85.59
----

query I rowsort label-2010
SELECT pk FROM tab3 WHERE NOT ((col3 <= 39 AND col3 > 84) OR col4 = 85.59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 <= 39 AND col3 > 84) OR col4 = 85.59

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 39 AND col3 > 84) OR col4 = 85.59
----

query I rowsort label-2010
SELECT pk FROM tab4 WHERE NOT ((col3 <= 39 AND col3 > 84) OR col4 = 85.59)
----
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,54,83.47,'vbzpc',96,82.84,'lqntq')

statement ok
INSERT INTO tab0 VALUES(1,29,56.57,'tckvr',20,88.81,'nmosj')

statement ok
INSERT INTO tab0 VALUES(2,3,66.8,'lnmvm',58,58.24,'memxs')

statement ok
INSERT INTO tab0 VALUES(3,98,39.51,'maeia',75,85.66,'wtvhc')

statement ok
INSERT INTO tab0 VALUES(4,90,34.32,'qydej',23,1.38,'zxwyg')

statement ok
INSERT INTO tab0 VALUES(5,72,61.56,'yovxp',4,93.7,'zrsig')

statement ok
INSERT INTO tab0 VALUES(6,20,88.43,'xynkq',31,15.39,'yhkds')

statement ok
INSERT INTO tab0 VALUES(7,50,57.98,'pkmop',89,99.66,'ekawx')

statement ok
INSERT INTO tab0 VALUES(8,82,93.67,'uifvr',1,70.42,'ddwjx')

statement ok
INSERT INTO tab0 VALUES(9,5,24.4,'ypjxo',86,56.10,'skomq')

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

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

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0,col4)

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col0 < 9 AND col3 = 95

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 9 AND col3 = 95
----

query I rowsort label-2025
SELECT pk FROM tab0 WHERE NOT (col0 < 9 AND col3 = 95)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 < 9 AND col3 = 95

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 9 AND col3 = 95
----

query I rowsort label-2025
SELECT pk FROM tab1 WHERE NOT (col0 < 9 AND col3 = 95)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 < 9 AND col3 = 95

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 9 AND col3 = 95
----

query I rowsort label-2025
SELECT pk FROM tab2 WHERE NOT (col0 < 9 AND col3 = 95)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 < 9 AND col3 = 95

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 9 AND col3 = 95
----

query I rowsort label-2025
SELECT pk FROM tab3 WHERE NOT (col0 < 9 AND col3 = 95)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 < 9 AND col3 = 95

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 9 AND col3 = 95
----

query I rowsort label-2025
SELECT pk FROM tab4 WHERE NOT (col0 < 9 AND col3 = 95)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 < 75.59

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

query I rowsort label-2040
SELECT pk FROM tab0 WHERE NOT (col1 < 75.59)
----
0
6
8

statement ok
DELETE FROM tab1 WHERE col1 < 75.59

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

query I rowsort label-2040
SELECT pk FROM tab1 WHERE NOT (col1 < 75.59)
----
0
6
8

statement ok
DELETE FROM tab2 WHERE col1 < 75.59

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

query I rowsort label-2040
SELECT pk FROM tab2 WHERE NOT (col1 < 75.59)
----
0
6
8

statement ok
DELETE FROM tab3 WHERE col1 < 75.59

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

query I rowsort label-2040
SELECT pk FROM tab3 WHERE NOT (col1 < 75.59)
----
0
6
8

statement ok
DELETE FROM tab4 WHERE col1 < 75.59

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

query I rowsort label-2040
SELECT pk FROM tab4 WHERE NOT (col1 < 75.59)
----
0
6
8

statement ok
DELETE FROM tab0 WHERE col3 IN (20,16,39)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (20,16,39)
----

query I rowsort label-2055
SELECT pk FROM tab0 WHERE NOT (col3 IN (20,16,39))
----
0
6
8

statement ok
DELETE FROM tab1 WHERE col3 IN (20,16,39)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (20,16,39)
----

query I rowsort label-2055
SELECT pk FROM tab1 WHERE NOT (col3 IN (20,16,39))
----
0
6
8

statement ok
DELETE FROM tab2 WHERE col3 IN (20,16,39)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (20,16,39)
----

query I rowsort label-2055
SELECT pk FROM tab2 WHERE NOT (col3 IN (20,16,39))
----
0
6
8

statement ok
DELETE FROM tab3 WHERE col3 IN (20,16,39)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (20,16,39)
----

query I rowsort label-2055
SELECT pk FROM tab3 WHERE NOT (col3 IN (20,16,39))
----
0
6
8

statement ok
DELETE FROM tab4 WHERE col3 IN (20,16,39)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (20,16,39)
----

query I rowsort label-2055
SELECT pk FROM tab4 WHERE NOT (col3 IN (20,16,39))
----
0
6
8

statement ok
DELETE FROM tab0 WHERE col4 > 83.61

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

query I rowsort label-2070
SELECT pk FROM tab0 WHERE NOT (col4 > 83.61)
----
0
6
8

statement ok
DELETE FROM tab1 WHERE col4 > 83.61

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

query I rowsort label-2070
SELECT pk FROM tab1 WHERE NOT (col4 > 83.61)
----
0
6
8

statement ok
DELETE FROM tab2 WHERE col4 > 83.61

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

query I rowsort label-2070
SELECT pk FROM tab2 WHERE NOT (col4 > 83.61)
----
0
6
8

statement ok
DELETE FROM tab3 WHERE col4 > 83.61

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

query I rowsort label-2070
SELECT pk FROM tab3 WHERE NOT (col4 > 83.61)
----
0
6
8

statement ok
DELETE FROM tab4 WHERE col4 > 83.61

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

query I rowsort label-2070
SELECT pk FROM tab4 WHERE NOT (col4 > 83.61)
----
0
6
8

statement ok
DELETE FROM tab0 WHERE col0 > 44

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

query I rowsort label-2085
SELECT pk FROM tab0 WHERE NOT (col0 > 44)
----
6

statement ok
DELETE FROM tab1 WHERE col0 > 44

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

query I rowsort label-2085
SELECT pk FROM tab1 WHERE NOT (col0 > 44)
----
6

statement ok
DELETE FROM tab2 WHERE col0 > 44

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

query I rowsort label-2085
SELECT pk FROM tab2 WHERE NOT (col0 > 44)
----
6

statement ok
DELETE FROM tab3 WHERE col0 > 44

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

query I rowsort label-2085
SELECT pk FROM tab3 WHERE NOT (col0 > 44)
----
6

statement ok
DELETE FROM tab4 WHERE col0 > 44

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

query I rowsort label-2085
SELECT pk FROM tab4 WHERE NOT (col0 > 44)
----
6

statement ok
DELETE FROM tab0 WHERE (col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84
----

query I rowsort label-2100
SELECT pk FROM tab0 WHERE NOT ((col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84)
----

statement ok
DELETE FROM tab1 WHERE (col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84
----

query I rowsort label-2100
SELECT pk FROM tab1 WHERE NOT ((col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84)
----

statement ok
DELETE FROM tab2 WHERE (col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84
----

query I rowsort label-2100
SELECT pk FROM tab2 WHERE NOT ((col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84)
----

statement ok
DELETE FROM tab3 WHERE (col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84
----

query I rowsort label-2100
SELECT pk FROM tab3 WHERE NOT ((col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84)
----

statement ok
DELETE FROM tab4 WHERE (col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84
----

query I rowsort label-2100
SELECT pk FROM tab4 WHERE NOT ((col4 < 60.30) AND (((col4 < 10.5)) OR (col3 < 42)) OR col4 <= 39.26 AND col0 <= 56 OR col3 > 84)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,47,70.48,'sxmok',41,20.86,'kyblx')

statement ok
INSERT INTO tab0 VALUES(1,43,77.72,'qcirf',91,18.97,'drqkg')

statement ok
INSERT INTO tab0 VALUES(2,37,49.73,'rdnod',70,21.89,'ggesp')

statement ok
INSERT INTO tab0 VALUES(3,9,54.33,'rsqqk',57,85.69,'wplmf')

statement ok
INSERT INTO tab0 VALUES(4,18,11.87,'vguix',74,55.5,'favtv')

statement ok
INSERT INTO tab0 VALUES(5,24,50.38,'jhyvn',93,15.35,'jmepb')

statement ok
INSERT INTO tab0 VALUES(6,93,72.66,'dlwmc',53,51.85,'wpfdg')

statement ok
INSERT INTO tab0 VALUES(7,12,19.45,'gplwt',69,22.80,'hshwv')

statement ok
INSERT INTO tab0 VALUES(8,3,27.50,'rxnvr',48,7.51,'xfxnc')

statement ok
INSERT INTO tab0 VALUES(9,35,97.77,'xdort',98,92.56,'hlknx')

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 UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC,col4)

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

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 UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col3 DESC)

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

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1)

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col3 BETWEEN 50 AND 43) OR (col4 = 46.14)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 BETWEEN 50 AND 43) OR (col4 = 46.14)
----

query I rowsort label-2115
SELECT pk FROM tab0 WHERE NOT ((col3 BETWEEN 50 AND 43) OR (col4 = 46.14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 BETWEEN 50 AND 43) OR (col4 = 46.14)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 BETWEEN 50 AND 43) OR (col4 = 46.14)
----

query I rowsort label-2115
SELECT pk FROM tab1 WHERE NOT ((col3 BETWEEN 50 AND 43) OR (col4 = 46.14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 BETWEEN 50 AND 43) OR (col4 = 46.14)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 BETWEEN 50 AND 43) OR (col4 = 46.14)
----

query I rowsort label-2115
SELECT pk FROM tab2 WHERE NOT ((col3 BETWEEN 50 AND 43) OR (col4 = 46.14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 BETWEEN 50 AND 43) OR (col4 = 46.14)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 BETWEEN 50 AND 43) OR (col4 = 46.14)
----

query I rowsort label-2115
SELECT pk FROM tab3 WHERE NOT ((col3 BETWEEN 50 AND 43) OR (col4 = 46.14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 BETWEEN 50 AND 43) OR (col4 = 46.14)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 BETWEEN 50 AND 43) OR (col4 = 46.14)
----

query I rowsort label-2115
SELECT pk FROM tab4 WHERE NOT ((col3 BETWEEN 50 AND 43) OR (col4 = 46.14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69
----

query I rowsort label-2130
SELECT pk FROM tab0 WHERE NOT (((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69)
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab1 WHERE ((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69
----

query I rowsort label-2130
SELECT pk FROM tab1 WHERE NOT (((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69)
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab2 WHERE ((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69
----

query I rowsort label-2130
SELECT pk FROM tab2 WHERE NOT (((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69)
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab3 WHERE ((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69
----

query I rowsort label-2130
SELECT pk FROM tab3 WHERE NOT (((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69)
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab4 WHERE ((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69
----

query I rowsort label-2130
SELECT pk FROM tab4 WHERE NOT (((col4 <= 58.25) AND col0 IN (86,54,92) OR col0 >= 56 AND (((col3 < 77) AND col4 >= 84.73 OR col3 <= 53)) AND col3 < 69) OR col4 > 16.89 AND col1 BETWEEN 81.1 AND 63.32 AND col0 = 69)
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab0 WHERE col4 IN (80.15,4.11)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (80.15,4.11)
----

query I rowsort label-2145
SELECT pk FROM tab0 WHERE NOT (col4 IN (80.15,4.11))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab1 WHERE col4 IN (80.15,4.11)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (80.15,4.11)
----

query I rowsort label-2145
SELECT pk FROM tab1 WHERE NOT (col4 IN (80.15,4.11))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab2 WHERE col4 IN (80.15,4.11)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (80.15,4.11)
----

query I rowsort label-2145
SELECT pk FROM tab2 WHERE NOT (col4 IN (80.15,4.11))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab3 WHERE col4 IN (80.15,4.11)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (80.15,4.11)
----

query I rowsort label-2145
SELECT pk FROM tab3 WHERE NOT (col4 IN (80.15,4.11))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab4 WHERE col4 IN (80.15,4.11)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (80.15,4.11)
----

query I rowsort label-2145
SELECT pk FROM tab4 WHERE NOT (col4 IN (80.15,4.11))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

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,8.82,'nycjy',80,87.66,'kyocm')

statement ok
INSERT INTO tab0 VALUES(1,49,75.10,'bldor',35,6.9,'pjgbz')

statement ok
INSERT INTO tab0 VALUES(2,12,83.74,'hioll',14,96.56,'ruzph')

statement ok
INSERT INTO tab0 VALUES(3,20,64.43,'bqnru',3,79.6,'sskyg')

statement ok
INSERT INTO tab0 VALUES(4,48,72.20,'kmbhb',19,82.44,'dvugz')

statement ok
INSERT INTO tab0 VALUES(5,8,46.56,'vbsvg',25,97.61,'hzvsj')

statement ok
INSERT INTO tab0 VALUES(6,66,73.57,'dyelk',38,43.62,'bldsw')

statement ok
INSERT INTO tab0 VALUES(7,50,47.4,'ycvzj',49,33.77,'mvuyw')

statement ok
INSERT INTO tab0 VALUES(8,58,34.58,'lanhj',28,30.81,'nognn')

statement ok
INSERT INTO tab0 VALUES(9,88,39.81,'wuzcq',42,15.97,'iqoej')

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col1 > 86.32

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

query I rowsort label-2160
SELECT pk FROM tab0 WHERE NOT (col1 > 86.32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 > 86.32

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

query I rowsort label-2160
SELECT pk FROM tab1 WHERE NOT (col1 > 86.32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 > 86.32

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

query I rowsort label-2160
SELECT pk FROM tab2 WHERE NOT (col1 > 86.32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 > 86.32

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

query I rowsort label-2160
SELECT pk FROM tab3 WHERE NOT (col1 > 86.32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 > 86.32

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

query I rowsort label-2160
SELECT pk FROM tab4 WHERE NOT (col1 > 86.32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 = 5

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

query I rowsort label-2175
SELECT pk FROM tab0 WHERE NOT (col0 = 5)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 = 5

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

query I rowsort label-2175
SELECT pk FROM tab1 WHERE NOT (col0 = 5)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 = 5

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

query I rowsort label-2175
SELECT pk FROM tab2 WHERE NOT (col0 = 5)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 = 5

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

query I rowsort label-2175
SELECT pk FROM tab3 WHERE NOT (col0 = 5)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 = 5

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

query I rowsort label-2175
SELECT pk FROM tab4 WHERE NOT (col0 = 5)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 < 66.78

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

query I rowsort label-2190
SELECT pk FROM tab0 WHERE NOT (col4 < 66.78)
----
0
2
3
4
5

statement ok
DELETE FROM tab1 WHERE col4 < 66.78

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

query I rowsort label-2190
SELECT pk FROM tab1 WHERE NOT (col4 < 66.78)
----
0
2
3
4
5

statement ok
DELETE FROM tab2 WHERE col4 < 66.78

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

query I rowsort label-2190
SELECT pk FROM tab2 WHERE NOT (col4 < 66.78)
----
0
2
3
4
5

statement ok
DELETE FROM tab3 WHERE col4 < 66.78

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

query I rowsort label-2190
SELECT pk FROM tab3 WHERE NOT (col4 < 66.78)
----
0
2
3
4
5

statement ok
DELETE FROM tab4 WHERE col4 < 66.78

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

query I rowsort label-2190
SELECT pk FROM tab4 WHERE NOT (col4 < 66.78)
----
0
2
3
4
5

statement ok
DELETE FROM tab0 WHERE (col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71)
----

query I rowsort label-2205
SELECT pk FROM tab0 WHERE NOT ((col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71))
----

statement ok
DELETE FROM tab1 WHERE (col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71)
----

query I rowsort label-2205
SELECT pk FROM tab1 WHERE NOT ((col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71))
----

statement ok
DELETE FROM tab2 WHERE (col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71)
----

query I rowsort label-2205
SELECT pk FROM tab2 WHERE NOT ((col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71))
----

statement ok
DELETE FROM tab3 WHERE (col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71)
----

query I rowsort label-2205
SELECT pk FROM tab3 WHERE NOT ((col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71))
----

statement ok
DELETE FROM tab4 WHERE (col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71)
----

query I rowsort label-2205
SELECT pk FROM tab4 WHERE NOT ((col0 = 91 OR col4 > 16.29 OR col3 < 8 AND col0 < 71))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,98,19.54,'bwpzt',94,86.13,'szewo')

statement ok
INSERT INTO tab0 VALUES(1,11,30.87,'qonsv',73,87.42,'vdztx')

statement ok
INSERT INTO tab0 VALUES(2,27,87.61,'fhfnz',61,5.24,'ohojq')

statement ok
INSERT INTO tab0 VALUES(3,84,8.35,'mevme',74,25.26,'kjawk')

statement ok
INSERT INTO tab0 VALUES(4,79,31.12,'xhapj',92,30.16,'yesxh')

statement ok
INSERT INTO tab0 VALUES(5,80,74.51,'hufxk',78,66.71,'hpuuj')

statement ok
INSERT INTO tab0 VALUES(6,44,1.78,'iuoti',83,3.95,'xstpl')

statement ok
INSERT INTO tab0 VALUES(7,23,81.0,'iwkuh',63,99.27,'cxdip')

statement ok
INSERT INTO tab0 VALUES(8,81,53.19,'vwyca',93,64.57,'uceyx')

statement ok
INSERT INTO tab0 VALUES(9,1,86.41,'ecuim',75,20.37,'xrkqx')

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

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col4 < 68.49 OR col3 > 85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 68.49 OR col3 > 85
----

query I rowsort label-2220
SELECT pk FROM tab0 WHERE NOT (col4 < 68.49 OR col3 > 85)
----
1
7

statement ok
DELETE FROM tab1 WHERE col4 < 68.49 OR col3 > 85

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 68.49 OR col3 > 85
----

query I rowsort label-2220
SELECT pk FROM tab1 WHERE NOT (col4 < 68.49 OR col3 > 85)
----
1
7

statement ok
DELETE FROM tab2 WHERE col4 < 68.49 OR col3 > 85

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 68.49 OR col3 > 85
----

query I rowsort label-2220
SELECT pk FROM tab2 WHERE NOT (col4 < 68.49 OR col3 > 85)
----
1
7

statement ok
DELETE FROM tab3 WHERE col4 < 68.49 OR col3 > 85

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 68.49 OR col3 > 85
----

query I rowsort label-2220
SELECT pk FROM tab3 WHERE NOT (col4 < 68.49 OR col3 > 85)
----
1
7

statement ok
DELETE FROM tab4 WHERE col4 < 68.49 OR col3 > 85

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 68.49 OR col3 > 85
----

query I rowsort label-2220
SELECT pk FROM tab4 WHERE NOT (col4 < 68.49 OR col3 > 85)
----
1
7

statement ok
DELETE FROM tab0 WHERE ((col3 < 90 OR col3 >= 95))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 90 OR col3 >= 95))
----

query I rowsort label-2235
SELECT pk FROM tab0 WHERE NOT (((col3 < 90 OR col3 >= 95)))
----

statement ok
DELETE FROM tab1 WHERE ((col3 < 90 OR col3 >= 95))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 90 OR col3 >= 95))
----

query I rowsort label-2235
SELECT pk FROM tab1 WHERE NOT (((col3 < 90 OR col3 >= 95)))
----

statement ok
DELETE FROM tab2 WHERE ((col3 < 90 OR col3 >= 95))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 90 OR col3 >= 95))
----

query I rowsort label-2235
SELECT pk FROM tab2 WHERE NOT (((col3 < 90 OR col3 >= 95)))
----

statement ok
DELETE FROM tab3 WHERE ((col3 < 90 OR col3 >= 95))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 90 OR col3 >= 95))
----

query I rowsort label-2235
SELECT pk FROM tab3 WHERE NOT (((col3 < 90 OR col3 >= 95)))
----

statement ok
DELETE FROM tab4 WHERE ((col3 < 90 OR col3 >= 95))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 90 OR col3 >= 95))
----

query I rowsort label-2235
SELECT pk FROM tab4 WHERE NOT (((col3 < 90 OR col3 >= 95)))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,40,33.68,'rvvfx',9,13.56,'juctj')

statement ok
INSERT INTO tab0 VALUES(1,9,30.11,'avvqg',60,73.7,'xhmdk')

statement ok
INSERT INTO tab0 VALUES(2,16,97.44,'eldtb',97,12.63,'jewxr')

statement ok
INSERT INTO tab0 VALUES(3,90,96.22,'gcqwq',10,11.28,'nwumh')

statement ok
INSERT INTO tab0 VALUES(4,13,41.46,'yfdmu',94,32.54,'lnymm')

statement ok
INSERT INTO tab0 VALUES(5,25,58.75,'iizld',67,83.58,'nyyah')

statement ok
INSERT INTO tab0 VALUES(6,44,52.36,'ihrdy',74,80.33,'tuwsc')

statement ok
INSERT INTO tab0 VALUES(7,72,66.41,'kionp',4,10.59,'kqyxf')

statement ok
INSERT INTO tab0 VALUES(8,12,46.94,'ffjgk',1,92.19,'wedrr')

statement ok
INSERT INTO tab0 VALUES(9,79,1.7,'ejwvy',77,40.9,'bjrat')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
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,79.29,'vapgj',46,63.95,'cvwjx')

statement ok
INSERT INTO tab0 VALUES(1,15,54.46,'inasz',85,10.1,'bywyt')

statement ok
INSERT INTO tab0 VALUES(2,49,74.90,'sufqv',95,3.58,'jtwzi')

statement ok
INSERT INTO tab0 VALUES(3,50,60.99,'txhlh',21,66.94,'cmfxu')

statement ok
INSERT INTO tab0 VALUES(4,67,17.61,'rgftr',64,64.21,'uprxb')

statement ok
INSERT INTO tab0 VALUES(5,92,48.74,'mgwje',40,12.91,'vkrld')

statement ok
INSERT INTO tab0 VALUES(6,10,61.10,'xxhqb',44,94.59,'kofzc')

statement ok
INSERT INTO tab0 VALUES(7,63,90.77,'rnveu',12,68.53,'rwclj')

statement ok
INSERT INTO tab0 VALUES(8,20,99.81,'kgdof',81,85.24,'xuddq')

statement ok
INSERT INTO tab0 VALUES(9,32,1.90,'aujvn',57,97.22,'pbdbf')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1)

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

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

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col3 < 10)

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

query I rowsort label-2250
SELECT pk FROM tab0 WHERE NOT ((col3 < 10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 < 10)

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

query I rowsort label-2250
SELECT pk FROM tab1 WHERE NOT ((col3 < 10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 < 10)

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

query I rowsort label-2250
SELECT pk FROM tab2 WHERE NOT ((col3 < 10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 < 10)

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

query I rowsort label-2250
SELECT pk FROM tab3 WHERE NOT ((col3 < 10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 < 10)

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

query I rowsort label-2250
SELECT pk FROM tab4 WHERE NOT ((col3 < 10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 >= 55.76

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

query I rowsort label-2265
SELECT pk FROM tab0 WHERE NOT (col4 >= 55.76)
----
1
2
5

statement ok
DELETE FROM tab1 WHERE col4 >= 55.76

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

query I rowsort label-2265
SELECT pk FROM tab1 WHERE NOT (col4 >= 55.76)
----
1
2
5

statement ok
DELETE FROM tab2 WHERE col4 >= 55.76

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

query I rowsort label-2265
SELECT pk FROM tab2 WHERE NOT (col4 >= 55.76)
----
1
2
5

statement ok
DELETE FROM tab3 WHERE col4 >= 55.76

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

query I rowsort label-2265
SELECT pk FROM tab3 WHERE NOT (col4 >= 55.76)
----
1
2
5

statement ok
DELETE FROM tab4 WHERE col4 >= 55.76

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

query I rowsort label-2265
SELECT pk FROM tab4 WHERE NOT (col4 >= 55.76)
----
1
2
5

statement ok
DELETE FROM tab0 WHERE col1 < 41.91

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

query I rowsort label-2280
SELECT pk FROM tab0 WHERE NOT (col1 < 41.91)
----
1
2
5

statement ok
DELETE FROM tab1 WHERE col1 < 41.91

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

query I rowsort label-2280
SELECT pk FROM tab1 WHERE NOT (col1 < 41.91)
----
1
2
5

statement ok
DELETE FROM tab2 WHERE col1 < 41.91

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

query I rowsort label-2280
SELECT pk FROM tab2 WHERE NOT (col1 < 41.91)
----
1
2
5

statement ok
DELETE FROM tab3 WHERE col1 < 41.91

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

query I rowsort label-2280
SELECT pk FROM tab3 WHERE NOT (col1 < 41.91)
----
1
2
5

statement ok
DELETE FROM tab4 WHERE col1 < 41.91

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

query I rowsort label-2280
SELECT pk FROM tab4 WHERE NOT (col1 < 41.91)
----
1
2
5

statement ok
DELETE FROM tab0 WHERE col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82))
----

query I rowsort label-2295
SELECT pk FROM tab0 WHERE NOT (col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82)))
----

statement ok
DELETE FROM tab1 WHERE col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82))
----

query I rowsort label-2295
SELECT pk FROM tab1 WHERE NOT (col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82)))
----

statement ok
DELETE FROM tab2 WHERE col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82))
----

query I rowsort label-2295
SELECT pk FROM tab2 WHERE NOT (col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82)))
----

statement ok
DELETE FROM tab3 WHERE col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82))
----

query I rowsort label-2295
SELECT pk FROM tab3 WHERE NOT (col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82)))
----

statement ok
DELETE FROM tab4 WHERE col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 82))
----

query I rowsort label-2295
SELECT pk FROM tab4 WHERE NOT (col1 < 30.90 AND (col0 >= 98 OR col3 < 4 AND ((((col3 = 89) OR (((col0 >= 78 OR col0 >= 13))))) OR (col3 IN (15,24,52,87,13,14) AND col3 < 14 OR (col0 > 63)))) AND ((col1 <= 41.79) OR col4 >= 43.23) AND ((col3 = 62)) OR (col0 <= 85) OR (col3 = 61 OR (col3 >= 46 OR ((col4 < 6.64) OR col1 <= 17.10) AND (col1 > 51.37 OR (col3 IS NULL)) AND col3 BETWEEN 39 AND 79 AND col3 > 53 AND col4 > 60.1 OR col0 >= 41 AND (col3 < 87 AND col1 IS NULL AND col0 >= 58) AND col3 >= 88 AND ((col0 >= 24)) AND (col1 > 38.95) AND col1 <= 69.58 AND col0 >= 36 OR (col1 <= 65.89) AND (col4 <= 32.74 AND col3 > 19) OR col1 BETWEEN 65.66 AND 90.31 OR col3 = 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,64,61.59,'vmgny',12,74.34,'vzsfe')

statement ok
INSERT INTO tab0 VALUES(1,42,63.17,'bohpt',13,32.68,'pemdn')

statement ok
INSERT INTO tab0 VALUES(2,95,59.86,'pfoss',70,2.91,'opghs')

statement ok
INSERT INTO tab0 VALUES(3,41,62.33,'iajlk',58,16.3,'pbvwv')

statement ok
INSERT INTO tab0 VALUES(4,56,5.61,'cvipu',98,86.75,'mkuob')

statement ok
INSERT INTO tab0 VALUES(5,43,54.73,'tliya',9,13.8,'edtgc')

statement ok
INSERT INTO tab0 VALUES(6,79,24.32,'gbvtt',80,1.92,'ueftb')

statement ok
INSERT INTO tab0 VALUES(7,3,85.25,'ybvkd',26,68.76,'vgafu')

statement ok
INSERT INTO tab0 VALUES(8,51,83.24,'opebd',53,61.23,'gufyu')

statement ok
INSERT INTO tab0 VALUES(9,38,43.51,'idmhl',22,65.77,'qhiym')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0 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,col3 DESC)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col0 <= 30 OR col4 IN (16.50,91.81)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 30 OR col4 IN (16.50,91.81)
----

query I rowsort label-2310
SELECT pk FROM tab0 WHERE NOT (col0 <= 30 OR col4 IN (16.50,91.81))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab1 WHERE col0 <= 30 OR col4 IN (16.50,91.81)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 30 OR col4 IN (16.50,91.81)
----

query I rowsort label-2310
SELECT pk FROM tab1 WHERE NOT (col0 <= 30 OR col4 IN (16.50,91.81))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab2 WHERE col0 <= 30 OR col4 IN (16.50,91.81)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 30 OR col4 IN (16.50,91.81)
----

query I rowsort label-2310
SELECT pk FROM tab2 WHERE NOT (col0 <= 30 OR col4 IN (16.50,91.81))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab3 WHERE col0 <= 30 OR col4 IN (16.50,91.81)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 30 OR col4 IN (16.50,91.81)
----

query I rowsort label-2310
SELECT pk FROM tab3 WHERE NOT (col0 <= 30 OR col4 IN (16.50,91.81))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab4 WHERE col0 <= 30 OR col4 IN (16.50,91.81)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 30 OR col4 IN (16.50,91.81)
----

query I rowsort label-2310
SELECT pk FROM tab4 WHERE NOT (col0 <= 30 OR col4 IN (16.50,91.81))
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab0 WHERE col0 <= 96 AND col3 < 65

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 96 AND col3 < 65
----

query I rowsort label-2325
SELECT pk FROM tab0 WHERE NOT (col0 <= 96 AND col3 < 65)
----
2
4
6

statement ok
DELETE FROM tab1 WHERE col0 <= 96 AND col3 < 65

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 96 AND col3 < 65
----

query I rowsort label-2325
SELECT pk FROM tab1 WHERE NOT (col0 <= 96 AND col3 < 65)
----
2
4
6

statement ok
DELETE FROM tab2 WHERE col0 <= 96 AND col3 < 65

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 96 AND col3 < 65
----

query I rowsort label-2325
SELECT pk FROM tab2 WHERE NOT (col0 <= 96 AND col3 < 65)
----
2
4
6

statement ok
DELETE FROM tab3 WHERE col0 <= 96 AND col3 < 65

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 96 AND col3 < 65
----

query I rowsort label-2325
SELECT pk FROM tab3 WHERE NOT (col0 <= 96 AND col3 < 65)
----
2
4
6

statement ok
DELETE FROM tab4 WHERE col0 <= 96 AND col3 < 65

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 96 AND col3 < 65
----

query I rowsort label-2325
SELECT pk FROM tab4 WHERE NOT (col0 <= 96 AND col3 < 65)
----
2
4
6

statement ok
DELETE FROM tab0 WHERE (col3 < 19)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 19)
----

query I rowsort label-2340
SELECT pk FROM tab0 WHERE NOT ((col3 < 19))
----
2
4
6

statement ok
DELETE FROM tab1 WHERE (col3 < 19)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 19)
----

query I rowsort label-2340
SELECT pk FROM tab1 WHERE NOT ((col3 < 19))
----
2
4
6

statement ok
DELETE FROM tab2 WHERE (col3 < 19)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 19)
----

query I rowsort label-2340
SELECT pk FROM tab2 WHERE NOT ((col3 < 19))
----
2
4
6

statement ok
DELETE FROM tab3 WHERE (col3 < 19)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 19)
----

query I rowsort label-2340
SELECT pk FROM tab3 WHERE NOT ((col3 < 19))
----
2
4
6

statement ok
DELETE FROM tab4 WHERE (col3 < 19)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 19)
----

query I rowsort label-2340
SELECT pk FROM tab4 WHERE NOT ((col3 < 19))
----
2
4
6

statement ok
DELETE FROM tab0 WHERE (col0 < 29)

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

query I rowsort label-2355
SELECT pk FROM tab0 WHERE NOT ((col0 < 29))
----
2
4
6

statement ok
DELETE FROM tab1 WHERE (col0 < 29)

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

query I rowsort label-2355
SELECT pk FROM tab1 WHERE NOT ((col0 < 29))
----
2
4
6

statement ok
DELETE FROM tab2 WHERE (col0 < 29)

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

query I rowsort label-2355
SELECT pk FROM tab2 WHERE NOT ((col0 < 29))
----
2
4
6

statement ok
DELETE FROM tab3 WHERE (col0 < 29)

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

query I rowsort label-2355
SELECT pk FROM tab3 WHERE NOT ((col0 < 29))
----
2
4
6

statement ok
DELETE FROM tab4 WHERE (col0 < 29)

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

query I rowsort label-2355
SELECT pk FROM tab4 WHERE NOT ((col0 < 29))
----
2
4
6

statement ok
DELETE FROM tab0 WHERE col0 >= 76

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

query I rowsort label-2370
SELECT pk FROM tab0 WHERE NOT (col0 >= 76)
----
4

statement ok
DELETE FROM tab1 WHERE col0 >= 76

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

query I rowsort label-2370
SELECT pk FROM tab1 WHERE NOT (col0 >= 76)
----
4

statement ok
DELETE FROM tab2 WHERE col0 >= 76

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

query I rowsort label-2370
SELECT pk FROM tab2 WHERE NOT (col0 >= 76)
----
4

statement ok
DELETE FROM tab3 WHERE col0 >= 76

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

query I rowsort label-2370
SELECT pk FROM tab3 WHERE NOT (col0 >= 76)
----
4

statement ok
DELETE FROM tab4 WHERE col0 >= 76

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

query I rowsort label-2370
SELECT pk FROM tab4 WHERE NOT (col0 >= 76)
----
4

statement ok
DELETE FROM tab0 WHERE col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80)
----

query I rowsort label-2385
SELECT pk FROM tab0 WHERE NOT (col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80))
----

statement ok
DELETE FROM tab1 WHERE col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80)
----

query I rowsort label-2385
SELECT pk FROM tab1 WHERE NOT (col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80))
----

statement ok
DELETE FROM tab2 WHERE col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80)
----

query I rowsort label-2385
SELECT pk FROM tab2 WHERE NOT (col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80))
----

statement ok
DELETE FROM tab3 WHERE col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80)
----

query I rowsort label-2385
SELECT pk FROM tab3 WHERE NOT (col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80))
----

statement ok
DELETE FROM tab4 WHERE col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80)
----

query I rowsort label-2385
SELECT pk FROM tab4 WHERE NOT (col4 >= 56.94 OR col3 > 68 OR col4 IS NULL AND ((col0 > 23 AND col3 >= 94)) OR (col3 <= 79 AND col3 < 5 OR col4 = 48.80))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,4,0.75,'cjuza',74,68.69,'nxqay')

statement ok
INSERT INTO tab0 VALUES(1,41,9.57,'khrer',8,67.58,'nbxxx')

statement ok
INSERT INTO tab0 VALUES(2,82,82.71,'ntjaf',71,2.27,'blrma')

statement ok
INSERT INTO tab0 VALUES(3,93,60.69,'pkwcd',96,10.38,'wvkmb')

statement ok
INSERT INTO tab0 VALUES(4,92,30.69,'uvggv',1,82.3,'ghywk')

statement ok
INSERT INTO tab0 VALUES(5,12,38.15,'jeajx',49,69.43,'hslig')

statement ok
INSERT INTO tab0 VALUES(6,60,96.43,'xtdvk',10,0.49,'wlqvo')

statement ok
INSERT INTO tab0 VALUES(7,86,1.44,'krdfp',25,93.49,'uaznj')

statement ok
INSERT INTO tab0 VALUES(8,40,44.22,'inhzm',69,64.67,'bsrzu')

statement ok
INSERT INTO tab0 VALUES(9,34,24.61,'wvvzq',11,46.87,'saueg')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col3 >= 94

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

query I rowsort label-2400
SELECT pk FROM tab0 WHERE NOT (col3 >= 94)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab1 WHERE col3 >= 94

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

query I rowsort label-2400
SELECT pk FROM tab1 WHERE NOT (col3 >= 94)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab2 WHERE col3 >= 94

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

query I rowsort label-2400
SELECT pk FROM tab2 WHERE NOT (col3 >= 94)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab3 WHERE col3 >= 94

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

query I rowsort label-2400
SELECT pk FROM tab3 WHERE NOT (col3 >= 94)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab4 WHERE col3 >= 94

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

query I rowsort label-2400
SELECT pk FROM tab4 WHERE NOT (col3 >= 94)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab0 WHERE (col0 > 46) AND (col1 <= 26.42)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 46) AND (col1 <= 26.42)
----

query I rowsort label-2415
SELECT pk FROM tab0 WHERE NOT ((col0 > 46) AND (col1 <= 26.42))
----
0
1
2
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE (col0 > 46) AND (col1 <= 26.42)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 46) AND (col1 <= 26.42)
----

query I rowsort label-2415
SELECT pk FROM tab1 WHERE NOT ((col0 > 46) AND (col1 <= 26.42))
----
0
1
2
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE (col0 > 46) AND (col1 <= 26.42)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 46) AND (col1 <= 26.42)
----

query I rowsort label-2415
SELECT pk FROM tab2 WHERE NOT ((col0 > 46) AND (col1 <= 26.42))
----
0
1
2
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE (col0 > 46) AND (col1 <= 26.42)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 46) AND (col1 <= 26.42)
----

query I rowsort label-2415
SELECT pk FROM tab3 WHERE NOT ((col0 > 46) AND (col1 <= 26.42))
----
0
1
2
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE (col0 > 46) AND (col1 <= 26.42)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 46) AND (col1 <= 26.42)
----

query I rowsort label-2415
SELECT pk FROM tab4 WHERE NOT ((col0 > 46) AND (col1 <= 26.42))
----
0
1
2
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE col0 > 93

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

query I rowsort label-2430
SELECT pk FROM tab0 WHERE NOT (col0 > 93)
----
0
1
2
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE col0 > 93

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

query I rowsort label-2430
SELECT pk FROM tab1 WHERE NOT (col0 > 93)
----
0
1
2
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE col0 > 93

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

query I rowsort label-2430
SELECT pk FROM tab2 WHERE NOT (col0 > 93)
----
0
1
2
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE col0 > 93

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

query I rowsort label-2430
SELECT pk FROM tab3 WHERE NOT (col0 > 93)
----
0
1
2
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE col0 > 93

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

query I rowsort label-2430
SELECT pk FROM tab4 WHERE NOT (col0 > 93)
----
0
1
2
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE col1 <= 17.45

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

query I rowsort label-2445
SELECT pk FROM tab0 WHERE NOT (col1 <= 17.45)
----
2
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE col1 <= 17.45

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

query I rowsort label-2445
SELECT pk FROM tab1 WHERE NOT (col1 <= 17.45)
----
2
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE col1 <= 17.45

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

query I rowsort label-2445
SELECT pk FROM tab2 WHERE NOT (col1 <= 17.45)
----
2
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE col1 <= 17.45

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

query I rowsort label-2445
SELECT pk FROM tab3 WHERE NOT (col1 <= 17.45)
----
2
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE col1 <= 17.45

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

query I rowsort label-2445
SELECT pk FROM tab4 WHERE NOT (col1 <= 17.45)
----
2
4
5
6
8
9

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

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

query I rowsort label-2460
SELECT pk FROM tab0 WHERE NOT (((col0 = 19)))
----
2
4
5
6
8
9

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

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

query I rowsort label-2460
SELECT pk FROM tab1 WHERE NOT (((col0 = 19)))
----
2
4
5
6
8
9

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

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

query I rowsort label-2460
SELECT pk FROM tab2 WHERE NOT (((col0 = 19)))
----
2
4
5
6
8
9

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

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

query I rowsort label-2460
SELECT pk FROM tab3 WHERE NOT (((col0 = 19)))
----
2
4
5
6
8
9

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

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

query I rowsort label-2460
SELECT pk FROM tab4 WHERE NOT (((col0 = 19)))
----
2
4
5
6
8
9

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

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

query I rowsort label-2475
SELECT pk FROM tab0 WHERE NOT (col1 IS NULL AND (col0 < 1))
----
2
4
5
6
8
9

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

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

query I rowsort label-2475
SELECT pk FROM tab1 WHERE NOT (col1 IS NULL AND (col0 < 1))
----
2
4
5
6
8
9

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

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

query I rowsort label-2475
SELECT pk FROM tab2 WHERE NOT (col1 IS NULL AND (col0 < 1))
----
2
4
5
6
8
9

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

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

query I rowsort label-2475
SELECT pk FROM tab3 WHERE NOT (col1 IS NULL AND (col0 < 1))
----
2
4
5
6
8
9

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

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

query I rowsort label-2475
SELECT pk FROM tab4 WHERE NOT (col1 IS NULL AND (col0 < 1))
----
2
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE col1 > 3.35

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

query I rowsort label-2490
SELECT pk FROM tab0 WHERE NOT (col1 > 3.35)
----

statement ok
DELETE FROM tab1 WHERE col1 > 3.35

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

query I rowsort label-2490
SELECT pk FROM tab1 WHERE NOT (col1 > 3.35)
----

statement ok
DELETE FROM tab2 WHERE col1 > 3.35

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

query I rowsort label-2490
SELECT pk FROM tab2 WHERE NOT (col1 > 3.35)
----

statement ok
DELETE FROM tab3 WHERE col1 > 3.35

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

query I rowsort label-2490
SELECT pk FROM tab3 WHERE NOT (col1 > 3.35)
----

statement ok
DELETE FROM tab4 WHERE col1 > 3.35

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

query I rowsort label-2490
SELECT pk FROM tab4 WHERE NOT (col1 > 3.35)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,86,35.4,'fmtby',1,20.9,'wgesh')

statement ok
INSERT INTO tab0 VALUES(1,75,1.75,'kenjl',5,37.52,'ievgt')

statement ok
INSERT INTO tab0 VALUES(2,4,18.17,'dqiei',82,89.87,'pggbm')

statement ok
INSERT INTO tab0 VALUES(3,7,91.9,'ietdg',19,12.95,'odzsh')

statement ok
INSERT INTO tab0 VALUES(4,8,53.39,'rbmlq',52,4.75,'nbfkr')

statement ok
INSERT INTO tab0 VALUES(5,30,33.18,'coerj',75,87.53,'zsbti')

statement ok
INSERT INTO tab0 VALUES(6,15,10.93,'mgwdl',54,66.98,'dpqdz')

statement ok
INSERT INTO tab0 VALUES(7,32,83.57,'gxrup',37,99.33,'oditu')

statement ok
INSERT INTO tab0 VALUES(8,88,32.67,'bslpx',70,53.48,'xqnub')

statement ok
INSERT INTO tab0 VALUES(9,44,77.48,'kmilj',7,67.12,'irhkz')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4)

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

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

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63
----

query I rowsort label-2505
SELECT pk FROM tab0 WHERE NOT (col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63)
----

statement ok
DELETE FROM tab1 WHERE col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63
----

query I rowsort label-2505
SELECT pk FROM tab1 WHERE NOT (col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63)
----

statement ok
DELETE FROM tab2 WHERE col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63
----

query I rowsort label-2505
SELECT pk FROM tab2 WHERE NOT (col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63)
----

statement ok
DELETE FROM tab3 WHERE col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63
----

query I rowsort label-2505
SELECT pk FROM tab3 WHERE NOT (col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63)
----

statement ok
DELETE FROM tab4 WHERE col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.63
----

query I rowsort label-2505
SELECT pk FROM tab4 WHERE NOT (col0 < 40 OR ((col3 > 93 OR ((col1 > 38.14 OR col3 < 65)) OR col0 > 4)) OR col1 = 34.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,83,35.93,'sndyj',65,83.73,'iiqnq')

statement ok
INSERT INTO tab0 VALUES(1,69,63.79,'eqndw',87,77.64,'ugjkv')

statement ok
INSERT INTO tab0 VALUES(2,53,18.72,'gyunc',16,41.23,'jwpyd')

statement ok
INSERT INTO tab0 VALUES(3,34,94.22,'pxcty',71,10.75,'llsth')

statement ok
INSERT INTO tab0 VALUES(4,15,68.21,'qwpyq',6,8.71,'sphxs')

statement ok
INSERT INTO tab0 VALUES(5,70,17.68,'nwtmr',75,67.49,'dwfnt')

statement ok
INSERT INTO tab0 VALUES(6,97,28.31,'kbkqy',93,33.97,'ghuit')

statement ok
INSERT INTO tab0 VALUES(7,93,10.9,'llzbb',99,80.17,'dzalg')

statement ok
INSERT INTO tab0 VALUES(8,4,9.96,'yokpg',17,28.85,'rxlua')

statement ok
INSERT INTO tab0 VALUES(9,98,16.43,'qwltr',18,46.15,'qjmvg')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col0 > 12

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

query I rowsort label-2520
SELECT pk FROM tab0 WHERE NOT (col0 > 12)
----
8

statement ok
DELETE FROM tab1 WHERE col0 > 12

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

query I rowsort label-2520
SELECT pk FROM tab1 WHERE NOT (col0 > 12)
----
8

statement ok
DELETE FROM tab2 WHERE col0 > 12

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

query I rowsort label-2520
SELECT pk FROM tab2 WHERE NOT (col0 > 12)
----
8

statement ok
DELETE FROM tab3 WHERE col0 > 12

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

query I rowsort label-2520
SELECT pk FROM tab3 WHERE NOT (col0 > 12)
----
8

statement ok
DELETE FROM tab4 WHERE col0 > 12

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

query I rowsort label-2520
SELECT pk FROM tab4 WHERE NOT (col0 > 12)
----
8

statement ok
DELETE FROM tab0 WHERE col3 > 84

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

query I rowsort label-2535
SELECT pk FROM tab0 WHERE NOT (col3 > 84)
----
8

statement ok
DELETE FROM tab1 WHERE col3 > 84

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

query I rowsort label-2535
SELECT pk FROM tab1 WHERE NOT (col3 > 84)
----
8

statement ok
DELETE FROM tab2 WHERE col3 > 84

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

query I rowsort label-2535
SELECT pk FROM tab2 WHERE NOT (col3 > 84)
----
8

statement ok
DELETE FROM tab3 WHERE col3 > 84

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

query I rowsort label-2535
SELECT pk FROM tab3 WHERE NOT (col3 > 84)
----
8

statement ok
DELETE FROM tab4 WHERE col3 > 84

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

query I rowsort label-2535
SELECT pk FROM tab4 WHERE NOT (col3 > 84)
----
8

statement ok
DELETE FROM tab0 WHERE col1 > 90.79

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

query I rowsort label-2550
SELECT pk FROM tab0 WHERE NOT (col1 > 90.79)
----
8

statement ok
DELETE FROM tab1 WHERE col1 > 90.79

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

query I rowsort label-2550
SELECT pk FROM tab1 WHERE NOT (col1 > 90.79)
----
8

statement ok
DELETE FROM tab2 WHERE col1 > 90.79

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

query I rowsort label-2550
SELECT pk FROM tab2 WHERE NOT (col1 > 90.79)
----
8

statement ok
DELETE FROM tab3 WHERE col1 > 90.79

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

query I rowsort label-2550
SELECT pk FROM tab3 WHERE NOT (col1 > 90.79)
----
8

statement ok
DELETE FROM tab4 WHERE col1 > 90.79

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

query I rowsort label-2550
SELECT pk FROM tab4 WHERE NOT (col1 > 90.79)
----
8

statement ok
DELETE FROM tab0 WHERE col0 >= 64

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

query I rowsort label-2565
SELECT pk FROM tab0 WHERE NOT (col0 >= 64)
----
8

statement ok
DELETE FROM tab1 WHERE col0 >= 64

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

query I rowsort label-2565
SELECT pk FROM tab1 WHERE NOT (col0 >= 64)
----
8

statement ok
DELETE FROM tab2 WHERE col0 >= 64

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

query I rowsort label-2565
SELECT pk FROM tab2 WHERE NOT (col0 >= 64)
----
8

statement ok
DELETE FROM tab3 WHERE col0 >= 64

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

query I rowsort label-2565
SELECT pk FROM tab3 WHERE NOT (col0 >= 64)
----
8

statement ok
DELETE FROM tab4 WHERE col0 >= 64

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

query I rowsort label-2565
SELECT pk FROM tab4 WHERE NOT (col0 >= 64)
----
8

statement ok
DELETE FROM tab0 WHERE col1 >= 34.65

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

query I rowsort label-2580
SELECT pk FROM tab0 WHERE NOT (col1 >= 34.65)
----
8

statement ok
DELETE FROM tab1 WHERE col1 >= 34.65

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

query I rowsort label-2580
SELECT pk FROM tab1 WHERE NOT (col1 >= 34.65)
----
8

statement ok
DELETE FROM tab2 WHERE col1 >= 34.65

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

query I rowsort label-2580
SELECT pk FROM tab2 WHERE NOT (col1 >= 34.65)
----
8

statement ok
DELETE FROM tab3 WHERE col1 >= 34.65

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

query I rowsort label-2580
SELECT pk FROM tab3 WHERE NOT (col1 >= 34.65)
----
8

statement ok
DELETE FROM tab4 WHERE col1 >= 34.65

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

query I rowsort label-2580
SELECT pk FROM tab4 WHERE NOT (col1 >= 34.65)
----
8

statement ok
DELETE FROM tab0 WHERE col0 = 57

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

query I rowsort label-2595
SELECT pk FROM tab0 WHERE NOT (col0 = 57)
----
8

statement ok
DELETE FROM tab1 WHERE col0 = 57

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

query I rowsort label-2595
SELECT pk FROM tab1 WHERE NOT (col0 = 57)
----
8

statement ok
DELETE FROM tab2 WHERE col0 = 57

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 57
----

query I rowsort label-2595
SELECT pk FROM tab2 WHERE NOT (col0 = 57)
----
8

statement ok
DELETE FROM tab3 WHERE col0 = 57

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 57
----

query I rowsort label-2595
SELECT pk FROM tab3 WHERE NOT (col0 = 57)
----
8

statement ok
DELETE FROM tab4 WHERE col0 = 57

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 57
----

query I rowsort label-2595
SELECT pk FROM tab4 WHERE NOT (col0 = 57)
----
8

statement ok
DELETE FROM tab0 WHERE col0 > 50 OR col1 > 66.93

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 50 OR col1 > 66.93
----

query I rowsort label-2610
SELECT pk FROM tab0 WHERE NOT (col0 > 50 OR col1 > 66.93)
----
8

statement ok
DELETE FROM tab1 WHERE col0 > 50 OR col1 > 66.93

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 50 OR col1 > 66.93
----

query I rowsort label-2610
SELECT pk FROM tab1 WHERE NOT (col0 > 50 OR col1 > 66.93)
----
8

statement ok
DELETE FROM tab2 WHERE col0 > 50 OR col1 > 66.93

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 50 OR col1 > 66.93
----

query I rowsort label-2610
SELECT pk FROM tab2 WHERE NOT (col0 > 50 OR col1 > 66.93)
----
8

statement ok
DELETE FROM tab3 WHERE col0 > 50 OR col1 > 66.93

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 50 OR col1 > 66.93
----

query I rowsort label-2610
SELECT pk FROM tab3 WHERE NOT (col0 > 50 OR col1 > 66.93)
----
8

statement ok
DELETE FROM tab4 WHERE col0 > 50 OR col1 > 66.93

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 50 OR col1 > 66.93
----

query I rowsort label-2610
SELECT pk FROM tab4 WHERE NOT (col0 > 50 OR col1 > 66.93)
----
8

statement ok
DELETE FROM tab0 WHERE (col4 < 22.49)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 22.49)
----

query I rowsort label-2625
SELECT pk FROM tab0 WHERE NOT ((col4 < 22.49))
----
8

statement ok
DELETE FROM tab1 WHERE (col4 < 22.49)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 22.49)
----

query I rowsort label-2625
SELECT pk FROM tab1 WHERE NOT ((col4 < 22.49))
----
8

statement ok
DELETE FROM tab2 WHERE (col4 < 22.49)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 22.49)
----

query I rowsort label-2625
SELECT pk FROM tab2 WHERE NOT ((col4 < 22.49))
----
8

statement ok
DELETE FROM tab3 WHERE (col4 < 22.49)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 22.49)
----

query I rowsort label-2625
SELECT pk FROM tab3 WHERE NOT ((col4 < 22.49))
----
8

statement ok
DELETE FROM tab4 WHERE (col4 < 22.49)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 22.49)
----

query I rowsort label-2625
SELECT pk FROM tab4 WHERE NOT ((col4 < 22.49))
----
8

statement ok
DELETE FROM tab0 WHERE col0 < 61

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 61
----

query I rowsort label-2640
SELECT pk FROM tab0 WHERE NOT (col0 < 61)
----

statement ok
DELETE FROM tab1 WHERE col0 < 61

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 61
----

query I rowsort label-2640
SELECT pk FROM tab1 WHERE NOT (col0 < 61)
----

statement ok
DELETE FROM tab2 WHERE col0 < 61

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 61
----

query I rowsort label-2640
SELECT pk FROM tab2 WHERE NOT (col0 < 61)
----

statement ok
DELETE FROM tab3 WHERE col0 < 61

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 61
----

query I rowsort label-2640
SELECT pk FROM tab3 WHERE NOT (col0 < 61)
----

statement ok
DELETE FROM tab4 WHERE col0 < 61

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 61
----

query I rowsort label-2640
SELECT pk FROM tab4 WHERE NOT (col0 < 61)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,27,79.90,'npiac',93,32.71,'hmyjb')

statement ok
INSERT INTO tab0 VALUES(1,79,9.83,'evspe',55,78.5,'focws')

statement ok
INSERT INTO tab0 VALUES(2,65,35.47,'jvdng',17,57.82,'creda')

statement ok
INSERT INTO tab0 VALUES(3,21,73.48,'replp',99,41.2,'kppqq')

statement ok
INSERT INTO tab0 VALUES(4,52,42.49,'ulhlv',92,84.20,'cdswx')

statement ok
INSERT INTO tab0 VALUES(5,39,21.26,'xfdis',73,83.60,'xgmro')

statement ok
INSERT INTO tab0 VALUES(6,58,16.78,'phoqp',18,42.26,'icbci')

statement ok
INSERT INTO tab0 VALUES(7,86,19.42,'hvyvf',10,33.15,'xinum')

statement ok
INSERT INTO tab0 VALUES(8,19,74.5,'yiiic',58,60.30,'czivq')

statement ok
INSERT INTO tab0 VALUES(9,80,37.14,'pabvm',5,22.94,'uuccd')

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_2 ON tab2 (col4)

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 UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC,col0,col1)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14
----

query I rowsort label-2655
SELECT pk FROM tab0 WHERE NOT (col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14
----

query I rowsort label-2655
SELECT pk FROM tab1 WHERE NOT (col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14
----

query I rowsort label-2655
SELECT pk FROM tab2 WHERE NOT (col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14
----

query I rowsort label-2655
SELECT pk FROM tab3 WHERE NOT (col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14
----

query I rowsort label-2655
SELECT pk FROM tab4 WHERE NOT (col0 <= 17 AND (col0 > 62) OR ((col4 >= 10.13)) AND col3 > 44 AND col3 <= 14)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45)
----

query I rowsort label-2670
SELECT pk FROM tab0 WHERE NOT (col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45))
----
0
3
4
5

statement ok
DELETE FROM tab1 WHERE col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45)
----

query I rowsort label-2670
SELECT pk FROM tab1 WHERE NOT (col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45))
----
0
3
4
5

statement ok
DELETE FROM tab2 WHERE col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45)
----

query I rowsort label-2670
SELECT pk FROM tab2 WHERE NOT (col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45))
----
0
3
4
5

statement ok
DELETE FROM tab3 WHERE col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45)
----

query I rowsort label-2670
SELECT pk FROM tab3 WHERE NOT (col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45))
----
0
3
4
5

statement ok
DELETE FROM tab4 WHERE col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45)
----

query I rowsort label-2670
SELECT pk FROM tab4 WHERE NOT (col3 < 59 AND ((col3 = 24 AND col1 = 8.75 AND col4 >= 70.52 AND col1 <= 12.79 AND col0 IS NULL OR (col3 > 36 OR (col3 < 23 OR col4 IS NULL AND (col0 < 30 OR col3 > 5) AND col3 = 38 OR col3 <= 87))) OR col0 > 45))
----
0
3
4
5

statement ok
DELETE FROM tab0 WHERE col1 >= 90.98

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 90.98
----

query I rowsort label-2685
SELECT pk FROM tab0 WHERE NOT (col1 >= 90.98)
----
0
3
4
5

statement ok
DELETE FROM tab1 WHERE col1 >= 90.98

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 90.98
----

query I rowsort label-2685
SELECT pk FROM tab1 WHERE NOT (col1 >= 90.98)
----
0
3
4
5

statement ok
DELETE FROM tab2 WHERE col1 >= 90.98

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 90.98
----

query I rowsort label-2685
SELECT pk FROM tab2 WHERE NOT (col1 >= 90.98)
----
0
3
4
5

statement ok
DELETE FROM tab3 WHERE col1 >= 90.98

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 90.98
----

query I rowsort label-2685
SELECT pk FROM tab3 WHERE NOT (col1 >= 90.98)
----
0
3
4
5

statement ok
DELETE FROM tab4 WHERE col1 >= 90.98

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 90.98
----

query I rowsort label-2685
SELECT pk FROM tab4 WHERE NOT (col1 >= 90.98)
----
0
3
4
5

statement ok
DELETE FROM tab0 WHERE (col1 > 57.44)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 57.44)
----

query I rowsort label-2700
SELECT pk FROM tab0 WHERE NOT ((col1 > 57.44))
----
4
5

statement ok
DELETE FROM tab1 WHERE (col1 > 57.44)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 57.44)
----

query I rowsort label-2700
SELECT pk FROM tab1 WHERE NOT ((col1 > 57.44))
----
4
5

statement ok
DELETE FROM tab2 WHERE (col1 > 57.44)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 57.44)
----

query I rowsort label-2700
SELECT pk FROM tab2 WHERE NOT ((col1 > 57.44))
----
4
5

statement ok
DELETE FROM tab3 WHERE (col1 > 57.44)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 57.44)
----

query I rowsort label-2700
SELECT pk FROM tab3 WHERE NOT ((col1 > 57.44))
----
4
5

statement ok
DELETE FROM tab4 WHERE (col1 > 57.44)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 57.44)
----

query I rowsort label-2700
SELECT pk FROM tab4 WHERE NOT ((col1 > 57.44))
----
4
5

statement ok
DELETE FROM tab0 WHERE (col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71)))
----

query I rowsort label-2715
SELECT pk FROM tab0 WHERE NOT ((col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71))))
----

statement ok
DELETE FROM tab1 WHERE (col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71)))
----

query I rowsort label-2715
SELECT pk FROM tab1 WHERE NOT ((col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71))))
----

statement ok
DELETE FROM tab2 WHERE (col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71)))
----

query I rowsort label-2715
SELECT pk FROM tab2 WHERE NOT ((col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71))))
----

statement ok
DELETE FROM tab3 WHERE (col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71)))
----

query I rowsort label-2715
SELECT pk FROM tab3 WHERE NOT ((col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71))))
----

statement ok
DELETE FROM tab4 WHERE (col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71)))
----

query I rowsort label-2715
SELECT pk FROM tab4 WHERE NOT ((col4 > 48.93 OR (((col1 = 54.8 AND (col0 > 18) OR col3 >= 68 AND col4 IN (34.15,12.31) OR col3 >= 15 OR col4 > 88.37) AND (col4 <= 28.56)) AND (col1 <= 52.60) AND ((((((col4 > 55.81)) AND col1 < 79.48 OR (col4 < 39.74) AND col4 = 39.57 AND ((col1 < 75.49) OR (((col4 = 0.49 OR col3 < 52)))) AND col4 < 15.18 OR (col0 <= 52) OR col0 > 26 AND (col0 = 56)))))) OR (((col0 = 98))) AND col0 > 4 AND col0 > 57 AND ((col0 < 69 OR ((col0 < 63) OR ((col3 < 58 AND col1 >= 34.79 AND col1 >= 36.34))) OR col3 <= 50 OR ((col3 <= 74)) AND col3 IN (66,62,31,24,79,53) OR col3 <= 27 AND (col1 > 71.46 OR col4 <= 98.24) AND col3 >= 32 OR col1 > 85.71))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,84,41.10,'luipb',52,69.66,'kmrbd')

statement ok
INSERT INTO tab0 VALUES(1,49,46.81,'znpli',55,94.11,'ysdmm')

statement ok
INSERT INTO tab0 VALUES(2,19,34.67,'rfvhn',71,67.89,'tysyl')

statement ok
INSERT INTO tab0 VALUES(3,39,9.31,'jnyqf',82,92.64,'ndjou')

statement ok
INSERT INTO tab0 VALUES(4,37,27.82,'kkeeo',78,30.30,'btpkl')

statement ok
INSERT INTO tab0 VALUES(5,86,10.38,'xocgo',31,13.72,'onfdr')

statement ok
INSERT INTO tab0 VALUES(6,69,50.92,'ugxsa',49,55.28,'mwsob')

statement ok
INSERT INTO tab0 VALUES(7,36,35.67,'yvkhs',43,62.51,'xtijy')

statement ok
INSERT INTO tab0 VALUES(8,75,47.88,'ilhko',88,52.74,'mbdoe')

statement ok
INSERT INTO tab0 VALUES(9,64,87.35,'dlatu',87,58.70,'tldjl')

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 (col1)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1,col4 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC,col1,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92)
----

query I rowsort label-2730
SELECT pk FROM tab0 WHERE NOT ((col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92)
----

query I rowsort label-2730
SELECT pk FROM tab1 WHERE NOT ((col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92)
----

query I rowsort label-2730
SELECT pk FROM tab2 WHERE NOT ((col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92)
----

query I rowsort label-2730
SELECT pk FROM tab3 WHERE NOT ((col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92)
----

query I rowsort label-2730
SELECT pk FROM tab4 WHERE NOT ((col1 < 7.5 OR (col3 < 84) AND col0 IN (63,46,43,13,77) AND col4 <= 85.63 AND col4 > 50.92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20)
----

query I rowsort label-2745
SELECT pk FROM tab0 WHERE NOT ((col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20))
----

statement ok
DELETE FROM tab1 WHERE (col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20)
----

query I rowsort label-2745
SELECT pk FROM tab1 WHERE NOT ((col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20))
----

statement ok
DELETE FROM tab2 WHERE (col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20)
----

query I rowsort label-2745
SELECT pk FROM tab2 WHERE NOT ((col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20))
----

statement ok
DELETE FROM tab3 WHERE (col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20)
----

query I rowsort label-2745
SELECT pk FROM tab3 WHERE NOT ((col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20))
----

statement ok
DELETE FROM tab4 WHERE (col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,20)
----

query I rowsort label-2745
SELECT pk FROM tab4 WHERE NOT ((col1 > 24.50) OR col1 IS NULL OR (col0 = 54 AND col0 < 10 OR col0 >= 22) AND col3 > 3 AND col3 >= 51 OR col0 > 59 OR col0 = 21 OR col1 = 79.7 AND col0 IN (71,38,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,18,50.63,'ylohv',50,55.46,'mzymk')

statement ok
INSERT INTO tab0 VALUES(1,53,57.19,'lyutg',48,18.29,'pnpmv')

statement ok
INSERT INTO tab0 VALUES(2,86,21.14,'cogbv',17,61.42,'fyviu')

statement ok
INSERT INTO tab0 VALUES(3,77,95.60,'csuyq',80,54.54,'vtfjm')

statement ok
INSERT INTO tab0 VALUES(4,29,17.26,'elxhg',33,56.73,'zkcxa')

statement ok
INSERT INTO tab0 VALUES(5,44,19.94,'jkust',2,20.99,'ggqxt')

statement ok
INSERT INTO tab0 VALUES(6,90,39.28,'pemkx',10,24.94,'kwupe')

statement ok
INSERT INTO tab0 VALUES(7,61,36.29,'iabog',38,64.43,'qwqae')

statement ok
INSERT INTO tab0 VALUES(8,39,0.3,'dppah',87,77.14,'nlkve')

statement ok
INSERT INTO tab0 VALUES(9,62,67.22,'lklaq',42,49.22,'fdrre')

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 (col0 DESC,col3,col4)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0 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 INDEX idx_tab4_2 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 > 62

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 62
----

query I rowsort label-2760
SELECT pk FROM tab0 WHERE NOT (col3 > 62)
----
0
1
2
4
5
6
7
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-2760
SELECT pk FROM tab1 WHERE NOT (col3 > 62)
----
0
1
2
4
5
6
7
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-2760
SELECT pk FROM tab2 WHERE NOT (col3 > 62)
----
0
1
2
4
5
6
7
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-2760
SELECT pk FROM tab3 WHERE NOT (col3 > 62)
----
0
1
2
4
5
6
7
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-2760
SELECT pk FROM tab4 WHERE NOT (col3 > 62)
----
0
1
2
4
5
6
7
9

statement ok
DELETE FROM tab0 WHERE col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55
----

query I rowsort label-2775
SELECT pk FROM tab0 WHERE NOT (col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55)
----
0
1
2
4
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55
----

query I rowsort label-2775
SELECT pk FROM tab1 WHERE NOT (col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55)
----
0
1
2
4
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55
----

query I rowsort label-2775
SELECT pk FROM tab2 WHERE NOT (col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55)
----
0
1
2
4
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55
----

query I rowsort label-2775
SELECT pk FROM tab3 WHERE NOT (col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55)
----
0
1
2
4
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55
----

query I rowsort label-2775
SELECT pk FROM tab4 WHERE NOT (col1 IS NULL AND (col0 <= 90 AND col4 < 16.81 AND (col4 IN (10.72,6.68,49.14,65.33,55.4,66.40) AND col3 > 94) OR (col3 > 0 OR (((((col0 > 26)) AND col3 IN (98,72,93,6,97,21) OR col0 IN (44,18,32,76,52,61) OR col3 = 23 AND col0 IN (19,15,99,36,77) OR col3 = 47 OR (col0 < 75)) AND col1 <= 20.72 AND col4 IN (12.21,77.18,77.27,80.88,59.12) OR col0 = 80)))) AND col0 > 2 OR col1 > 59.2 AND col1 >= 92.51 AND col3 > 55)
----
0
1
2
4
5
6
7
9

statement ok
DELETE FROM tab0 WHERE col4 > 33.56 AND (col0 >= 70)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 33.56 AND (col0 >= 70)
----

query I rowsort label-2790
SELECT pk FROM tab0 WHERE NOT (col4 > 33.56 AND (col0 >= 70))
----
0
1
4
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col4 > 33.56 AND (col0 >= 70)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 33.56 AND (col0 >= 70)
----

query I rowsort label-2790
SELECT pk FROM tab1 WHERE NOT (col4 > 33.56 AND (col0 >= 70))
----
0
1
4
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col4 > 33.56 AND (col0 >= 70)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 33.56 AND (col0 >= 70)
----

query I rowsort label-2790
SELECT pk FROM tab2 WHERE NOT (col4 > 33.56 AND (col0 >= 70))
----
0
1
4
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col4 > 33.56 AND (col0 >= 70)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 33.56 AND (col0 >= 70)
----

query I rowsort label-2790
SELECT pk FROM tab3 WHERE NOT (col4 > 33.56 AND (col0 >= 70))
----
0
1
4
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col4 > 33.56 AND (col0 >= 70)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 33.56 AND (col0 >= 70)
----

query I rowsort label-2790
SELECT pk FROM tab4 WHERE NOT (col4 > 33.56 AND (col0 >= 70))
----
0
1
4
5
6
7
9

statement ok
DELETE FROM tab0 WHERE (col0 < 19 AND (((((((col0 IS NULL))))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 19 AND (((((((col0 IS NULL))))))))
----

query I rowsort label-2805
SELECT pk FROM tab0 WHERE NOT ((col0 < 19 AND (((((((col0 IS NULL)))))))))
----
0
1
4
5
6
7
9

statement ok
DELETE FROM tab1 WHERE (col0 < 19 AND (((((((col0 IS NULL))))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 19 AND (((((((col0 IS NULL))))))))
----

statement ok
DELETE FROM tab0 WHERE col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89
----

query I rowsort label-2810
SELECT pk FROM tab0 WHERE NOT (col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89
----

query I rowsort label-2810
SELECT pk FROM tab1 WHERE NOT (col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89
----

query I rowsort label-2810
SELECT pk FROM tab2 WHERE NOT (col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89
----

query I rowsort label-2810
SELECT pk FROM tab3 WHERE NOT (col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.89
----

query I rowsort label-2810
SELECT pk FROM tab4 WHERE NOT (col3 >= 45 AND (col4 >= 15.43 AND ((col0 > 38)) OR (col3 > 26) AND col1 IN (69.57,58.25,73.98,28.77)) OR col4 > 8.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,84,16.28,'naphe',15,9.0,'rxeur')

statement ok
INSERT INTO tab0 VALUES(1,77,74.58,'txyno',93,52.81,'nyovg')

statement ok
INSERT INTO tab0 VALUES(2,59,66.50,'vtpts',70,55.71,'ybrbj')

statement ok
INSERT INTO tab0 VALUES(3,60,62.93,'zceuo',43,90.52,'lblkr')

statement ok
INSERT INTO tab0 VALUES(4,83,17.23,'zvavx',61,73.83,'dvcoq')

statement ok
INSERT INTO tab0 VALUES(5,67,84.90,'iwqdl',92,71.67,'wemms')

statement ok
INSERT INTO tab0 VALUES(6,46,22.14,'gtoox',79,16.11,'iiecm')

statement ok
INSERT INTO tab0 VALUES(7,17,14.54,'xfphi',9,17.89,'eonxw')

statement ok
INSERT INTO tab0 VALUES(8,94,75.67,'maxhz',71,72.6,'ettqd')

statement ok
INSERT INTO tab0 VALUES(9,80,65.70,'kgdep',16,86.59,'jhfvz')

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,col1 DESC,col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 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 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0,col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 <= 76

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 76
----

query I rowsort label-2825
SELECT pk FROM tab0 WHERE NOT (col3 <= 76)
----
1
5
6

statement ok
DELETE FROM tab1 WHERE col3 <= 76

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 76
----

query I rowsort label-2825
SELECT pk FROM tab1 WHERE NOT (col3 <= 76)
----
1
5
6

statement ok
DELETE FROM tab2 WHERE col3 <= 76

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 76
----

query I rowsort label-2825
SELECT pk FROM tab2 WHERE NOT (col3 <= 76)
----
1
5
6

statement ok
DELETE FROM tab3 WHERE col3 <= 76

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 76
----

query I rowsort label-2825
SELECT pk FROM tab3 WHERE NOT (col3 <= 76)
----
1
5
6

statement ok
DELETE FROM tab4 WHERE col3 <= 76

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 76
----

query I rowsort label-2825
SELECT pk FROM tab4 WHERE NOT (col3 <= 76)
----
1
5
6

statement ok
DELETE FROM tab0 WHERE col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31
----

query I rowsort label-2840
SELECT pk FROM tab0 WHERE NOT (col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31)
----
1
5
6

statement ok
DELETE FROM tab1 WHERE col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31
----

query I rowsort label-2840
SELECT pk FROM tab1 WHERE NOT (col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31)
----
1
5
6

statement ok
DELETE FROM tab2 WHERE col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31
----

query I rowsort label-2840
SELECT pk FROM tab2 WHERE NOT (col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31)
----
1
5
6

statement ok
DELETE FROM tab3 WHERE col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31
----

query I rowsort label-2840
SELECT pk FROM tab3 WHERE NOT (col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31)
----
1
5
6

statement ok
DELETE FROM tab4 WHERE col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31
----

query I rowsort label-2840
SELECT pk FROM tab4 WHERE NOT (col0 > 20 AND col0 = 26 AND ((col3 BETWEEN 7 AND 12)) OR ((((((((col0 < 95 AND col1 = 41.36)) AND (col4 BETWEEN 33.55 AND 6.17 OR (col3 < 19) AND ((col3 > 80))) OR (col3 = 20))))))) AND (col3 >= 79) AND col3 = 45 AND (((col1 < 4.6)) OR (col0 > 31) AND (col4 >= 13.80)) OR (col3 > 31) AND col0 > 62 AND ((((((((col3 BETWEEN 57 AND 55)))) OR col3 <= 61 AND col4 >= 61.39 OR col3 IS NULL)))) AND col3 = 31)
----
1
5
6

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,25,43.99,'cstmv',35,26.3,'uhqij')

statement ok
INSERT INTO tab0 VALUES(1,36,16.99,'kkrql',30,86.51,'prroo')

statement ok
INSERT INTO tab0 VALUES(2,15,72.48,'vkxva',73,25.41,'htrwk')

statement ok
INSERT INTO tab0 VALUES(3,12,83.41,'zjivf',72,47.80,'czsrq')

statement ok
INSERT INTO tab0 VALUES(4,96,74.28,'ahomn',60,84.83,'eniyf')

statement ok
INSERT INTO tab0 VALUES(5,66,78.16,'fvnuz',2,65.82,'abdma')

statement ok
INSERT INTO tab0 VALUES(6,59,7.90,'miazy',13,74.40,'jbnui')

statement ok
INSERT INTO tab0 VALUES(7,70,10.19,'jxitk',69,14.63,'mxfkq')

statement ok
INSERT INTO tab0 VALUES(8,57,34.74,'gragv',17,70.12,'cywab')

statement ok
INSERT INTO tab0 VALUES(9,61,91.36,'evhit',90,71.18,'wrtjd')

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)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3,col0 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4,col0 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 > 70.11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 70.11
----

query I rowsort label-2855
SELECT pk FROM tab0 WHERE NOT (col1 > 70.11)
----
0
1
6
7
8

statement ok
DELETE FROM tab1 WHERE col1 > 70.11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 70.11
----

query I rowsort label-2855
SELECT pk FROM tab1 WHERE NOT (col1 > 70.11)
----
0
1
6
7
8

statement ok
DELETE FROM tab2 WHERE col1 > 70.11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 70.11
----

query I rowsort label-2855
SELECT pk FROM tab2 WHERE NOT (col1 > 70.11)
----
0
1
6
7
8

statement ok
DELETE FROM tab3 WHERE col1 > 70.11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 70.11
----

query I rowsort label-2855
SELECT pk FROM tab3 WHERE NOT (col1 > 70.11)
----
0
1
6
7
8

statement ok
DELETE FROM tab4 WHERE col1 > 70.11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 70.11
----

query I rowsort label-2855
SELECT pk FROM tab4 WHERE NOT (col1 > 70.11)
----
0
1
6
7
8

statement ok
DELETE FROM tab0 WHERE col4 < 97.86

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 97.86
----

query I rowsort label-2870
SELECT pk FROM tab0 WHERE NOT (col4 < 97.86)
----

statement ok
DELETE FROM tab1 WHERE col4 < 97.86

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 97.86
----

query I rowsort label-2870
SELECT pk FROM tab1 WHERE NOT (col4 < 97.86)
----

statement ok
DELETE FROM tab2 WHERE col4 < 97.86

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 97.86
----

query I rowsort label-2870
SELECT pk FROM tab2 WHERE NOT (col4 < 97.86)
----

statement ok
DELETE FROM tab3 WHERE col4 < 97.86

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 97.86
----

query I rowsort label-2870
SELECT pk FROM tab3 WHERE NOT (col4 < 97.86)
----

statement ok
DELETE FROM tab4 WHERE col4 < 97.86

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 97.86
----

query I rowsort label-2870
SELECT pk FROM tab4 WHERE NOT (col4 < 97.86)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,17,26.46,'ifuwn',32,99.55,'ruuel')

statement ok
INSERT INTO tab0 VALUES(1,99,21.16,'frtai',69,95.47,'jvken')

statement ok
INSERT INTO tab0 VALUES(2,96,27.38,'mtbnz',92,59.14,'boiwe')

statement ok
INSERT INTO tab0 VALUES(3,90,85.19,'bdhrk',23,14.6,'jqugz')

statement ok
INSERT INTO tab0 VALUES(4,9,8.46,'muxqr',57,67.39,'bmede')

statement ok
INSERT INTO tab0 VALUES(5,81,95.51,'ypphz',25,13.52,'arztu')

statement ok
INSERT INTO tab0 VALUES(6,5,43.73,'magpx',59,52.73,'stbht')

statement ok
INSERT INTO tab0 VALUES(7,10,58.18,'awfln',48,1.78,'vtrtz')

statement ok
INSERT INTO tab0 VALUES(8,15,71.25,'oogek',8,6.58,'yvsgp')

statement ok
INSERT INTO tab0 VALUES(9,95,47.27,'hevgz',40,55.79,'eztxy')

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 (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 INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11))
----

query I rowsort label-2885
SELECT pk FROM tab0 WHERE NOT ((col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11)))
----
1
2
4
6
7

statement ok
DELETE FROM tab1 WHERE (col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11))
----

query I rowsort label-2885
SELECT pk FROM tab1 WHERE NOT ((col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11)))
----
1
2
4
6
7

statement ok
DELETE FROM tab2 WHERE (col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11))
----

query I rowsort label-2885
SELECT pk FROM tab2 WHERE NOT ((col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11)))
----
1
2
4
6
7

statement ok
DELETE FROM tab3 WHERE (col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11))
----

query I rowsort label-2885
SELECT pk FROM tab3 WHERE NOT ((col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11)))
----
1
2
4
6
7

statement ok
DELETE FROM tab4 WHERE (col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11))
----

query I rowsort label-2885
SELECT pk FROM tab4 WHERE NOT ((col0 < 97) AND col3 < 45 OR ((col0 IN (57,45,74) OR col4 BETWEEN 97.78 AND 34.11)))
----
1
2
4
6
7

statement ok
DELETE FROM tab0 WHERE col0 <= 10 AND col4 > 67.95

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 10 AND col4 > 67.95
----

query I rowsort label-2900
SELECT pk FROM tab0 WHERE NOT (col0 <= 10 AND col4 > 67.95)
----
1
2
4
6
7

statement ok
DELETE FROM tab1 WHERE col0 <= 10 AND col4 > 67.95

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 10 AND col4 > 67.95
----

query I rowsort label-2900
SELECT pk FROM tab1 WHERE NOT (col0 <= 10 AND col4 > 67.95)
----
1
2
4
6
7

statement ok
DELETE FROM tab2 WHERE col0 <= 10 AND col4 > 67.95

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 10 AND col4 > 67.95
----

query I rowsort label-2900
SELECT pk FROM tab2 WHERE NOT (col0 <= 10 AND col4 > 67.95)
----
1
2
4
6
7

statement ok
DELETE FROM tab3 WHERE col0 <= 10 AND col4 > 67.95

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 10 AND col4 > 67.95
----

query I rowsort label-2900
SELECT pk FROM tab3 WHERE NOT (col0 <= 10 AND col4 > 67.95)
----
1
2
4
6
7

statement ok
DELETE FROM tab4 WHERE col0 <= 10 AND col4 > 67.95

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 10 AND col4 > 67.95
----

query I rowsort label-2900
SELECT pk FROM tab4 WHERE NOT (col0 <= 10 AND col4 > 67.95)
----
1
2
4
6
7

statement ok
DELETE FROM tab0 WHERE col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL
----

query I rowsort label-2915
SELECT pk FROM tab0 WHERE NOT (col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL)
----
6
7

statement ok
DELETE FROM tab1 WHERE col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL
----

query I rowsort label-2915
SELECT pk FROM tab1 WHERE NOT (col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL)
----
6
7

statement ok
DELETE FROM tab2 WHERE col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL
----

query I rowsort label-2915
SELECT pk FROM tab2 WHERE NOT (col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL)
----
6
7

statement ok
DELETE FROM tab3 WHERE col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL
----

query I rowsort label-2915
SELECT pk FROM tab3 WHERE NOT (col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL)
----
6
7

statement ok
DELETE FROM tab4 WHERE col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL
----

query I rowsort label-2915
SELECT pk FROM tab4 WHERE NOT (col0 > 30 OR ((col3 <= 61) AND (((col0 < 52 AND (col1 > 87.96 AND col4 <= 46.10 OR (((col3 > 95) OR (col4 > 12.42 OR col3 > 48 AND ((((((col4 < 69.63))) AND (col0 BETWEEN 91 AND 9))) AND col1 > 77.19)) AND col3 < 59)))))) OR col1 < 61.86 AND col0 > 20) OR col3 IS NULL)
----
6
7

statement ok
DELETE FROM tab0 WHERE col1 < 8.26

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 8.26
----

query I rowsort label-2930
SELECT pk FROM tab0 WHERE NOT (col1 < 8.26)
----
6
7

statement ok
DELETE FROM tab1 WHERE col1 < 8.26

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 8.26
----

query I rowsort label-2930
SELECT pk FROM tab1 WHERE NOT (col1 < 8.26)
----
6
7

statement ok
DELETE FROM tab2 WHERE col1 < 8.26

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 8.26
----

query I rowsort label-2930
SELECT pk FROM tab2 WHERE NOT (col1 < 8.26)
----
6
7

statement ok
DELETE FROM tab3 WHERE col1 < 8.26

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 8.26
----

query I rowsort label-2930
SELECT pk FROM tab3 WHERE NOT (col1 < 8.26)
----
6
7

statement ok
DELETE FROM tab4 WHERE col1 < 8.26

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 8.26
----

query I rowsort label-2930
SELECT pk FROM tab4 WHERE NOT (col1 < 8.26)
----
6
7

statement ok
DELETE FROM tab0 WHERE col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL)
----

query I rowsort label-2945
SELECT pk FROM tab0 WHERE NOT (col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL))
----
7

statement ok
DELETE FROM tab1 WHERE col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL)
----

query I rowsort label-2945
SELECT pk FROM tab1 WHERE NOT (col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL))
----
7

statement ok
DELETE FROM tab2 WHERE col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL)
----

query I rowsort label-2945
SELECT pk FROM tab2 WHERE NOT (col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL))
----
7

statement ok
DELETE FROM tab3 WHERE col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL)
----

query I rowsort label-2945
SELECT pk FROM tab3 WHERE NOT (col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL))
----
7

statement ok
DELETE FROM tab4 WHERE col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL)
----

query I rowsort label-2945
SELECT pk FROM tab4 WHERE NOT (col1 < 64.97 AND col0 < 61 AND (col0 < 7 OR col4 IS NULL))
----
7

statement ok
DELETE FROM tab0 WHERE (col3 <= 34 AND col4 > 79.73)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 34 AND col4 > 79.73)
----

query I rowsort label-2960
SELECT pk FROM tab0 WHERE NOT ((col3 <= 34 AND col4 > 79.73))
----
7

statement ok
DELETE FROM tab1 WHERE (col3 <= 34 AND col4 > 79.73)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 34 AND col4 > 79.73)
----

query I rowsort label-2960
SELECT pk FROM tab1 WHERE NOT ((col3 <= 34 AND col4 > 79.73))
----
7

statement ok
DELETE FROM tab2 WHERE (col3 <= 34 AND col4 > 79.73)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 34 AND col4 > 79.73)
----

query I rowsort label-2960
SELECT pk FROM tab2 WHERE NOT ((col3 <= 34 AND col4 > 79.73))
----
7

statement ok
DELETE FROM tab3 WHERE (col3 <= 34 AND col4 > 79.73)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 34 AND col4 > 79.73)
----

query I rowsort label-2960
SELECT pk FROM tab3 WHERE NOT ((col3 <= 34 AND col4 > 79.73))
----
7

statement ok
DELETE FROM tab4 WHERE (col3 <= 34 AND col4 > 79.73)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 34 AND col4 > 79.73)
----

query I rowsort label-2960
SELECT pk FROM tab4 WHERE NOT ((col3 <= 34 AND col4 > 79.73))
----
7

statement ok
DELETE FROM tab0 WHERE col3 >= 56

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 56
----

query I rowsort label-2975
SELECT pk FROM tab0 WHERE NOT (col3 >= 56)
----
7

statement ok
DELETE FROM tab1 WHERE col3 >= 56

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 56
----

query I rowsort label-2975
SELECT pk FROM tab1 WHERE NOT (col3 >= 56)
----
7

statement ok
DELETE FROM tab2 WHERE col3 >= 56

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 56
----

query I rowsort label-2975
SELECT pk FROM tab2 WHERE NOT (col3 >= 56)
----
7

statement ok
DELETE FROM tab3 WHERE col3 >= 56

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 56
----

query I rowsort label-2975
SELECT pk FROM tab3 WHERE NOT (col3 >= 56)
----
7

statement ok
DELETE FROM tab4 WHERE col3 >= 56

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 56
----

query I rowsort label-2975
SELECT pk FROM tab4 WHERE NOT (col3 >= 56)
----
7

statement ok
DELETE FROM tab0 WHERE col4 > 49.1

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 49.1
----

query I rowsort label-2990
SELECT pk FROM tab0 WHERE NOT (col4 > 49.1)
----
7

statement ok
DELETE FROM tab1 WHERE col4 > 49.1

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 49.1
----

query I rowsort label-2990
SELECT pk FROM tab1 WHERE NOT (col4 > 49.1)
----
7

statement ok
DELETE FROM tab2 WHERE col4 > 49.1

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 49.1
----

query I rowsort label-2990
SELECT pk FROM tab2 WHERE NOT (col4 > 49.1)
----
7

statement ok
DELETE FROM tab3 WHERE col4 > 49.1

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 49.1
----

query I rowsort label-2990
SELECT pk FROM tab3 WHERE NOT (col4 > 49.1)
----
7

statement ok
DELETE FROM tab4 WHERE col4 > 49.1

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 49.1
----

query I rowsort label-2990
SELECT pk FROM tab4 WHERE NOT (col4 > 49.1)
----
7

statement ok
DELETE FROM tab0 WHERE col3 < 71

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 71
----

query I rowsort label-3005
SELECT pk FROM tab0 WHERE NOT (col3 < 71)
----

statement ok
DELETE FROM tab1 WHERE col3 < 71

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 71
----

query I rowsort label-3005
SELECT pk FROM tab1 WHERE NOT (col3 < 71)
----

statement ok
DELETE FROM tab2 WHERE col3 < 71

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 71
----

query I rowsort label-3005
SELECT pk FROM tab2 WHERE NOT (col3 < 71)
----

statement ok
DELETE FROM tab3 WHERE col3 < 71

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 71
----

query I rowsort label-3005
SELECT pk FROM tab3 WHERE NOT (col3 < 71)
----

statement ok
DELETE FROM tab4 WHERE col3 < 71

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 71
----

query I rowsort label-3005
SELECT pk FROM tab4 WHERE NOT (col3 < 71)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,67,66.80,'kytgu',26,86.47,'zblnm')

statement ok
INSERT INTO tab0 VALUES(1,1,38.40,'glxoq',5,37.55,'enauz')

statement ok
INSERT INTO tab0 VALUES(2,65,17.38,'ucmfh',36,93.12,'lqlkh')

statement ok
INSERT INTO tab0 VALUES(3,76,34.46,'ujoza',81,48.3,'gyozb')

statement ok
INSERT INTO tab0 VALUES(4,93,85.40,'bvqqy',53,42.73,'heivy')

statement ok
INSERT INTO tab0 VALUES(5,34,95.10,'ykcfo',27,26.37,'emmyn')

statement ok
INSERT INTO tab0 VALUES(6,86,80.74,'wpwzo',54,21.93,'yrber')

statement ok
INSERT INTO tab0 VALUES(7,20,10.91,'dlcsf',75,85.37,'tcelh')

statement ok
INSERT INTO tab0 VALUES(8,0,69.72,'mrtrf',33,71.74,'nypra')

statement ok
INSERT INTO tab0 VALUES(9,97,20.91,'rzfvf',82,94.28,'ojgep')

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 UNIQUE INDEX idx_tab2_1 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_1 ON tab3 (col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 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 INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 < 26

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 26
----

query I rowsort label-3020
SELECT pk FROM tab0 WHERE NOT (col3 < 26)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab1 WHERE col3 < 26

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 26
----

query I rowsort label-3020
SELECT pk FROM tab1 WHERE NOT (col3 < 26)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab2 WHERE col3 < 26

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 26
----

query I rowsort label-3020
SELECT pk FROM tab2 WHERE NOT (col3 < 26)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab3 WHERE col3 < 26

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 26
----

query I rowsort label-3020
SELECT pk FROM tab3 WHERE NOT (col3 < 26)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab4 WHERE col3 < 26

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 26
----

query I rowsort label-3020
SELECT pk FROM tab4 WHERE NOT (col3 < 26)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab0 WHERE ((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19)
----

query I rowsort label-3035
SELECT pk FROM tab0 WHERE NOT (((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19))
----

statement ok
DELETE FROM tab1 WHERE ((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19)
----

query I rowsort label-3035
SELECT pk FROM tab1 WHERE NOT (((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19))
----

statement ok
DELETE FROM tab2 WHERE ((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19)
----

query I rowsort label-3035
SELECT pk FROM tab2 WHERE NOT (((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19))
----

statement ok
DELETE FROM tab3 WHERE ((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19)
----

query I rowsort label-3035
SELECT pk FROM tab3 WHERE NOT (((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19))
----

statement ok
DELETE FROM tab4 WHERE ((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 19)
----

query I rowsort label-3035
SELECT pk FROM tab4 WHERE NOT (((col1 >= 28.11) AND col4 > 12.78 OR col0 >= 83 OR col0 = 1 OR col3 > 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,95,26.48,'dijce',94,99.9,'aemgv')

statement ok
INSERT INTO tab0 VALUES(1,26,6.94,'cydcu',62,94.57,'tcove')

statement ok
INSERT INTO tab0 VALUES(2,53,95.61,'jzrdr',88,35.53,'wykfq')

statement ok
INSERT INTO tab0 VALUES(3,73,99.62,'vqupj',21,67.98,'npokq')

statement ok
INSERT INTO tab0 VALUES(4,54,2.73,'gtkpa',15,16.32,'pbtdv')

statement ok
INSERT INTO tab0 VALUES(5,0,80.94,'xmntp',92,10.6,'utyhf')

statement ok
INSERT INTO tab0 VALUES(6,16,12.14,'etnqw',2,86.38,'tjloh')

statement ok
INSERT INTO tab0 VALUES(7,65,96.70,'ediou',90,2.76,'clddb')

statement ok
INSERT INTO tab0 VALUES(8,37,56.15,'lhhai',54,55.65,'sxojh')

statement ok
INSERT INTO tab0 VALUES(9,6,61.73,'kqomt',11,85.4,'swxgp')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1,col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0 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 (col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1,col3)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50)))
----

query I rowsort label-3050
SELECT pk FROM tab0 WHERE NOT ((((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50))))
----
0
1
2
7

statement ok
DELETE FROM tab1 WHERE (((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50)))
----

query I rowsort label-3050
SELECT pk FROM tab1 WHERE NOT ((((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50))))
----
0
1
2
7

statement ok
DELETE FROM tab2 WHERE (((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50)))
----

query I rowsort label-3050
SELECT pk FROM tab2 WHERE NOT ((((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50))))
----
0
1
2
7

statement ok
DELETE FROM tab3 WHERE (((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50)))
----

query I rowsort label-3050
SELECT pk FROM tab3 WHERE NOT ((((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50))))
----
0
1
2
7

statement ok
DELETE FROM tab4 WHERE (((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50)))
----

query I rowsort label-3050
SELECT pk FROM tab4 WHERE NOT ((((col0 <= 48 AND (col4 < 79.28) OR col3 <= 50))))
----
0
1
2
7

statement ok
DELETE FROM tab0 WHERE (col4 >= 2.57)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 2.57)
----

query I rowsort label-3065
SELECT pk FROM tab0 WHERE NOT ((col4 >= 2.57))
----

statement ok
DELETE FROM tab1 WHERE (col4 >= 2.57)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 2.57)
----

query I rowsort label-3065
SELECT pk FROM tab1 WHERE NOT ((col4 >= 2.57))
----

statement ok
DELETE FROM tab2 WHERE (col4 >= 2.57)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 2.57)
----

query I rowsort label-3065
SELECT pk FROM tab2 WHERE NOT ((col4 >= 2.57))
----

statement ok
DELETE FROM tab3 WHERE (col4 >= 2.57)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 2.57)
----

query I rowsort label-3065
SELECT pk FROM tab3 WHERE NOT ((col4 >= 2.57))
----

statement ok
DELETE FROM tab4 WHERE (col4 >= 2.57)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 2.57)
----

query I rowsort label-3065
SELECT pk FROM tab4 WHERE NOT ((col4 >= 2.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,92,58.0,'mheyb',30,2.92,'bmcrf')

statement ok
INSERT INTO tab0 VALUES(1,4,66.51,'muuej',14,0.85,'pbmsw')

statement ok
INSERT INTO tab0 VALUES(2,93,59.60,'svwyd',31,44.59,'slfye')

statement ok
INSERT INTO tab0 VALUES(3,2,14.53,'xinss',9,60.84,'rqyhd')

statement ok
INSERT INTO tab0 VALUES(4,36,38.62,'luwnx',17,64.71,'oeumn')

statement ok
INSERT INTO tab0 VALUES(5,17,80.91,'pctmh',23,69.32,'ksiss')

statement ok
INSERT INTO tab0 VALUES(6,48,46.77,'sdilf',54,1.43,'isxdy')

statement ok
INSERT INTO tab0 VALUES(7,77,9.52,'ejuqw',68,8.10,'qbosn')

statement ok
INSERT INTO tab0 VALUES(8,56,24.6,'tmvio',7,78.23,'yreou')

statement ok
INSERT INTO tab0 VALUES(9,9,39.51,'mzlgu',64,48.28,'jbuvh')

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
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 DESC,col1)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3)

statement ok
CREATE UNIQUE 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 INDEX idx_tab4_1 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0,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 >= 87 AND col3 >= 69) OR col3 <= 33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 87 AND col3 >= 69) OR col3 <= 33
----

query I rowsort label-3080
SELECT pk FROM tab0 WHERE NOT ((col0 >= 87 AND col3 >= 69) OR col3 <= 33)
----
6
7
9

statement ok
DELETE FROM tab1 WHERE (col0 >= 87 AND col3 >= 69) OR col3 <= 33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 87 AND col3 >= 69) OR col3 <= 33
----

query I rowsort label-3080
SELECT pk FROM tab1 WHERE NOT ((col0 >= 87 AND col3 >= 69) OR col3 <= 33)
----
6
7
9

statement ok
DELETE FROM tab2 WHERE (col0 >= 87 AND col3 >= 69) OR col3 <= 33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 87 AND col3 >= 69) OR col3 <= 33
----

query I rowsort label-3080
SELECT pk FROM tab2 WHERE NOT ((col0 >= 87 AND col3 >= 69) OR col3 <= 33)
----
6
7
9

statement ok
DELETE FROM tab3 WHERE (col0 >= 87 AND col3 >= 69) OR col3 <= 33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 87 AND col3 >= 69) OR col3 <= 33
----

query I rowsort label-3080
SELECT pk FROM tab3 WHERE NOT ((col0 >= 87 AND col3 >= 69) OR col3 <= 33)
----
6
7
9

statement ok
DELETE FROM tab4 WHERE (col0 >= 87 AND col3 >= 69) OR col3 <= 33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 87 AND col3 >= 69) OR col3 <= 33
----

query I rowsort label-3080
SELECT pk FROM tab4 WHERE NOT ((col0 >= 87 AND col3 >= 69) OR col3 <= 33)
----
6
7
9

statement ok
DELETE FROM tab0 WHERE ((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80))
----

query I rowsort label-3095
SELECT pk FROM tab0 WHERE NOT (((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80)))
----
6
7

statement ok
DELETE FROM tab1 WHERE ((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80))
----

query I rowsort label-3095
SELECT pk FROM tab1 WHERE NOT (((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80)))
----
6
7

statement ok
DELETE FROM tab2 WHERE ((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80))
----

query I rowsort label-3095
SELECT pk FROM tab2 WHERE NOT (((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80)))
----
6
7

statement ok
DELETE FROM tab3 WHERE ((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80))
----

query I rowsort label-3095
SELECT pk FROM tab3 WHERE NOT (((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80)))
----
6
7

statement ok
DELETE FROM tab4 WHERE ((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80))
----

query I rowsort label-3095
SELECT pk FROM tab4 WHERE NOT (((((col3 >= 32) AND col0 BETWEEN 1 AND 18 AND col3 <= 40 OR (col3 > 87) AND (col1 < 71.50) OR col0 < 36) OR ((col4 > 70.25)) AND col4 < 44.55 OR (col4 > 63.74 OR col3 < 39) AND col0 <= 80)))
----
6
7

statement ok
DELETE FROM tab0 WHERE (col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45))
----

query I rowsort label-3110
SELECT pk FROM tab0 WHERE NOT ((col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45)))
----
6
7

statement ok
DELETE FROM tab1 WHERE (col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45))
----

query I rowsort label-3110
SELECT pk FROM tab1 WHERE NOT ((col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45)))
----
6
7

statement ok
DELETE FROM tab2 WHERE (col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45))
----

query I rowsort label-3110
SELECT pk FROM tab2 WHERE NOT ((col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45)))
----
6
7

statement ok
DELETE FROM tab3 WHERE (col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45))
----

query I rowsort label-3110
SELECT pk FROM tab3 WHERE NOT ((col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45)))
----
6
7

statement ok
DELETE FROM tab4 WHERE (col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45))
----

query I rowsort label-3110
SELECT pk FROM tab4 WHERE NOT ((col4 >= 58.28) OR (col0 < 33 AND (col3 <= 45)))
----
6
7

statement ok
DELETE FROM tab0 WHERE (col3 IN (68,96,68,48))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 IN (68,96,68,48))
----

query I rowsort label-3125
SELECT pk FROM tab0 WHERE NOT ((col3 IN (68,96,68,48)))
----
6

statement ok
DELETE FROM tab1 WHERE (col3 IN (68,96,68,48))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 IN (68,96,68,48))
----

query I rowsort label-3125
SELECT pk FROM tab1 WHERE NOT ((col3 IN (68,96,68,48)))
----
6

statement ok
DELETE FROM tab2 WHERE (col3 IN (68,96,68,48))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 IN (68,96,68,48))
----

query I rowsort label-3125
SELECT pk FROM tab2 WHERE NOT ((col3 IN (68,96,68,48)))
----
6

statement ok
DELETE FROM tab3 WHERE (col3 IN (68,96,68,48))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 IN (68,96,68,48))
----

query I rowsort label-3125
SELECT pk FROM tab3 WHERE NOT ((col3 IN (68,96,68,48)))
----
6

statement ok
DELETE FROM tab4 WHERE (col3 IN (68,96,68,48))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 IN (68,96,68,48))
----

query I rowsort label-3125
SELECT pk FROM tab4 WHERE NOT ((col3 IN (68,96,68,48)))
----
6

statement ok
DELETE FROM tab0 WHERE col0 IN (24,41,23) OR col0 < 23

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (24,41,23) OR col0 < 23
----

query I rowsort label-3140
SELECT pk FROM tab0 WHERE NOT (col0 IN (24,41,23) OR col0 < 23)
----
6

statement ok
DELETE FROM tab1 WHERE col0 IN (24,41,23) OR col0 < 23

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (24,41,23) OR col0 < 23
----

query I rowsort label-3140
SELECT pk FROM tab1 WHERE NOT (col0 IN (24,41,23) OR col0 < 23)
----
6

statement ok
DELETE FROM tab2 WHERE col0 IN (24,41,23) OR col0 < 23

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (24,41,23) OR col0 < 23
----

query I rowsort label-3140
SELECT pk FROM tab2 WHERE NOT (col0 IN (24,41,23) OR col0 < 23)
----
6

statement ok
DELETE FROM tab3 WHERE col0 IN (24,41,23) OR col0 < 23

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (24,41,23) OR col0 < 23
----

query I rowsort label-3140
SELECT pk FROM tab3 WHERE NOT (col0 IN (24,41,23) OR col0 < 23)
----
6

statement ok
DELETE FROM tab4 WHERE col0 IN (24,41,23) OR col0 < 23

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (24,41,23) OR col0 < 23
----

query I rowsort label-3140
SELECT pk FROM tab4 WHERE NOT (col0 IN (24,41,23) OR col0 < 23)
----
6

statement ok
DELETE FROM tab0 WHERE col0 <= 50

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 50
----

query I rowsort label-3155
SELECT pk FROM tab0 WHERE NOT (col0 <= 50)
----

statement ok
DELETE FROM tab1 WHERE col0 <= 50

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 50
----

query I rowsort label-3155
SELECT pk FROM tab1 WHERE NOT (col0 <= 50)
----

statement ok
DELETE FROM tab2 WHERE col0 <= 50

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 50
----

query I rowsort label-3155
SELECT pk FROM tab2 WHERE NOT (col0 <= 50)
----

statement ok
DELETE FROM tab3 WHERE col0 <= 50

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 50
----

query I rowsort label-3155
SELECT pk FROM tab3 WHERE NOT (col0 <= 50)
----

statement ok
DELETE FROM tab4 WHERE col0 <= 50

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 50
----

query I rowsort label-3155
SELECT pk FROM tab4 WHERE NOT (col0 <= 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,17,91.2,'onhqx',31,55.62,'amyde')

statement ok
INSERT INTO tab0 VALUES(1,67,63.73,'egrjg',67,32.59,'zgrdd')

statement ok
INSERT INTO tab0 VALUES(2,11,75.10,'uqxtl',56,91.31,'mldqp')

statement ok
INSERT INTO tab0 VALUES(3,88,3.11,'pnvan',84,67.5,'vrgxe')

statement ok
INSERT INTO tab0 VALUES(4,95,40.24,'ifuzo',29,15.41,'mgitg')

statement ok
INSERT INTO tab0 VALUES(5,56,10.9,'ihqvv',24,27.92,'yahds')

statement ok
INSERT INTO tab0 VALUES(6,80,76.3,'sazou',19,44.66,'dvwok')

statement ok
INSERT INTO tab0 VALUES(7,25,55.78,'kafuj',44,65.92,'iisbd')

statement ok
INSERT INTO tab0 VALUES(8,58,35.8,'iaqha',72,62.79,'lkkot')

statement ok
INSERT INTO tab0 VALUES(9,22,77.29,'qitnv',81,95.81,'zzsoj')

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)

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 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86
----

query I rowsort label-3170
SELECT pk FROM tab0 WHERE NOT ((col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86
----

query I rowsort label-3170
SELECT pk FROM tab1 WHERE NOT ((col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86
----

query I rowsort label-3170
SELECT pk FROM tab2 WHERE NOT ((col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86
----

query I rowsort label-3170
SELECT pk FROM tab3 WHERE NOT ((col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86
----

query I rowsort label-3170
SELECT pk FROM tab4 WHERE NOT ((col3 BETWEEN 1 AND 65 AND col1 > 33.45 AND (((col0 = 51 AND col0 < 75)) AND ((col0 BETWEEN 21 AND 42 OR col0 < 71))) AND col3 < 2) AND col0 >= 88 AND col1 > 51.86)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38)))
----

query I rowsort label-3185
SELECT pk FROM tab0 WHERE NOT ((col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38))))
----
0
4
5
6

statement ok
DELETE FROM tab1 WHERE (col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38)))
----

query I rowsort label-3185
SELECT pk FROM tab1 WHERE NOT ((col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38))))
----
0
4
5
6

statement ok
DELETE FROM tab2 WHERE (col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38)))
----

query I rowsort label-3185
SELECT pk FROM tab2 WHERE NOT ((col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38))))
----
0
4
5
6

statement ok
DELETE FROM tab3 WHERE (col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38)))
----

query I rowsort label-3185
SELECT pk FROM tab3 WHERE NOT ((col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38))))
----
0
4
5
6

statement ok
DELETE FROM tab4 WHERE (col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38)))
----

query I rowsort label-3185
SELECT pk FROM tab4 WHERE NOT ((col4 IN (0.23,80.76,97.64,91.23,14.18,16.15) OR ((col3 > 38))))
----
0
4
5
6

statement ok
DELETE FROM tab0 WHERE (((col0 > 40)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 > 40)))
----

query I rowsort label-3200
SELECT pk FROM tab0 WHERE NOT ((((col0 > 40))))
----
0

statement ok
DELETE FROM tab1 WHERE (((col0 > 40)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 > 40)))
----

query I rowsort label-3200
SELECT pk FROM tab1 WHERE NOT ((((col0 > 40))))
----
0

statement ok
DELETE FROM tab2 WHERE (((col0 > 40)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 > 40)))
----

query I rowsort label-3200
SELECT pk FROM tab2 WHERE NOT ((((col0 > 40))))
----
0

statement ok
DELETE FROM tab3 WHERE (((col0 > 40)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 > 40)))
----

query I rowsort label-3200
SELECT pk FROM tab3 WHERE NOT ((((col0 > 40))))
----
0

statement ok
DELETE FROM tab4 WHERE (((col0 > 40)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 > 40)))
----

query I rowsort label-3200
SELECT pk FROM tab4 WHERE NOT ((((col0 > 40))))
----
0

statement ok
DELETE FROM tab0 WHERE (col1 > 39.7) AND col0 = 5

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 39.7) AND col0 = 5
----

query I rowsort label-3215
SELECT pk FROM tab0 WHERE NOT ((col1 > 39.7) AND col0 = 5)
----
0

statement ok
DELETE FROM tab1 WHERE (col1 > 39.7) AND col0 = 5

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 39.7) AND col0 = 5
----

query I rowsort label-3215
SELECT pk FROM tab1 WHERE NOT ((col1 > 39.7) AND col0 = 5)
----
0

statement ok
DELETE FROM tab2 WHERE (col1 > 39.7) AND col0 = 5

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 39.7) AND col0 = 5
----

query I rowsort label-3215
SELECT pk FROM tab2 WHERE NOT ((col1 > 39.7) AND col0 = 5)
----
0

statement ok
DELETE FROM tab3 WHERE (col1 > 39.7) AND col0 = 5

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 39.7) AND col0 = 5
----

query I rowsort label-3215
SELECT pk FROM tab3 WHERE NOT ((col1 > 39.7) AND col0 = 5)
----
0

statement ok
DELETE FROM tab4 WHERE (col1 > 39.7) AND col0 = 5

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 39.7) AND col0 = 5
----

query I rowsort label-3215
SELECT pk FROM tab4 WHERE NOT ((col1 > 39.7) AND col0 = 5)
----
0

statement ok
DELETE FROM tab0 WHERE (col0 < 67)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 67)
----

query I rowsort label-3230
SELECT pk FROM tab0 WHERE NOT ((col0 < 67))
----

statement ok
DELETE FROM tab1 WHERE (col0 < 67)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 67)
----

query I rowsort label-3230
SELECT pk FROM tab1 WHERE NOT ((col0 < 67))
----

statement ok
DELETE FROM tab2 WHERE (col0 < 67)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 67)
----

query I rowsort label-3230
SELECT pk FROM tab2 WHERE NOT ((col0 < 67))
----

statement ok
DELETE FROM tab3 WHERE (col0 < 67)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 67)
----

query I rowsort label-3230
SELECT pk FROM tab3 WHERE NOT ((col0 < 67))
----

statement ok
DELETE FROM tab4 WHERE (col0 < 67)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 67)
----

query I rowsort label-3230
SELECT pk FROM tab4 WHERE NOT ((col0 < 67))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,41,92.28,'veqfa',45,88.45,'riylk')

statement ok
INSERT INTO tab0 VALUES(1,62,76.44,'hzinf',31,95.54,'qwtkr')

statement ok
INSERT INTO tab0 VALUES(2,33,15.15,'zwuqy',7,3.90,'ngcic')

statement ok
INSERT INTO tab0 VALUES(3,21,96.44,'xwjsh',10,89.90,'dvgmg')

statement ok
INSERT INTO tab0 VALUES(4,81,24.85,'krgmo',72,21.3,'cqcij')

statement ok
INSERT INTO tab0 VALUES(5,80,81.58,'zwyjb',44,34.98,'juuoz')

statement ok
INSERT INTO tab0 VALUES(6,3,88.59,'sydpr',0,83.78,'xjleo')

statement ok
INSERT INTO tab0 VALUES(7,66,73.76,'apdhm',53,6.93,'eonsy')

statement ok
INSERT INTO tab0 VALUES(8,34,28.98,'hrqqm',66,90.50,'bysih')

statement ok
INSERT INTO tab0 VALUES(9,22,72.29,'jlfby',69,27.28,'emlyi')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1,col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0,col1,col4 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,38,3.82,'piwup',44,20.39,'jivrs')

statement ok
INSERT INTO tab0 VALUES(1,56,78.99,'yjvfg',22,19.95,'nibda')

statement ok
INSERT INTO tab0 VALUES(2,68,54.14,'uzepd',79,35.87,'ikbnd')

statement ok
INSERT INTO tab0 VALUES(3,86,85.95,'hjsjq',71,90.86,'xyfoo')

statement ok
INSERT INTO tab0 VALUES(4,78,59.5,'rewxb',42,42.37,'aanya')

statement ok
INSERT INTO tab0 VALUES(5,28,12.62,'pevni',83,8.22,'jfxup')

statement ok
INSERT INTO tab0 VALUES(6,1,42.3,'busto',98,69.25,'ozdla')

statement ok
INSERT INTO tab0 VALUES(7,4,18.48,'quobt',63,86.91,'locbn')

statement ok
INSERT INTO tab0 VALUES(8,49,96.59,'qxpqf',91,12.91,'bjydf')

statement ok
INSERT INTO tab0 VALUES(9,15,27.7,'clitq',93,2.83,'tszfc')

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 UNIQUE INDEX idx_tab2_1 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 UNIQUE INDEX idx_tab3_1 ON tab3 (col0,col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC,col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC,col0)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 <= 58)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 58)
----

query I rowsort label-3245
SELECT pk FROM tab0 WHERE NOT ((col3 <= 58))
----
2
3
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col3 <= 58)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 58)
----

query I rowsort label-3245
SELECT pk FROM tab1 WHERE NOT ((col3 <= 58))
----
2
3
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col3 <= 58)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 58)
----

query I rowsort label-3245
SELECT pk FROM tab2 WHERE NOT ((col3 <= 58))
----
2
3
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col3 <= 58)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 58)
----

query I rowsort label-3245
SELECT pk FROM tab3 WHERE NOT ((col3 <= 58))
----
2
3
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col3 <= 58)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 58)
----

query I rowsort label-3245
SELECT pk FROM tab4 WHERE NOT ((col3 <= 58))
----
2
3
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE ((col1 > 28.63) AND col3 >= 15)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 > 28.63) AND col3 >= 15)
----

query I rowsort label-3260
SELECT pk FROM tab0 WHERE NOT (((col1 > 28.63) AND col3 >= 15))
----
5
7
9

statement ok
DELETE FROM tab1 WHERE ((col1 > 28.63) AND col3 >= 15)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 > 28.63) AND col3 >= 15)
----

query I rowsort label-3260
SELECT pk FROM tab1 WHERE NOT (((col1 > 28.63) AND col3 >= 15))
----
5
7
9

statement ok
DELETE FROM tab2 WHERE ((col1 > 28.63) AND col3 >= 15)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 > 28.63) AND col3 >= 15)
----

query I rowsort label-3260
SELECT pk FROM tab2 WHERE NOT (((col1 > 28.63) AND col3 >= 15))
----
5
7
9

statement ok
DELETE FROM tab3 WHERE ((col1 > 28.63) AND col3 >= 15)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 > 28.63) AND col3 >= 15)
----

query I rowsort label-3260
SELECT pk FROM tab3 WHERE NOT (((col1 > 28.63) AND col3 >= 15))
----
5
7
9

statement ok
DELETE FROM tab4 WHERE ((col1 > 28.63) AND col3 >= 15)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 > 28.63) AND col3 >= 15)
----

query I rowsort label-3260
SELECT pk FROM tab4 WHERE NOT (((col1 > 28.63) AND col3 >= 15))
----
5
7
9

statement ok
DELETE FROM tab0 WHERE col1 > 42.48 OR col3 >= 38

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 42.48 OR col3 >= 38
----

query I rowsort label-3275
SELECT pk FROM tab0 WHERE NOT (col1 > 42.48 OR col3 >= 38)
----

statement ok
DELETE FROM tab1 WHERE col1 > 42.48 OR col3 >= 38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 42.48 OR col3 >= 38
----

query I rowsort label-3275
SELECT pk FROM tab1 WHERE NOT (col1 > 42.48 OR col3 >= 38)
----

statement ok
DELETE FROM tab2 WHERE col1 > 42.48 OR col3 >= 38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 42.48 OR col3 >= 38
----

query I rowsort label-3275
SELECT pk FROM tab2 WHERE NOT (col1 > 42.48 OR col3 >= 38)
----

statement ok
DELETE FROM tab3 WHERE col1 > 42.48 OR col3 >= 38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 42.48 OR col3 >= 38
----

query I rowsort label-3275
SELECT pk FROM tab3 WHERE NOT (col1 > 42.48 OR col3 >= 38)
----

statement ok
DELETE FROM tab4 WHERE col1 > 42.48 OR col3 >= 38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 42.48 OR col3 >= 38
----

query I rowsort label-3275
SELECT pk FROM tab4 WHERE NOT (col1 > 42.48 OR col3 >= 38)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,69,40.72,'sjugj',31,90.14,'qkhtn')

statement ok
INSERT INTO tab0 VALUES(1,58,0.74,'biced',14,40.61,'lvxqm')

statement ok
INSERT INTO tab0 VALUES(2,68,26.45,'xqhzc',42,84.87,'ornly')

statement ok
INSERT INTO tab0 VALUES(3,17,18.22,'xagwz',9,95.15,'clrjq')

statement ok
INSERT INTO tab0 VALUES(4,2,36.69,'xnzzm',46,32.3,'cnfqz')

statement ok
INSERT INTO tab0 VALUES(5,15,59.89,'qrwuq',32,10.51,'ihyus')

statement ok
INSERT INTO tab0 VALUES(6,52,48.33,'hmsxs',10,57.18,'vjfsm')

statement ok
INSERT INTO tab0 VALUES(7,29,13.20,'dwdls',96,75.32,'nnotn')

statement ok
INSERT INTO tab0 VALUES(8,92,70.42,'ekfba',92,9.3,'wagvg')

statement ok
INSERT INTO tab0 VALUES(9,28,4.79,'tscbz',3,4.36,'nrcrx')

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,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 DESC,col0 DESC,col3 DESC)

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 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3,col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 IN (44,24,39))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IN (44,24,39))
----

query I rowsort label-3290
SELECT pk FROM tab0 WHERE NOT ((col0 IN (44,24,39)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 IN (44,24,39))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IN (44,24,39))
----

query I rowsort label-3290
SELECT pk FROM tab1 WHERE NOT ((col0 IN (44,24,39)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 IN (44,24,39))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IN (44,24,39))
----

query I rowsort label-3290
SELECT pk FROM tab2 WHERE NOT ((col0 IN (44,24,39)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 IN (44,24,39))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IN (44,24,39))
----

query I rowsort label-3290
SELECT pk FROM tab3 WHERE NOT ((col0 IN (44,24,39)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 IN (44,24,39))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IN (44,24,39))
----

query I rowsort label-3290
SELECT pk FROM tab4 WHERE NOT ((col0 IN (44,24,39)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73))))
----

query I rowsort label-3305
SELECT pk FROM tab0 WHERE NOT (((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73))))
----

query I rowsort label-3305
SELECT pk FROM tab1 WHERE NOT (((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73))))
----

query I rowsort label-3305
SELECT pk FROM tab2 WHERE NOT (((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73))))
----

query I rowsort label-3305
SELECT pk FROM tab3 WHERE NOT (((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73))))
----

query I rowsort label-3305
SELECT pk FROM tab4 WHERE NOT (((col3 <= 79) AND col0 <= 22 AND col0 > 24 AND (((col4 = 97.73)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56)
----

query I rowsort label-3320
SELECT pk FROM tab0 WHERE NOT (col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56))
----
7
8

statement ok
DELETE FROM tab1 WHERE col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56)
----

query I rowsort label-3320
SELECT pk FROM tab1 WHERE NOT (col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56))
----
7
8

statement ok
DELETE FROM tab2 WHERE col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56)
----

query I rowsort label-3320
SELECT pk FROM tab2 WHERE NOT (col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56))
----
7
8

statement ok
DELETE FROM tab3 WHERE col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56)
----

query I rowsort label-3320
SELECT pk FROM tab3 WHERE NOT (col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56))
----
7
8

statement ok
DELETE FROM tab4 WHERE col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56)
----

query I rowsort label-3320
SELECT pk FROM tab4 WHERE NOT (col3 <= 74 OR (col4 > 60.4) AND col3 > 23 AND col1 > 93.4 AND col0 BETWEEN 92 AND 83 AND (col3 > 56))
----
7
8

statement ok
DELETE FROM tab0 WHERE (col3 >= 97)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 97)
----

query I rowsort label-3335
SELECT pk FROM tab0 WHERE NOT ((col3 >= 97))
----
7
8

statement ok
DELETE FROM tab1 WHERE (col3 >= 97)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 97)
----

query I rowsort label-3335
SELECT pk FROM tab1 WHERE NOT ((col3 >= 97))
----
7
8

statement ok
DELETE FROM tab2 WHERE (col3 >= 97)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 97)
----

query I rowsort label-3335
SELECT pk FROM tab2 WHERE NOT ((col3 >= 97))
----
7
8

statement ok
DELETE FROM tab3 WHERE (col3 >= 97)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 97)
----

query I rowsort label-3335
SELECT pk FROM tab3 WHERE NOT ((col3 >= 97))
----
7
8

statement ok
DELETE FROM tab4 WHERE (col3 >= 97)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 97)
----

query I rowsort label-3335
SELECT pk FROM tab4 WHERE NOT ((col3 >= 97))
----
7
8

statement ok
DELETE FROM tab0 WHERE col0 > 52

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 52
----

query I rowsort label-3350
SELECT pk FROM tab0 WHERE NOT (col0 > 52)
----
7

statement ok
DELETE FROM tab1 WHERE col0 > 52

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 52
----

query I rowsort label-3350
SELECT pk FROM tab1 WHERE NOT (col0 > 52)
----
7

statement ok
DELETE FROM tab2 WHERE col0 > 52

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 52
----

query I rowsort label-3350
SELECT pk FROM tab2 WHERE NOT (col0 > 52)
----
7

statement ok
DELETE FROM tab3 WHERE col0 > 52

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 52
----

query I rowsort label-3350
SELECT pk FROM tab3 WHERE NOT (col0 > 52)
----
7

statement ok
DELETE FROM tab4 WHERE col0 > 52

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 52
----

query I rowsort label-3350
SELECT pk FROM tab4 WHERE NOT (col0 > 52)
----
7

statement ok
DELETE FROM tab0 WHERE col4 > 53.16

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 53.16
----

query I rowsort label-3365
SELECT pk FROM tab0 WHERE NOT (col4 > 53.16)
----

statement ok
DELETE FROM tab1 WHERE col4 > 53.16

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 53.16
----

query I rowsort label-3365
SELECT pk FROM tab1 WHERE NOT (col4 > 53.16)
----

statement ok
DELETE FROM tab2 WHERE col4 > 53.16

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 53.16
----

query I rowsort label-3365
SELECT pk FROM tab2 WHERE NOT (col4 > 53.16)
----

statement ok
DELETE FROM tab3 WHERE col4 > 53.16

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 53.16
----

query I rowsort label-3365
SELECT pk FROM tab3 WHERE NOT (col4 > 53.16)
----

statement ok
DELETE FROM tab4 WHERE col4 > 53.16

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 53.16
----

query I rowsort label-3365
SELECT pk FROM tab4 WHERE NOT (col4 > 53.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,66,89.82,'guznw',51,71.2,'ktjuu')

statement ok
INSERT INTO tab0 VALUES(1,8,99.58,'jizrb',97,53.32,'bqwtk')

statement ok
INSERT INTO tab0 VALUES(2,86,52.0,'enolb',19,47.55,'ooaxm')

statement ok
INSERT INTO tab0 VALUES(3,50,27.90,'qrurr',34,33.49,'bjdyb')

statement ok
INSERT INTO tab0 VALUES(4,87,93.31,'irrru',99,63.67,'pomvg')

statement ok
INSERT INTO tab0 VALUES(5,27,80.53,'udbto',27,31.47,'mluwd')

statement ok
INSERT INTO tab0 VALUES(6,67,35.31,'hrbdl',96,30.29,'cjazb')

statement ok
INSERT INTO tab0 VALUES(7,72,85.96,'nvvcn',63,13.62,'mpwqo')

statement ok
INSERT INTO tab0 VALUES(8,95,3.46,'zgbeh',78,61.22,'wuker')

statement ok
INSERT INTO tab0 VALUES(9,85,68.61,'vxrgd',95,43.21,'mtwuy')

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,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 DESC)

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 (col1 DESC,col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 > 88 AND col1 <= 10.36

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 88 AND col1 <= 10.36
----

query I rowsort label-3380
SELECT pk FROM tab0 WHERE NOT (col0 > 88 AND col1 <= 10.36)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab1 WHERE col0 > 88 AND col1 <= 10.36

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 88 AND col1 <= 10.36
----

query I rowsort label-3380
SELECT pk FROM tab1 WHERE NOT (col0 > 88 AND col1 <= 10.36)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab2 WHERE col0 > 88 AND col1 <= 10.36

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 88 AND col1 <= 10.36
----

query I rowsort label-3380
SELECT pk FROM tab2 WHERE NOT (col0 > 88 AND col1 <= 10.36)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab3 WHERE col0 > 88 AND col1 <= 10.36

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 88 AND col1 <= 10.36
----

query I rowsort label-3380
SELECT pk FROM tab3 WHERE NOT (col0 > 88 AND col1 <= 10.36)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab4 WHERE col0 > 88 AND col1 <= 10.36

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 88 AND col1 <= 10.36
----

query I rowsort label-3380
SELECT pk FROM tab4 WHERE NOT (col0 > 88 AND col1 <= 10.36)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab0 WHERE col0 >= 44

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 44
----

query I rowsort label-3395
SELECT pk FROM tab0 WHERE NOT (col0 >= 44)
----
1
5

statement ok
DELETE FROM tab1 WHERE col0 >= 44

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 44
----

query I rowsort label-3395
SELECT pk FROM tab1 WHERE NOT (col0 >= 44)
----
1
5

statement ok
DELETE FROM tab2 WHERE col0 >= 44

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 44
----

query I rowsort label-3395
SELECT pk FROM tab2 WHERE NOT (col0 >= 44)
----
1
5

statement ok
DELETE FROM tab3 WHERE col0 >= 44

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 44
----

query I rowsort label-3395
SELECT pk FROM tab3 WHERE NOT (col0 >= 44)
----
1
5

statement ok
DELETE FROM tab4 WHERE col0 >= 44

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 44
----

query I rowsort label-3395
SELECT pk FROM tab4 WHERE NOT (col0 >= 44)
----
1
5

statement ok
DELETE FROM tab0 WHERE (col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11
----

query I rowsort label-3410
SELECT pk FROM tab0 WHERE NOT ((col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11)
----

statement ok
DELETE FROM tab1 WHERE (col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11
----

query I rowsort label-3410
SELECT pk FROM tab1 WHERE NOT ((col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11)
----

statement ok
DELETE FROM tab2 WHERE (col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11
----

query I rowsort label-3410
SELECT pk FROM tab2 WHERE NOT ((col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11)
----

statement ok
DELETE FROM tab3 WHERE (col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11
----

query I rowsort label-3410
SELECT pk FROM tab3 WHERE NOT ((col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11)
----

statement ok
DELETE FROM tab4 WHERE (col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR col0 >= 11
----

query I rowsort label-3410
SELECT pk FROM tab4 WHERE NOT ((col1 >= 71.2 AND col3 = 17 AND col3 >= 66 OR col3 >= 78 AND col0 <= 76 OR col0 <= 39) OR 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,63,83.87,'oppml',51,52.16,'wkkgc')

statement ok
INSERT INTO tab0 VALUES(1,5,84.86,'sufam',70,88.18,'tegko')

statement ok
INSERT INTO tab0 VALUES(2,43,43.0,'ylnkn',63,0.53,'hnfam')

statement ok
INSERT INTO tab0 VALUES(3,23,66.99,'xvvcg',92,37.53,'fhshk')

statement ok
INSERT INTO tab0 VALUES(4,44,2.17,'eaozi',6,1.95,'vohpm')

statement ok
INSERT INTO tab0 VALUES(5,17,54.15,'oupuq',96,51.67,'eicao')

statement ok
INSERT INTO tab0 VALUES(6,30,98.48,'dxgwj',64,31.28,'cztak')

statement ok
INSERT INTO tab0 VALUES(7,11,91.22,'icmtb',78,66.74,'kblbu')

statement ok
INSERT INTO tab0 VALUES(8,91,85.59,'dlwry',45,87.94,'cwggn')

statement ok
INSERT INTO tab0 VALUES(9,62,40.60,'ebynw',62,35.41,'gbfyt')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4,col3,col1)

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 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col0 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2))
----

query I rowsort label-3425
SELECT pk FROM tab0 WHERE NOT ((((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2))
----

query I rowsort label-3425
SELECT pk FROM tab1 WHERE NOT ((((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2))
----

query I rowsort label-3425
SELECT pk FROM tab2 WHERE NOT ((((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2))
----

query I rowsort label-3425
SELECT pk FROM tab3 WHERE NOT ((((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2))
----

query I rowsort label-3425
SELECT pk FROM tab4 WHERE NOT ((((col3 < 69)) AND col3 > 63 AND col0 IS NULL AND (col1 >= 29.98) AND (col1 = 88.2)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93)
----

query I rowsort label-3440
SELECT pk FROM tab0 WHERE NOT (((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93)
----

query I rowsort label-3440
SELECT pk FROM tab1 WHERE NOT (((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93)
----

query I rowsort label-3440
SELECT pk FROM tab2 WHERE NOT (((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93)
----

query I rowsort label-3440
SELECT pk FROM tab3 WHERE NOT (((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93)
----

query I rowsort label-3440
SELECT pk FROM tab4 WHERE NOT (((col4 IN (40.39,11.9)) OR ((col0 < 99) AND (col0 < 82 AND col3 >= 21) AND (col4 IS NULL) AND ((((col1 < 36.54 AND col1 > 48.22)) OR col3 IS NULL OR col3 = 80) AND col3 >= 20 OR (col0 IS NULL) OR ((col0 > 29)))) AND (col4 <= 73.3 OR col0 > 51 AND col1 = 62.76 AND col3 > 70) AND col0 < 61 AND col0 >= 31 AND col0 IN (69) AND col4 <= 41.93))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74)
----

query I rowsort label-3455
SELECT pk FROM tab0 WHERE NOT ((col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74))
----

statement ok
DELETE FROM tab1 WHERE (col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74)
----

query I rowsort label-3455
SELECT pk FROM tab1 WHERE NOT ((col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74))
----

statement ok
DELETE FROM tab2 WHERE (col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74)
----

query I rowsort label-3455
SELECT pk FROM tab2 WHERE NOT ((col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74))
----

statement ok
DELETE FROM tab3 WHERE (col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74)
----

query I rowsort label-3455
SELECT pk FROM tab3 WHERE NOT ((col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74))
----

statement ok
DELETE FROM tab4 WHERE (col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 74)
----

query I rowsort label-3455
SELECT pk FROM tab4 WHERE NOT ((col3 >= 32 OR ((col0 > 61)) AND ((col0 = 89)) OR ((col3 BETWEEN 75 AND 5)) AND ((col0 <= 71 AND (((col1 > 36.64 OR (col4 < 32.19)))) AND col1 < 33.46) AND (col1 >= 45.98 AND ((((col0 < 63))))) OR ((col1 > 57.64 OR ((((col4 >= 21.69 OR col3 <= 56))) AND (col4 > 30.35)) AND col4 >= 13.97 OR col0 > 14 AND (((col3 > 42) AND col0 <= 43) AND col0 > 97 AND ((col4 >= 65.59 OR col1 >= 57.16 AND col3 IN (89,98,23,91,6,23)))) AND col1 >= 31.1 AND col0 > 63)) OR col4 = 91.49) OR col0 > 1 AND col4 > 23.54 OR col0 < 82 AND (col0 >= 13) OR (col3 > 9 OR (col3 >= 62) OR ((col3 >= 82) OR col4 BETWEEN 76.69 AND 65.49 AND col4 < 87.89) AND (col3 < 39) OR ((col0 < 55))) AND col4 > 24.79 OR (col4 IS NULL) OR col3 < 18 AND col0 = 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,58,17.34,'sioku',73,0.6,'qehfq')

statement ok
INSERT INTO tab0 VALUES(1,2,95.99,'ytind',20,55.8,'almku')

statement ok
INSERT INTO tab0 VALUES(2,49,8.70,'bqjzd',34,26.60,'ihoia')

statement ok
INSERT INTO tab0 VALUES(3,32,53.90,'zbbpb',15,1.33,'oerhy')

statement ok
INSERT INTO tab0 VALUES(4,86,9.48,'dywsl',2,57.24,'zteew')

statement ok
INSERT INTO tab0 VALUES(5,16,54.37,'xwmxf',30,75.15,'hqsra')

statement ok
INSERT INTO tab0 VALUES(6,57,75.21,'opcqs',98,53.41,'oxjir')

statement ok
INSERT INTO tab0 VALUES(7,34,85.95,'jthuw',26,19.48,'qvwvf')

statement ok
INSERT INTO tab0 VALUES(8,29,30.47,'vihjj',22,41.58,'yknxi')

statement ok
INSERT INTO tab0 VALUES(9,41,3.23,'tmedq',41,42.30,'xaosc')

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_2 ON tab2 (col4,col3)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1,col0 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
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4,col0,col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1,col0,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 < 53.80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 53.80
----

query I rowsort label-3470
SELECT pk FROM tab0 WHERE NOT (col4 < 53.80)
----
1
4
5

statement ok
DELETE FROM tab1 WHERE col4 < 53.80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 53.80
----

query I rowsort label-3470
SELECT pk FROM tab1 WHERE NOT (col4 < 53.80)
----
1
4
5

statement ok
DELETE FROM tab2 WHERE col4 < 53.80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 53.80
----

query I rowsort label-3470
SELECT pk FROM tab2 WHERE NOT (col4 < 53.80)
----
1
4
5

statement ok
DELETE FROM tab3 WHERE col4 < 53.80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 53.80
----

query I rowsort label-3470
SELECT pk FROM tab3 WHERE NOT (col4 < 53.80)
----
1
4
5

statement ok
DELETE FROM tab4 WHERE col4 < 53.80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 53.80
----

query I rowsort label-3470
SELECT pk FROM tab4 WHERE NOT (col4 < 53.80)
----
1
4
5

statement ok
DELETE FROM tab0 WHERE (col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46)
----

query I rowsort label-3485
SELECT pk FROM tab0 WHERE NOT ((col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46))
----

statement ok
DELETE FROM tab1 WHERE (col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46)
----

query I rowsort label-3485
SELECT pk FROM tab1 WHERE NOT ((col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46))
----

statement ok
DELETE FROM tab2 WHERE (col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46)
----

query I rowsort label-3485
SELECT pk FROM tab2 WHERE NOT ((col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46))
----

statement ok
DELETE FROM tab3 WHERE (col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46)
----

query I rowsort label-3485
SELECT pk FROM tab3 WHERE NOT ((col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46))
----

statement ok
DELETE FROM tab4 WHERE (col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46)
----

query I rowsort label-3485
SELECT pk FROM tab4 WHERE NOT ((col3 > 64 OR (col0 > 99 AND (col0 = 78)) OR col3 = 37 AND ((col0 < 20)) AND col1 < 53.30 OR col3 < 70) OR col0 > 87 OR ((col4 <= 39.69) AND col3 >= 50) AND (col4 > 73.54 AND col0 IS NULL AND (col0 IN (91,50,74)) AND col3 <= 7 OR col3 < 46))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,90,35.49,'tdzsx',68,5.22,'fhvqe')

statement ok
INSERT INTO tab0 VALUES(1,47,92.95,'sjqwp',67,44.23,'ssajy')

statement ok
INSERT INTO tab0 VALUES(2,9,98.57,'xqube',60,85.24,'ttjtu')

statement ok
INSERT INTO tab0 VALUES(3,91,0.21,'tatbz',41,35.22,'klfnf')

statement ok
INSERT INTO tab0 VALUES(4,29,73.90,'lqmwn',58,41.12,'ciplm')

statement ok
INSERT INTO tab0 VALUES(5,49,34.40,'ukonq',77,95.44,'lwgbs')

statement ok
INSERT INTO tab0 VALUES(6,25,56.85,'nskll',45,50.87,'pjufy')

statement ok
INSERT INTO tab0 VALUES(7,39,76.38,'lwkht',48,32.90,'djxuj')

statement ok
INSERT INTO tab0 VALUES(8,51,11.77,'ivanv',81,53.48,'lmjei')

statement ok
INSERT INTO tab0 VALUES(9,54,69.5,'hwxyx',4,21.62,'puebn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1 DESC,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4,col1)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (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 (col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4 DESC,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89)
----

query I rowsort label-3500
SELECT pk FROM tab0 WHERE NOT (((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89))
----

statement ok
DELETE FROM tab1 WHERE ((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89)
----

query I rowsort label-3500
SELECT pk FROM tab1 WHERE NOT (((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89))
----

statement ok
DELETE FROM tab2 WHERE ((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89)
----

query I rowsort label-3500
SELECT pk FROM tab2 WHERE NOT (((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89))
----

statement ok
DELETE FROM tab3 WHERE ((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89)
----

query I rowsort label-3500
SELECT pk FROM tab3 WHERE NOT (((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89))
----

statement ok
DELETE FROM tab4 WHERE ((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 89)
----

query I rowsort label-3500
SELECT pk FROM tab4 WHERE NOT (((col4 > 50.43) AND col1 > 89.87 OR (col3 >= 19 OR (col3 <= 46) AND col0 = 27) AND col4 < 44.49) OR (col3 < 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,26,40.39,'cwxjm',16,83.91,'nkrkz')

statement ok
INSERT INTO tab0 VALUES(1,35,55.65,'comge',3,54.9,'hozaq')

statement ok
INSERT INTO tab0 VALUES(2,89,84.60,'ihmxw',30,17.68,'vrtuf')

statement ok
INSERT INTO tab0 VALUES(3,0,66.69,'lwqhe',55,73.26,'ntior')

statement ok
INSERT INTO tab0 VALUES(4,27,7.38,'bkalo',89,74.99,'vzivc')

statement ok
INSERT INTO tab0 VALUES(5,82,41.30,'jinqw',4,77.73,'hbauj')

statement ok
INSERT INTO tab0 VALUES(6,52,95.36,'rouid',47,16.19,'sednt')

statement ok
INSERT INTO tab0 VALUES(7,1,46.85,'cpmma',58,57.6,'ceiel')

statement ok
INSERT INTO tab0 VALUES(8,92,89.61,'frepn',74,61.8,'htxyj')

statement ok
INSERT INTO tab0 VALUES(9,93,96.9,'qxxwo',48,53.23,'ilmgt')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0,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 (col0 DESC,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 UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0 DESC,col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 = 32

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 32
----

query I rowsort label-3515
SELECT pk FROM tab0 WHERE NOT (col3 = 32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 = 32

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 32
----

query I rowsort label-3515
SELECT pk FROM tab1 WHERE NOT (col3 = 32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 = 32

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 32
----

query I rowsort label-3515
SELECT pk FROM tab2 WHERE NOT (col3 = 32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 = 32

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 32
----

query I rowsort label-3515
SELECT pk FROM tab3 WHERE NOT (col3 = 32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 = 32

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 32
----

query I rowsort label-3515
SELECT pk FROM tab4 WHERE NOT (col3 = 32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31
----

query I rowsort label-3530
SELECT pk FROM tab0 WHERE NOT (col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31)
----
0
4
7

statement ok
DELETE FROM tab1 WHERE col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31
----

query I rowsort label-3530
SELECT pk FROM tab1 WHERE NOT (col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31)
----
0
4
7

statement ok
DELETE FROM tab2 WHERE col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31
----

query I rowsort label-3530
SELECT pk FROM tab2 WHERE NOT (col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31)
----
0
4
7

statement ok
DELETE FROM tab3 WHERE col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31
----

query I rowsort label-3530
SELECT pk FROM tab3 WHERE NOT (col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31)
----
0
4
7

statement ok
DELETE FROM tab4 WHERE col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31
----

query I rowsort label-3530
SELECT pk FROM tab4 WHERE NOT (col0 = 74 AND col3 <= 84 AND (col3 >= 45) OR (col3 <= 9) OR (((col3 <= 6) AND col0 <= 8)) AND col0 > 59 AND col0 > 82 AND col3 < 32 AND (col0 <= 8) OR ((col3 > 55)) AND col3 = 87 AND (col1 > 65.43) AND (((col4 = 59.41) OR col0 >= 7) OR col3 >= 46) OR col0 IN (19,1,68,9) AND (col4 >= 63.28) AND (col3 = 36) OR col1 > 50.94 OR (col3 >= 49 AND ((col0 IS NULL)) AND col0 <= 99 AND col3 >= 87) AND col3 <= 90 AND col4 = 6.31)
----
0
4
7

statement ok
DELETE FROM tab0 WHERE col4 >= 59.49

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 59.49
----

query I rowsort label-3545
SELECT pk FROM tab0 WHERE NOT (col4 >= 59.49)
----
7

statement ok
DELETE FROM tab1 WHERE col4 >= 59.49

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 59.49
----

query I rowsort label-3545
SELECT pk FROM tab1 WHERE NOT (col4 >= 59.49)
----
7

statement ok
DELETE FROM tab2 WHERE col4 >= 59.49

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 59.49
----

query I rowsort label-3545
SELECT pk FROM tab2 WHERE NOT (col4 >= 59.49)
----
7

statement ok
DELETE FROM tab3 WHERE col4 >= 59.49

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 59.49
----

query I rowsort label-3545
SELECT pk FROM tab3 WHERE NOT (col4 >= 59.49)
----
7

statement ok
DELETE FROM tab4 WHERE col4 >= 59.49

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 59.49
----

query I rowsort label-3545
SELECT pk FROM tab4 WHERE NOT (col4 >= 59.49)
----
7

statement ok
DELETE FROM tab0 WHERE col3 IN (66,71,51,58,42)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (66,71,51,58,42)
----

query I rowsort label-3560
SELECT pk FROM tab0 WHERE NOT (col3 IN (66,71,51,58,42))
----

statement ok
DELETE FROM tab1 WHERE col3 IN (66,71,51,58,42)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (66,71,51,58,42)
----

query I rowsort label-3560
SELECT pk FROM tab1 WHERE NOT (col3 IN (66,71,51,58,42))
----

statement ok
DELETE FROM tab2 WHERE col3 IN (66,71,51,58,42)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (66,71,51,58,42)
----

query I rowsort label-3560
SELECT pk FROM tab2 WHERE NOT (col3 IN (66,71,51,58,42))
----

statement ok
DELETE FROM tab3 WHERE col3 IN (66,71,51,58,42)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (66,71,51,58,42)
----

query I rowsort label-3560
SELECT pk FROM tab3 WHERE NOT (col3 IN (66,71,51,58,42))
----

statement ok
DELETE FROM tab4 WHERE col3 IN (66,71,51,58,42)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (66,71,51,58,42)
----

query I rowsort label-3560
SELECT pk FROM tab4 WHERE NOT (col3 IN (66,71,51,58,42))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,85,93.43,'ujlxo',88,64.48,'bejqm')

statement ok
INSERT INTO tab0 VALUES(1,89,65.69,'xvclu',51,23.44,'khkgv')

statement ok
INSERT INTO tab0 VALUES(2,72,40.6,'myfxq',86,62.68,'jrrjv')

statement ok
INSERT INTO tab0 VALUES(3,39,62.71,'wjsns',25,35.1,'hypng')

statement ok
INSERT INTO tab0 VALUES(4,80,9.61,'wgibu',45,65.11,'xmsxw')

statement ok
INSERT INTO tab0 VALUES(5,86,66.68,'nfddm',78,9.68,'yykka')

statement ok
INSERT INTO tab0 VALUES(6,57,78.92,'pohev',26,20.54,'rcizj')

statement ok
INSERT INTO tab0 VALUES(7,22,21.53,'ijqmz',65,8.80,'padok')

statement ok
INSERT INTO tab0 VALUES(8,42,56.1,'xoips',73,5.92,'bjced')

statement ok
INSERT INTO tab0 VALUES(9,32,98.35,'fdlgd',30,25.88,'xgsgr')

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,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3)

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 (col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4,col1 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,75,1.26,'pluig',7,5.90,'clwxz')

statement ok
INSERT INTO tab0 VALUES(1,96,22.26,'golei',3,27.27,'suyol')

statement ok
INSERT INTO tab0 VALUES(2,45,97.0,'gtjbz',60,96.91,'bxgzp')

statement ok
INSERT INTO tab0 VALUES(3,44,89.70,'jxvxi',40,52.75,'wzevk')

statement ok
INSERT INTO tab0 VALUES(4,99,7.26,'myqzv',97,61.95,'dkjpn')

statement ok
INSERT INTO tab0 VALUES(5,16,65.41,'xdvvy',89,78.6,'vtpru')

statement ok
INSERT INTO tab0 VALUES(6,8,48.78,'hchjr',90,7.11,'igjkc')

statement ok
INSERT INTO tab0 VALUES(7,13,71.9,'bakfi',5,63.75,'gnhjv')

statement ok
INSERT INTO tab0 VALUES(8,5,42.21,'brpqc',79,40.38,'wzakn')

statement ok
INSERT INTO tab0 VALUES(9,4,26.34,'gnbvp',11,67.27,'zvssp')

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 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col4,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67)
----

query I rowsort label-3575
SELECT pk FROM tab0 WHERE NOT (((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67))
----
2
4
5
6
8

statement ok
DELETE FROM tab1 WHERE ((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67)
----

query I rowsort label-3575
SELECT pk FROM tab1 WHERE NOT (((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67))
----
2
4
5
6
8

statement ok
DELETE FROM tab2 WHERE ((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67)
----

query I rowsort label-3575
SELECT pk FROM tab2 WHERE NOT (((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67))
----
2
4
5
6
8

statement ok
DELETE FROM tab3 WHERE ((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67)
----

query I rowsort label-3575
SELECT pk FROM tab3 WHERE NOT (((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67))
----
2
4
5
6
8

statement ok
DELETE FROM tab4 WHERE ((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67)
----

query I rowsort label-3575
SELECT pk FROM tab4 WHERE NOT (((col3 <= 94) AND ((col3 < 57)) OR col3 <= 39 AND col4 IS NULL OR col3 = 48 AND (col0 > 22) AND col4 >= 47.67))
----
2
4
5
6
8

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,38,37.48,'axyqz',53,91.64,'wmsnz')

statement ok
INSERT INTO tab0 VALUES(1,77,36.22,'budjm',38,22.63,'vwxbv')

statement ok
INSERT INTO tab0 VALUES(2,63,68.24,'byndj',99,98.44,'gogzl')

statement ok
INSERT INTO tab0 VALUES(3,96,87.25,'phetq',57,16.60,'hwezy')

statement ok
INSERT INTO tab0 VALUES(4,44,46.16,'udlvm',54,99.87,'msstq')

statement ok
INSERT INTO tab0 VALUES(5,54,53.8,'byudb',72,55.30,'mzhdi')

statement ok
INSERT INTO tab0 VALUES(6,67,38.55,'pufnz',41,50.40,'mpdbj')

statement ok
INSERT INTO tab0 VALUES(7,30,11.59,'cfyfz',51,60.26,'apdyv')

statement ok
INSERT INTO tab0 VALUES(8,9,33.87,'iobup',70,41.66,'njhrl')

statement ok
INSERT INTO tab0 VALUES(9,99,69.82,'vydjq',52,85.20,'aqkqf')

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 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 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 (col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0 DESC,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
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,88.37,'oezpc',91,61.19,'saafq')

statement ok
INSERT INTO tab0 VALUES(1,21,19.81,'njinc',35,29.31,'njcjw')

statement ok
INSERT INTO tab0 VALUES(2,6,36.54,'mojms',6,42.75,'szwql')

statement ok
INSERT INTO tab0 VALUES(3,79,3.78,'hkyvz',71,28.91,'ryqzi')

statement ok
INSERT INTO tab0 VALUES(4,23,0.35,'bfbbo',32,6.33,'herdk')

statement ok
INSERT INTO tab0 VALUES(5,65,78.81,'ovswh',42,51.87,'mfzqb')

statement ok
INSERT INTO tab0 VALUES(6,82,29.62,'bckkr',9,62.83,'ynzau')

statement ok
INSERT INTO tab0 VALUES(7,22,42.19,'urujv',19,11.7,'pobxu')

statement ok
INSERT INTO tab0 VALUES(8,7,72.8,'oijbt',41,22.12,'kaccr')

statement ok
INSERT INTO tab0 VALUES(9,55,97.10,'ocxpf',40,23.31,'xrgsz')

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_2 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0,col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_3 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 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 >= 48)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 48)
----

query I rowsort label-3590
SELECT pk FROM tab0 WHERE NOT ((col0 >= 48))
----
1
2
4
7
8

statement ok
DELETE FROM tab1 WHERE (col0 >= 48)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 48)
----

query I rowsort label-3590
SELECT pk FROM tab1 WHERE NOT ((col0 >= 48))
----
1
2
4
7
8

statement ok
DELETE FROM tab2 WHERE (col0 >= 48)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 48)
----

query I rowsort label-3590
SELECT pk FROM tab2 WHERE NOT ((col0 >= 48))
----
1
2
4
7
8

statement ok
DELETE FROM tab3 WHERE (col0 >= 48)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 48)
----

query I rowsort label-3590
SELECT pk FROM tab3 WHERE NOT ((col0 >= 48))
----
1
2
4
7
8

statement ok
DELETE FROM tab4 WHERE (col0 >= 48)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 48)
----

query I rowsort label-3590
SELECT pk FROM tab4 WHERE NOT ((col0 >= 48))
----
1
2
4
7
8

statement ok
DELETE FROM tab0 WHERE ((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53
----

query I rowsort label-3605
SELECT pk FROM tab0 WHERE NOT (((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53)
----
1
2
4
7
8

statement ok
DELETE FROM tab1 WHERE ((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53
----

query I rowsort label-3605
SELECT pk FROM tab1 WHERE NOT (((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53)
----
1
2
4
7
8

statement ok
DELETE FROM tab2 WHERE ((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53
----

query I rowsort label-3605
SELECT pk FROM tab2 WHERE NOT (((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53)
----
1
2
4
7
8

statement ok
DELETE FROM tab3 WHERE ((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53
----

query I rowsort label-3605
SELECT pk FROM tab3 WHERE NOT (((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53)
----
1
2
4
7
8

statement ok
DELETE FROM tab4 WHERE ((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53
----

query I rowsort label-3605
SELECT pk FROM tab4 WHERE NOT (((col0 IN (39,50,22,43))) AND (col3 > 1) AND col3 >= 96 OR col1 = 83.9 AND (col0 IN (20,71)) AND col0 < 58 AND col3 = 85 OR col3 >= 53)
----
1
2
4
7
8

statement ok
DELETE FROM tab0 WHERE col3 < 57

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 57
----

query I rowsort label-3620
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-3620
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-3620
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-3620
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-3620
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,33,40.6,'galfy',6,2.54,'jkerg')

statement ok
INSERT INTO tab0 VALUES(1,28,47.35,'gzabz',20,25.46,'izldr')

statement ok
INSERT INTO tab0 VALUES(2,74,37.51,'wqcbf',31,6.58,'gnsbv')

statement ok
INSERT INTO tab0 VALUES(3,13,65.59,'bawsn',29,55.33,'vtgsn')

statement ok
INSERT INTO tab0 VALUES(4,36,34.18,'bmrhw',62,7.30,'krjlb')

statement ok
INSERT INTO tab0 VALUES(5,99,53.62,'xsoqa',47,87.33,'ltwbv')

statement ok
INSERT INTO tab0 VALUES(6,34,7.6,'eaapc',83,77.67,'fcsqw')

statement ok
INSERT INTO tab0 VALUES(7,60,12.64,'mjmzf',64,73.11,'kmsxo')

statement ok
INSERT INTO tab0 VALUES(8,100,83.56,'fkzqg',92,49.8,'urehh')

statement ok
INSERT INTO tab0 VALUES(9,86,96.26,'dwytf',87,19.77,'tgjzz')

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)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC,col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4 DESC,col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4,col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 < 64 OR col0 > 2 OR (col0 < 63)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 64 OR col0 > 2 OR (col0 < 63)
----

query I rowsort label-3635
SELECT pk FROM tab0 WHERE NOT (col0 < 64 OR col0 > 2 OR (col0 < 63))
----

statement ok
DELETE FROM tab1 WHERE col0 < 64 OR col0 > 2 OR (col0 < 63)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 64 OR col0 > 2 OR (col0 < 63)
----

query I rowsort label-3635
SELECT pk FROM tab1 WHERE NOT (col0 < 64 OR col0 > 2 OR (col0 < 63))
----

statement ok
DELETE FROM tab2 WHERE col0 < 64 OR col0 > 2 OR (col0 < 63)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 64 OR col0 > 2 OR (col0 < 63)
----

query I rowsort label-3635
SELECT pk FROM tab2 WHERE NOT (col0 < 64 OR col0 > 2 OR (col0 < 63))
----

statement ok
DELETE FROM tab3 WHERE col0 < 64 OR col0 > 2 OR (col0 < 63)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 64 OR col0 > 2 OR (col0 < 63)
----

query I rowsort label-3635
SELECT pk FROM tab3 WHERE NOT (col0 < 64 OR col0 > 2 OR (col0 < 63))
----

statement ok
DELETE FROM tab4 WHERE col0 < 64 OR col0 > 2 OR (col0 < 63)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 64 OR col0 > 2 OR (col0 < 63)
----

query I rowsort label-3635
SELECT pk FROM tab4 WHERE NOT (col0 < 64 OR col0 > 2 OR (col0 < 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,91,9.63,'urxtm',26,97.64,'mjodo')

statement ok
INSERT INTO tab0 VALUES(1,80,63.91,'tzptt',62,58.54,'hgmaz')

statement ok
INSERT INTO tab0 VALUES(2,92,60.1,'kdkxi',44,56.53,'tuzdk')

statement ok
INSERT INTO tab0 VALUES(3,38,48.12,'gqgwv',10,59.24,'bkciv')

statement ok
INSERT INTO tab0 VALUES(4,33,55.8,'utixw',11,92.49,'tigsq')

statement ok
INSERT INTO tab0 VALUES(5,16,50.49,'gubdt',19,7.46,'iarqb')

statement ok
INSERT INTO tab0 VALUES(6,54,4.88,'dglou',54,37.78,'xwccw')

statement ok
INSERT INTO tab0 VALUES(7,61,53.76,'vrvih',79,64.67,'xukpy')

statement ok
INSERT INTO tab0 VALUES(8,8,65.84,'hdnrz',24,77.6,'nxfly')

statement ok
INSERT INTO tab0 VALUES(9,36,94.7,'sbjfp',94,41.74,'lantz')

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_2 ON tab2 (col0,col4)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1,col3 DESC,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,59,35.94,'rckcg',36,49.37,'jjbuh')

statement ok
INSERT INTO tab0 VALUES(1,44,23.95,'xctpq',63,98.19,'meyuz')

statement ok
INSERT INTO tab0 VALUES(2,97,93.37,'rsbec',42,28.94,'emctu')

statement ok
INSERT INTO tab0 VALUES(3,1,52.49,'xwpcz',73,93.42,'wures')

statement ok
INSERT INTO tab0 VALUES(4,0,16.16,'trcbr',75,91.8,'yoqyj')

statement ok
INSERT INTO tab0 VALUES(5,14,80.96,'imlez',95,29.14,'pwnlu')

statement ok
INSERT INTO tab0 VALUES(6,50,79.27,'hbldb',27,84.68,'ixzuz')

statement ok
INSERT INTO tab0 VALUES(7,13,48.41,'jsemt',18,66.81,'pxgvr')

statement ok
INSERT INTO tab0 VALUES(8,21,87.80,'ejvml',83,81.76,'midis')

statement ok
INSERT INTO tab0 VALUES(9,16,24.2,'rujkm',19,92.2,'hwhfx')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col0,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,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_2 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 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3,col4 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC,col3)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,37,42.31,'nwpvk',48,57.44,'ekuga')

statement ok
INSERT INTO tab0 VALUES(1,36,37.41,'zynzb',60,42.23,'rineb')

statement ok
INSERT INTO tab0 VALUES(2,63,50.46,'vtano',69,54.26,'ybyav')

statement ok
INSERT INTO tab0 VALUES(3,45,79.7,'fuvne',30,2.87,'yqkvt')

statement ok
INSERT INTO tab0 VALUES(4,21,87.10,'ppvjl',20,37.20,'iyjns')

statement ok
INSERT INTO tab0 VALUES(5,55,54.74,'loxrv',47,13.26,'baxvw')

statement ok
INSERT INTO tab0 VALUES(6,52,48.63,'wjisg',62,51.12,'afnrc')

statement ok
INSERT INTO tab0 VALUES(7,66,83.1,'dzogv',76,98.96,'pdmbw')

statement ok
INSERT INTO tab0 VALUES(8,16,82.84,'nsuvm',70,96.28,'kxvjr')

statement ok
INSERT INTO tab0 VALUES(9,95,41.89,'pnqwj',3,35.95,'wfqjq')

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 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 (col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3,col0 DESC,col4)

statement ok
CREATE UNIQUE 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 INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 = 80.51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 80.51
----

query I rowsort label-3650
SELECT pk FROM tab0 WHERE NOT (col4 = 80.51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 = 80.51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 80.51
----

query I rowsort label-3650
SELECT pk FROM tab1 WHERE NOT (col4 = 80.51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 = 80.51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 80.51
----

query I rowsort label-3650
SELECT pk FROM tab2 WHERE NOT (col4 = 80.51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 = 80.51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 80.51
----

query I rowsort label-3650
SELECT pk FROM tab3 WHERE NOT (col4 = 80.51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 = 80.51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 80.51
----

query I rowsort label-3650
SELECT pk FROM tab4 WHERE NOT (col4 = 80.51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 > 31.65

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 31.65
----

query I rowsort label-3665
SELECT pk FROM tab0 WHERE NOT (col4 > 31.65)
----
3
5

statement ok
DELETE FROM tab1 WHERE col4 > 31.65

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 31.65
----

query I rowsort label-3665
SELECT pk FROM tab1 WHERE NOT (col4 > 31.65)
----
3
5

statement ok
DELETE FROM tab2 WHERE col4 > 31.65

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 31.65
----

query I rowsort label-3665
SELECT pk FROM tab2 WHERE NOT (col4 > 31.65)
----
3
5

statement ok
DELETE FROM tab3 WHERE col4 > 31.65

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 31.65
----

query I rowsort label-3665
SELECT pk FROM tab3 WHERE NOT (col4 > 31.65)
----
3
5

statement ok
DELETE FROM tab4 WHERE col4 > 31.65

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 31.65
----

query I rowsort label-3665
SELECT pk FROM tab4 WHERE NOT (col4 > 31.65)
----
3
5

statement ok
DELETE FROM tab0 WHERE col4 = 31.47

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 31.47
----

query I rowsort label-3680
SELECT pk FROM tab0 WHERE NOT (col4 = 31.47)
----
3
5

statement ok
DELETE FROM tab1 WHERE col4 = 31.47

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 31.47
----

query I rowsort label-3680
SELECT pk FROM tab1 WHERE NOT (col4 = 31.47)
----
3
5

statement ok
DELETE FROM tab2 WHERE col4 = 31.47

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 31.47
----

query I rowsort label-3680
SELECT pk FROM tab2 WHERE NOT (col4 = 31.47)
----
3
5

statement ok
DELETE FROM tab3 WHERE col4 = 31.47

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 31.47
----

query I rowsort label-3680
SELECT pk FROM tab3 WHERE NOT (col4 = 31.47)
----
3
5

statement ok
DELETE FROM tab4 WHERE col4 = 31.47

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 31.47
----

query I rowsort label-3680
SELECT pk FROM tab4 WHERE NOT (col4 = 31.47)
----
3
5

statement ok
DELETE FROM tab0 WHERE col0 < 50

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 50
----

query I rowsort label-3695
SELECT pk FROM tab0 WHERE NOT (col0 < 50)
----
5

statement ok
DELETE FROM tab1 WHERE col0 < 50

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 50
----

query I rowsort label-3695
SELECT pk FROM tab1 WHERE NOT (col0 < 50)
----
5

statement ok
DELETE FROM tab2 WHERE col0 < 50

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 50
----

query I rowsort label-3695
SELECT pk FROM tab2 WHERE NOT (col0 < 50)
----
5

statement ok
DELETE FROM tab3 WHERE col0 < 50

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 50
----

query I rowsort label-3695
SELECT pk FROM tab3 WHERE NOT (col0 < 50)
----
5

statement ok
DELETE FROM tab4 WHERE col0 < 50

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 50
----

query I rowsort label-3695
SELECT pk FROM tab4 WHERE NOT (col0 < 50)
----
5

statement ok
DELETE FROM tab0 WHERE col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30)
----

query I rowsort label-3710
SELECT pk FROM tab0 WHERE NOT (col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30))
----
5

statement ok
DELETE FROM tab1 WHERE col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30)
----

query I rowsort label-3710
SELECT pk FROM tab1 WHERE NOT (col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30))
----
5

statement ok
DELETE FROM tab2 WHERE col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30)
----

query I rowsort label-3710
SELECT pk FROM tab2 WHERE NOT (col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30))
----
5

statement ok
DELETE FROM tab3 WHERE col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30)
----

query I rowsort label-3710
SELECT pk FROM tab3 WHERE NOT (col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30))
----
5

statement ok
DELETE FROM tab4 WHERE col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30)
----

query I rowsort label-3710
SELECT pk FROM tab4 WHERE NOT (col3 <= 88 AND (((col4 < 80.87) AND (col4 < 64.14)) AND col3 < 30))
----
5

statement ok
DELETE FROM tab0 WHERE col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 14
----

query I rowsort label-3725
SELECT pk FROM tab0 WHERE NOT (col0 >= 14)
----

statement ok
DELETE FROM tab1 WHERE col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 14
----

query I rowsort label-3725
SELECT pk FROM tab1 WHERE NOT (col0 >= 14)
----

statement ok
DELETE FROM tab2 WHERE col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 14
----

query I rowsort label-3725
SELECT pk FROM tab2 WHERE NOT (col0 >= 14)
----

statement ok
DELETE FROM tab3 WHERE col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 14
----

query I rowsort label-3725
SELECT pk FROM tab3 WHERE NOT (col0 >= 14)
----

statement ok
DELETE FROM tab4 WHERE col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 14
----

query I rowsort label-3725
SELECT pk FROM tab4 WHERE NOT (col0 >= 14)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,43,50.23,'jacua',17,94.71,'ebrsj')

statement ok
INSERT INTO tab0 VALUES(1,18,73.31,'fbdyz',16,14.9,'uzkqu')

statement ok
INSERT INTO tab0 VALUES(2,78,15.7,'uaikr',92,79.31,'tqjum')

statement ok
INSERT INTO tab0 VALUES(3,48,56.50,'xeydh',89,9.18,'mjfdt')

statement ok
INSERT INTO tab0 VALUES(4,19,74.71,'zzqcj',77,51.69,'umfqd')

statement ok
INSERT INTO tab0 VALUES(5,66,0.11,'qfbfg',60,42.14,'ndagv')

statement ok
INSERT INTO tab0 VALUES(6,55,90.47,'ielrv',94,71.31,'dkeif')

statement ok
INSERT INTO tab0 VALUES(7,56,81.6,'aqjxb',96,39.52,'lrumu')

statement ok
INSERT INTO tab0 VALUES(8,61,57.79,'rfbsr',57,25.80,'dmctm')

statement ok
INSERT INTO tab0 VALUES(9,89,8.36,'chlnw',55,49.0,'lwexn')

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)

statement ok
CREATE UNIQUE 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 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 > 68.96

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 68.96
----

query I rowsort label-3740
SELECT pk FROM tab0 WHERE NOT (col1 > 68.96)
----
0
2
3
5
8
9

statement ok
DELETE FROM tab1 WHERE col1 > 68.96

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 68.96
----

query I rowsort label-3740
SELECT pk FROM tab1 WHERE NOT (col1 > 68.96)
----
0
2
3
5
8
9

statement ok
DELETE FROM tab2 WHERE col1 > 68.96

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 68.96
----

query I rowsort label-3740
SELECT pk FROM tab2 WHERE NOT (col1 > 68.96)
----
0
2
3
5
8
9

statement ok
DELETE FROM tab3 WHERE col1 > 68.96

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 68.96
----

query I rowsort label-3740
SELECT pk FROM tab3 WHERE NOT (col1 > 68.96)
----
0
2
3
5
8
9

statement ok
DELETE FROM tab4 WHERE col1 > 68.96

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 68.96
----

query I rowsort label-3740
SELECT pk FROM tab4 WHERE NOT (col1 > 68.96)
----
0
2
3
5
8
9

statement ok
DELETE FROM tab0 WHERE (col4 <= 0.65) OR col0 >= 37

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 <= 0.65) OR col0 >= 37
----

query I rowsort label-3755
SELECT pk FROM tab0 WHERE NOT ((col4 <= 0.65) OR col0 >= 37)
----

statement ok
DELETE FROM tab1 WHERE (col4 <= 0.65) OR col0 >= 37

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 <= 0.65) OR col0 >= 37
----

query I rowsort label-3755
SELECT pk FROM tab1 WHERE NOT ((col4 <= 0.65) OR col0 >= 37)
----

statement ok
DELETE FROM tab2 WHERE (col4 <= 0.65) OR col0 >= 37

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 <= 0.65) OR col0 >= 37
----

query I rowsort label-3755
SELECT pk FROM tab2 WHERE NOT ((col4 <= 0.65) OR col0 >= 37)
----

statement ok
DELETE FROM tab3 WHERE (col4 <= 0.65) OR col0 >= 37

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 <= 0.65) OR col0 >= 37
----

query I rowsort label-3755
SELECT pk FROM tab3 WHERE NOT ((col4 <= 0.65) OR col0 >= 37)
----

statement ok
DELETE FROM tab4 WHERE (col4 <= 0.65) OR col0 >= 37

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 <= 0.65) OR col0 >= 37
----

query I rowsort label-3755
SELECT pk FROM tab4 WHERE NOT ((col4 <= 0.65) OR col0 >= 37)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,70,41.69,'qcpuz',18,80.74,'xupry')

statement ok
INSERT INTO tab0 VALUES(1,51,81.44,'hgvol',28,57.85,'hlebe')

statement ok
INSERT INTO tab0 VALUES(2,56,85.70,'rpeek',25,6.35,'jwnpu')

statement ok
INSERT INTO tab0 VALUES(3,52,94.94,'dmsry',39,75.57,'xwyun')

statement ok
INSERT INTO tab0 VALUES(4,48,18.72,'pzyvx',79,84.71,'voeqn')

statement ok
INSERT INTO tab0 VALUES(5,66,39.32,'wsxty',89,32.53,'osphi')

statement ok
INSERT INTO tab0 VALUES(6,93,29.38,'rmirt',19,16.95,'arhva')

statement ok
INSERT INTO tab0 VALUES(7,53,60.49,'yrrid',82,38.65,'tserk')

statement ok
INSERT INTO tab0 VALUES(8,64,19.86,'rejud',16,21.76,'exfkb')

statement ok
INSERT INTO tab0 VALUES(9,3,20.89,'iuwxe',50,20.39,'llkdn')

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 (col3 DESC,col1)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1,col3)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1,col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85
----

query I rowsort label-3770
SELECT pk FROM tab0 WHERE NOT (((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85
----

query I rowsort label-3770
SELECT pk FROM tab1 WHERE NOT (((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85
----

query I rowsort label-3770
SELECT pk FROM tab2 WHERE NOT (((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85
----

query I rowsort label-3770
SELECT pk FROM tab3 WHERE NOT (((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85
----

query I rowsort label-3770
SELECT pk FROM tab4 WHERE NOT (((col3 >= 54)) AND col3 < 30 AND col3 IS NULL AND col0 > 62 AND col3 < 35 AND col3 > 85)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL)
----

query I rowsort label-3785
SELECT pk FROM tab0 WHERE NOT (col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL)
----

query I rowsort label-3785
SELECT pk FROM tab1 WHERE NOT (col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL)
----

query I rowsort label-3785
SELECT pk FROM tab2 WHERE NOT (col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL)
----

query I rowsort label-3785
SELECT pk FROM tab3 WHERE NOT (col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL)
----

query I rowsort label-3785
SELECT pk FROM tab4 WHERE NOT (col1 > 94.13 AND ((((col0 > 70 OR col0 = 84 AND ((col3 >= 7 OR (col3 < 98)) AND col4 > 87.99 OR ((col3 >= 5))) AND ((col4 > 43.87)) OR col3 > 81 OR col1 > 17.4))) AND col3 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 = 6.9

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 6.9
----

query I rowsort label-3800
SELECT pk FROM tab0 WHERE NOT (col4 = 6.9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 = 6.9

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 6.9
----

query I rowsort label-3800
SELECT pk FROM tab1 WHERE NOT (col4 = 6.9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 = 6.9

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 6.9
----

query I rowsort label-3800
SELECT pk FROM tab2 WHERE NOT (col4 = 6.9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 = 6.9

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 6.9
----

query I rowsort label-3800
SELECT pk FROM tab3 WHERE NOT (col4 = 6.9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 = 6.9

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 6.9
----

query I rowsort label-3800
SELECT pk FROM tab4 WHERE NOT (col4 = 6.9)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col4 > 58.40)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 58.40)
----

query I rowsort label-3815
SELECT pk FROM tab0 WHERE NOT ((col4 > 58.40))
----
1
2
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col4 > 58.40)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 58.40)
----

query I rowsort label-3815
SELECT pk FROM tab1 WHERE NOT ((col4 > 58.40))
----
1
2
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col4 > 58.40)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 58.40)
----

query I rowsort label-3815
SELECT pk FROM tab2 WHERE NOT ((col4 > 58.40))
----
1
2
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col4 > 58.40)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 58.40)
----

query I rowsort label-3815
SELECT pk FROM tab3 WHERE NOT ((col4 > 58.40))
----
1
2
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col4 > 58.40)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 58.40)
----

query I rowsort label-3815
SELECT pk FROM tab4 WHERE NOT ((col4 > 58.40))
----
1
2
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col1 >= 38.51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 38.51
----

query I rowsort label-3830
SELECT pk FROM tab0 WHERE NOT (col1 >= 38.51)
----
6
8
9

statement ok
DELETE FROM tab1 WHERE col1 >= 38.51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 38.51
----

query I rowsort label-3830
SELECT pk FROM tab1 WHERE NOT (col1 >= 38.51)
----
6
8
9

statement ok
DELETE FROM tab2 WHERE col1 >= 38.51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 38.51
----

query I rowsort label-3830
SELECT pk FROM tab2 WHERE NOT (col1 >= 38.51)
----
6
8
9

statement ok
DELETE FROM tab3 WHERE col1 >= 38.51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 38.51
----

query I rowsort label-3830
SELECT pk FROM tab3 WHERE NOT (col1 >= 38.51)
----
6
8
9

statement ok
DELETE FROM tab4 WHERE col1 >= 38.51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 38.51
----

query I rowsort label-3830
SELECT pk FROM tab4 WHERE NOT (col1 >= 38.51)
----
6
8
9

statement ok
DELETE FROM tab0 WHERE (col3 >= 78)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 78)
----

query I rowsort label-3845
SELECT pk FROM tab0 WHERE NOT ((col3 >= 78))
----
6
8
9

statement ok
DELETE FROM tab1 WHERE (col3 >= 78)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 78)
----

query I rowsort label-3845
SELECT pk FROM tab1 WHERE NOT ((col3 >= 78))
----
6
8
9

statement ok
DELETE FROM tab2 WHERE (col3 >= 78)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 78)
----

query I rowsort label-3845
SELECT pk FROM tab2 WHERE NOT ((col3 >= 78))
----
6
8
9

statement ok
DELETE FROM tab3 WHERE (col3 >= 78)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 78)
----

query I rowsort label-3845
SELECT pk FROM tab3 WHERE NOT ((col3 >= 78))
----
6
8
9

statement ok
DELETE FROM tab4 WHERE (col3 >= 78)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 78)
----

query I rowsort label-3845
SELECT pk FROM tab4 WHERE NOT ((col3 >= 78))
----
6
8
9

statement ok
DELETE FROM tab0 WHERE ((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13)))
----

query I rowsort label-3860
SELECT pk FROM tab0 WHERE NOT (((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13))))
----
6
8

statement ok
DELETE FROM tab1 WHERE ((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13)))
----

query I rowsort label-3860
SELECT pk FROM tab1 WHERE NOT (((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13))))
----
6
8

statement ok
DELETE FROM tab2 WHERE ((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13)))
----

query I rowsort label-3860
SELECT pk FROM tab2 WHERE NOT (((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13))))
----
6
8

statement ok
DELETE FROM tab3 WHERE ((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13)))
----

query I rowsort label-3860
SELECT pk FROM tab3 WHERE NOT (((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13))))
----
6
8

statement ok
DELETE FROM tab4 WHERE ((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13)))
----

query I rowsort label-3860
SELECT pk FROM tab4 WHERE NOT (((col3 IS NULL OR col0 IN (89,38,84,26) OR (col4 > 78.44) OR col3 > 34 OR col3 = 78 AND col4 = 89.80 AND col3 < 65 OR ((col0 IS NULL) AND (col3 >= 2) AND col0 = 13))))
----
6
8

statement ok
DELETE FROM tab0 WHERE col3 <= 46

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 46
----

query I rowsort label-3875
SELECT pk FROM tab0 WHERE NOT (col3 <= 46)
----

statement ok
DELETE FROM tab1 WHERE col3 <= 46

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 46
----

query I rowsort label-3875
SELECT pk FROM tab1 WHERE NOT (col3 <= 46)
----

statement ok
DELETE FROM tab2 WHERE col3 <= 46

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 46
----

query I rowsort label-3875
SELECT pk FROM tab2 WHERE NOT (col3 <= 46)
----

statement ok
DELETE FROM tab3 WHERE col3 <= 46

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 46
----

query I rowsort label-3875
SELECT pk FROM tab3 WHERE NOT (col3 <= 46)
----

statement ok
DELETE FROM tab4 WHERE col3 <= 46

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 46
----

query I rowsort label-3875
SELECT pk FROM tab4 WHERE NOT (col3 <= 46)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,6,47.21,'ubjli',59,6.5,'dokzb')

statement ok
INSERT INTO tab0 VALUES(1,81,41.18,'kwnpj',2,20.90,'zibtg')

statement ok
INSERT INTO tab0 VALUES(2,44,50.78,'mtpzk',46,99.35,'uduer')

statement ok
INSERT INTO tab0 VALUES(3,7,59.97,'nxvbr',47,84.73,'botpe')

statement ok
INSERT INTO tab0 VALUES(4,67,90.59,'lmetl',34,8.56,'puqbr')

statement ok
INSERT INTO tab0 VALUES(5,71,15.2,'njtuj',65,11.20,'stttj')

statement ok
INSERT INTO tab0 VALUES(6,82,70.76,'qrvoi',93,49.47,'kgbux')

statement ok
INSERT INTO tab0 VALUES(7,31,61.8,'jmwns',28,10.26,'ixism')

statement ok
INSERT INTO tab0 VALUES(8,95,86.66,'diuzn',98,26.17,'dskgz')

statement ok
INSERT INTO tab0 VALUES(9,48,38.19,'gabrm',11,83.13,'loduy')

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 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_1 ON tab3 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1 DESC,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
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,59.88,'mbsyf',25,26.12,'sjpjd')

statement ok
INSERT INTO tab0 VALUES(1,54,80.30,'oipdh',2,27.95,'meoya')

statement ok
INSERT INTO tab0 VALUES(2,65,15.26,'ppnuf',48,35.55,'gmwfx')

statement ok
INSERT INTO tab0 VALUES(3,67,4.25,'ccceo',10,87.60,'aeelr')

statement ok
INSERT INTO tab0 VALUES(4,64,14.91,'gjvul',1,23.48,'sowpu')

statement ok
INSERT INTO tab0 VALUES(5,30,3.15,'hnwjc',9,58.42,'pmsoh')

statement ok
INSERT INTO tab0 VALUES(6,20,82.29,'ienfh',11,41.61,'flmec')

statement ok
INSERT INTO tab0 VALUES(7,85,78.17,'vsyai',81,19.32,'stokw')

statement ok
INSERT INTO tab0 VALUES(8,82,97.28,'kjrgj',14,95.5,'spplk')

statement ok
INSERT INTO tab0 VALUES(9,90,86.90,'gjjfc',24,99.61,'tfdyn')

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)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4 DESC,col1 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4 DESC,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 >= 63

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 63
----

query I rowsort label-3890
SELECT pk FROM tab0 WHERE NOT (col0 >= 63)
----
1
5
6

statement ok
DELETE FROM tab1 WHERE col0 >= 63

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 63
----

query I rowsort label-3890
SELECT pk FROM tab1 WHERE NOT (col0 >= 63)
----
1
5
6

statement ok
DELETE FROM tab2 WHERE col0 >= 63

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 63
----

query I rowsort label-3890
SELECT pk FROM tab2 WHERE NOT (col0 >= 63)
----
1
5
6

statement ok
DELETE FROM tab3 WHERE col0 >= 63

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 63
----

query I rowsort label-3890
SELECT pk FROM tab3 WHERE NOT (col0 >= 63)
----
1
5
6

statement ok
DELETE FROM tab4 WHERE col0 >= 63

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 63
----

query I rowsort label-3890
SELECT pk FROM tab4 WHERE NOT (col0 >= 63)
----
1
5
6

statement ok
DELETE FROM tab0 WHERE (col0 = 60) AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 60) AND col4 IS NULL
----

query I rowsort label-3905
SELECT pk FROM tab0 WHERE NOT ((col0 = 60) AND col4 IS NULL)
----
1
5
6

statement ok
DELETE FROM tab1 WHERE (col0 = 60) AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 60) AND col4 IS NULL
----

query I rowsort label-3905
SELECT pk FROM tab1 WHERE NOT ((col0 = 60) AND col4 IS NULL)
----
1
5
6

statement ok
DELETE FROM tab2 WHERE (col0 = 60) AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 60) AND col4 IS NULL
----

query I rowsort label-3905
SELECT pk FROM tab2 WHERE NOT ((col0 = 60) AND col4 IS NULL)
----
1
5
6

statement ok
DELETE FROM tab3 WHERE (col0 = 60) AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 60) AND col4 IS NULL
----

query I rowsort label-3905
SELECT pk FROM tab3 WHERE NOT ((col0 = 60) AND col4 IS NULL)
----
1
5
6

statement ok
DELETE FROM tab4 WHERE (col0 = 60) AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 60) AND col4 IS NULL
----

query I rowsort label-3905
SELECT pk FROM tab4 WHERE NOT ((col0 = 60) AND col4 IS NULL)
----
1
5
6

statement ok
DELETE FROM tab0 WHERE col1 > 4.71

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 4.71
----

query I rowsort label-3920
SELECT pk FROM tab0 WHERE NOT (col1 > 4.71)
----
5

statement ok
DELETE FROM tab1 WHERE col1 > 4.71

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 4.71
----

query I rowsort label-3920
SELECT pk FROM tab1 WHERE NOT (col1 > 4.71)
----
5

statement ok
DELETE FROM tab2 WHERE col1 > 4.71

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 4.71
----

query I rowsort label-3920
SELECT pk FROM tab2 WHERE NOT (col1 > 4.71)
----
5

statement ok
DELETE FROM tab3 WHERE col1 > 4.71

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 4.71
----

query I rowsort label-3920
SELECT pk FROM tab3 WHERE NOT (col1 > 4.71)
----
5

statement ok
DELETE FROM tab4 WHERE col1 > 4.71

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 4.71
----

query I rowsort label-3920
SELECT pk FROM tab4 WHERE NOT (col1 > 4.71)
----
5

statement ok
DELETE FROM tab0 WHERE col0 < 56

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 56
----

query I rowsort label-3935
SELECT pk FROM tab0 WHERE NOT (col0 < 56)
----

statement ok
DELETE FROM tab1 WHERE col0 < 56

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 56
----

query I rowsort label-3935
SELECT pk FROM tab1 WHERE NOT (col0 < 56)
----

statement ok
DELETE FROM tab2 WHERE col0 < 56

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 56
----

query I rowsort label-3935
SELECT pk FROM tab2 WHERE NOT (col0 < 56)
----

statement ok
DELETE FROM tab3 WHERE col0 < 56

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 56
----

query I rowsort label-3935
SELECT pk FROM tab3 WHERE NOT (col0 < 56)
----

statement ok
DELETE FROM tab4 WHERE col0 < 56

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 56
----

query I rowsort label-3935
SELECT pk FROM tab4 WHERE NOT (col0 < 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,20,68.30,'ebdoj',84,24.69,'dpubk')

statement ok
INSERT INTO tab0 VALUES(1,3,18.52,'feone',49,43.59,'dxhyi')

statement ok
INSERT INTO tab0 VALUES(2,12,11.31,'nwazq',91,57.46,'kqswq')

statement ok
INSERT INTO tab0 VALUES(3,60,63.58,'evvdo',86,89.96,'rakxm')

statement ok
INSERT INTO tab0 VALUES(4,15,22.26,'dqyxj',21,30.81,'oyrzm')

statement ok
INSERT INTO tab0 VALUES(5,13,34.42,'agsft',9,94.95,'cdnxi')

statement ok
INSERT INTO tab0 VALUES(6,70,2.38,'pwlyg',99,88.62,'gchti')

statement ok
INSERT INTO tab0 VALUES(7,98,48.85,'ofddy',92,68.54,'tleqe')

statement ok
INSERT INTO tab0 VALUES(8,10,78.6,'zoxfy',44,6.96,'nyadl')

statement ok
INSERT INTO tab0 VALUES(9,42,46.84,'dwvyh',94,48.85,'mqsii')

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,col3)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col0 <= 61))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 <= 61))
----

query I rowsort label-3950
SELECT pk FROM tab0 WHERE NOT (((col0 <= 61)))
----
6
7

statement ok
DELETE FROM tab1 WHERE ((col0 <= 61))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 <= 61))
----

query I rowsort label-3950
SELECT pk FROM tab1 WHERE NOT (((col0 <= 61)))
----
6
7

statement ok
DELETE FROM tab2 WHERE ((col0 <= 61))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 <= 61))
----

query I rowsort label-3950
SELECT pk FROM tab2 WHERE NOT (((col0 <= 61)))
----
6
7

statement ok
DELETE FROM tab3 WHERE ((col0 <= 61))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 <= 61))
----

query I rowsort label-3950
SELECT pk FROM tab3 WHERE NOT (((col0 <= 61)))
----
6
7

statement ok
DELETE FROM tab4 WHERE ((col0 <= 61))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 <= 61))
----

query I rowsort label-3950
SELECT pk FROM tab4 WHERE NOT (((col0 <= 61)))
----
6
7

statement ok
DELETE FROM tab0 WHERE col3 <= 12

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 12
----

query I rowsort label-3965
SELECT pk FROM tab0 WHERE NOT (col3 <= 12)
----
6
7

statement ok
DELETE FROM tab1 WHERE col3 <= 12

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 12
----

query I rowsort label-3965
SELECT pk FROM tab1 WHERE NOT (col3 <= 12)
----
6
7

statement ok
DELETE FROM tab2 WHERE col3 <= 12

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 12
----

query I rowsort label-3965
SELECT pk FROM tab2 WHERE NOT (col3 <= 12)
----
6
7

statement ok
DELETE FROM tab3 WHERE col3 <= 12

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 12
----

query I rowsort label-3965
SELECT pk FROM tab3 WHERE NOT (col3 <= 12)
----
6
7

statement ok
DELETE FROM tab4 WHERE col3 <= 12

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 12
----

query I rowsort label-3965
SELECT pk FROM tab4 WHERE NOT (col3 <= 12)
----
6
7

statement ok
DELETE FROM tab0 WHERE ((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79)))
----

query I rowsort label-3980
SELECT pk FROM tab0 WHERE NOT (((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79))))
----
6
7

statement ok
DELETE FROM tab1 WHERE ((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79)))
----

query I rowsort label-3980
SELECT pk FROM tab1 WHERE NOT (((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79))))
----
6
7

statement ok
DELETE FROM tab2 WHERE ((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79)))
----

query I rowsort label-3980
SELECT pk FROM tab2 WHERE NOT (((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79))))
----
6
7

statement ok
DELETE FROM tab3 WHERE ((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79)))
----

query I rowsort label-3980
SELECT pk FROM tab3 WHERE NOT (((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79))))
----
6
7

statement ok
DELETE FROM tab4 WHERE ((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79)))
----

query I rowsort label-3980
SELECT pk FROM tab4 WHERE NOT (((col0 < 18) OR (col1 IN (76.10,13.60,82.30)) AND (col4 IN (99.94,83.68,23.12,4.79))))
----
6
7

statement ok
DELETE FROM tab0 WHERE col4 < 50.73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 50.73
----

query I rowsort label-3995
SELECT pk FROM tab0 WHERE NOT (col4 < 50.73)
----
6
7

statement ok
DELETE FROM tab1 WHERE col4 < 50.73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 50.73
----

query I rowsort label-3995
SELECT pk FROM tab1 WHERE NOT (col4 < 50.73)
----
6
7

statement ok
DELETE FROM tab2 WHERE col4 < 50.73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 50.73
----

query I rowsort label-3995
SELECT pk FROM tab2 WHERE NOT (col4 < 50.73)
----
6
7

statement ok
DELETE FROM tab3 WHERE col4 < 50.73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 50.73
----

query I rowsort label-3995
SELECT pk FROM tab3 WHERE NOT (col4 < 50.73)
----
6
7

statement ok
DELETE FROM tab4 WHERE col4 < 50.73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 50.73
----

query I rowsort label-3995
SELECT pk FROM tab4 WHERE NOT (col4 < 50.73)
----
6
7

statement ok
DELETE FROM tab0 WHERE (col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44)))
----

query I rowsort label-4010
SELECT pk FROM tab0 WHERE NOT ((col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44))))
----
6
7

statement ok
DELETE FROM tab1 WHERE (col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44)))
----

query I rowsort label-4010
SELECT pk FROM tab1 WHERE NOT ((col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44))))
----
6
7

statement ok
DELETE FROM tab2 WHERE (col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44)))
----

query I rowsort label-4010
SELECT pk FROM tab2 WHERE NOT ((col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44))))
----
6
7

statement ok
DELETE FROM tab3 WHERE (col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44)))
----

query I rowsort label-4010
SELECT pk FROM tab3 WHERE NOT ((col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44))))
----
6
7

statement ok
DELETE FROM tab4 WHERE (col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44)))
----

query I rowsort label-4010
SELECT pk FROM tab4 WHERE NOT ((col1 IS NULL AND ((col3 IS NULL OR col0 < 3 AND ((((col0 IN (18,28))) OR ((col0 >= 42))) OR col3 > 52 AND col0 > 22) OR col4 BETWEEN 49.59 AND 59.63 OR (col0 IS NULL OR (col1 < 90.17 AND (col1 > 29.7) OR col0 < 8)) AND (col4 >= 25.88) AND col3 >= 44))))
----
6
7

statement ok
DELETE FROM tab0 WHERE col0 >= 23 OR col4 > 1.41

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 23 OR col4 > 1.41
----

query I rowsort label-4025
SELECT pk FROM tab0 WHERE NOT (col0 >= 23 OR col4 > 1.41)
----

statement ok
DELETE FROM tab1 WHERE col0 >= 23 OR col4 > 1.41

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 23 OR col4 > 1.41
----

query I rowsort label-4025
SELECT pk FROM tab1 WHERE NOT (col0 >= 23 OR col4 > 1.41)
----

statement ok
DELETE FROM tab2 WHERE col0 >= 23 OR col4 > 1.41

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 23 OR col4 > 1.41
----

query I rowsort label-4025
SELECT pk FROM tab2 WHERE NOT (col0 >= 23 OR col4 > 1.41)
----

statement ok
DELETE FROM tab3 WHERE col0 >= 23 OR col4 > 1.41

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 23 OR col4 > 1.41
----

query I rowsort label-4025
SELECT pk FROM tab3 WHERE NOT (col0 >= 23 OR col4 > 1.41)
----

statement ok
DELETE FROM tab4 WHERE col0 >= 23 OR col4 > 1.41

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 23 OR col4 > 1.41
----

query I rowsort label-4025
SELECT pk FROM tab4 WHERE NOT (col0 >= 23 OR col4 > 1.41)
----

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,27.86,'whxjs',54,68.58,'tmmzt')

statement ok
INSERT INTO tab0 VALUES(1,53,39.26,'zknjq',67,36.1,'xkcoa')

statement ok
INSERT INTO tab0 VALUES(2,29,43.7,'uyikq',33,67.50,'nknpe')

statement ok
INSERT INTO tab0 VALUES(3,32,46.13,'sexnz',55,11.58,'wyjng')

statement ok
INSERT INTO tab0 VALUES(4,25,18.36,'xtjua',0,38.17,'fsrbm')

statement ok
INSERT INTO tab0 VALUES(5,16,9.32,'ojssj',53,53.17,'rkqvm')

statement ok
INSERT INTO tab0 VALUES(6,11,56.88,'amved',88,7.8,'scdyf')

statement ok
INSERT INTO tab0 VALUES(7,86,1.85,'sttut',21,9.65,'ybprg')

statement ok
INSERT INTO tab0 VALUES(8,45,2.56,'pyool',83,40.47,'ngccx')

statement ok
INSERT INTO tab0 VALUES(9,82,38.53,'zfssd',72,66.64,'bbtqh')

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_2 ON tab2 (col3)

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_1 ON tab3 (col3,col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 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 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col4 = 43.70) AND col3 < 30

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 = 43.70) AND col3 < 30
----

query I rowsort label-4040
SELECT pk FROM tab0 WHERE NOT ((col4 = 43.70) AND col3 < 30)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col4 = 43.70) AND col3 < 30

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 = 43.70) AND col3 < 30
----

query I rowsort label-4040
SELECT pk FROM tab1 WHERE NOT ((col4 = 43.70) AND col3 < 30)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col4 = 43.70) AND col3 < 30

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 = 43.70) AND col3 < 30
----

query I rowsort label-4040
SELECT pk FROM tab2 WHERE NOT ((col4 = 43.70) AND col3 < 30)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col4 = 43.70) AND col3 < 30

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 = 43.70) AND col3 < 30
----

query I rowsort label-4040
SELECT pk FROM tab3 WHERE NOT ((col4 = 43.70) AND col3 < 30)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col4 = 43.70) AND col3 < 30

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 = 43.70) AND col3 < 30
----

query I rowsort label-4040
SELECT pk FROM tab4 WHERE NOT ((col4 = 43.70) AND col3 < 30)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 > 75

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 75
----

query I rowsort label-4055
SELECT pk FROM tab0 WHERE NOT (col3 > 75)
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab1 WHERE col3 > 75

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 75
----

query I rowsort label-4055
SELECT pk FROM tab1 WHERE NOT (col3 > 75)
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab2 WHERE col3 > 75

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 75
----

query I rowsort label-4055
SELECT pk FROM tab2 WHERE NOT (col3 > 75)
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab3 WHERE col3 > 75

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 75
----

query I rowsort label-4055
SELECT pk FROM tab3 WHERE NOT (col3 > 75)
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab4 WHERE col3 > 75

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 75
----

query I rowsort label-4055
SELECT pk FROM tab4 WHERE NOT (col3 > 75)
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85)
----

query I rowsort label-4070
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85))
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85)
----

query I rowsort label-4070
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85))
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85)
----

query I rowsort label-4070
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85))
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85)
----

query I rowsort label-4070
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85))
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85)
----

query I rowsort label-4070
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 94 AND 59 AND (col3 >= 54) AND col0 = 84 AND (col3 < 12 AND col3 < 8 AND col3 < 85))
----
0
1
2
3
4
5
7
9

statement ok
DELETE FROM tab0 WHERE ((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49))
----

query I rowsort label-4085
SELECT pk FROM tab0 WHERE NOT (((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49)))
----
2
4

statement ok
DELETE FROM tab1 WHERE ((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49))
----

query I rowsort label-4085
SELECT pk FROM tab1 WHERE NOT (((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49)))
----
2
4

statement ok
DELETE FROM tab2 WHERE ((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49))
----

query I rowsort label-4085
SELECT pk FROM tab2 WHERE NOT (((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49)))
----
2
4

statement ok
DELETE FROM tab3 WHERE ((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49))
----

query I rowsort label-4085
SELECT pk FROM tab3 WHERE NOT (((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49)))
----
2
4

statement ok
DELETE FROM tab4 WHERE ((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49))
----

query I rowsort label-4085
SELECT pk FROM tab4 WHERE NOT (((col3 = 41 AND col3 < 17) AND (col3 <= 92 AND ((col0 > 42))) OR (((col4 BETWEEN 20.68 AND 58.86)) AND col3 = 16 AND (col0 > 33 OR col3 <= 75 OR col3 >= 7)) OR ((((col0 > 84) OR col1 < 12.67))) OR (col3 > 49)))
----
2
4

statement ok
DELETE FROM tab0 WHERE ((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92)
----

query I rowsort label-4100
SELECT pk FROM tab0 WHERE NOT (((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92))
----
4

statement ok
DELETE FROM tab1 WHERE ((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92)
----

query I rowsort label-4100
SELECT pk FROM tab1 WHERE NOT (((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92))
----
4

statement ok
DELETE FROM tab2 WHERE ((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92)
----

query I rowsort label-4100
SELECT pk FROM tab2 WHERE NOT (((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92))
----
4

statement ok
DELETE FROM tab3 WHERE ((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92)
----

query I rowsort label-4100
SELECT pk FROM tab3 WHERE NOT (((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92))
----
4

statement ok
DELETE FROM tab4 WHERE ((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92)
----

query I rowsort label-4100
SELECT pk FROM tab4 WHERE NOT (((col3 = 6 OR col0 <= 74 AND col0 < 6) AND col1 = 70.86 OR col1 >= 28.34 OR col1 <= 42.66 AND ((((col0 > 39)) OR col1 IN (55.79))) AND col0 >= 92))
----
4

statement ok
DELETE FROM tab0 WHERE col3 >= 10

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 10
----

query I rowsort label-4115
SELECT pk FROM tab0 WHERE NOT (col3 >= 10)
----
4

statement ok
DELETE FROM tab1 WHERE col3 >= 10

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 10
----

query I rowsort label-4115
SELECT pk FROM tab1 WHERE NOT (col3 >= 10)
----
4

statement ok
DELETE FROM tab2 WHERE col3 >= 10

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 10
----

query I rowsort label-4115
SELECT pk FROM tab2 WHERE NOT (col3 >= 10)
----
4

statement ok
DELETE FROM tab3 WHERE col3 >= 10

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 10
----

query I rowsort label-4115
SELECT pk FROM tab3 WHERE NOT (col3 >= 10)
----
4

statement ok
DELETE FROM tab4 WHERE col3 >= 10

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 10
----

query I rowsort label-4115
SELECT pk FROM tab4 WHERE NOT (col3 >= 10)
----
4

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL) OR col4 <= 96.9

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IS NULL) OR col4 <= 96.9
----

query I rowsort label-4130
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL) OR col4 <= 96.9)
----

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL) OR col4 <= 96.9

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IS NULL) OR col4 <= 96.9
----

query I rowsort label-4130
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL) OR col4 <= 96.9)
----

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL) OR col4 <= 96.9

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IS NULL) OR col4 <= 96.9
----

query I rowsort label-4130
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL) OR col4 <= 96.9)
----

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL) OR col4 <= 96.9

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IS NULL) OR col4 <= 96.9
----

query I rowsort label-4130
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL) OR col4 <= 96.9)
----

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL) OR col4 <= 96.9

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IS NULL) OR col4 <= 96.9
----

query I rowsort label-4130
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL) OR col4 <= 96.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,54,61.98,'ecflv',62,27.22,'ziolr')

statement ok
INSERT INTO tab0 VALUES(1,44,13.74,'aygvc',52,54.77,'prrum')

statement ok
INSERT INTO tab0 VALUES(2,62,20.18,'ijypm',91,77.52,'vfbvl')

statement ok
INSERT INTO tab0 VALUES(3,17,21.18,'jbgkj',15,60.63,'bxqee')

statement ok
INSERT INTO tab0 VALUES(4,9,79.84,'sjmza',30,47.76,'fhhua')

statement ok
INSERT INTO tab0 VALUES(5,92,1.3,'qthtp',77,82.67,'ytvsk')

statement ok
INSERT INTO tab0 VALUES(6,35,44.5,'fmzne',94,15.86,'qjgqt')

statement ok
INSERT INTO tab0 VALUES(7,86,30.27,'fjmxc',80,19.20,'qlskr')

statement ok
INSERT INTO tab0 VALUES(8,33,60.70,'mdmhv',53,99.52,'hevxe')

statement ok
INSERT INTO tab0 VALUES(9,68,24.68,'yitch',18,8.30,'chqlo')

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 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4,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,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3 DESC,col4,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4,col3 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC,col0 DESC,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 UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC,col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 < 60

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 60
----

query I rowsort label-4145
SELECT pk FROM tab0 WHERE NOT (col0 < 60)
----
2
5
7
9

statement ok
DELETE FROM tab1 WHERE col0 < 60

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 60
----

query I rowsort label-4145
SELECT pk FROM tab1 WHERE NOT (col0 < 60)
----
2
5
7
9

statement ok
DELETE FROM tab2 WHERE col0 < 60

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 60
----

query I rowsort label-4145
SELECT pk FROM tab2 WHERE NOT (col0 < 60)
----
2
5
7
9

statement ok
DELETE FROM tab3 WHERE col0 < 60

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 60
----

query I rowsort label-4145
SELECT pk FROM tab3 WHERE NOT (col0 < 60)
----
2
5
7
9

statement ok
DELETE FROM tab4 WHERE col0 < 60

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 60
----

query I rowsort label-4145
SELECT pk FROM tab4 WHERE NOT (col0 < 60)
----
2
5
7
9

statement ok
DELETE FROM tab0 WHERE col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44
----

query I rowsort label-4160
SELECT pk FROM tab0 WHERE NOT (col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44)
----

statement ok
DELETE FROM tab1 WHERE col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44
----

query I rowsort label-4160
SELECT pk FROM tab1 WHERE NOT (col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44)
----

statement ok
DELETE FROM tab2 WHERE col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44
----

query I rowsort label-4160
SELECT pk FROM tab2 WHERE NOT (col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44)
----

statement ok
DELETE FROM tab3 WHERE col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44
----

query I rowsort label-4160
SELECT pk FROM tab3 WHERE NOT (col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44)
----

statement ok
DELETE FROM tab4 WHERE col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR col3 > 44
----

query I rowsort label-4160
SELECT pk FROM tab4 WHERE NOT (col0 <= 45 AND (col4 IS NULL) AND ((col3 = 16) OR col3 < 70) OR (col0 > 47 AND col0 > 67 AND col1 <= 30.4 AND col1 < 50.8) OR 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,52,24.88,'cutls',31,58.63,'ufnow')

statement ok
INSERT INTO tab0 VALUES(1,70,39.81,'uhlpe',66,23.22,'izmim')

statement ok
INSERT INTO tab0 VALUES(2,75,62.90,'jpxnr',38,1.25,'neacj')

statement ok
INSERT INTO tab0 VALUES(3,88,85.79,'qxsmt',3,78.56,'rvcal')

statement ok
INSERT INTO tab0 VALUES(4,29,0.9,'qutlr',71,71.3,'wcjxj')

statement ok
INSERT INTO tab0 VALUES(5,30,67.45,'csdgi',23,94.66,'yhwoy')

statement ok
INSERT INTO tab0 VALUES(6,47,69.76,'grmsn',19,18.72,'wcoxz')

statement ok
INSERT INTO tab0 VALUES(7,73,81.19,'guwtt',14,36.84,'lpexr')

statement ok
INSERT INTO tab0 VALUES(8,49,29.38,'azemy',67,22.18,'bpnwk')

statement ok
INSERT INTO tab0 VALUES(9,82,51.54,'rowkv',54,96.54,'climi')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_1 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 (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 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61))))
----

query I rowsort label-4175
SELECT pk FROM tab0 WHERE NOT (col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61))))
----

query I rowsort label-4175
SELECT pk FROM tab1 WHERE NOT (col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61))))
----

query I rowsort label-4175
SELECT pk FROM tab2 WHERE NOT (col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61))))
----

query I rowsort label-4175
SELECT pk FROM tab3 WHERE NOT (col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61))))
----

query I rowsort label-4175
SELECT pk FROM tab4 WHERE NOT (col0 = 17 AND ((col4 >= 21.3 OR col1 > 77.52 OR (col3 = 28)) OR (col3 >= 27) OR col3 <= 52 AND ((col3 IN (11,54,16,48,67) OR (col4 > 56.61)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62))
----

query I rowsort label-4190
SELECT pk FROM tab0 WHERE NOT ((col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62))
----

query I rowsort label-4190
SELECT pk FROM tab1 WHERE NOT ((col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62))
----

query I rowsort label-4190
SELECT pk FROM tab2 WHERE NOT ((col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62))
----

query I rowsort label-4190
SELECT pk FROM tab3 WHERE NOT ((col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62))
----

query I rowsort label-4190
SELECT pk FROM tab4 WHERE NOT ((col0 <= 24 OR col0 BETWEEN 45 AND 51 AND col3 IN (56,54,25,33,62)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 > 58 OR (col3 < 33)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 58 OR (col3 < 33)
----

query I rowsort label-4205
SELECT pk FROM tab0 WHERE NOT (col0 > 58 OR (col3 < 33))
----
4
8

statement ok
DELETE FROM tab1 WHERE col0 > 58 OR (col3 < 33)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 58 OR (col3 < 33)
----

query I rowsort label-4205
SELECT pk FROM tab1 WHERE NOT (col0 > 58 OR (col3 < 33))
----
4
8

statement ok
DELETE FROM tab2 WHERE col0 > 58 OR (col3 < 33)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 58 OR (col3 < 33)
----

query I rowsort label-4205
SELECT pk FROM tab2 WHERE NOT (col0 > 58 OR (col3 < 33))
----
4
8

statement ok
DELETE FROM tab3 WHERE col0 > 58 OR (col3 < 33)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 58 OR (col3 < 33)
----

query I rowsort label-4205
SELECT pk FROM tab3 WHERE NOT (col0 > 58 OR (col3 < 33))
----
4
8

statement ok
DELETE FROM tab4 WHERE col0 > 58 OR (col3 < 33)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 58 OR (col3 < 33)
----

query I rowsort label-4205
SELECT pk FROM tab4 WHERE NOT (col0 > 58 OR (col3 < 33))
----
4
8

statement ok
DELETE FROM tab0 WHERE col3 > 69

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 69
----

query I rowsort label-4220
SELECT pk FROM tab0 WHERE NOT (col3 > 69)
----
8

statement ok
DELETE FROM tab1 WHERE col3 > 69

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 69
----

query I rowsort label-4220
SELECT pk FROM tab1 WHERE NOT (col3 > 69)
----
8

statement ok
DELETE FROM tab2 WHERE col3 > 69

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 69
----

query I rowsort label-4220
SELECT pk FROM tab2 WHERE NOT (col3 > 69)
----
8

statement ok
DELETE FROM tab3 WHERE col3 > 69

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 69
----

query I rowsort label-4220
SELECT pk FROM tab3 WHERE NOT (col3 > 69)
----
8

statement ok
DELETE FROM tab4 WHERE col3 > 69

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 69
----

query I rowsort label-4220
SELECT pk FROM tab4 WHERE NOT (col3 > 69)
----
8

statement ok
DELETE FROM tab0 WHERE col4 = 81.5

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 81.5
----

query I rowsort label-4235
SELECT pk FROM tab0 WHERE NOT (col4 = 81.5)
----
8

statement ok
DELETE FROM tab1 WHERE col4 = 81.5

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 81.5
----

query I rowsort label-4235
SELECT pk FROM tab1 WHERE NOT (col4 = 81.5)
----
8

statement ok
DELETE FROM tab2 WHERE col4 = 81.5

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 81.5
----

query I rowsort label-4235
SELECT pk FROM tab2 WHERE NOT (col4 = 81.5)
----
8

statement ok
DELETE FROM tab3 WHERE col4 = 81.5

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 81.5
----

query I rowsort label-4235
SELECT pk FROM tab3 WHERE NOT (col4 = 81.5)
----
8

statement ok
DELETE FROM tab4 WHERE col4 = 81.5

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 81.5
----

query I rowsort label-4235
SELECT pk FROM tab4 WHERE NOT (col4 = 81.5)
----
8

statement ok
DELETE FROM tab0 WHERE (col3 > 15 OR col0 <= 3) OR (col4 <= 42.84)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 15 OR col0 <= 3) OR (col4 <= 42.84)
----

query I rowsort label-4250
SELECT pk FROM tab0 WHERE NOT ((col3 > 15 OR col0 <= 3) OR (col4 <= 42.84))
----

statement ok
DELETE FROM tab1 WHERE (col3 > 15 OR col0 <= 3) OR (col4 <= 42.84)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 15 OR col0 <= 3) OR (col4 <= 42.84)
----

query I rowsort label-4250
SELECT pk FROM tab1 WHERE NOT ((col3 > 15 OR col0 <= 3) OR (col4 <= 42.84))
----

statement ok
DELETE FROM tab2 WHERE (col3 > 15 OR col0 <= 3) OR (col4 <= 42.84)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 15 OR col0 <= 3) OR (col4 <= 42.84)
----

query I rowsort label-4250
SELECT pk FROM tab2 WHERE NOT ((col3 > 15 OR col0 <= 3) OR (col4 <= 42.84))
----

statement ok
DELETE FROM tab3 WHERE (col3 > 15 OR col0 <= 3) OR (col4 <= 42.84)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 15 OR col0 <= 3) OR (col4 <= 42.84)
----

query I rowsort label-4250
SELECT pk FROM tab3 WHERE NOT ((col3 > 15 OR col0 <= 3) OR (col4 <= 42.84))
----

statement ok
DELETE FROM tab4 WHERE (col3 > 15 OR col0 <= 3) OR (col4 <= 42.84)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 15 OR col0 <= 3) OR (col4 <= 42.84)
----

query I rowsort label-4250
SELECT pk FROM tab4 WHERE NOT ((col3 > 15 OR col0 <= 3) OR (col4 <= 42.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,94,35.8,'ftfup',69,55.87,'qeolg')

statement ok
INSERT INTO tab0 VALUES(1,57,51.94,'gemsn',19,14.60,'wxrbz')

statement ok
INSERT INTO tab0 VALUES(2,20,16.39,'vmdfl',27,52.75,'vtsmx')

statement ok
INSERT INTO tab0 VALUES(3,0,44.2,'coqjh',5,3.36,'jqdan')

statement ok
INSERT INTO tab0 VALUES(4,42,65.98,'mfoxo',73,72.34,'qfbtw')

statement ok
INSERT INTO tab0 VALUES(5,82,36.59,'axwlo',24,46.6,'knmda')

statement ok
INSERT INTO tab0 VALUES(6,9,54.95,'fezll',84,11.4,'cqlsu')

statement ok
INSERT INTO tab0 VALUES(7,30,70.61,'kmtqk',77,58.49,'xfbpg')

statement ok
INSERT INTO tab0 VALUES(8,27,98.16,'rqwst',88,4.3,'zesgm')

statement ok
INSERT INTO tab0 VALUES(9,26,30.85,'foryb',22,95.22,'kjexb')

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 (col0)

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 (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)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3 DESC,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 < 52 AND (col3 > 6 OR col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 52 AND (col3 > 6 OR col1 IS NULL)
----

query I rowsort label-4265
SELECT pk FROM tab0 WHERE NOT (col0 < 52 AND (col3 > 6 OR col1 IS NULL))
----
0
1
3
5

statement ok
DELETE FROM tab1 WHERE col0 < 52 AND (col3 > 6 OR col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 52 AND (col3 > 6 OR col1 IS NULL)
----

query I rowsort label-4265
SELECT pk FROM tab1 WHERE NOT (col0 < 52 AND (col3 > 6 OR col1 IS NULL))
----
0
1
3
5

statement ok
DELETE FROM tab2 WHERE col0 < 52 AND (col3 > 6 OR col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 52 AND (col3 > 6 OR col1 IS NULL)
----

query I rowsort label-4265
SELECT pk FROM tab2 WHERE NOT (col0 < 52 AND (col3 > 6 OR col1 IS NULL))
----
0
1
3
5

statement ok
DELETE FROM tab3 WHERE col0 < 52 AND (col3 > 6 OR col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 52 AND (col3 > 6 OR col1 IS NULL)
----

query I rowsort label-4265
SELECT pk FROM tab3 WHERE NOT (col0 < 52 AND (col3 > 6 OR col1 IS NULL))
----
0
1
3
5

statement ok
DELETE FROM tab4 WHERE col0 < 52 AND (col3 > 6 OR col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 52 AND (col3 > 6 OR col1 IS NULL)
----

query I rowsort label-4265
SELECT pk FROM tab4 WHERE NOT (col0 < 52 AND (col3 > 6 OR col1 IS NULL))
----
0
1
3
5

statement ok
DELETE FROM tab0 WHERE col0 <= 99

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 99
----

query I rowsort label-4280
SELECT pk FROM tab0 WHERE NOT (col0 <= 99)
----

statement ok
DELETE FROM tab1 WHERE col0 <= 99

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 99
----

query I rowsort label-4280
SELECT pk FROM tab1 WHERE NOT (col0 <= 99)
----

statement ok
DELETE FROM tab2 WHERE col0 <= 99

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 99
----

query I rowsort label-4280
SELECT pk FROM tab2 WHERE NOT (col0 <= 99)
----

statement ok
DELETE FROM tab3 WHERE col0 <= 99

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 99
----

query I rowsort label-4280
SELECT pk FROM tab3 WHERE NOT (col0 <= 99)
----

statement ok
DELETE FROM tab4 WHERE col0 <= 99

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 99
----

query I rowsort label-4280
SELECT pk FROM tab4 WHERE NOT (col0 <= 99)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,8,32.26,'llpnp',78,52.92,'ykjnp')

statement ok
INSERT INTO tab0 VALUES(1,29,76.75,'ihrhd',86,60.7,'lanal')

statement ok
INSERT INTO tab0 VALUES(2,90,75.94,'oksjw',64,6.13,'mppsz')

statement ok
INSERT INTO tab0 VALUES(3,44,66.63,'zhree',67,27.89,'ajjyy')

statement ok
INSERT INTO tab0 VALUES(4,26,54.61,'nhdmr',84,61.17,'xakie')

statement ok
INSERT INTO tab0 VALUES(5,57,72.74,'wrwjt',51,3.94,'lstzc')

statement ok
INSERT INTO tab0 VALUES(6,64,47.15,'ytlmj',60,77.47,'despm')

statement ok
INSERT INTO tab0 VALUES(7,88,61.29,'qaxcm',79,89.46,'exhnz')

statement ok
INSERT INTO tab0 VALUES(8,95,12.12,'jgkev',54,95.14,'ehwzu')

statement ok
INSERT INTO tab0 VALUES(9,96,79.17,'vstsm',32,62.39,'stvcg')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC,col0,col1 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1,col4 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col0 DESC,col3 DESC,col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3,col0 DESC,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82))))
----

query I rowsort label-4295
SELECT pk FROM tab0 WHERE NOT (col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82)))))
----
2

statement ok
DELETE FROM tab1 WHERE col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82))))
----

query I rowsort label-4295
SELECT pk FROM tab1 WHERE NOT (col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82)))))
----
2

statement ok
DELETE FROM tab2 WHERE col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82))))
----

query I rowsort label-4295
SELECT pk FROM tab2 WHERE NOT (col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82)))))
----
2

statement ok
DELETE FROM tab3 WHERE col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82))))
----

query I rowsort label-4295
SELECT pk FROM tab3 WHERE NOT (col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82)))))
----
2

statement ok
DELETE FROM tab4 WHERE col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82))))
----

query I rowsort label-4295
SELECT pk FROM tab4 WHERE NOT (col0 <= 82 OR ((col0 >= 74) AND col4 >= 28.30 OR col1 > 23.49 AND col0 >= 15 AND ((col4 IN (84.34,36.47,3.65,32.28,31.82)))))
----
2

statement ok
DELETE FROM tab0 WHERE (((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56)
----

query I rowsort label-4310
SELECT pk FROM tab0 WHERE NOT ((((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56))
----

statement ok
DELETE FROM tab1 WHERE (((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56)
----

query I rowsort label-4310
SELECT pk FROM tab1 WHERE NOT ((((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56))
----

statement ok
DELETE FROM tab2 WHERE (((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56)
----

query I rowsort label-4310
SELECT pk FROM tab2 WHERE NOT ((((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56))
----

statement ok
DELETE FROM tab3 WHERE (((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56)
----

query I rowsort label-4310
SELECT pk FROM tab3 WHERE NOT ((((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56))
----

statement ok
DELETE FROM tab4 WHERE (((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56)
----

query I rowsort label-4310
SELECT pk FROM tab4 WHERE NOT ((((col3 > 12))) AND (((col0 >= 63)) OR (((col0 = 83)) OR (col1 < 38.32 AND col3 > 65 AND col0 > 56 AND col1 IS NULL)) AND col4 <= 36.4 AND col1 BETWEEN 29.58 AND 86.34 OR col0 IS NULL OR (col1 IS NULL) AND col3 > 56))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,42,41.25,'jkvfl',37,31.96,'bcmbh')

statement ok
INSERT INTO tab0 VALUES(1,36,84.71,'jpwzr',47,37.45,'hrbex')

statement ok
INSERT INTO tab0 VALUES(2,17,26.84,'usfdl',19,23.4,'krucw')

statement ok
INSERT INTO tab0 VALUES(3,49,40.55,'vgmhl',38,1.30,'pwnuo')

statement ok
INSERT INTO tab0 VALUES(4,76,63.75,'rezzk',48,10.18,'whjnq')

statement ok
INSERT INTO tab0 VALUES(5,82,8.5,'kmxhj',12,18.59,'kutlb')

statement ok
INSERT INTO tab0 VALUES(6,52,79.36,'ewhpu',81,44.9,'nvqfh')

statement ok
INSERT INTO tab0 VALUES(7,43,85.51,'kihaq',52,60.43,'twqpi')

statement ok
INSERT INTO tab0 VALUES(8,30,45.86,'yweek',31,16.26,'cfagu')

statement ok
INSERT INTO tab0 VALUES(9,91,10.97,'zyotm',96,40.70,'dobcf')

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,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1,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 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 = 42

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 42
----

query I rowsort label-4325
SELECT pk FROM tab0 WHERE NOT (col3 = 42)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 = 42

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 42
----

query I rowsort label-4325
SELECT pk FROM tab1 WHERE NOT (col3 = 42)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 = 42

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 42
----

query I rowsort label-4325
SELECT pk FROM tab2 WHERE NOT (col3 = 42)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 = 42

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 42
----

query I rowsort label-4325
SELECT pk FROM tab3 WHERE NOT (col3 = 42)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 = 42

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 42
----

query I rowsort label-4325
SELECT pk FROM tab4 WHERE NOT (col3 = 42)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13)))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13)))))))
----

query I rowsort label-4340
SELECT pk FROM tab0 WHERE NOT ((((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13))))))))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE (((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13)))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13)))))))
----

query I rowsort label-4340
SELECT pk FROM tab1 WHERE NOT ((((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13))))))))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE (((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13)))))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13)))))))
----

query I rowsort label-4340
SELECT pk FROM tab2 WHERE NOT ((((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13))))))))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE (((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13)))))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13)))))))
----

query I rowsort label-4340
SELECT pk FROM tab3 WHERE NOT ((((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13))))))))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE (((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13)))))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13)))))))
----

query I rowsort label-4340
SELECT pk FROM tab4 WHERE NOT ((((((((col4 BETWEEN 24.19 AND 0.69) OR (col3 < 13))))))))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col1 > 51.18

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 51.18
----

query I rowsort label-4355
SELECT pk FROM tab0 WHERE NOT (col1 > 51.18)
----
0
2
3
8
9

statement ok
DELETE FROM tab1 WHERE col1 > 51.18

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 51.18
----

query I rowsort label-4355
SELECT pk FROM tab1 WHERE NOT (col1 > 51.18)
----
0
2
3
8
9

statement ok
DELETE FROM tab2 WHERE col1 > 51.18

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 51.18
----

query I rowsort label-4355
SELECT pk FROM tab2 WHERE NOT (col1 > 51.18)
----
0
2
3
8
9

statement ok
DELETE FROM tab3 WHERE col1 > 51.18

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 51.18
----

query I rowsort label-4355
SELECT pk FROM tab3 WHERE NOT (col1 > 51.18)
----
0
2
3
8
9

statement ok
DELETE FROM tab4 WHERE col1 > 51.18

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 51.18
----

query I rowsort label-4355
SELECT pk FROM tab4 WHERE NOT (col1 > 51.18)
----
0
2
3
8
9

statement ok
DELETE FROM tab0 WHERE (((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71
----

query I rowsort label-4370
SELECT pk FROM tab0 WHERE NOT ((((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71)
----

statement ok
DELETE FROM tab1 WHERE (((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71
----

query I rowsort label-4370
SELECT pk FROM tab1 WHERE NOT ((((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71)
----

statement ok
DELETE FROM tab2 WHERE (((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71
----

query I rowsort label-4370
SELECT pk FROM tab2 WHERE NOT ((((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71)
----

statement ok
DELETE FROM tab3 WHERE (((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71
----

query I rowsort label-4370
SELECT pk FROM tab3 WHERE NOT ((((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71)
----

statement ok
DELETE FROM tab4 WHERE (((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71
----

query I rowsort label-4370
SELECT pk FROM tab4 WHERE NOT ((((col0 >= 5))) OR (col0 > 75 OR col3 <= 40 AND col1 = 28.94 OR col1 > 65.55 AND col1 BETWEEN 64.88 AND 60.54 OR ((((col1 < 30.60))))) AND col4 IS NULL AND col0 >= 19 OR col0 BETWEEN 34 AND 36 AND (((col3 >= 2) AND col3 > 49 AND col0 = 42)) OR (col3 = 95) OR (col1 <= 34.58) AND col0 <= 71)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,74,28.45,'ytcmw',41,82.92,'azynv')

statement ok
INSERT INTO tab0 VALUES(1,78,29.17,'grjko',62,0.37,'obdrb')

statement ok
INSERT INTO tab0 VALUES(2,88,26.2,'kslob',50,18.22,'erbxx')

statement ok
INSERT INTO tab0 VALUES(3,61,79.47,'pxgxo',54,19.14,'jqfiu')

statement ok
INSERT INTO tab0 VALUES(4,38,87.64,'whhom',14,12.4,'zwnyy')

statement ok
INSERT INTO tab0 VALUES(5,60,58.50,'yfgck',74,93.19,'rrwpu')

statement ok
INSERT INTO tab0 VALUES(6,79,67.92,'tmrmj',95,7.35,'ttxes')

statement ok
INSERT INTO tab0 VALUES(7,67,21.84,'ygrgs',65,15.92,'nllrr')

statement ok
INSERT INTO tab0 VALUES(8,34,22.38,'rnhsr',18,50.2,'ethlu')

statement ok
INSERT INTO tab0 VALUES(9,37,30.97,'hvjyx',37,83.66,'dludz')

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_2 ON tab2 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_1 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,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 >= 94.97 AND col3 <= 61

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 94.97 AND col3 <= 61
----

query I rowsort label-4385
SELECT pk FROM tab0 WHERE NOT (col1 >= 94.97 AND col3 <= 61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 >= 94.97 AND col3 <= 61

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 94.97 AND col3 <= 61
----

query I rowsort label-4385
SELECT pk FROM tab1 WHERE NOT (col1 >= 94.97 AND col3 <= 61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 >= 94.97 AND col3 <= 61

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 94.97 AND col3 <= 61
----

query I rowsort label-4385
SELECT pk FROM tab2 WHERE NOT (col1 >= 94.97 AND col3 <= 61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 >= 94.97 AND col3 <= 61

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 94.97 AND col3 <= 61
----

query I rowsort label-4385
SELECT pk FROM tab3 WHERE NOT (col1 >= 94.97 AND col3 <= 61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 >= 94.97 AND col3 <= 61

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 94.97 AND col3 <= 61
----

query I rowsort label-4385
SELECT pk FROM tab4 WHERE NOT (col1 >= 94.97 AND col3 <= 61)
----
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,46,5.32,'tchvf',94,2.38,'aamsf')

statement ok
INSERT INTO tab0 VALUES(1,15,94.88,'fbucg',82,87.68,'psngw')

statement ok
INSERT INTO tab0 VALUES(2,29,80.0,'afbfg',10,64.42,'veozo')

statement ok
INSERT INTO tab0 VALUES(3,32,36.41,'hpphz',46,30.56,'anaep')

statement ok
INSERT INTO tab0 VALUES(4,96,51.35,'onxct',41,32.62,'zqrsw')

statement ok
INSERT INTO tab0 VALUES(5,31,95.64,'sughi',47,29.78,'ljkpj')

statement ok
INSERT INTO tab0 VALUES(6,2,79.84,'hsfpi',16,50.99,'uuquw')

statement ok
INSERT INTO tab0 VALUES(7,36,19.35,'jhgwd',31,65.15,'qecmo')

statement ok
INSERT INTO tab0 VALUES(8,42,0.57,'ahodf',3,36.18,'mdmes')

statement ok
INSERT INTO tab0 VALUES(9,16,35.99,'dnkyy',90,94.16,'juwxe')

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)

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 UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (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 UNIQUE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 > 60

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 60
----

query I rowsort label-4400
SELECT pk FROM tab0 WHERE NOT (col3 > 60)
----
2
3
4
5
6
7
8

statement ok
DELETE FROM tab1 WHERE col3 > 60

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 60
----

query I rowsort label-4400
SELECT pk FROM tab1 WHERE NOT (col3 > 60)
----
2
3
4
5
6
7
8

statement ok
DELETE FROM tab2 WHERE col3 > 60

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 60
----

query I rowsort label-4400
SELECT pk FROM tab2 WHERE NOT (col3 > 60)
----
2
3
4
5
6
7
8

statement ok
DELETE FROM tab3 WHERE col3 > 60

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 60
----

query I rowsort label-4400
SELECT pk FROM tab3 WHERE NOT (col3 > 60)
----
2
3
4
5
6
7
8

statement ok
DELETE FROM tab4 WHERE col3 > 60

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 60
----

query I rowsort label-4400
SELECT pk FROM tab4 WHERE NOT (col3 > 60)
----
2
3
4
5
6
7
8

statement ok
DELETE FROM tab0 WHERE (((col3 <= 40)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 <= 40)))
----

query I rowsort label-4415
SELECT pk FROM tab0 WHERE NOT ((((col3 <= 40))))
----
3
4
5

statement ok
DELETE FROM tab1 WHERE (((col3 <= 40)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 <= 40)))
----

query I rowsort label-4415
SELECT pk FROM tab1 WHERE NOT ((((col3 <= 40))))
----
3
4
5

statement ok
DELETE FROM tab2 WHERE (((col3 <= 40)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 <= 40)))
----

query I rowsort label-4415
SELECT pk FROM tab2 WHERE NOT ((((col3 <= 40))))
----
3
4
5

statement ok
DELETE FROM tab3 WHERE (((col3 <= 40)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 <= 40)))
----

query I rowsort label-4415
SELECT pk FROM tab3 WHERE NOT ((((col3 <= 40))))
----
3
4
5

statement ok
DELETE FROM tab4 WHERE (((col3 <= 40)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 <= 40)))
----

query I rowsort label-4415
SELECT pk FROM tab4 WHERE NOT ((((col3 <= 40))))
----
3
4
5

statement ok
DELETE FROM tab0 WHERE col0 IS NULL AND col0 < 92

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IS NULL AND col0 < 92
----

query I rowsort label-4430
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL AND col0 < 92)
----
3
4
5

statement ok
DELETE FROM tab1 WHERE col0 IS NULL AND col0 < 92

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IS NULL AND col0 < 92
----

statement ok
DELETE FROM tab0 WHERE col1 >= 18.50 OR col1 IN (71.29)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 18.50 OR col1 IN (71.29)
----

query I rowsort label-4435
SELECT pk FROM tab0 WHERE NOT (col1 >= 18.50 OR col1 IN (71.29))
----

statement ok
DELETE FROM tab1 WHERE col1 >= 18.50 OR col1 IN (71.29)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 18.50 OR col1 IN (71.29)
----

query I rowsort label-4435
SELECT pk FROM tab1 WHERE NOT (col1 >= 18.50 OR col1 IN (71.29))
----

statement ok
DELETE FROM tab2 WHERE col1 >= 18.50 OR col1 IN (71.29)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 18.50 OR col1 IN (71.29)
----

query I rowsort label-4435
SELECT pk FROM tab2 WHERE NOT (col1 >= 18.50 OR col1 IN (71.29))
----

statement ok
DELETE FROM tab3 WHERE col1 >= 18.50 OR col1 IN (71.29)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 18.50 OR col1 IN (71.29)
----

query I rowsort label-4435
SELECT pk FROM tab3 WHERE NOT (col1 >= 18.50 OR col1 IN (71.29))
----

statement ok
DELETE FROM tab4 WHERE col1 >= 18.50 OR col1 IN (71.29)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 18.50 OR col1 IN (71.29)
----

query I rowsort label-4435
SELECT pk FROM tab4 WHERE NOT (col1 >= 18.50 OR col1 IN (71.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,15,82.48,'ofueu',22,42.76,'tuudr')

statement ok
INSERT INTO tab0 VALUES(1,60,18.54,'ccyxd',35,16.74,'ozcru')

statement ok
INSERT INTO tab0 VALUES(2,90,50.69,'akpam',32,56.59,'tovdb')

statement ok
INSERT INTO tab0 VALUES(3,68,81.7,'ancqi',59,20.85,'wmrfx')

statement ok
INSERT INTO tab0 VALUES(4,86,27.53,'uazpr',23,83.54,'xftjs')

statement ok
INSERT INTO tab0 VALUES(5,27,26.20,'zimgb',47,48.85,'phuhz')

statement ok
INSERT INTO tab0 VALUES(6,31,51.19,'njhcv',52,61.69,'gadop')

statement ok
INSERT INTO tab0 VALUES(7,54,20.15,'oaahc',99,22.36,'ffajt')

statement ok
INSERT INTO tab0 VALUES(8,33,19.91,'tzaiy',64,95.15,'snpae')

statement ok
INSERT INTO tab0 VALUES(9,47,98.15,'hhutp',94,28.99,'cldoh')

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,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1 DESC,col4 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,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC,col4,col0)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0,col1 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3 DESC,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 > 12.61

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 12.61
----

query I rowsort label-4450
SELECT pk FROM tab0 WHERE NOT (col1 > 12.61)
----

statement ok
DELETE FROM tab1 WHERE col1 > 12.61

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 12.61
----

query I rowsort label-4450
SELECT pk FROM tab1 WHERE NOT (col1 > 12.61)
----

statement ok
DELETE FROM tab2 WHERE col1 > 12.61

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 12.61
----

query I rowsort label-4450
SELECT pk FROM tab2 WHERE NOT (col1 > 12.61)
----

statement ok
DELETE FROM tab3 WHERE col1 > 12.61

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 12.61
----

query I rowsort label-4450
SELECT pk FROM tab3 WHERE NOT (col1 > 12.61)
----

statement ok
DELETE FROM tab4 WHERE col1 > 12.61

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 12.61
----

query I rowsort label-4450
SELECT pk FROM tab4 WHERE NOT (col1 > 12.61)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,93,43.59,'oltaj',2,75.5,'ezdfv')

statement ok
INSERT INTO tab0 VALUES(1,51,30.29,'erftn',19,73.3,'iqozp')

statement ok
INSERT INTO tab0 VALUES(2,11,69.18,'kacmb',68,21.59,'zrqrg')

statement ok
INSERT INTO tab0 VALUES(3,59,29.37,'ldeui',15,53.89,'dmbxx')

statement ok
INSERT INTO tab0 VALUES(4,42,98.37,'ipmdw',89,2.10,'virwf')

statement ok
INSERT INTO tab0 VALUES(5,80,45.27,'gazdz',4,64.50,'trchs')

statement ok
INSERT INTO tab0 VALUES(6,77,83.85,'nbiph',60,58.63,'vbivs')

statement ok
INSERT INTO tab0 VALUES(7,38,31.68,'wukpk',65,95.38,'wkmyw')

statement ok
INSERT INTO tab0 VALUES(8,74,77.25,'invvn',42,32.16,'gbfdp')

statement ok
INSERT INTO tab0 VALUES(9,23,42.15,'tcukc',43,41.96,'myoaa')

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 DESC,col3 DESC,col4)

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_0 ON tab3 (col1 DESC,col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 >= 38 OR col0 <= 42

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 38 OR col0 <= 42
----

query I rowsort label-4465
SELECT pk FROM tab0 WHERE NOT (col0 >= 38 OR col0 <= 42)
----

statement ok
DELETE FROM tab1 WHERE col0 >= 38 OR col0 <= 42

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 38 OR col0 <= 42
----

query I rowsort label-4465
SELECT pk FROM tab1 WHERE NOT (col0 >= 38 OR col0 <= 42)
----

statement ok
DELETE FROM tab2 WHERE col0 >= 38 OR col0 <= 42

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 38 OR col0 <= 42
----

query I rowsort label-4465
SELECT pk FROM tab2 WHERE NOT (col0 >= 38 OR col0 <= 42)
----

statement ok
DELETE FROM tab3 WHERE col0 >= 38 OR col0 <= 42

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 38 OR col0 <= 42
----

query I rowsort label-4465
SELECT pk FROM tab3 WHERE NOT (col0 >= 38 OR col0 <= 42)
----

statement ok
DELETE FROM tab4 WHERE col0 >= 38 OR col0 <= 42

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 38 OR col0 <= 42
----

query I rowsort label-4465
SELECT pk FROM tab4 WHERE NOT (col0 >= 38 OR col0 <= 42)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,82,12.48,'yibet',93,85.71,'dyxpa')

statement ok
INSERT INTO tab0 VALUES(1,27,22.67,'gvsno',83,72.50,'epuco')

statement ok
INSERT INTO tab0 VALUES(2,43,2.84,'xunrc',23,33.95,'ctmul')

statement ok
INSERT INTO tab0 VALUES(3,97,75.42,'dacql',79,91.53,'yphhc')

statement ok
INSERT INTO tab0 VALUES(4,62,54.22,'coaia',31,38.67,'aplnm')

statement ok
INSERT INTO tab0 VALUES(5,28,0.54,'kxoqc',81,96.82,'lvpdx')

statement ok
INSERT INTO tab0 VALUES(6,8,88.30,'udfpn',65,82.65,'vypkl')

statement ok
INSERT INTO tab0 VALUES(7,67,67.16,'vbkoi',69,71.10,'ujynr')

statement ok
INSERT INTO tab0 VALUES(8,15,26.65,'mhdhi',39,53.56,'sjkoh')

statement ok
INSERT INTO tab0 VALUES(9,35,51.31,'qhoas',91,3.98,'gjwtt')

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)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4,col0,col1 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC)

statement ok
CREATE 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_0 ON tab3 (col0 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0,col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,10,12.40,'lhgex',5,76.28,'ntxqh')

statement ok
INSERT INTO tab0 VALUES(1,79,90.24,'hjsmi',53,16.55,'iepqp')

statement ok
INSERT INTO tab0 VALUES(2,83,25.98,'zpcms',12,43.14,'adysi')

statement ok
INSERT INTO tab0 VALUES(3,26,73.1,'hwvlx',32,70.63,'rnfla')

statement ok
INSERT INTO tab0 VALUES(4,45,85.81,'tcjnn',81,65.6,'dehwb')

statement ok
INSERT INTO tab0 VALUES(5,75,22.59,'nvfrj',1,60.49,'cgrwd')

statement ok
INSERT INTO tab0 VALUES(6,11,65.94,'wwfzm',80,63.67,'gbtac')

statement ok
INSERT INTO tab0 VALUES(7,70,31.42,'xunnb',6,77.64,'jntye')

statement ok
INSERT INTO tab0 VALUES(8,53,80.21,'awtvy',31,99.38,'kyzhe')

statement ok
INSERT INTO tab0 VALUES(9,9,33.73,'yigpj',41,51.39,'tnazl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1,col0)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC)

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 UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col3,col1,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col3 DESC,col1,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 >= 74.41

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 74.41
----

query I rowsort label-4480
SELECT pk FROM tab0 WHERE NOT (col1 >= 74.41)
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col1 >= 74.41

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 74.41
----

query I rowsort label-4480
SELECT pk FROM tab1 WHERE NOT (col1 >= 74.41)
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col1 >= 74.41

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 74.41
----

query I rowsort label-4480
SELECT pk FROM tab2 WHERE NOT (col1 >= 74.41)
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col1 >= 74.41

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 74.41
----

query I rowsort label-4480
SELECT pk FROM tab3 WHERE NOT (col1 >= 74.41)
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col1 >= 74.41

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 74.41
----

query I rowsort label-4480
SELECT pk FROM tab4 WHERE NOT (col1 >= 74.41)
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab0 WHERE col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98
----

query I rowsort label-4495
SELECT pk FROM tab0 WHERE NOT (col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98)
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98
----

query I rowsort label-4495
SELECT pk FROM tab1 WHERE NOT (col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98)
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98
----

query I rowsort label-4495
SELECT pk FROM tab2 WHERE NOT (col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98)
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98
----

query I rowsort label-4495
SELECT pk FROM tab3 WHERE NOT (col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98)
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98
----

query I rowsort label-4495
SELECT pk FROM tab4 WHERE NOT (col4 IN (69.29,59.90) OR (col3 IS NULL AND col0 IS NULL) OR col3 > 98)
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab0 WHERE col3 > 78 AND (col0 >= 88)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 78 AND (col0 >= 88)
----

query I rowsort label-4510
SELECT pk FROM tab0 WHERE NOT (col3 > 78 AND (col0 >= 88))
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col3 > 78 AND (col0 >= 88)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 78 AND (col0 >= 88)
----

query I rowsort label-4510
SELECT pk FROM tab1 WHERE NOT (col3 > 78 AND (col0 >= 88))
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col3 > 78 AND (col0 >= 88)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 78 AND (col0 >= 88)
----

query I rowsort label-4510
SELECT pk FROM tab2 WHERE NOT (col3 > 78 AND (col0 >= 88))
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col3 > 78 AND (col0 >= 88)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 78 AND (col0 >= 88)
----

query I rowsort label-4510
SELECT pk FROM tab3 WHERE NOT (col3 > 78 AND (col0 >= 88))
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col3 > 78 AND (col0 >= 88)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 78 AND (col0 >= 88)
----

query I rowsort label-4510
SELECT pk FROM tab4 WHERE NOT (col3 > 78 AND (col0 >= 88))
----
0
2
3
5
6
7
9

statement ok
DELETE FROM tab0 WHERE (col4 >= 63.73 OR (col3 = 6))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 63.73 OR (col3 = 6))
----

query I rowsort label-4525
SELECT pk FROM tab0 WHERE NOT ((col4 >= 63.73 OR (col3 = 6)))
----
2
5
6
9

statement ok
DELETE FROM tab1 WHERE (col4 >= 63.73 OR (col3 = 6))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 63.73 OR (col3 = 6))
----

query I rowsort label-4525
SELECT pk FROM tab1 WHERE NOT ((col4 >= 63.73 OR (col3 = 6)))
----
2
5
6
9

statement ok
DELETE FROM tab2 WHERE (col4 >= 63.73 OR (col3 = 6))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 63.73 OR (col3 = 6))
----

query I rowsort label-4525
SELECT pk FROM tab2 WHERE NOT ((col4 >= 63.73 OR (col3 = 6)))
----
2
5
6
9

statement ok
DELETE FROM tab3 WHERE (col4 >= 63.73 OR (col3 = 6))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 63.73 OR (col3 = 6))
----

query I rowsort label-4525
SELECT pk FROM tab3 WHERE NOT ((col4 >= 63.73 OR (col3 = 6)))
----
2
5
6
9

statement ok
DELETE FROM tab4 WHERE (col4 >= 63.73 OR (col3 = 6))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 63.73 OR (col3 = 6))
----

query I rowsort label-4525
SELECT pk FROM tab4 WHERE NOT ((col4 >= 63.73 OR (col3 = 6)))
----
2
5
6
9

statement ok
DELETE FROM tab0 WHERE col4 >= 42.33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 42.33
----

query I rowsort label-4540
SELECT pk FROM tab0 WHERE NOT (col4 >= 42.33)
----

statement ok
DELETE FROM tab1 WHERE col4 >= 42.33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 42.33
----

query I rowsort label-4540
SELECT pk FROM tab1 WHERE NOT (col4 >= 42.33)
----

statement ok
DELETE FROM tab2 WHERE col4 >= 42.33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 42.33
----

query I rowsort label-4540
SELECT pk FROM tab2 WHERE NOT (col4 >= 42.33)
----

statement ok
DELETE FROM tab3 WHERE col4 >= 42.33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 42.33
----

query I rowsort label-4540
SELECT pk FROM tab3 WHERE NOT (col4 >= 42.33)
----

statement ok
DELETE FROM tab4 WHERE col4 >= 42.33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 42.33
----

query I rowsort label-4540
SELECT pk FROM tab4 WHERE NOT (col4 >= 42.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,99,74.7,'pmekt',72,11.60,'dawyj')

statement ok
INSERT INTO tab0 VALUES(1,49,14.90,'ugaec',46,64.74,'qqhtl')

statement ok
INSERT INTO tab0 VALUES(2,58,15.29,'rmrrc',8,49.54,'rmbgx')

statement ok
INSERT INTO tab0 VALUES(3,8,93.78,'noybt',37,93.28,'jnilx')

statement ok
INSERT INTO tab0 VALUES(4,18,61.3,'gzqmz',29,74.65,'novtr')

statement ok
INSERT INTO tab0 VALUES(5,3,40.41,'qvqtv',59,33.39,'vvypo')

statement ok
INSERT INTO tab0 VALUES(6,36,75.69,'hkdxm',41,91.92,'ysvud')

statement ok
INSERT INTO tab0 VALUES(7,13,37.61,'xyqxn',95,60.95,'pesom')

statement ok
INSERT INTO tab0 VALUES(8,17,53.51,'jedgw',3,52.14,'vorwz')

statement ok
INSERT INTO tab0 VALUES(9,75,4.98,'uxhnb',80,95.66,'xcecw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC,col0)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC)

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 (col4,col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4,col3 DESC)

statement ok
CREATE 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col4 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 < 64)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 64)
----

query I rowsort label-4555
SELECT pk FROM tab0 WHERE NOT ((col3 < 64))
----
0
7
9

statement ok
DELETE FROM tab1 WHERE (col3 < 64)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 64)
----

query I rowsort label-4555
SELECT pk FROM tab1 WHERE NOT ((col3 < 64))
----
0
7
9

statement ok
DELETE FROM tab2 WHERE (col3 < 64)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 64)
----

query I rowsort label-4555
SELECT pk FROM tab2 WHERE NOT ((col3 < 64))
----
0
7
9

statement ok
DELETE FROM tab3 WHERE (col3 < 64)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 64)
----

query I rowsort label-4555
SELECT pk FROM tab3 WHERE NOT ((col3 < 64))
----
0
7
9

statement ok
DELETE FROM tab4 WHERE (col3 < 64)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 64)
----

query I rowsort label-4555
SELECT pk FROM tab4 WHERE NOT ((col3 < 64))
----
0
7
9

statement ok
DELETE FROM tab0 WHERE col4 > 79.76

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 79.76
----

query I rowsort label-4570
SELECT pk FROM tab0 WHERE NOT (col4 > 79.76)
----
0
7

statement ok
DELETE FROM tab1 WHERE col4 > 79.76

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 79.76
----

query I rowsort label-4570
SELECT pk FROM tab1 WHERE NOT (col4 > 79.76)
----
0
7

statement ok
DELETE FROM tab2 WHERE col4 > 79.76

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 79.76
----

query I rowsort label-4570
SELECT pk FROM tab2 WHERE NOT (col4 > 79.76)
----
0
7

statement ok
DELETE FROM tab3 WHERE col4 > 79.76

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 79.76
----

query I rowsort label-4570
SELECT pk FROM tab3 WHERE NOT (col4 > 79.76)
----
0
7

statement ok
DELETE FROM tab4 WHERE col4 > 79.76

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 79.76
----

query I rowsort label-4570
SELECT pk FROM tab4 WHERE NOT (col4 > 79.76)
----
0
7

statement ok
DELETE FROM tab0 WHERE col1 >= 81.27

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 81.27
----

query I rowsort label-4585
SELECT pk FROM tab0 WHERE NOT (col1 >= 81.27)
----
0
7

statement ok
DELETE FROM tab1 WHERE col1 >= 81.27

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 81.27
----

query I rowsort label-4585
SELECT pk FROM tab1 WHERE NOT (col1 >= 81.27)
----
0
7

statement ok
DELETE FROM tab2 WHERE col1 >= 81.27

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 81.27
----

query I rowsort label-4585
SELECT pk FROM tab2 WHERE NOT (col1 >= 81.27)
----
0
7

statement ok
DELETE FROM tab3 WHERE col1 >= 81.27

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 81.27
----

query I rowsort label-4585
SELECT pk FROM tab3 WHERE NOT (col1 >= 81.27)
----
0
7

statement ok
DELETE FROM tab4 WHERE col1 >= 81.27

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 81.27
----

query I rowsort label-4585
SELECT pk FROM tab4 WHERE NOT (col1 >= 81.27)
----
0
7

statement ok
DELETE FROM tab0 WHERE (col4 = 66.70)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 = 66.70)
----

query I rowsort label-4600
SELECT pk FROM tab0 WHERE NOT ((col4 = 66.70))
----
0
7

statement ok
DELETE FROM tab1 WHERE (col4 = 66.70)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 = 66.70)
----

query I rowsort label-4600
SELECT pk FROM tab1 WHERE NOT ((col4 = 66.70))
----
0
7

statement ok
DELETE FROM tab2 WHERE (col4 = 66.70)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 = 66.70)
----

query I rowsort label-4600
SELECT pk FROM tab2 WHERE NOT ((col4 = 66.70))
----
0
7

statement ok
DELETE FROM tab3 WHERE (col4 = 66.70)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 = 66.70)
----

query I rowsort label-4600
SELECT pk FROM tab3 WHERE NOT ((col4 = 66.70))
----
0
7

statement ok
DELETE FROM tab4 WHERE (col4 = 66.70)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 = 66.70)
----

query I rowsort label-4600
SELECT pk FROM tab4 WHERE NOT ((col4 = 66.70))
----
0
7

statement ok
DELETE FROM tab0 WHERE (col1 = 88.44)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 88.44)
----

query I rowsort label-4615
SELECT pk FROM tab0 WHERE NOT ((col1 = 88.44))
----
0
7

statement ok
DELETE FROM tab1 WHERE (col1 = 88.44)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 88.44)
----

query I rowsort label-4615
SELECT pk FROM tab1 WHERE NOT ((col1 = 88.44))
----
0
7

statement ok
DELETE FROM tab2 WHERE (col1 = 88.44)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 88.44)
----

query I rowsort label-4615
SELECT pk FROM tab2 WHERE NOT ((col1 = 88.44))
----
0
7

statement ok
DELETE FROM tab3 WHERE (col1 = 88.44)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 88.44)
----

query I rowsort label-4615
SELECT pk FROM tab3 WHERE NOT ((col1 = 88.44))
----
0
7

statement ok
DELETE FROM tab4 WHERE (col1 = 88.44)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 88.44)
----

query I rowsort label-4615
SELECT pk FROM tab4 WHERE NOT ((col1 = 88.44))
----
0
7

statement ok
DELETE FROM tab0 WHERE (col3 < 48)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 48)
----

query I rowsort label-4630
SELECT pk FROM tab0 WHERE NOT ((col3 < 48))
----
0
7

statement ok
DELETE FROM tab1 WHERE (col3 < 48)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 48)
----

query I rowsort label-4630
SELECT pk FROM tab1 WHERE NOT ((col3 < 48))
----
0
7

statement ok
DELETE FROM tab2 WHERE (col3 < 48)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 48)
----

query I rowsort label-4630
SELECT pk FROM tab2 WHERE NOT ((col3 < 48))
----
0
7

statement ok
DELETE FROM tab3 WHERE (col3 < 48)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 48)
----

query I rowsort label-4630
SELECT pk FROM tab3 WHERE NOT ((col3 < 48))
----
0
7

statement ok
DELETE FROM tab4 WHERE (col3 < 48)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 48)
----

query I rowsort label-4630
SELECT pk FROM tab4 WHERE NOT ((col3 < 48))
----
0
7

statement ok
DELETE FROM tab0 WHERE ((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85))))
----

query I rowsort label-4645
SELECT pk FROM tab0 WHERE NOT (((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85)))))
----
0
7

statement ok
DELETE FROM tab1 WHERE ((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85))))
----

query I rowsort label-4645
SELECT pk FROM tab1 WHERE NOT (((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85)))))
----
0
7

statement ok
DELETE FROM tab2 WHERE ((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85))))
----

query I rowsort label-4645
SELECT pk FROM tab2 WHERE NOT (((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85)))))
----
0
7

statement ok
DELETE FROM tab3 WHERE ((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85))))
----

query I rowsort label-4645
SELECT pk FROM tab3 WHERE NOT (((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85)))))
----
0
7

statement ok
DELETE FROM tab4 WHERE ((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85))))
----

query I rowsort label-4645
SELECT pk FROM tab4 WHERE NOT (((col1 IS NULL AND ((col1 > 47.61 AND col4 <= 63.85)))))
----
0
7

statement ok
DELETE FROM tab0 WHERE col0 < 82

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 82
----

query I rowsort label-4660
SELECT pk FROM tab0 WHERE NOT (col0 < 82)
----
0

statement ok
DELETE FROM tab1 WHERE col0 < 82

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 82
----

query I rowsort label-4660
SELECT pk FROM tab1 WHERE NOT (col0 < 82)
----
0

statement ok
DELETE FROM tab2 WHERE col0 < 82

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 82
----

query I rowsort label-4660
SELECT pk FROM tab2 WHERE NOT (col0 < 82)
----
0

statement ok
DELETE FROM tab3 WHERE col0 < 82

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 82
----

query I rowsort label-4660
SELECT pk FROM tab3 WHERE NOT (col0 < 82)
----
0

statement ok
DELETE FROM tab4 WHERE col0 < 82

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 82
----

query I rowsort label-4660
SELECT pk FROM tab4 WHERE NOT (col0 < 82)
----
0

statement ok
DELETE FROM tab0 WHERE col1 <= 55.75

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 55.75
----

query I rowsort label-4675
SELECT pk FROM tab0 WHERE NOT (col1 <= 55.75)
----
0

statement ok
DELETE FROM tab1 WHERE col1 <= 55.75

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 55.75
----

query I rowsort label-4675
SELECT pk FROM tab1 WHERE NOT (col1 <= 55.75)
----
0

statement ok
DELETE FROM tab2 WHERE col1 <= 55.75

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 55.75
----

query I rowsort label-4675
SELECT pk FROM tab2 WHERE NOT (col1 <= 55.75)
----
0

statement ok
DELETE FROM tab3 WHERE col1 <= 55.75

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 55.75
----

query I rowsort label-4675
SELECT pk FROM tab3 WHERE NOT (col1 <= 55.75)
----
0

statement ok
DELETE FROM tab4 WHERE col1 <= 55.75

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 55.75
----

query I rowsort label-4675
SELECT pk FROM tab4 WHERE NOT (col1 <= 55.75)
----
0

statement ok
DELETE FROM tab0 WHERE ((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67)))
----

query I rowsort label-4690
SELECT pk FROM tab0 WHERE NOT (((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67))))
----
0

statement ok
DELETE FROM tab1 WHERE ((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67)))
----

query I rowsort label-4690
SELECT pk FROM tab1 WHERE NOT (((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67))))
----
0

statement ok
DELETE FROM tab2 WHERE ((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67)))
----

query I rowsort label-4690
SELECT pk FROM tab2 WHERE NOT (((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67))))
----
0

statement ok
DELETE FROM tab3 WHERE ((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67)))
----

query I rowsort label-4690
SELECT pk FROM tab3 WHERE NOT (((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67))))
----
0

statement ok
DELETE FROM tab4 WHERE ((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67)))
----

query I rowsort label-4690
SELECT pk FROM tab4 WHERE NOT (((col3 <= 34 AND col3 BETWEEN 98 AND 4 AND (col0 <= 67))))
----
0

statement ok
DELETE FROM tab0 WHERE col0 > 83 AND ((((col4 >= 19.54))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 83 AND ((((col4 >= 19.54))))
----

query I rowsort label-4705
SELECT pk FROM tab0 WHERE NOT (col0 > 83 AND ((((col4 >= 19.54)))))
----
0

statement ok
DELETE FROM tab1 WHERE col0 > 83 AND ((((col4 >= 19.54))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 83 AND ((((col4 >= 19.54))))
----

query I rowsort label-4705
SELECT pk FROM tab1 WHERE NOT (col0 > 83 AND ((((col4 >= 19.54)))))
----
0

statement ok
DELETE FROM tab2 WHERE col0 > 83 AND ((((col4 >= 19.54))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 83 AND ((((col4 >= 19.54))))
----

query I rowsort label-4705
SELECT pk FROM tab2 WHERE NOT (col0 > 83 AND ((((col4 >= 19.54)))))
----
0

statement ok
DELETE FROM tab3 WHERE col0 > 83 AND ((((col4 >= 19.54))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 83 AND ((((col4 >= 19.54))))
----

query I rowsort label-4705
SELECT pk FROM tab3 WHERE NOT (col0 > 83 AND ((((col4 >= 19.54)))))
----
0

statement ok
DELETE FROM tab4 WHERE col0 > 83 AND ((((col4 >= 19.54))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 83 AND ((((col4 >= 19.54))))
----

query I rowsort label-4705
SELECT pk FROM tab4 WHERE NOT (col0 > 83 AND ((((col4 >= 19.54)))))
----
0

statement ok
DELETE FROM tab0 WHERE col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8)
----

query I rowsort label-4720
SELECT pk FROM tab0 WHERE NOT (col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8))
----

statement ok
DELETE FROM tab1 WHERE col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8)
----

query I rowsort label-4720
SELECT pk FROM tab1 WHERE NOT (col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8))
----

statement ok
DELETE FROM tab2 WHERE col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8)
----

query I rowsort label-4720
SELECT pk FROM tab2 WHERE NOT (col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8))
----

statement ok
DELETE FROM tab3 WHERE col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8)
----

query I rowsort label-4720
SELECT pk FROM tab3 WHERE NOT (col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8))
----

statement ok
DELETE FROM tab4 WHERE col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8)
----

query I rowsort label-4720
SELECT pk FROM tab4 WHERE NOT (col4 <= 86.1 OR col4 IS NULL AND col4 > 52.86 AND col0 IN (90,46) AND col3 <= 66 AND col0 >= 68 OR (col0 BETWEEN 67 AND 33) OR (col0 < 76) OR col3 > 19 AND col3 < 70 OR col4 = 87.27 OR (col0 <= 8))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,42,49.61,'wcybd',7,96.60,'uhrxr')

statement ok
INSERT INTO tab0 VALUES(1,96,1.7,'euqal',43,45.5,'qezbq')

statement ok
INSERT INTO tab0 VALUES(2,69,70.31,'vzbwk',8,80.36,'ersjm')

statement ok
INSERT INTO tab0 VALUES(3,57,7.55,'uqfvt',36,32.33,'qevck')

statement ok
INSERT INTO tab0 VALUES(4,52,78.60,'jzbfm',91,55.18,'aojrk')

statement ok
INSERT INTO tab0 VALUES(5,5,76.47,'clriw',25,33.15,'idjcl')

statement ok
INSERT INTO tab0 VALUES(6,83,29.5,'bvdyu',42,92.15,'kecvo')

statement ok
INSERT INTO tab0 VALUES(7,43,21.67,'vjyzs',60,23.35,'jigev')

statement ok
INSERT INTO tab0 VALUES(8,79,95.78,'tzzct',74,81.87,'qpyzw')

statement ok
INSERT INTO tab0 VALUES(9,2,73.53,'agqgb',17,2.33,'yrxjm')

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,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC,col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3 DESC,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 (col3,col0,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col0 DESC,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
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,59.9,'gwakz',85,47.81,'blbdj')

statement ok
INSERT INTO tab0 VALUES(1,55,10.45,'gljkz',45,35.81,'epxpa')

statement ok
INSERT INTO tab0 VALUES(2,81,36.48,'atxqa',87,57.81,'rbifl')

statement ok
INSERT INTO tab0 VALUES(3,26,33.5,'qsryk',59,15.55,'airlq')

statement ok
INSERT INTO tab0 VALUES(4,17,61.15,'ubhah',82,81.65,'zdtdc')

statement ok
INSERT INTO tab0 VALUES(5,87,56.45,'cduzp',20,9.27,'tzxkp')

statement ok
INSERT INTO tab0 VALUES(6,44,45.0,'dixvi',35,49.72,'atgfn')

statement ok
INSERT INTO tab0 VALUES(7,24,51.80,'msdho',56,54.12,'dnvxy')

statement ok
INSERT INTO tab0 VALUES(8,61,16.45,'auaiq',38,3.96,'fwnxs')

statement ok
INSERT INTO tab0 VALUES(9,49,3.78,'ycysf',26,2.79,'itlir')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1,col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 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 (col3,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4,col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4,col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL))
----

query I rowsort label-4735
SELECT pk FROM tab0 WHERE NOT ((col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL)))
----
0
3
4

statement ok
DELETE FROM tab1 WHERE (col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL))
----

query I rowsort label-4735
SELECT pk FROM tab1 WHERE NOT ((col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL)))
----
0
3
4

statement ok
DELETE FROM tab2 WHERE (col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL))
----

query I rowsort label-4735
SELECT pk FROM tab2 WHERE NOT ((col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL)))
----
0
3
4

statement ok
DELETE FROM tab3 WHERE (col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL))
----

query I rowsort label-4735
SELECT pk FROM tab3 WHERE NOT ((col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL)))
----
0
3
4

statement ok
DELETE FROM tab4 WHERE (col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL))
----

query I rowsort label-4735
SELECT pk FROM tab4 WHERE NOT ((col0 >= 71 AND col0 >= 42 OR col1 <= 91.0 AND col3 < 57 OR (col1 IN (61.74)) AND col3 <= 64 AND col3 > 96 AND (col0 IS NULL)))
----
0
3
4

statement ok
DELETE FROM tab0 WHERE col3 > 88

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 88
----

query I rowsort label-4750
SELECT pk FROM tab0 WHERE NOT (col3 > 88)
----
0
3
4

statement ok
DELETE FROM tab1 WHERE col3 > 88

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 88
----

query I rowsort label-4750
SELECT pk FROM tab1 WHERE NOT (col3 > 88)
----
0
3
4

statement ok
DELETE FROM tab2 WHERE col3 > 88

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 88
----

query I rowsort label-4750
SELECT pk FROM tab2 WHERE NOT (col3 > 88)
----
0
3
4

statement ok
DELETE FROM tab3 WHERE col3 > 88

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 88
----

query I rowsort label-4750
SELECT pk FROM tab3 WHERE NOT (col3 > 88)
----
0
3
4

statement ok
DELETE FROM tab4 WHERE col3 > 88

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 88
----

query I rowsort label-4750
SELECT pk FROM tab4 WHERE NOT (col3 > 88)
----
0
3
4

statement ok
DELETE FROM tab0 WHERE col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3)
----

query I rowsort label-4765
SELECT pk FROM tab0 WHERE NOT (col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3))
----
0
3
4

statement ok
DELETE FROM tab1 WHERE col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3)
----

query I rowsort label-4765
SELECT pk FROM tab1 WHERE NOT (col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3))
----
0
3
4

statement ok
DELETE FROM tab2 WHERE col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3)
----

query I rowsort label-4765
SELECT pk FROM tab2 WHERE NOT (col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3))
----
0
3
4

statement ok
DELETE FROM tab3 WHERE col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3)
----

query I rowsort label-4765
SELECT pk FROM tab3 WHERE NOT (col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3))
----
0
3
4

statement ok
DELETE FROM tab4 WHERE col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3)
----

query I rowsort label-4765
SELECT pk FROM tab4 WHERE NOT (col1 BETWEEN 35.32 AND 30.84 AND (col0 IS NULL OR col0 > 82 AND col0 < 60 AND col0 < 9 OR col1 < 3.3))
----
0
3
4

statement ok
DELETE FROM tab0 WHERE (col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90
----

query I rowsort label-4780
SELECT pk FROM tab0 WHERE NOT ((col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90)
----
0
3
4

statement ok
DELETE FROM tab1 WHERE (col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90
----

query I rowsort label-4780
SELECT pk FROM tab1 WHERE NOT ((col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90)
----
0
3
4

statement ok
DELETE FROM tab2 WHERE (col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90
----

query I rowsort label-4780
SELECT pk FROM tab2 WHERE NOT ((col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90)
----
0
3
4

statement ok
DELETE FROM tab3 WHERE (col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90
----

query I rowsort label-4780
SELECT pk FROM tab3 WHERE NOT ((col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90)
----
0
3
4

statement ok
DELETE FROM tab4 WHERE (col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90
----

query I rowsort label-4780
SELECT pk FROM tab4 WHERE NOT ((col0 <= 66 AND (col0 IN (8,29,20,12,13,0) OR col0 > 79)) OR col0 > 90)
----
0
3
4

statement ok
DELETE FROM tab0 WHERE col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68
----

query I rowsort label-4795
SELECT pk FROM tab0 WHERE NOT (col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68)
----
0
3
4

statement ok
DELETE FROM tab1 WHERE col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68
----

query I rowsort label-4795
SELECT pk FROM tab1 WHERE NOT (col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68)
----
0
3
4

statement ok
DELETE FROM tab2 WHERE col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68
----

query I rowsort label-4795
SELECT pk FROM tab2 WHERE NOT (col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68)
----
0
3
4

statement ok
DELETE FROM tab3 WHERE col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68
----

query I rowsort label-4795
SELECT pk FROM tab3 WHERE NOT (col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68)
----
0
3
4

statement ok
DELETE FROM tab4 WHERE col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68
----

query I rowsort label-4795
SELECT pk FROM tab4 WHERE NOT (col4 IS NULL AND (col3 IN (90,69,29,48,81,90)) AND col3 > 68)
----
0
3
4

statement ok
DELETE FROM tab0 WHERE col3 IN (30,25,7,59,48,72)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (30,25,7,59,48,72)
----

query I rowsort label-4810
SELECT pk FROM tab0 WHERE NOT (col3 IN (30,25,7,59,48,72))
----
0
4

statement ok
DELETE FROM tab1 WHERE col3 IN (30,25,7,59,48,72)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (30,25,7,59,48,72)
----

query I rowsort label-4810
SELECT pk FROM tab1 WHERE NOT (col3 IN (30,25,7,59,48,72))
----
0
4

statement ok
DELETE FROM tab2 WHERE col3 IN (30,25,7,59,48,72)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (30,25,7,59,48,72)
----

query I rowsort label-4810
SELECT pk FROM tab2 WHERE NOT (col3 IN (30,25,7,59,48,72))
----
0
4

statement ok
DELETE FROM tab3 WHERE col3 IN (30,25,7,59,48,72)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (30,25,7,59,48,72)
----

query I rowsort label-4810
SELECT pk FROM tab3 WHERE NOT (col3 IN (30,25,7,59,48,72))
----
0
4

statement ok
DELETE FROM tab4 WHERE col3 IN (30,25,7,59,48,72)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (30,25,7,59,48,72)
----

query I rowsort label-4810
SELECT pk FROM tab4 WHERE NOT (col3 IN (30,25,7,59,48,72))
----
0
4

statement ok
DELETE FROM tab0 WHERE (col4 = 12.84)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 = 12.84)
----

query I rowsort label-4825
SELECT pk FROM tab0 WHERE NOT ((col4 = 12.84))
----
0
4

statement ok
DELETE FROM tab1 WHERE (col4 = 12.84)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 = 12.84)
----

query I rowsort label-4825
SELECT pk FROM tab1 WHERE NOT ((col4 = 12.84))
----
0
4

statement ok
DELETE FROM tab2 WHERE (col4 = 12.84)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 = 12.84)
----

query I rowsort label-4825
SELECT pk FROM tab2 WHERE NOT ((col4 = 12.84))
----
0
4

statement ok
DELETE FROM tab3 WHERE (col4 = 12.84)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 = 12.84)
----

query I rowsort label-4825
SELECT pk FROM tab3 WHERE NOT ((col4 = 12.84))
----
0
4

statement ok
DELETE FROM tab4 WHERE (col4 = 12.84)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 = 12.84)
----

query I rowsort label-4825
SELECT pk FROM tab4 WHERE NOT ((col4 = 12.84))
----
0
4

statement ok
DELETE FROM tab0 WHERE col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74))
----

query I rowsort label-4840
SELECT pk FROM tab0 WHERE NOT (col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74)))
----

statement ok
DELETE FROM tab1 WHERE col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74))
----

query I rowsort label-4840
SELECT pk FROM tab1 WHERE NOT (col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74)))
----

statement ok
DELETE FROM tab2 WHERE col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74))
----

query I rowsort label-4840
SELECT pk FROM tab2 WHERE NOT (col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74)))
----

statement ok
DELETE FROM tab3 WHERE col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74))
----

query I rowsort label-4840
SELECT pk FROM tab3 WHERE NOT (col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74)))
----

statement ok
DELETE FROM tab4 WHERE col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.74))
----

query I rowsort label-4840
SELECT pk FROM tab4 WHERE NOT (col3 > 21 OR col0 IN (44,30,71,75) OR col3 >= 5 AND (((col1 <= 42.43 OR (col3 >= 71)) AND col4 > 60.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,19,19.78,'swesk',59,30.91,'uspov')

statement ok
INSERT INTO tab0 VALUES(1,9,76.22,'fzaor',70,10.29,'vrfnr')

statement ok
INSERT INTO tab0 VALUES(2,20,79.50,'anthj',13,97.84,'rpcpx')

statement ok
INSERT INTO tab0 VALUES(3,11,85.72,'lijze',9,71.96,'vaqvs')

statement ok
INSERT INTO tab0 VALUES(4,81,51.94,'xeulb',42,19.80,'mmepa')

statement ok
INSERT INTO tab0 VALUES(5,16,48.83,'dcsre',23,47.94,'pdxll')

statement ok
INSERT INTO tab0 VALUES(6,67,71.28,'bczoy',53,96.98,'yngmq')

statement ok
INSERT INTO tab0 VALUES(7,1,57.2,'fwoll',84,49.19,'lduhh')

statement ok
INSERT INTO tab0 VALUES(8,70,90.25,'pgrwh',82,48.12,'cxlff')

statement ok
INSERT INTO tab0 VALUES(9,71,21.27,'zzzcv',92,1.21,'ezrip')

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 UNIQUE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4,col3,col0 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 < 69

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 69
----

query I rowsort label-4855
SELECT pk FROM tab0 WHERE NOT (col3 < 69)
----
1
7
8
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-4855
SELECT pk FROM tab1 WHERE NOT (col3 < 69)
----
1
7
8
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-4855
SELECT pk FROM tab2 WHERE NOT (col3 < 69)
----
1
7
8
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-4855
SELECT pk FROM tab3 WHERE NOT (col3 < 69)
----
1
7
8
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-4855
SELECT pk FROM tab4 WHERE NOT (col3 < 69)
----
1
7
8
9

statement ok
DELETE FROM tab0 WHERE ((col1 BETWEEN 45.63 AND 88.82))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 BETWEEN 45.63 AND 88.82))
----

query I rowsort label-4870
SELECT pk FROM tab0 WHERE NOT (((col1 BETWEEN 45.63 AND 88.82)))
----
8
9

statement ok
DELETE FROM tab1 WHERE ((col1 BETWEEN 45.63 AND 88.82))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 BETWEEN 45.63 AND 88.82))
----

query I rowsort label-4870
SELECT pk FROM tab1 WHERE NOT (((col1 BETWEEN 45.63 AND 88.82)))
----
8
9

statement ok
DELETE FROM tab2 WHERE ((col1 BETWEEN 45.63 AND 88.82))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 BETWEEN 45.63 AND 88.82))
----

query I rowsort label-4870
SELECT pk FROM tab2 WHERE NOT (((col1 BETWEEN 45.63 AND 88.82)))
----
8
9

statement ok
DELETE FROM tab3 WHERE ((col1 BETWEEN 45.63 AND 88.82))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 BETWEEN 45.63 AND 88.82))
----

query I rowsort label-4870
SELECT pk FROM tab3 WHERE NOT (((col1 BETWEEN 45.63 AND 88.82)))
----
8
9

statement ok
DELETE FROM tab4 WHERE ((col1 BETWEEN 45.63 AND 88.82))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 BETWEEN 45.63 AND 88.82))
----

query I rowsort label-4870
SELECT pk FROM tab4 WHERE NOT (((col1 BETWEEN 45.63 AND 88.82)))
----
8
9

statement ok
DELETE FROM tab0 WHERE ((col3 BETWEEN 61 AND 45))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 BETWEEN 61 AND 45))
----

query I rowsort label-4885
SELECT pk FROM tab0 WHERE NOT (((col3 BETWEEN 61 AND 45)))
----
8
9

statement ok
DELETE FROM tab1 WHERE ((col3 BETWEEN 61 AND 45))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 BETWEEN 61 AND 45))
----

query I rowsort label-4885
SELECT pk FROM tab1 WHERE NOT (((col3 BETWEEN 61 AND 45)))
----
8
9

statement ok
DELETE FROM tab2 WHERE ((col3 BETWEEN 61 AND 45))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 BETWEEN 61 AND 45))
----

query I rowsort label-4885
SELECT pk FROM tab2 WHERE NOT (((col3 BETWEEN 61 AND 45)))
----
8
9

statement ok
DELETE FROM tab3 WHERE ((col3 BETWEEN 61 AND 45))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 BETWEEN 61 AND 45))
----

query I rowsort label-4885
SELECT pk FROM tab3 WHERE NOT (((col3 BETWEEN 61 AND 45)))
----
8
9

statement ok
DELETE FROM tab4 WHERE ((col3 BETWEEN 61 AND 45))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 BETWEEN 61 AND 45))
----

query I rowsort label-4885
SELECT pk FROM tab4 WHERE NOT (((col3 BETWEEN 61 AND 45)))
----
8
9

statement ok
DELETE FROM tab0 WHERE (((col0 > 37)) AND col0 < 13)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 > 37)) AND col0 < 13)
----

query I rowsort label-4900
SELECT pk FROM tab0 WHERE NOT ((((col0 > 37)) AND col0 < 13))
----
8
9

statement ok
DELETE FROM tab1 WHERE (((col0 > 37)) AND col0 < 13)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 > 37)) AND col0 < 13)
----

query I rowsort label-4900
SELECT pk FROM tab1 WHERE NOT ((((col0 > 37)) AND col0 < 13))
----
8
9

statement ok
DELETE FROM tab2 WHERE (((col0 > 37)) AND col0 < 13)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 > 37)) AND col0 < 13)
----

query I rowsort label-4900
SELECT pk FROM tab2 WHERE NOT ((((col0 > 37)) AND col0 < 13))
----
8
9

statement ok
DELETE FROM tab3 WHERE (((col0 > 37)) AND col0 < 13)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 > 37)) AND col0 < 13)
----

query I rowsort label-4900
SELECT pk FROM tab3 WHERE NOT ((((col0 > 37)) AND col0 < 13))
----
8
9

statement ok
DELETE FROM tab4 WHERE (((col0 > 37)) AND col0 < 13)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 > 37)) AND col0 < 13)
----

query I rowsort label-4900
SELECT pk FROM tab4 WHERE NOT ((((col0 > 37)) AND col0 < 13))
----
8
9

statement ok
DELETE FROM tab0 WHERE (col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95)
----

query I rowsort label-4915
SELECT pk FROM tab0 WHERE NOT ((col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95))
----
8
9

statement ok
DELETE FROM tab1 WHERE (col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95)
----

query I rowsort label-4915
SELECT pk FROM tab1 WHERE NOT ((col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95))
----
8
9

statement ok
DELETE FROM tab2 WHERE (col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95)
----

query I rowsort label-4915
SELECT pk FROM tab2 WHERE NOT ((col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95))
----
8
9

statement ok
DELETE FROM tab3 WHERE (col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95)
----

query I rowsort label-4915
SELECT pk FROM tab3 WHERE NOT ((col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95))
----
8
9

statement ok
DELETE FROM tab4 WHERE (col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95)
----

query I rowsort label-4915
SELECT pk FROM tab4 WHERE NOT ((col1 = 41.44) AND (col1 BETWEEN 24.75 AND 31.95))
----
8
9

statement ok
DELETE FROM tab0 WHERE col4 >= 57.73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 57.73
----

query I rowsort label-4930
SELECT pk FROM tab0 WHERE NOT (col4 >= 57.73)
----
8
9

statement ok
DELETE FROM tab1 WHERE col4 >= 57.73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 57.73
----

query I rowsort label-4930
SELECT pk FROM tab1 WHERE NOT (col4 >= 57.73)
----
8
9

statement ok
DELETE FROM tab2 WHERE col4 >= 57.73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 57.73
----

query I rowsort label-4930
SELECT pk FROM tab2 WHERE NOT (col4 >= 57.73)
----
8
9

statement ok
DELETE FROM tab3 WHERE col4 >= 57.73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 57.73
----

query I rowsort label-4930
SELECT pk FROM tab3 WHERE NOT (col4 >= 57.73)
----
8
9

statement ok
DELETE FROM tab4 WHERE col4 >= 57.73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 57.73
----

query I rowsort label-4930
SELECT pk FROM tab4 WHERE NOT (col4 >= 57.73)
----
8
9

statement ok
DELETE FROM tab0 WHERE col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12
----

query I rowsort label-4945
SELECT pk FROM tab0 WHERE NOT (col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12)
----
9

statement ok
DELETE FROM tab1 WHERE col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12
----

query I rowsort label-4945
SELECT pk FROM tab1 WHERE NOT (col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12)
----
9

statement ok
DELETE FROM tab2 WHERE col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12
----

query I rowsort label-4945
SELECT pk FROM tab2 WHERE NOT (col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12)
----
9

statement ok
DELETE FROM tab3 WHERE col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12
----

query I rowsort label-4945
SELECT pk FROM tab3 WHERE NOT (col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12)
----
9

statement ok
DELETE FROM tab4 WHERE col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12
----

query I rowsort label-4945
SELECT pk FROM tab4 WHERE NOT (col0 < 45 OR ((((((col0 = 7 OR (((col0 < 4)) AND col3 BETWEEN 64 AND 89 AND col3 < 86) AND col4 IS NULL))) AND col1 IS NULL AND ((col0 > 97)) AND col3 > 95))) AND col1 > 36.17 AND col1 > 67.49 AND ((col0 = 7 AND col0 BETWEEN 82 AND 58)) OR (col3 > 74) AND col4 > 1.58 OR col4 > 19.85 AND col3 >= 32 AND col0 < 13 AND col3 = 12)
----
9

statement ok
DELETE FROM tab0 WHERE (((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17)
----

query I rowsort label-4960
SELECT pk FROM tab0 WHERE NOT ((((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17))
----
9

statement ok
DELETE FROM tab1 WHERE (((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17)
----

query I rowsort label-4960
SELECT pk FROM tab1 WHERE NOT ((((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17))
----
9

statement ok
DELETE FROM tab2 WHERE (((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17)
----

query I rowsort label-4960
SELECT pk FROM tab2 WHERE NOT ((((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17))
----
9

statement ok
DELETE FROM tab3 WHERE (((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17)
----

query I rowsort label-4960
SELECT pk FROM tab3 WHERE NOT ((((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17))
----
9

statement ok
DELETE FROM tab4 WHERE (((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17)
----

query I rowsort label-4960
SELECT pk FROM tab4 WHERE NOT ((((col1 > 43.86 AND col4 <= 22.45 AND col3 <= 38) OR (col3 < 47))) AND col0 IN (17))
----
9

statement ok
DELETE FROM tab0 WHERE col0 < 37

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 37
----

query I rowsort label-4975
SELECT pk FROM tab0 WHERE NOT (col0 < 37)
----
9

statement ok
DELETE FROM tab1 WHERE col0 < 37

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 37
----

query I rowsort label-4975
SELECT pk FROM tab1 WHERE NOT (col0 < 37)
----
9

statement ok
DELETE FROM tab2 WHERE col0 < 37

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 37
----

query I rowsort label-4975
SELECT pk FROM tab2 WHERE NOT (col0 < 37)
----
9

statement ok
DELETE FROM tab3 WHERE col0 < 37

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 37
----

query I rowsort label-4975
SELECT pk FROM tab3 WHERE NOT (col0 < 37)
----
9

statement ok
DELETE FROM tab4 WHERE col0 < 37

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 37
----

query I rowsort label-4975
SELECT pk FROM tab4 WHERE NOT (col0 < 37)
----
9

statement ok
DELETE FROM tab0 WHERE col0 IN (23) AND (((col3 > 27)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (23) AND (((col3 > 27)))
----

query I rowsort label-4990
SELECT pk FROM tab0 WHERE NOT (col0 IN (23) AND (((col3 > 27))))
----
9

statement ok
DELETE FROM tab1 WHERE col0 IN (23) AND (((col3 > 27)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (23) AND (((col3 > 27)))
----

query I rowsort label-4990
SELECT pk FROM tab1 WHERE NOT (col0 IN (23) AND (((col3 > 27))))
----
9

statement ok
DELETE FROM tab2 WHERE col0 IN (23) AND (((col3 > 27)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (23) AND (((col3 > 27)))
----

query I rowsort label-4990
SELECT pk FROM tab2 WHERE NOT (col0 IN (23) AND (((col3 > 27))))
----
9

statement ok
DELETE FROM tab3 WHERE col0 IN (23) AND (((col3 > 27)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (23) AND (((col3 > 27)))
----

query I rowsort label-4990
SELECT pk FROM tab3 WHERE NOT (col0 IN (23) AND (((col3 > 27))))
----
9

statement ok
DELETE FROM tab4 WHERE col0 IN (23) AND (((col3 > 27)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (23) AND (((col3 > 27)))
----

query I rowsort label-4990
SELECT pk FROM tab4 WHERE NOT (col0 IN (23) AND (((col3 > 27))))
----
9

statement ok
DELETE FROM tab0 WHERE (col0 > 58)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 58)
----

query I rowsort label-5005
SELECT pk FROM tab0 WHERE NOT ((col0 > 58))
----

statement ok
DELETE FROM tab1 WHERE (col0 > 58)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 58)
----

query I rowsort label-5005
SELECT pk FROM tab1 WHERE NOT ((col0 > 58))
----

statement ok
DELETE FROM tab2 WHERE (col0 > 58)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 58)
----

query I rowsort label-5005
SELECT pk FROM tab2 WHERE NOT ((col0 > 58))
----

statement ok
DELETE FROM tab3 WHERE (col0 > 58)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 58)
----

query I rowsort label-5005
SELECT pk FROM tab3 WHERE NOT ((col0 > 58))
----

statement ok
DELETE FROM tab4 WHERE (col0 > 58)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 58)
----

query I rowsort label-5005
SELECT pk FROM tab4 WHERE NOT ((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,48,7.75,'awhxt',69,91.12,'fnixx')

statement ok
INSERT INTO tab0 VALUES(1,38,10.79,'ocjei',26,90.65,'jvmjd')

statement ok
INSERT INTO tab0 VALUES(2,50,89.76,'bscxf',47,63.43,'yafut')

statement ok
INSERT INTO tab0 VALUES(3,20,37.86,'fsvgp',36,4.52,'zcfqd')

statement ok
INSERT INTO tab0 VALUES(4,96,17.6,'kiqmo',61,12.86,'zpbng')

statement ok
INSERT INTO tab0 VALUES(5,45,29.26,'dxvck',67,54.35,'ncxhj')

statement ok
INSERT INTO tab0 VALUES(6,68,72.41,'xfqvp',90,27.0,'wxeem')

statement ok
INSERT INTO tab0 VALUES(7,14,6.61,'sotxg',68,20.3,'plbye')

statement ok
INSERT INTO tab0 VALUES(8,88,14.26,'pvaet',52,77.5,'ejhzb')

statement ok
INSERT INTO tab0 VALUES(9,69,67.17,'krdbi',27,58.12,'sqokm')

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_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 UNIQUE INDEX idx_tab3_0 ON tab3 (col0,col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (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 INDEX idx_tab4_0 ON tab4 (col0,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1,col4,col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1,col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4 DESC,col3 DESC,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99))
----

query I rowsort label-5020
SELECT pk FROM tab0 WHERE NOT ((col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99)))
----
2
4
6
9

statement ok
DELETE FROM tab1 WHERE (col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99))
----

query I rowsort label-5020
SELECT pk FROM tab1 WHERE NOT ((col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99)))
----
2
4
6
9

statement ok
DELETE FROM tab2 WHERE (col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99))
----

query I rowsort label-5020
SELECT pk FROM tab2 WHERE NOT ((col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99)))
----
2
4
6
9

statement ok
DELETE FROM tab3 WHERE (col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99))
----

query I rowsort label-5020
SELECT pk FROM tab3 WHERE NOT ((col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99)))
----
2
4
6
9

statement ok
DELETE FROM tab4 WHERE (col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99))
----

query I rowsort label-5020
SELECT pk FROM tab4 WHERE NOT ((col0 <= 48 OR col4 > 70.92 AND col3 >= 0 OR (col3 = 99)))
----
2
4
6
9

statement ok
DELETE FROM tab0 WHERE col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76)
----

query I rowsort label-5035
SELECT pk FROM tab0 WHERE NOT (col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76))
----
4
6
9

statement ok
DELETE FROM tab1 WHERE col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76)
----

query I rowsort label-5035
SELECT pk FROM tab1 WHERE NOT (col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76))
----
4
6
9

statement ok
DELETE FROM tab2 WHERE col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76)
----

query I rowsort label-5035
SELECT pk FROM tab2 WHERE NOT (col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76))
----
4
6
9

statement ok
DELETE FROM tab3 WHERE col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76)
----

query I rowsort label-5035
SELECT pk FROM tab3 WHERE NOT (col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76))
----
4
6
9

statement ok
DELETE FROM tab4 WHERE col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76)
----

query I rowsort label-5035
SELECT pk FROM tab4 WHERE NOT (col0 < 8 OR (col3 > 31) AND (col3 > 19 AND col4 > 27.76))
----
4
6
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,69,74.23,'ggmvp',98,36.34,'sdfwc')

statement ok
INSERT INTO tab0 VALUES(1,93,98.67,'niyll',45,22.18,'hhdck')

statement ok
INSERT INTO tab0 VALUES(2,43,99.58,'oeqfs',27,68.76,'nhnwz')

statement ok
INSERT INTO tab0 VALUES(3,70,92.50,'rctdy',57,3.22,'vckkm')

statement ok
INSERT INTO tab0 VALUES(4,89,100.88,'junyg',92,16.98,'zxngy')

statement ok
INSERT INTO tab0 VALUES(5,44,53.72,'oukxg',4,64.28,'cqimf')

statement ok
INSERT INTO tab0 VALUES(6,71,15.20,'rfcjl',31,92.89,'umcux')

statement ok
INSERT INTO tab0 VALUES(7,52,88.29,'qkvhe',50,38.65,'lvesp')

statement ok
INSERT INTO tab0 VALUES(8,97,26.39,'eohav',33,50.16,'enyoz')

statement ok
INSERT INTO tab0 VALUES(9,87,49.94,'wewyv',13,97.37,'ztdux')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3,col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3 DESC,col1)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4,col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 < 14

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 14
----

query I rowsort label-5050
SELECT pk FROM tab0 WHERE NOT (col0 < 14)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 < 14

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 14
----

query I rowsort label-5050
SELECT pk FROM tab1 WHERE NOT (col0 < 14)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 < 14

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 14
----

query I rowsort label-5050
SELECT pk FROM tab2 WHERE NOT (col0 < 14)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 < 14

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 14
----

query I rowsort label-5050
SELECT pk FROM tab3 WHERE NOT (col0 < 14)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 < 14

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 14
----

query I rowsort label-5050
SELECT pk FROM tab4 WHERE NOT (col0 < 14)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 = 98

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 98
----

query I rowsort label-5065
SELECT pk FROM tab0 WHERE NOT (col3 = 98)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab1 WHERE col3 = 98

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 98
----

query I rowsort label-5065
SELECT pk FROM tab1 WHERE NOT (col3 = 98)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab2 WHERE col3 = 98

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 98
----

query I rowsort label-5065
SELECT pk FROM tab2 WHERE NOT (col3 = 98)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab3 WHERE col3 = 98

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 98
----

query I rowsort label-5065
SELECT pk FROM tab3 WHERE NOT (col3 = 98)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab4 WHERE col3 = 98

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 98
----

query I rowsort label-5065
SELECT pk FROM tab4 WHERE NOT (col3 = 98)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab0 WHERE ((col1 <= 59.8))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 <= 59.8))
----

query I rowsort label-5080
SELECT pk FROM tab0 WHERE NOT (((col1 <= 59.8)))
----
1
2
3
4
7

statement ok
DELETE FROM tab1 WHERE ((col1 <= 59.8))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 <= 59.8))
----

query I rowsort label-5080
SELECT pk FROM tab1 WHERE NOT (((col1 <= 59.8)))
----
1
2
3
4
7

statement ok
DELETE FROM tab2 WHERE ((col1 <= 59.8))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 <= 59.8))
----

query I rowsort label-5080
SELECT pk FROM tab2 WHERE NOT (((col1 <= 59.8)))
----
1
2
3
4
7

statement ok
DELETE FROM tab3 WHERE ((col1 <= 59.8))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 <= 59.8))
----

query I rowsort label-5080
SELECT pk FROM tab3 WHERE NOT (((col1 <= 59.8)))
----
1
2
3
4
7

statement ok
DELETE FROM tab4 WHERE ((col1 <= 59.8))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 <= 59.8))
----

query I rowsort label-5080
SELECT pk FROM tab4 WHERE NOT (((col1 <= 59.8)))
----
1
2
3
4
7

statement ok
DELETE FROM tab0 WHERE (col4 = 54.47)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 = 54.47)
----

query I rowsort label-5095
SELECT pk FROM tab0 WHERE NOT ((col4 = 54.47))
----
1
2
3
4
7

statement ok
DELETE FROM tab1 WHERE (col4 = 54.47)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 = 54.47)
----

query I rowsort label-5095
SELECT pk FROM tab1 WHERE NOT ((col4 = 54.47))
----
1
2
3
4
7

statement ok
DELETE FROM tab2 WHERE (col4 = 54.47)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 = 54.47)
----

query I rowsort label-5095
SELECT pk FROM tab2 WHERE NOT ((col4 = 54.47))
----
1
2
3
4
7

statement ok
DELETE FROM tab3 WHERE (col4 = 54.47)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 = 54.47)
----

query I rowsort label-5095
SELECT pk FROM tab3 WHERE NOT ((col4 = 54.47))
----
1
2
3
4
7

statement ok
DELETE FROM tab4 WHERE (col4 = 54.47)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 = 54.47)
----

query I rowsort label-5095
SELECT pk FROM tab4 WHERE NOT ((col4 = 54.47))
----
1
2
3
4
7

statement ok
DELETE FROM tab0 WHERE col1 > 95.35

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 95.35
----

query I rowsort label-5110
SELECT pk FROM tab0 WHERE NOT (col1 > 95.35)
----
3
7

statement ok
DELETE FROM tab1 WHERE col1 > 95.35

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 95.35
----

query I rowsort label-5110
SELECT pk FROM tab1 WHERE NOT (col1 > 95.35)
----
3
7

statement ok
DELETE FROM tab2 WHERE col1 > 95.35

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 95.35
----

query I rowsort label-5110
SELECT pk FROM tab2 WHERE NOT (col1 > 95.35)
----
3
7

statement ok
DELETE FROM tab3 WHERE col1 > 95.35

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 95.35
----

query I rowsort label-5110
SELECT pk FROM tab3 WHERE NOT (col1 > 95.35)
----
3
7

statement ok
DELETE FROM tab4 WHERE col1 > 95.35

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 95.35
----

query I rowsort label-5110
SELECT pk FROM tab4 WHERE NOT (col1 > 95.35)
----
3
7

statement ok
DELETE FROM tab0 WHERE (col1 > 44.9)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 44.9)
----

query I rowsort label-5125
SELECT pk FROM tab0 WHERE NOT ((col1 > 44.9))
----

statement ok
DELETE FROM tab1 WHERE (col1 > 44.9)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 44.9)
----

query I rowsort label-5125
SELECT pk FROM tab1 WHERE NOT ((col1 > 44.9))
----

statement ok
DELETE FROM tab2 WHERE (col1 > 44.9)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 44.9)
----

query I rowsort label-5125
SELECT pk FROM tab2 WHERE NOT ((col1 > 44.9))
----

statement ok
DELETE FROM tab3 WHERE (col1 > 44.9)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 44.9)
----

query I rowsort label-5125
SELECT pk FROM tab3 WHERE NOT ((col1 > 44.9))
----

statement ok
DELETE FROM tab4 WHERE (col1 > 44.9)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 44.9)
----

query I rowsort label-5125
SELECT pk FROM tab4 WHERE NOT ((col1 > 44.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,98,93.27,'wdwlx',0,41.15,'pwuws')

statement ok
INSERT INTO tab0 VALUES(1,43,22.43,'qkuqf',81,88.19,'roohk')

statement ok
INSERT INTO tab0 VALUES(2,23,35.85,'rbjag',93,30.32,'emqgm')

statement ok
INSERT INTO tab0 VALUES(3,97,96.40,'cvgvp',14,68.28,'loenb')

statement ok
INSERT INTO tab0 VALUES(4,82,97.14,'ileag',15,35.89,'uznle')

statement ok
INSERT INTO tab0 VALUES(5,15,65.1,'hhbhp',16,8.58,'nwfqy')

statement ok
INSERT INTO tab0 VALUES(6,16,81.37,'kwcgs',51,24.9,'cxcur')

statement ok
INSERT INTO tab0 VALUES(7,51,87.73,'yqxkl',34,85.7,'eyocy')

statement ok
INSERT INTO tab0 VALUES(8,95,3.29,'ynqok',17,79.69,'zpowu')

statement ok
INSERT INTO tab0 VALUES(9,90,37.59,'iocng',50,89.29,'czviu')

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,col4 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC)

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 (col0,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0,col4)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 < 97.72)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 97.72)
----

query I rowsort label-5140
SELECT pk FROM tab0 WHERE NOT ((col1 < 97.72))
----

statement ok
DELETE FROM tab1 WHERE (col1 < 97.72)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 97.72)
----

query I rowsort label-5140
SELECT pk FROM tab1 WHERE NOT ((col1 < 97.72))
----

statement ok
DELETE FROM tab2 WHERE (col1 < 97.72)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 97.72)
----

query I rowsort label-5140
SELECT pk FROM tab2 WHERE NOT ((col1 < 97.72))
----

statement ok
DELETE FROM tab3 WHERE (col1 < 97.72)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 97.72)
----

query I rowsort label-5140
SELECT pk FROM tab3 WHERE NOT ((col1 < 97.72))
----

statement ok
DELETE FROM tab4 WHERE (col1 < 97.72)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 97.72)
----

query I rowsort label-5140
SELECT pk FROM tab4 WHERE NOT ((col1 < 97.72))
----

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,18,4.26,'eftuu',56,8.17,'pajlf')

statement ok
INSERT INTO tab0 VALUES(1,92,6.32,'gqkja',92,65.58,'uuynn')

statement ok
INSERT INTO tab0 VALUES(2,71,75.37,'tavgc',94,32.92,'zsidp')

statement ok
INSERT INTO tab0 VALUES(3,44,47.26,'ljqzh',49,55.73,'vxmxl')

statement ok
INSERT INTO tab0 VALUES(4,72,45.25,'tifss',68,97.4,'nyleu')

statement ok
INSERT INTO tab0 VALUES(5,99,37.15,'pnjnc',7,99.47,'ntxdt')

statement ok
INSERT INTO tab0 VALUES(6,65,5.44,'vmxji',71,48.38,'atxci')

statement ok
INSERT INTO tab0 VALUES(7,21,2.39,'xyigb',31,33.96,'remkg')

statement ok
INSERT INTO tab0 VALUES(8,36,21.16,'ovhli',36,11.41,'fafrh')

statement ok
INSERT INTO tab0 VALUES(9,16,51.98,'mlkng',24,70.2,'bexzg')

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,col3 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (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 UNIQUE INDEX idx_tab4_0 ON tab4 (col3,col0,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,38,43.50,'ceycc',25,76.50,'witbb')

statement ok
INSERT INTO tab0 VALUES(1,49,75.80,'adkuq',53,71.68,'cvmkh')

statement ok
INSERT INTO tab0 VALUES(2,78,62.52,'yvujb',34,7.2,'csklg')

statement ok
INSERT INTO tab0 VALUES(3,28,30.6,'essrr',62,37.13,'peshp')

statement ok
INSERT INTO tab0 VALUES(4,85,48.49,'biiwe',19,38.85,'pryts')

statement ok
INSERT INTO tab0 VALUES(5,33,91.72,'kkbjg',93,73.39,'zxvsf')

statement ok
INSERT INTO tab0 VALUES(6,66,5.55,'hedce',90,59.46,'ezozt')

statement ok
INSERT INTO tab0 VALUES(7,2,64.86,'rihpn',41,23.39,'tssmj')

statement ok
INSERT INTO tab0 VALUES(8,94,40.71,'wejbp',23,68.23,'zntlj')

statement ok
INSERT INTO tab0 VALUES(9,42,58.45,'jtvnh',64,34.94,'rqspx')

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 INDEX idx_tab2_1 ON tab2 (col4,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3 DESC,col4 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
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,16.30,'twapz',80,8.30,'faurk')

statement ok
INSERT INTO tab0 VALUES(1,11,65.42,'fjsyl',66,31.53,'ofdcs')

statement ok
INSERT INTO tab0 VALUES(2,62,74.95,'hssdn',1,72.78,'ttiiw')

statement ok
INSERT INTO tab0 VALUES(3,1,22.67,'gthbl',86,60.30,'opmuu')

statement ok
INSERT INTO tab0 VALUES(4,46,83.53,'syvim',59,2.5,'qipbp')

statement ok
INSERT INTO tab0 VALUES(5,65,86.80,'kpikf',17,41.89,'zjegd')

statement ok
INSERT INTO tab0 VALUES(6,83,80.20,'stfsl',20,22.64,'obyyr')

statement ok
INSERT INTO tab0 VALUES(7,0,94.96,'lpwur',9,50.26,'bwkhr')

statement ok
INSERT INTO tab0 VALUES(8,2,2.5,'ikiis',18,59.97,'kjjja')

statement ok
INSERT INTO tab0 VALUES(9,68,85.19,'pqskm',78,67.33,'kouae')

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)

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_2 ON tab3 (col3 DESC,col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,99,72.69,'rgyoq',90,37.30,'dndxt')

statement ok
INSERT INTO tab0 VALUES(1,19,9.23,'obsgk',1,81.42,'zfvrm')

statement ok
INSERT INTO tab0 VALUES(2,26,44.53,'meslw',92,65.46,'iobmi')

statement ok
INSERT INTO tab0 VALUES(3,63,37.7,'ewmfm',29,82.94,'richd')

statement ok
INSERT INTO tab0 VALUES(4,86,17.31,'llntg',21,94.17,'fmizu')

statement ok
INSERT INTO tab0 VALUES(5,21,88.36,'dwlcu',81,55.93,'vbbdl')

statement ok
INSERT INTO tab0 VALUES(6,34,50.56,'hibrn',91,11.7,'dqbkp')

statement ok
INSERT INTO tab0 VALUES(7,88,2.14,'mxlxt',59,21.9,'szjkc')

statement ok
INSERT INTO tab0 VALUES(8,5,65.82,'qfdxt',93,66.84,'gsoen')

statement ok
INSERT INTO tab0 VALUES(9,35,85.46,'iaibc',41,64.10,'nwwvc')

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,col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3,col1,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4,col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1 DESC)

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)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 > 47.34

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 47.34
----

query I rowsort label-5155
SELECT pk FROM tab0 WHERE NOT (col4 > 47.34)
----
0
6
7

statement ok
DELETE FROM tab1 WHERE col4 > 47.34

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 47.34
----

query I rowsort label-5155
SELECT pk FROM tab1 WHERE NOT (col4 > 47.34)
----
0
6
7

statement ok
DELETE FROM tab2 WHERE col4 > 47.34

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 47.34
----

query I rowsort label-5155
SELECT pk FROM tab2 WHERE NOT (col4 > 47.34)
----
0
6
7

statement ok
DELETE FROM tab3 WHERE col4 > 47.34

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 47.34
----

query I rowsort label-5155
SELECT pk FROM tab3 WHERE NOT (col4 > 47.34)
----
0
6
7

statement ok
DELETE FROM tab4 WHERE col4 > 47.34

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 47.34
----

query I rowsort label-5155
SELECT pk FROM tab4 WHERE NOT (col4 > 47.34)
----
0
6
7

statement ok
DELETE FROM tab0 WHERE col4 = 69.17

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 69.17
----

query I rowsort label-5170
SELECT pk FROM tab0 WHERE NOT (col4 = 69.17)
----
0
6
7

statement ok
DELETE FROM tab1 WHERE col4 = 69.17

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 69.17
----

query I rowsort label-5170
SELECT pk FROM tab1 WHERE NOT (col4 = 69.17)
----
0
6
7

statement ok
DELETE FROM tab2 WHERE col4 = 69.17

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 69.17
----

query I rowsort label-5170
SELECT pk FROM tab2 WHERE NOT (col4 = 69.17)
----
0
6
7

statement ok
DELETE FROM tab3 WHERE col4 = 69.17

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 69.17
----

query I rowsort label-5170
SELECT pk FROM tab3 WHERE NOT (col4 = 69.17)
----
0
6
7

statement ok
DELETE FROM tab4 WHERE col4 = 69.17

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 69.17
----

query I rowsort label-5170
SELECT pk FROM tab4 WHERE NOT (col4 = 69.17)
----
0
6
7

statement ok
DELETE FROM tab0 WHERE (col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95)))
----

query I rowsort label-5185
SELECT pk FROM tab0 WHERE NOT ((col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95))))
----
0

statement ok
DELETE FROM tab1 WHERE (col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95)))
----

query I rowsort label-5185
SELECT pk FROM tab1 WHERE NOT ((col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95))))
----
0

statement ok
DELETE FROM tab2 WHERE (col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95)))
----

query I rowsort label-5185
SELECT pk FROM tab2 WHERE NOT ((col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95))))
----
0

statement ok
DELETE FROM tab3 WHERE (col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95)))
----

query I rowsort label-5185
SELECT pk FROM tab3 WHERE NOT ((col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95))))
----
0

statement ok
DELETE FROM tab4 WHERE (col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95)))
----

query I rowsort label-5185
SELECT pk FROM tab4 WHERE NOT ((col4 < 26.77 OR (col3 < 68 AND col0 < 21) OR col3 < 54 OR col0 < 48 OR ((col3 = 95))))
----
0

statement ok
DELETE FROM tab0 WHERE col0 < 99

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 99
----

query I rowsort label-5200
SELECT pk FROM tab0 WHERE NOT (col0 < 99)
----
0

statement ok
DELETE FROM tab1 WHERE col0 < 99

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 99
----

query I rowsort label-5200
SELECT pk FROM tab1 WHERE NOT (col0 < 99)
----
0

statement ok
DELETE FROM tab2 WHERE col0 < 99

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 99
----

query I rowsort label-5200
SELECT pk FROM tab2 WHERE NOT (col0 < 99)
----
0

statement ok
DELETE FROM tab3 WHERE col0 < 99

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 99
----

query I rowsort label-5200
SELECT pk FROM tab3 WHERE NOT (col0 < 99)
----
0

statement ok
DELETE FROM tab4 WHERE col0 < 99

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 99
----

query I rowsort label-5200
SELECT pk FROM tab4 WHERE NOT (col0 < 99)
----
0

statement ok
DELETE FROM tab0 WHERE col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42)
----

query I rowsort label-5215
SELECT pk FROM tab0 WHERE NOT (col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42))
----

statement ok
DELETE FROM tab1 WHERE col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42)
----

query I rowsort label-5215
SELECT pk FROM tab1 WHERE NOT (col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42))
----

statement ok
DELETE FROM tab2 WHERE col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42)
----

query I rowsort label-5215
SELECT pk FROM tab2 WHERE NOT (col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42))
----

statement ok
DELETE FROM tab3 WHERE col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42)
----

query I rowsort label-5215
SELECT pk FROM tab3 WHERE NOT (col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42))
----

statement ok
DELETE FROM tab4 WHERE col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42)
----

query I rowsort label-5215
SELECT pk FROM tab4 WHERE NOT (col0 < 45 OR (((col3 < 45 OR col3 = 85 OR ((col4 < 7.68) AND ((col4 < 35.37)) OR col0 IS NULL)) AND col0 < 63 OR col4 > 9.84 OR (col3 > 30) OR col0 >= 40 OR col4 > 31.96 AND col1 <= 16.33 AND col0 <= 41) AND col3 >= 0 AND col1 > 43.42))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,71,47.50,'omkun',37,12.9,'zgmpj')

statement ok
INSERT INTO tab0 VALUES(1,78,25.11,'czcpo',25,58.57,'llmdh')

statement ok
INSERT INTO tab0 VALUES(2,93,38.41,'wkiri',91,25.28,'cbxrp')

statement ok
INSERT INTO tab0 VALUES(3,42,46.39,'mytnj',19,98.51,'ttupg')

statement ok
INSERT INTO tab0 VALUES(4,87,9.4,'tkrik',62,66.32,'ueysx')

statement ok
INSERT INTO tab0 VALUES(5,82,0.92,'nzlni',94,39.19,'lsdyb')

statement ok
INSERT INTO tab0 VALUES(6,43,19.83,'dwjik',82,60.65,'wbgwc')

statement ok
INSERT INTO tab0 VALUES(7,0,4.41,'hxzpm',45,15.84,'fvljm')

statement ok
INSERT INTO tab0 VALUES(8,74,44.75,'jczfy',14,50.24,'tceiv')

statement ok
INSERT INTO tab0 VALUES(9,27,92.8,'jjrvx',98,77.20,'afkcb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0,col1,col4 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC,col3)

statement ok
CREATE UNIQUE 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 (col3 DESC,col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3 DESC,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71
----

query I rowsort label-5230
SELECT pk FROM tab0 WHERE NOT (((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71)
----

statement ok
DELETE FROM tab1 WHERE ((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71
----

query I rowsort label-5230
SELECT pk FROM tab1 WHERE NOT (((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71)
----

statement ok
DELETE FROM tab2 WHERE ((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71
----

query I rowsort label-5230
SELECT pk FROM tab2 WHERE NOT (((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71)
----

statement ok
DELETE FROM tab3 WHERE ((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71
----

query I rowsort label-5230
SELECT pk FROM tab3 WHERE NOT (((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71)
----

statement ok
DELETE FROM tab4 WHERE ((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71
----

query I rowsort label-5230
SELECT pk FROM tab4 WHERE NOT (((((col4 > 91.94 OR col3 > 13 AND col4 = 29.45)))) OR (col1 > 35.20) OR (col0 > 55 AND col4 > 59.42) AND col0 > 72 AND col0 > 2 AND (col0 > 97) AND col3 BETWEEN 44 AND 18 OR col0 < 4 OR (col1 < 49.42) OR col0 > 71)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,41,31.98,'ilmhg',87,9.87,'tgeku')

statement ok
INSERT INTO tab0 VALUES(1,58,59.81,'pbndu',54,65.84,'ykdiw')

statement ok
INSERT INTO tab0 VALUES(2,29,4.30,'vinbo',11,3.21,'ukhou')

statement ok
INSERT INTO tab0 VALUES(3,76,0.36,'rlfgz',94,22.97,'pmtfz')

statement ok
INSERT INTO tab0 VALUES(4,26,74.7,'bugib',96,41.38,'xityf')

statement ok
INSERT INTO tab0 VALUES(5,18,6.91,'wvpmr',84,69.14,'xmhdd')

statement ok
INSERT INTO tab0 VALUES(6,21,95.83,'pjlvp',6,61.47,'diuaz')

statement ok
INSERT INTO tab0 VALUES(7,43,21.36,'wqpey',7,85.28,'hfssa')

statement ok
INSERT INTO tab0 VALUES(8,45,5.79,'dlfnr',42,80.23,'nqakm')

statement ok
INSERT INTO tab0 VALUES(9,52,71.24,'gflwm',86,24.95,'hidou')

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 INDEX idx_tab2_2 ON tab2 (col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16)
----

query I rowsort label-5245
SELECT pk FROM tab0 WHERE NOT (col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16))
----
4
6

statement ok
DELETE FROM tab1 WHERE col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16)
----

query I rowsort label-5245
SELECT pk FROM tab1 WHERE NOT (col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16))
----
4
6

statement ok
DELETE FROM tab2 WHERE col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16)
----

query I rowsort label-5245
SELECT pk FROM tab2 WHERE NOT (col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16))
----
4
6

statement ok
DELETE FROM tab3 WHERE col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16)
----

query I rowsort label-5245
SELECT pk FROM tab3 WHERE NOT (col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16))
----
4
6

statement ok
DELETE FROM tab4 WHERE col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16)
----

query I rowsort label-5245
SELECT pk FROM tab4 WHERE NOT (col1 <= 72.97 OR (col1 IS NULL) AND col3 > 62 OR ((col0 > 60)) AND col1 >= 67.72 AND (col0 IN (0,81) OR col3 > 28 AND col1 > 80.76 OR col1 <= 3.45) AND (col0 < 36 OR col3 >= 16))
----
4
6

statement ok
DELETE FROM tab0 WHERE ((col3 < 25) AND ((col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 25) AND ((col3 IS NULL)))
----

query I rowsort label-5260
SELECT pk FROM tab0 WHERE NOT (((col3 < 25) AND ((col3 IS NULL))))
----
4
6

statement ok
DELETE FROM tab1 WHERE ((col3 < 25) AND ((col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 25) AND ((col3 IS NULL)))
----

statement ok
DELETE FROM tab0 WHERE (col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL
----

query I rowsort label-5265
SELECT pk FROM tab0 WHERE NOT ((col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL)
----

statement ok
DELETE FROM tab1 WHERE (col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL
----

query I rowsort label-5265
SELECT pk FROM tab1 WHERE NOT ((col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL)
----

statement ok
DELETE FROM tab2 WHERE (col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL
----

query I rowsort label-5265
SELECT pk FROM tab2 WHERE NOT ((col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL)
----

statement ok
DELETE FROM tab3 WHERE (col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL
----

query I rowsort label-5265
SELECT pk FROM tab3 WHERE NOT ((col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL)
----

statement ok
DELETE FROM tab4 WHERE (col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 IS NULL
----

query I rowsort label-5265
SELECT pk FROM tab4 WHERE NOT ((col3 >= 85) OR (col4 >= 76.72) AND col3 >= 27 OR col0 < 29 AND (((col3 < 36))) OR col4 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,64,34.68,'tkwyf',72,1.67,'uqqft')

statement ok
INSERT INTO tab0 VALUES(1,7,4.70,'jrrlb',74,28.13,'vsctl')

statement ok
INSERT INTO tab0 VALUES(2,93,83.71,'tzski',59,10.28,'frciw')

statement ok
INSERT INTO tab0 VALUES(3,68,14.6,'vlzep',6,90.50,'yrqah')

statement ok
INSERT INTO tab0 VALUES(4,98,81.90,'felvy',20,33.49,'xvphv')

statement ok
INSERT INTO tab0 VALUES(5,78,71.27,'ujvms',42,88.40,'rkkbe')

statement ok
INSERT INTO tab0 VALUES(6,50,38.25,'kldfc',67,53.0,'yapzd')

statement ok
INSERT INTO tab0 VALUES(7,14,62.4,'ldikq',53,34.75,'lqkhg')

statement ok
INSERT INTO tab0 VALUES(8,38,16.14,'luwpb',31,8.95,'gvmgo')

statement ok
INSERT INTO tab0 VALUES(9,74,25.46,'tenwu',25,91.87,'pvozy')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1,col0 DESC,col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col3 <= 50))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 <= 50))
----

query I rowsort label-5280
SELECT pk FROM tab0 WHERE NOT (((col3 <= 50)))
----
0
1
2
6
7

statement ok
DELETE FROM tab1 WHERE ((col3 <= 50))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 <= 50))
----

query I rowsort label-5280
SELECT pk FROM tab1 WHERE NOT (((col3 <= 50)))
----
0
1
2
6
7

statement ok
DELETE FROM tab2 WHERE ((col3 <= 50))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 <= 50))
----

query I rowsort label-5280
SELECT pk FROM tab2 WHERE NOT (((col3 <= 50)))
----
0
1
2
6
7

statement ok
DELETE FROM tab3 WHERE ((col3 <= 50))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 <= 50))
----

query I rowsort label-5280
SELECT pk FROM tab3 WHERE NOT (((col3 <= 50)))
----
0
1
2
6
7

statement ok
DELETE FROM tab4 WHERE ((col3 <= 50))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 <= 50))
----

query I rowsort label-5280
SELECT pk FROM tab4 WHERE NOT (((col3 <= 50)))
----
0
1
2
6
7

statement ok
DELETE FROM tab0 WHERE ((((col3 IS NULL)))) AND ((col1 <= 18.43))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col3 IS NULL)))) AND ((col1 <= 18.43))
----

query I rowsort label-5295
SELECT pk FROM tab0 WHERE NOT (((((col3 IS NULL)))) AND ((col1 <= 18.43)))
----
0
1
2
6
7

statement ok
DELETE FROM tab1 WHERE ((((col3 IS NULL)))) AND ((col1 <= 18.43))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col3 IS NULL)))) AND ((col1 <= 18.43))
----

query I rowsort label-5295
SELECT pk FROM tab1 WHERE NOT (((((col3 IS NULL)))) AND ((col1 <= 18.43)))
----
0
1
2
6
7

statement ok
DELETE FROM tab2 WHERE ((((col3 IS NULL)))) AND ((col1 <= 18.43))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col3 IS NULL)))) AND ((col1 <= 18.43))
----

query I rowsort label-5295
SELECT pk FROM tab2 WHERE NOT (((((col3 IS NULL)))) AND ((col1 <= 18.43)))
----
0
1
2
6
7

statement ok
DELETE FROM tab3 WHERE ((((col3 IS NULL)))) AND ((col1 <= 18.43))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col3 IS NULL)))) AND ((col1 <= 18.43))
----

query I rowsort label-5295
SELECT pk FROM tab3 WHERE NOT (((((col3 IS NULL)))) AND ((col1 <= 18.43)))
----
0
1
2
6
7

statement ok
DELETE FROM tab4 WHERE ((((col3 IS NULL)))) AND ((col1 <= 18.43))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col3 IS NULL)))) AND ((col1 <= 18.43))
----

query I rowsort label-5295
SELECT pk FROM tab4 WHERE NOT (((((col3 IS NULL)))) AND ((col1 <= 18.43)))
----
0
1
2
6
7

statement ok
DELETE FROM tab0 WHERE (col0 > 90) AND (col3 = 51)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 90) AND (col3 = 51)
----

query I rowsort label-5310
SELECT pk FROM tab0 WHERE NOT ((col0 > 90) AND (col3 = 51))
----
0
1
2
6
7

statement ok
DELETE FROM tab1 WHERE (col0 > 90) AND (col3 = 51)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 90) AND (col3 = 51)
----

query I rowsort label-5310
SELECT pk FROM tab1 WHERE NOT ((col0 > 90) AND (col3 = 51))
----
0
1
2
6
7

statement ok
DELETE FROM tab2 WHERE (col0 > 90) AND (col3 = 51)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 90) AND (col3 = 51)
----

query I rowsort label-5310
SELECT pk FROM tab2 WHERE NOT ((col0 > 90) AND (col3 = 51))
----
0
1
2
6
7

statement ok
DELETE FROM tab3 WHERE (col0 > 90) AND (col3 = 51)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 90) AND (col3 = 51)
----

query I rowsort label-5310
SELECT pk FROM tab3 WHERE NOT ((col0 > 90) AND (col3 = 51))
----
0
1
2
6
7

statement ok
DELETE FROM tab4 WHERE (col0 > 90) AND (col3 = 51)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 90) AND (col3 = 51)
----

query I rowsort label-5310
SELECT pk FROM tab4 WHERE NOT ((col0 > 90) AND (col3 = 51))
----
0
1
2
6
7

statement ok
DELETE FROM tab0 WHERE (col1 < 81.61)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 81.61)
----

query I rowsort label-5325
SELECT pk FROM tab0 WHERE NOT ((col1 < 81.61))
----
2

statement ok
DELETE FROM tab1 WHERE (col1 < 81.61)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 81.61)
----

query I rowsort label-5325
SELECT pk FROM tab1 WHERE NOT ((col1 < 81.61))
----
2

statement ok
DELETE FROM tab2 WHERE (col1 < 81.61)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 81.61)
----

query I rowsort label-5325
SELECT pk FROM tab2 WHERE NOT ((col1 < 81.61))
----
2

statement ok
DELETE FROM tab3 WHERE (col1 < 81.61)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 81.61)
----

query I rowsort label-5325
SELECT pk FROM tab3 WHERE NOT ((col1 < 81.61))
----
2

statement ok
DELETE FROM tab4 WHERE (col1 < 81.61)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 81.61)
----

query I rowsort label-5325
SELECT pk FROM tab4 WHERE NOT ((col1 < 81.61))
----
2

statement ok
DELETE FROM tab0 WHERE (col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36)
----

query I rowsort label-5340
SELECT pk FROM tab0 WHERE NOT ((col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36))
----

statement ok
DELETE FROM tab1 WHERE (col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36)
----

query I rowsort label-5340
SELECT pk FROM tab1 WHERE NOT ((col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36))
----

statement ok
DELETE FROM tab2 WHERE (col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36)
----

query I rowsort label-5340
SELECT pk FROM tab2 WHERE NOT ((col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36))
----

statement ok
DELETE FROM tab3 WHERE (col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36)
----

query I rowsort label-5340
SELECT pk FROM tab3 WHERE NOT ((col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36))
----

statement ok
DELETE FROM tab4 WHERE (col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,36)
----

query I rowsort label-5340
SELECT pk FROM tab4 WHERE NOT ((col3 >= 41) OR col0 >= 36 AND ((col4 = 72.54)) OR (((col4 <= 3.42 AND col1 > 77.90 AND (col1 >= 44.76)))) OR col1 > 20.99 OR (col0 < 22) OR col3 > 80 OR (col3 < 41 OR ((col0 > 99 OR (col0 = 24))) AND col0 IS NULL) OR col3 < 7 OR col1 IS NULL OR col1 IS NULL OR col1 <= 68.65 AND col3 < 72 OR (((col0 < 71))) AND col3 IN (28,29,20,33,99,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,13,95.26,'ebztx',24,24.68,'nnquy')

statement ok
INSERT INTO tab0 VALUES(1,38,73.21,'oosng',33,86.28,'tlpms')

statement ok
INSERT INTO tab0 VALUES(2,90,59.86,'qjipw',51,62.82,'ozhrd')

statement ok
INSERT INTO tab0 VALUES(3,45,74.94,'xjgus',70,25.55,'zrdhv')

statement ok
INSERT INTO tab0 VALUES(4,42,56.76,'iokex',3,90.36,'dvfoc')

statement ok
INSERT INTO tab0 VALUES(5,94,17.32,'qgxhx',91,85.89,'voiks')

statement ok
INSERT INTO tab0 VALUES(6,2,11.43,'dfrip',22,4.68,'hxejj')

statement ok
INSERT INTO tab0 VALUES(7,64,93.87,'ipaem',36,77.26,'sbjrj')

statement ok
INSERT INTO tab0 VALUES(8,93,81.47,'mikpq',43,27.30,'uktqk')

statement ok
INSERT INTO tab0 VALUES(9,23,20.28,'fauib',34,38.75,'nrelw')

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 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 BETWEEN 29 AND 53

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 BETWEEN 29 AND 53
----

query I rowsort label-5355
SELECT pk FROM tab0 WHERE NOT (col0 BETWEEN 29 AND 53)
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 BETWEEN 29 AND 53

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 BETWEEN 29 AND 53
----

query I rowsort label-5355
SELECT pk FROM tab1 WHERE NOT (col0 BETWEEN 29 AND 53)
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 BETWEEN 29 AND 53

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 BETWEEN 29 AND 53
----

query I rowsort label-5355
SELECT pk FROM tab2 WHERE NOT (col0 BETWEEN 29 AND 53)
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 BETWEEN 29 AND 53

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 BETWEEN 29 AND 53
----

query I rowsort label-5355
SELECT pk FROM tab3 WHERE NOT (col0 BETWEEN 29 AND 53)
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 BETWEEN 29 AND 53

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 BETWEEN 29 AND 53
----

query I rowsort label-5355
SELECT pk FROM tab4 WHERE NOT (col0 BETWEEN 29 AND 53)
----
0
2
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col3 < 64 AND ((col1 <= 27.84)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 64 AND ((col1 <= 27.84)))
----

query I rowsort label-5370
SELECT pk FROM tab0 WHERE NOT ((col3 < 64 AND ((col1 <= 27.84))))
----
0
2
5
7
8

statement ok
DELETE FROM tab1 WHERE (col3 < 64 AND ((col1 <= 27.84)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 64 AND ((col1 <= 27.84)))
----

query I rowsort label-5370
SELECT pk FROM tab1 WHERE NOT ((col3 < 64 AND ((col1 <= 27.84))))
----
0
2
5
7
8

statement ok
DELETE FROM tab2 WHERE (col3 < 64 AND ((col1 <= 27.84)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 64 AND ((col1 <= 27.84)))
----

query I rowsort label-5370
SELECT pk FROM tab2 WHERE NOT ((col3 < 64 AND ((col1 <= 27.84))))
----
0
2
5
7
8

statement ok
DELETE FROM tab3 WHERE (col3 < 64 AND ((col1 <= 27.84)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 64 AND ((col1 <= 27.84)))
----

query I rowsort label-5370
SELECT pk FROM tab3 WHERE NOT ((col3 < 64 AND ((col1 <= 27.84))))
----
0
2
5
7
8

statement ok
DELETE FROM tab4 WHERE (col3 < 64 AND ((col1 <= 27.84)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 64 AND ((col1 <= 27.84)))
----

query I rowsort label-5370
SELECT pk FROM tab4 WHERE NOT ((col3 < 64 AND ((col1 <= 27.84))))
----
0
2
5
7
8

statement ok
DELETE FROM tab0 WHERE col3 < 64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 64
----

query I rowsort label-5385
SELECT pk FROM tab0 WHERE NOT (col3 < 64)
----
5

statement ok
DELETE FROM tab1 WHERE col3 < 64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 64
----

query I rowsort label-5385
SELECT pk FROM tab1 WHERE NOT (col3 < 64)
----
5

statement ok
DELETE FROM tab2 WHERE col3 < 64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 64
----

query I rowsort label-5385
SELECT pk FROM tab2 WHERE NOT (col3 < 64)
----
5

statement ok
DELETE FROM tab3 WHERE col3 < 64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 64
----

query I rowsort label-5385
SELECT pk FROM tab3 WHERE NOT (col3 < 64)
----
5

statement ok
DELETE FROM tab4 WHERE col3 < 64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 64
----

query I rowsort label-5385
SELECT pk FROM tab4 WHERE NOT (col3 < 64)
----
5

statement ok
DELETE FROM tab0 WHERE (col4 < 6.37)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 6.37)
----

query I rowsort label-5400
SELECT pk FROM tab0 WHERE NOT ((col4 < 6.37))
----
5

statement ok
DELETE FROM tab1 WHERE (col4 < 6.37)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 6.37)
----

query I rowsort label-5400
SELECT pk FROM tab1 WHERE NOT ((col4 < 6.37))
----
5

statement ok
DELETE FROM tab2 WHERE (col4 < 6.37)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 6.37)
----

query I rowsort label-5400
SELECT pk FROM tab2 WHERE NOT ((col4 < 6.37))
----
5

statement ok
DELETE FROM tab3 WHERE (col4 < 6.37)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 6.37)
----

query I rowsort label-5400
SELECT pk FROM tab3 WHERE NOT ((col4 < 6.37))
----
5

statement ok
DELETE FROM tab4 WHERE (col4 < 6.37)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 6.37)
----

query I rowsort label-5400
SELECT pk FROM tab4 WHERE NOT ((col4 < 6.37))
----
5

statement ok
DELETE FROM tab0 WHERE col3 < 44 AND col3 >= 53 AND (((col4 = 9.83)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 44 AND col3 >= 53 AND (((col4 = 9.83)))
----

query I rowsort label-5415
SELECT pk FROM tab0 WHERE NOT (col3 < 44 AND col3 >= 53 AND (((col4 = 9.83))))
----
5

statement ok
DELETE FROM tab1 WHERE col3 < 44 AND col3 >= 53 AND (((col4 = 9.83)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 44 AND col3 >= 53 AND (((col4 = 9.83)))
----

query I rowsort label-5415
SELECT pk FROM tab1 WHERE NOT (col3 < 44 AND col3 >= 53 AND (((col4 = 9.83))))
----
5

statement ok
DELETE FROM tab2 WHERE col3 < 44 AND col3 >= 53 AND (((col4 = 9.83)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 44 AND col3 >= 53 AND (((col4 = 9.83)))
----

query I rowsort label-5415
SELECT pk FROM tab2 WHERE NOT (col3 < 44 AND col3 >= 53 AND (((col4 = 9.83))))
----
5

statement ok
DELETE FROM tab3 WHERE col3 < 44 AND col3 >= 53 AND (((col4 = 9.83)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 44 AND col3 >= 53 AND (((col4 = 9.83)))
----

query I rowsort label-5415
SELECT pk FROM tab3 WHERE NOT (col3 < 44 AND col3 >= 53 AND (((col4 = 9.83))))
----
5

statement ok
DELETE FROM tab4 WHERE col3 < 44 AND col3 >= 53 AND (((col4 = 9.83)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 44 AND col3 >= 53 AND (((col4 = 9.83)))
----

query I rowsort label-5415
SELECT pk FROM tab4 WHERE NOT (col3 < 44 AND col3 >= 53 AND (((col4 = 9.83))))
----
5

statement ok
DELETE FROM tab0 WHERE (((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82)))
----

query I rowsort label-5430
SELECT pk FROM tab0 WHERE NOT ((((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82))))
----
5

statement ok
DELETE FROM tab1 WHERE (((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82)))
----

query I rowsort label-5430
SELECT pk FROM tab1 WHERE NOT ((((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82))))
----
5

statement ok
DELETE FROM tab2 WHERE (((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82)))
----

query I rowsort label-5430
SELECT pk FROM tab2 WHERE NOT ((((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82))))
----
5

statement ok
DELETE FROM tab3 WHERE (((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82)))
----

query I rowsort label-5430
SELECT pk FROM tab3 WHERE NOT ((((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82))))
----
5

statement ok
DELETE FROM tab4 WHERE (((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82)))
----

query I rowsort label-5430
SELECT pk FROM tab4 WHERE NOT ((((((col0 = 7) OR (((col4 > 50.97 AND (col0 >= 6) OR col4 IS NULL AND col0 IN (56,31)))) AND (col4 IS NULL OR ((col4 <= 22.16 OR col1 >= 96.79 OR (col3 IN (21,31,27,63,11,54)) OR ((col4 > 62.44)) AND (col4 < 80.47 AND col0 <= 26) AND col1 > 95.6 AND (col3 >= 3) AND (col3 <= 6))) OR col3 >= 50 AND col1 > 77.24 AND col3 IS NULL AND col1 BETWEEN 69.2 AND 31.69) AND col3 BETWEEN 76 AND 41) AND (((col3 > 36))) AND col4 > 83.82))))
----
5

statement ok
DELETE FROM tab0 WHERE col0 < 61 AND col4 = 74.34

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 61 AND col4 = 74.34
----

query I rowsort label-5445
SELECT pk FROM tab0 WHERE NOT (col0 < 61 AND col4 = 74.34)
----
5

statement ok
DELETE FROM tab1 WHERE col0 < 61 AND col4 = 74.34

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 61 AND col4 = 74.34
----

query I rowsort label-5445
SELECT pk FROM tab1 WHERE NOT (col0 < 61 AND col4 = 74.34)
----
5

statement ok
DELETE FROM tab2 WHERE col0 < 61 AND col4 = 74.34

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 61 AND col4 = 74.34
----

query I rowsort label-5445
SELECT pk FROM tab2 WHERE NOT (col0 < 61 AND col4 = 74.34)
----
5

statement ok
DELETE FROM tab3 WHERE col0 < 61 AND col4 = 74.34

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 61 AND col4 = 74.34
----

query I rowsort label-5445
SELECT pk FROM tab3 WHERE NOT (col0 < 61 AND col4 = 74.34)
----
5

statement ok
DELETE FROM tab4 WHERE col0 < 61 AND col4 = 74.34

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 61 AND col4 = 74.34
----

query I rowsort label-5445
SELECT pk FROM tab4 WHERE NOT (col0 < 61 AND col4 = 74.34)
----
5

statement ok
DELETE FROM tab0 WHERE (col4 <= 67.32)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 <= 67.32)
----

query I rowsort label-5460
SELECT pk FROM tab0 WHERE NOT ((col4 <= 67.32))
----
5

statement ok
DELETE FROM tab1 WHERE (col4 <= 67.32)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 <= 67.32)
----

query I rowsort label-5460
SELECT pk FROM tab1 WHERE NOT ((col4 <= 67.32))
----
5

statement ok
DELETE FROM tab2 WHERE (col4 <= 67.32)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 <= 67.32)
----

query I rowsort label-5460
SELECT pk FROM tab2 WHERE NOT ((col4 <= 67.32))
----
5

statement ok
DELETE FROM tab3 WHERE (col4 <= 67.32)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 <= 67.32)
----

query I rowsort label-5460
SELECT pk FROM tab3 WHERE NOT ((col4 <= 67.32))
----
5

statement ok
DELETE FROM tab4 WHERE (col4 <= 67.32)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 <= 67.32)
----

query I rowsort label-5460
SELECT pk FROM tab4 WHERE NOT ((col4 <= 67.32))
----
5

statement ok
DELETE FROM tab0 WHERE (col0 = 0 OR col0 > 0)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 0 OR col0 > 0)
----

query I rowsort label-5475
SELECT pk FROM tab0 WHERE NOT ((col0 = 0 OR col0 > 0))
----

statement ok
DELETE FROM tab1 WHERE (col0 = 0 OR col0 > 0)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 0 OR col0 > 0)
----

query I rowsort label-5475
SELECT pk FROM tab1 WHERE NOT ((col0 = 0 OR col0 > 0))
----

statement ok
DELETE FROM tab2 WHERE (col0 = 0 OR col0 > 0)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 0 OR col0 > 0)
----

query I rowsort label-5475
SELECT pk FROM tab2 WHERE NOT ((col0 = 0 OR col0 > 0))
----

statement ok
DELETE FROM tab3 WHERE (col0 = 0 OR col0 > 0)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 0 OR col0 > 0)
----

query I rowsort label-5475
SELECT pk FROM tab3 WHERE NOT ((col0 = 0 OR col0 > 0))
----

statement ok
DELETE FROM tab4 WHERE (col0 = 0 OR col0 > 0)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 0 OR col0 > 0)
----

query I rowsort label-5475
SELECT pk FROM tab4 WHERE NOT ((col0 = 0 OR 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,18,80.34,'jnqlj',48,91.53,'pyuse')

statement ok
INSERT INTO tab0 VALUES(1,8,87.3,'ezcqg',24,67.55,'mkdbh')

statement ok
INSERT INTO tab0 VALUES(2,28,19.93,'ubcsj',85,50.99,'pxjdi')

statement ok
INSERT INTO tab0 VALUES(3,21,90.48,'qpavm',73,54.23,'otofb')

statement ok
INSERT INTO tab0 VALUES(4,44,69.37,'fypck',76,57.71,'qbbct')

statement ok
INSERT INTO tab0 VALUES(5,31,94.22,'kraek',89,13.62,'znyeu')

statement ok
INSERT INTO tab0 VALUES(6,55,86.16,'kecwb',79,62.47,'swwri')

statement ok
INSERT INTO tab0 VALUES(7,91,63.51,'ygjwn',45,49.75,'yogpv')

statement ok
INSERT INTO tab0 VALUES(8,78,46.35,'lshgs',81,30.55,'dmmaw')

statement ok
INSERT INTO tab0 VALUES(9,82,79.17,'cbdfh',41,87.18,'zkzcl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1,col4 DESC,col3)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col3 DESC,col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL)
----

query I rowsort label-5490
SELECT pk FROM tab0 WHERE NOT (((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL)
----

query I rowsort label-5490
SELECT pk FROM tab1 WHERE NOT (((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL)
----

query I rowsort label-5490
SELECT pk FROM tab2 WHERE NOT (((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL)
----

query I rowsort label-5490
SELECT pk FROM tab3 WHERE NOT (((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL)
----

query I rowsort label-5490
SELECT pk FROM tab4 WHERE NOT (((col0 <= 35 OR col4 < 68.64 OR col4 < 35.92) AND col4 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67
----

query I rowsort label-5505
SELECT pk FROM tab0 WHERE NOT (col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67)
----
2
3
4
5
6
8

statement ok
DELETE FROM tab1 WHERE col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67
----

query I rowsort label-5505
SELECT pk FROM tab1 WHERE NOT (col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67)
----
2
3
4
5
6
8

statement ok
DELETE FROM tab2 WHERE col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67
----

query I rowsort label-5505
SELECT pk FROM tab2 WHERE NOT (col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67)
----
2
3
4
5
6
8

statement ok
DELETE FROM tab3 WHERE col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67
----

query I rowsort label-5505
SELECT pk FROM tab3 WHERE NOT (col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67)
----
2
3
4
5
6
8

statement ok
DELETE FROM tab4 WHERE col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67
----

query I rowsort label-5505
SELECT pk FROM tab4 WHERE NOT (col1 = 55.32 AND ((col4 <= 6.20)) AND (((col3 < 19))) AND col3 <= 25 AND (col1 < 20.96) AND col3 < 34 OR ((col4 > 36.28)) AND col3 <= 67)
----
2
3
4
5
6
8

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,88,46.89,'hwitv',96,53.47,'wigtz')

statement ok
INSERT INTO tab0 VALUES(1,80,24.13,'hnznw',25,33.55,'xfdjb')

statement ok
INSERT INTO tab0 VALUES(2,16,31.13,'pvrhj',52,84.2,'pnzjy')

statement ok
INSERT INTO tab0 VALUES(3,31,19.68,'sxtro',3,78.21,'rihau')

statement ok
INSERT INTO tab0 VALUES(4,74,91.18,'fsovn',82,60.14,'weufl')

statement ok
INSERT INTO tab0 VALUES(5,28,54.77,'kavis',77,16.63,'nvyjv')

statement ok
INSERT INTO tab0 VALUES(6,17,87.51,'xnlln',78,34.48,'arrrt')

statement ok
INSERT INTO tab0 VALUES(7,21,1.46,'jbahz',84,64.54,'puyck')

statement ok
INSERT INTO tab0 VALUES(8,90,4.80,'zpmvk',21,86.86,'vyksc')

statement ok
INSERT INTO tab0 VALUES(9,52,61.98,'enwcz',50,67.83,'kvznv')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

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)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 < 25.49)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 25.49)
----

query I rowsort label-5520
SELECT pk FROM tab0 WHERE NOT ((col1 < 25.49))
----
0
2
4
5
6
9

statement ok
DELETE FROM tab1 WHERE (col1 < 25.49)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 25.49)
----

query I rowsort label-5520
SELECT pk FROM tab1 WHERE NOT ((col1 < 25.49))
----
0
2
4
5
6
9

statement ok
DELETE FROM tab2 WHERE (col1 < 25.49)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 25.49)
----

query I rowsort label-5520
SELECT pk FROM tab2 WHERE NOT ((col1 < 25.49))
----
0
2
4
5
6
9

statement ok
DELETE FROM tab3 WHERE (col1 < 25.49)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 25.49)
----

query I rowsort label-5520
SELECT pk FROM tab3 WHERE NOT ((col1 < 25.49))
----
0
2
4
5
6
9

statement ok
DELETE FROM tab4 WHERE (col1 < 25.49)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 25.49)
----

query I rowsort label-5520
SELECT pk FROM tab4 WHERE NOT ((col1 < 25.49))
----
0
2
4
5
6
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,2,87.87,'qeekl',20,52.98,'dfxjv')

statement ok
INSERT INTO tab0 VALUES(1,50,41.19,'zsmmm',42,31.44,'sjjvj')

statement ok
INSERT INTO tab0 VALUES(2,90,26.97,'kccfm',45,25.27,'gxmpr')

statement ok
INSERT INTO tab0 VALUES(3,83,10.49,'wihpu',44,40.66,'zujfo')

statement ok
INSERT INTO tab0 VALUES(4,26,55.36,'gersj',47,4.17,'zltke')

statement ok
INSERT INTO tab0 VALUES(5,67,72.64,'fmuxp',69,29.90,'txpcy')

statement ok
INSERT INTO tab0 VALUES(6,14,88.96,'pfsut',43,72.54,'awssy')

statement ok
INSERT INTO tab0 VALUES(7,51,3.64,'grroq',28,95.58,'byner')

statement ok
INSERT INTO tab0 VALUES(8,48,61.84,'mluxj',33,35.37,'qqjcp')

statement ok
INSERT INTO tab0 VALUES(9,75,5.65,'uuljs',21,60.28,'kpmvv')

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 (col3,col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3,col0 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3 DESC,col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC,col4,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 > 70.88) OR col4 > 53.70

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 70.88) OR col4 > 53.70
----

query I rowsort label-5535
SELECT pk FROM tab0 WHERE NOT ((col1 > 70.88) OR col4 > 53.70)
----
1
2
3
4
8

statement ok
DELETE FROM tab1 WHERE (col1 > 70.88) OR col4 > 53.70

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 70.88) OR col4 > 53.70
----

query I rowsort label-5535
SELECT pk FROM tab1 WHERE NOT ((col1 > 70.88) OR col4 > 53.70)
----
1
2
3
4
8

statement ok
DELETE FROM tab2 WHERE (col1 > 70.88) OR col4 > 53.70

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 70.88) OR col4 > 53.70
----

query I rowsort label-5535
SELECT pk FROM tab2 WHERE NOT ((col1 > 70.88) OR col4 > 53.70)
----
1
2
3
4
8

statement ok
DELETE FROM tab3 WHERE (col1 > 70.88) OR col4 > 53.70

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 70.88) OR col4 > 53.70
----

query I rowsort label-5535
SELECT pk FROM tab3 WHERE NOT ((col1 > 70.88) OR col4 > 53.70)
----
1
2
3
4
8

statement ok
DELETE FROM tab4 WHERE (col1 > 70.88) OR col4 > 53.70

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 70.88) OR col4 > 53.70
----

query I rowsort label-5535
SELECT pk FROM tab4 WHERE NOT ((col1 > 70.88) OR col4 > 53.70)
----
1
2
3
4
8

statement ok
DELETE FROM tab0 WHERE col1 >= 30.53 OR col0 >= 40

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 30.53 OR col0 >= 40
----

query I rowsort label-5550
SELECT pk FROM tab0 WHERE NOT (col1 >= 30.53 OR col0 >= 40)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 30.53 OR col0 >= 40

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 30.53 OR col0 >= 40
----

query I rowsort label-5550
SELECT pk FROM tab1 WHERE NOT (col1 >= 30.53 OR col0 >= 40)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 30.53 OR col0 >= 40

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 30.53 OR col0 >= 40
----

query I rowsort label-5550
SELECT pk FROM tab2 WHERE NOT (col1 >= 30.53 OR col0 >= 40)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 30.53 OR col0 >= 40

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 30.53 OR col0 >= 40
----

query I rowsort label-5550
SELECT pk FROM tab3 WHERE NOT (col1 >= 30.53 OR col0 >= 40)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 30.53 OR col0 >= 40

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 30.53 OR col0 >= 40
----

query I rowsort label-5550
SELECT pk FROM tab4 WHERE NOT (col1 >= 30.53 OR col0 >= 40)
----

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,64.8,'ikwny',99,31.61,'ozjnl')

statement ok
INSERT INTO tab0 VALUES(1,88,18.0,'kdiif',74,42.53,'skcqo')

statement ok
INSERT INTO tab0 VALUES(2,6,46.34,'vmmfj',14,34.32,'yblzj')

statement ok
INSERT INTO tab0 VALUES(3,48,74.12,'frlay',15,58.19,'hvkso')

statement ok
INSERT INTO tab0 VALUES(4,49,33.13,'uafcb',69,81.94,'abzgd')

statement ok
INSERT INTO tab0 VALUES(5,72,76.60,'pmuvv',24,94.60,'qbevk')

statement ok
INSERT INTO tab0 VALUES(6,69,88.76,'njegd',51,28.4,'gsdff')

statement ok
INSERT INTO tab0 VALUES(7,45,98.53,'nwtvz',4,63.60,'lehja')

statement ok
INSERT INTO tab0 VALUES(8,17,92.10,'sscuo',80,45.73,'pmpxa')

statement ok
INSERT INTO tab0 VALUES(9,80,26.55,'kwjcj',87,95.57,'vclwg')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4)

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 (col1,col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1,col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4,col0)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59
----

query I rowsort label-5565
SELECT pk FROM tab0 WHERE NOT ((((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59
----

query I rowsort label-5565
SELECT pk FROM tab1 WHERE NOT ((((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59
----

query I rowsort label-5565
SELECT pk FROM tab2 WHERE NOT ((((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59
----

query I rowsort label-5565
SELECT pk FROM tab3 WHERE NOT ((((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59
----

query I rowsort label-5565
SELECT pk FROM tab4 WHERE NOT ((((col4 <= 35.16) AND ((col1 IN (74.87))))) OR col1 IS NULL AND col0 > 59)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 >= 86.51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 86.51
----

query I rowsort label-5580
SELECT pk FROM tab0 WHERE NOT (col1 >= 86.51)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab1 WHERE col1 >= 86.51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 86.51
----

query I rowsort label-5580
SELECT pk FROM tab1 WHERE NOT (col1 >= 86.51)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab2 WHERE col1 >= 86.51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 86.51
----

query I rowsort label-5580
SELECT pk FROM tab2 WHERE NOT (col1 >= 86.51)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab3 WHERE col1 >= 86.51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 86.51
----

query I rowsort label-5580
SELECT pk FROM tab3 WHERE NOT (col1 >= 86.51)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab4 WHERE col1 >= 86.51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 86.51
----

query I rowsort label-5580
SELECT pk FROM tab4 WHERE NOT (col1 >= 86.51)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab0 WHERE col0 > 21

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 21
----

query I rowsort label-5595
SELECT pk FROM tab0 WHERE NOT (col0 > 21)
----
0
2

statement ok
DELETE FROM tab1 WHERE col0 > 21

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 21
----

query I rowsort label-5595
SELECT pk FROM tab1 WHERE NOT (col0 > 21)
----
0
2

statement ok
DELETE FROM tab2 WHERE col0 > 21

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 21
----

query I rowsort label-5595
SELECT pk FROM tab2 WHERE NOT (col0 > 21)
----
0
2

statement ok
DELETE FROM tab3 WHERE col0 > 21

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 21
----

query I rowsort label-5595
SELECT pk FROM tab3 WHERE NOT (col0 > 21)
----
0
2

statement ok
DELETE FROM tab4 WHERE col0 > 21

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 21
----

query I rowsort label-5595
SELECT pk FROM tab4 WHERE NOT (col0 > 21)
----
0
2

statement ok
DELETE FROM tab0 WHERE col1 BETWEEN 11.75 AND 62.24

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 BETWEEN 11.75 AND 62.24
----

query I rowsort label-5610
SELECT pk FROM tab0 WHERE NOT (col1 BETWEEN 11.75 AND 62.24)
----
0

statement ok
DELETE FROM tab1 WHERE col1 BETWEEN 11.75 AND 62.24

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 BETWEEN 11.75 AND 62.24
----

query I rowsort label-5610
SELECT pk FROM tab1 WHERE NOT (col1 BETWEEN 11.75 AND 62.24)
----
0

statement ok
DELETE FROM tab2 WHERE col1 BETWEEN 11.75 AND 62.24

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 BETWEEN 11.75 AND 62.24
----

query I rowsort label-5610
SELECT pk FROM tab2 WHERE NOT (col1 BETWEEN 11.75 AND 62.24)
----
0

statement ok
DELETE FROM tab3 WHERE col1 BETWEEN 11.75 AND 62.24

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 BETWEEN 11.75 AND 62.24
----

query I rowsort label-5610
SELECT pk FROM tab3 WHERE NOT (col1 BETWEEN 11.75 AND 62.24)
----
0

statement ok
DELETE FROM tab4 WHERE col1 BETWEEN 11.75 AND 62.24

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 BETWEEN 11.75 AND 62.24
----

query I rowsort label-5610
SELECT pk FROM tab4 WHERE NOT (col1 BETWEEN 11.75 AND 62.24)
----
0

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-5625
SELECT pk FROM tab0 WHERE NOT (((col1 <= 23.78)))
----
0

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-5625
SELECT pk FROM tab1 WHERE NOT (((col1 <= 23.78)))
----
0

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-5625
SELECT pk FROM tab2 WHERE NOT (((col1 <= 23.78)))
----
0

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-5625
SELECT pk FROM tab3 WHERE NOT (((col1 <= 23.78)))
----
0

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-5625
SELECT pk FROM tab4 WHERE NOT (((col1 <= 23.78)))
----
0

statement ok
DELETE FROM tab0 WHERE col1 > 16.7 AND (col3 = 57)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 16.7 AND (col3 = 57)
----

query I rowsort label-5640
SELECT pk FROM tab0 WHERE NOT (col1 > 16.7 AND (col3 = 57))
----
0

statement ok
DELETE FROM tab1 WHERE col1 > 16.7 AND (col3 = 57)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 16.7 AND (col3 = 57)
----

query I rowsort label-5640
SELECT pk FROM tab1 WHERE NOT (col1 > 16.7 AND (col3 = 57))
----
0

statement ok
DELETE FROM tab2 WHERE col1 > 16.7 AND (col3 = 57)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 16.7 AND (col3 = 57)
----

query I rowsort label-5640
SELECT pk FROM tab2 WHERE NOT (col1 > 16.7 AND (col3 = 57))
----
0

statement ok
DELETE FROM tab3 WHERE col1 > 16.7 AND (col3 = 57)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 16.7 AND (col3 = 57)
----

query I rowsort label-5640
SELECT pk FROM tab3 WHERE NOT (col1 > 16.7 AND (col3 = 57))
----
0

statement ok
DELETE FROM tab4 WHERE col1 > 16.7 AND (col3 = 57)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 16.7 AND (col3 = 57)
----

query I rowsort label-5640
SELECT pk FROM tab4 WHERE NOT (col1 > 16.7 AND (col3 = 57))
----
0

statement ok
DELETE FROM tab0 WHERE col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75
----

query I rowsort label-5655
SELECT pk FROM tab0 WHERE NOT (col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75)
----
0

statement ok
DELETE FROM tab1 WHERE col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75
----

query I rowsort label-5655
SELECT pk FROM tab1 WHERE NOT (col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75)
----
0

statement ok
DELETE FROM tab2 WHERE col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75
----

query I rowsort label-5655
SELECT pk FROM tab2 WHERE NOT (col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75)
----
0

statement ok
DELETE FROM tab3 WHERE col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75
----

query I rowsort label-5655
SELECT pk FROM tab3 WHERE NOT (col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75)
----
0

statement ok
DELETE FROM tab4 WHERE col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75
----

query I rowsort label-5655
SELECT pk FROM tab4 WHERE NOT (col3 < 85 AND col3 > 43 AND col0 < 43 AND col0 = 63 AND col3 < 75)
----
0

statement ok
DELETE FROM tab0 WHERE ((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24
----

query I rowsort label-5670
SELECT pk FROM tab0 WHERE NOT (((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24)
----
0

statement ok
DELETE FROM tab1 WHERE ((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24
----

query I rowsort label-5670
SELECT pk FROM tab1 WHERE NOT (((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24)
----
0

statement ok
DELETE FROM tab2 WHERE ((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24
----

query I rowsort label-5670
SELECT pk FROM tab2 WHERE NOT (((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24)
----
0

statement ok
DELETE FROM tab3 WHERE ((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24
----

query I rowsort label-5670
SELECT pk FROM tab3 WHERE NOT (((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24)
----
0

statement ok
DELETE FROM tab4 WHERE ((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24
----

query I rowsort label-5670
SELECT pk FROM tab4 WHERE NOT (((col4 < 56.15 AND (col4 >= 55.37 OR (col3 IN (83,19,58))) AND col3 <= 88 OR (col3 < 50) OR col1 < 26.45 AND ((col3 < 61)))) OR col3 = 24)
----
0

statement ok
DELETE FROM tab0 WHERE (col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85
----

query I rowsort label-5685
SELECT pk FROM tab0 WHERE NOT ((col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85)
----
0

statement ok
DELETE FROM tab1 WHERE (col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85
----

query I rowsort label-5685
SELECT pk FROM tab1 WHERE NOT ((col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85)
----
0

statement ok
DELETE FROM tab2 WHERE (col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85
----

query I rowsort label-5685
SELECT pk FROM tab2 WHERE NOT ((col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85)
----
0

statement ok
DELETE FROM tab3 WHERE (col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85
----

query I rowsort label-5685
SELECT pk FROM tab3 WHERE NOT ((col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85)
----
0

statement ok
DELETE FROM tab4 WHERE (col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85
----

query I rowsort label-5685
SELECT pk FROM tab4 WHERE NOT ((col3 = 49 OR col1 > 97.65 AND col0 < 41) AND col3 > 85)
----
0

statement ok
DELETE FROM tab0 WHERE (col3 >= 97) OR col3 >= 57 OR col3 < 88

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 97) OR col3 >= 57 OR col3 < 88
----

query I rowsort label-5700
SELECT pk FROM tab0 WHERE NOT ((col3 >= 97) OR col3 >= 57 OR col3 < 88)
----

statement ok
DELETE FROM tab1 WHERE (col3 >= 97) OR col3 >= 57 OR col3 < 88

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 97) OR col3 >= 57 OR col3 < 88
----

query I rowsort label-5700
SELECT pk FROM tab1 WHERE NOT ((col3 >= 97) OR col3 >= 57 OR col3 < 88)
----

statement ok
DELETE FROM tab2 WHERE (col3 >= 97) OR col3 >= 57 OR col3 < 88

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 97) OR col3 >= 57 OR col3 < 88
----

query I rowsort label-5700
SELECT pk FROM tab2 WHERE NOT ((col3 >= 97) OR col3 >= 57 OR col3 < 88)
----

statement ok
DELETE FROM tab3 WHERE (col3 >= 97) OR col3 >= 57 OR col3 < 88

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 97) OR col3 >= 57 OR col3 < 88
----

query I rowsort label-5700
SELECT pk FROM tab3 WHERE NOT ((col3 >= 97) OR col3 >= 57 OR col3 < 88)
----

statement ok
DELETE FROM tab4 WHERE (col3 >= 97) OR col3 >= 57 OR col3 < 88

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 97) OR col3 >= 57 OR col3 < 88
----

query I rowsort label-5700
SELECT pk FROM tab4 WHERE NOT ((col3 >= 97) OR col3 >= 57 OR col3 < 88)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,60,38.43,'yqjfx',85,57.55,'apcxw')

statement ok
INSERT INTO tab0 VALUES(1,50,6.92,'almfd',93,6.87,'bjgoc')

statement ok
INSERT INTO tab0 VALUES(2,76,63.29,'gtxzo',35,37.59,'uancl')

statement ok
INSERT INTO tab0 VALUES(3,77,22.31,'zbokp',60,35.35,'uewhr')

statement ok
INSERT INTO tab0 VALUES(4,14,27.79,'epuwa',45,96.41,'uznbc')

statement ok
INSERT INTO tab0 VALUES(5,83,18.73,'mbfpk',9,91.78,'iiroe')

statement ok
INSERT INTO tab0 VALUES(6,29,90.42,'nzyot',25,31.33,'ixzkf')

statement ok
INSERT INTO tab0 VALUES(7,57,56.59,'ouprg',33,24.93,'rjiry')

statement ok
INSERT INTO tab0 VALUES(8,43,14.54,'iwsaw',51,43.58,'ykjcc')

statement ok
INSERT INTO tab0 VALUES(9,51,0.24,'kulwu',89,85.51,'yzbhd')

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_1 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC,col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4,col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col4 = 93.53)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 = 93.53)
----

query I rowsort label-5715
SELECT pk FROM tab0 WHERE NOT ((col4 = 93.53))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col4 = 93.53)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 = 93.53)
----

query I rowsort label-5715
SELECT pk FROM tab1 WHERE NOT ((col4 = 93.53))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col4 = 93.53)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 = 93.53)
----

query I rowsort label-5715
SELECT pk FROM tab2 WHERE NOT ((col4 = 93.53))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col4 = 93.53)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 = 93.53)
----

query I rowsort label-5715
SELECT pk FROM tab3 WHERE NOT ((col4 = 93.53))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col4 = 93.53)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 = 93.53)
----

query I rowsort label-5715
SELECT pk FROM tab4 WHERE NOT ((col4 = 93.53))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 <= 57)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 57)
----

query I rowsort label-5730
SELECT pk FROM tab0 WHERE NOT ((col0 <= 57))
----
0
2
3
5

statement ok
DELETE FROM tab1 WHERE (col0 <= 57)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 57)
----

query I rowsort label-5730
SELECT pk FROM tab1 WHERE NOT ((col0 <= 57))
----
0
2
3
5

statement ok
DELETE FROM tab2 WHERE (col0 <= 57)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 57)
----

query I rowsort label-5730
SELECT pk FROM tab2 WHERE NOT ((col0 <= 57))
----
0
2
3
5

statement ok
DELETE FROM tab3 WHERE (col0 <= 57)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 57)
----

query I rowsort label-5730
SELECT pk FROM tab3 WHERE NOT ((col0 <= 57))
----
0
2
3
5

statement ok
DELETE FROM tab4 WHERE (col0 <= 57)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 57)
----

query I rowsort label-5730
SELECT pk FROM tab4 WHERE NOT ((col0 <= 57))
----
0
2
3
5

statement ok
DELETE FROM tab0 WHERE col1 < 57.15 OR col0 >= 41

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 57.15 OR col0 >= 41
----

query I rowsort label-5745
SELECT pk FROM tab0 WHERE NOT (col1 < 57.15 OR col0 >= 41)
----

statement ok
DELETE FROM tab1 WHERE col1 < 57.15 OR col0 >= 41

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 57.15 OR col0 >= 41
----

query I rowsort label-5745
SELECT pk FROM tab1 WHERE NOT (col1 < 57.15 OR col0 >= 41)
----

statement ok
DELETE FROM tab2 WHERE col1 < 57.15 OR col0 >= 41

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 57.15 OR col0 >= 41
----

query I rowsort label-5745
SELECT pk FROM tab2 WHERE NOT (col1 < 57.15 OR col0 >= 41)
----

statement ok
DELETE FROM tab3 WHERE col1 < 57.15 OR col0 >= 41

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 57.15 OR col0 >= 41
----

query I rowsort label-5745
SELECT pk FROM tab3 WHERE NOT (col1 < 57.15 OR col0 >= 41)
----

statement ok
DELETE FROM tab4 WHERE col1 < 57.15 OR col0 >= 41

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 57.15 OR col0 >= 41
----

query I rowsort label-5745
SELECT pk FROM tab4 WHERE NOT (col1 < 57.15 OR col0 >= 41)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,32,28.12,'osysk',51,8.53,'mysno')

statement ok
INSERT INTO tab0 VALUES(1,79,32.49,'rtjxw',5,94.56,'lhaou')

statement ok
INSERT INTO tab0 VALUES(2,38,29.67,'blwaj',66,56.80,'uxokc')

statement ok
INSERT INTO tab0 VALUES(3,16,89.81,'jkaeg',31,0.36,'haciz')

statement ok
INSERT INTO tab0 VALUES(4,62,56.92,'tplkz',68,10.0,'xlnpr')

statement ok
INSERT INTO tab0 VALUES(5,30,59.42,'dxujf',81,62.73,'shxta')

statement ok
INSERT INTO tab0 VALUES(6,41,24.80,'evbzx',74,36.43,'hpqjx')

statement ok
INSERT INTO tab0 VALUES(7,48,87.23,'napyp',13,28.48,'ownsf')

statement ok
INSERT INTO tab0 VALUES(8,92,8.22,'uafmh',84,65.40,'euzjy')

statement ok
INSERT INTO tab0 VALUES(9,74,83.20,'xumxt',63,12.44,'mteti')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_2 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 (col1,col4 DESC,col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1,col3,col4)

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 (col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 > 50

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 50
----

query I rowsort label-5760
SELECT pk FROM tab0 WHERE NOT (col3 > 50)
----
1
3
7

statement ok
DELETE FROM tab1 WHERE col3 > 50

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 50
----

query I rowsort label-5760
SELECT pk FROM tab1 WHERE NOT (col3 > 50)
----
1
3
7

statement ok
DELETE FROM tab2 WHERE col3 > 50

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 50
----

query I rowsort label-5760
SELECT pk FROM tab2 WHERE NOT (col3 > 50)
----
1
3
7

statement ok
DELETE FROM tab3 WHERE col3 > 50

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 50
----

query I rowsort label-5760
SELECT pk FROM tab3 WHERE NOT (col3 > 50)
----
1
3
7

statement ok
DELETE FROM tab4 WHERE col3 > 50

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 50
----

query I rowsort label-5760
SELECT pk FROM tab4 WHERE NOT (col3 > 50)
----
1
3
7

statement ok
DELETE FROM tab0 WHERE col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20
----

query I rowsort label-5775
SELECT pk FROM tab0 WHERE NOT (col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20)
----
1
3
7

statement ok
DELETE FROM tab1 WHERE col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20
----

query I rowsort label-5775
SELECT pk FROM tab1 WHERE NOT (col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20)
----
1
3
7

statement ok
DELETE FROM tab2 WHERE col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20
----

query I rowsort label-5775
SELECT pk FROM tab2 WHERE NOT (col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20)
----
1
3
7

statement ok
DELETE FROM tab3 WHERE col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20
----

query I rowsort label-5775
SELECT pk FROM tab3 WHERE NOT (col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20)
----
1
3
7

statement ok
DELETE FROM tab4 WHERE col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20
----

query I rowsort label-5775
SELECT pk FROM tab4 WHERE NOT (col3 > 2 AND col4 = 3.40 AND col0 < 61 OR col3 = 20)
----
1
3
7

statement ok
DELETE FROM tab0 WHERE ((col0 > 45))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 45))
----

query I rowsort label-5790
SELECT pk FROM tab0 WHERE NOT (((col0 > 45)))
----
3

statement ok
DELETE FROM tab1 WHERE ((col0 > 45))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 45))
----

query I rowsort label-5790
SELECT pk FROM tab1 WHERE NOT (((col0 > 45)))
----
3

statement ok
DELETE FROM tab2 WHERE ((col0 > 45))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 45))
----

query I rowsort label-5790
SELECT pk FROM tab2 WHERE NOT (((col0 > 45)))
----
3

statement ok
DELETE FROM tab3 WHERE ((col0 > 45))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 45))
----

query I rowsort label-5790
SELECT pk FROM tab3 WHERE NOT (((col0 > 45)))
----
3

statement ok
DELETE FROM tab4 WHERE ((col0 > 45))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 45))
----

query I rowsort label-5790
SELECT pk FROM tab4 WHERE NOT (((col0 > 45)))
----
3

statement ok
DELETE FROM tab0 WHERE col3 > 35 OR ((((col3 < 37))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 35 OR ((((col3 < 37))))
----

query I rowsort label-5805
SELECT pk FROM tab0 WHERE NOT (col3 > 35 OR ((((col3 < 37)))))
----

statement ok
DELETE FROM tab1 WHERE col3 > 35 OR ((((col3 < 37))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 35 OR ((((col3 < 37))))
----

query I rowsort label-5805
SELECT pk FROM tab1 WHERE NOT (col3 > 35 OR ((((col3 < 37)))))
----

statement ok
DELETE FROM tab2 WHERE col3 > 35 OR ((((col3 < 37))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 35 OR ((((col3 < 37))))
----

query I rowsort label-5805
SELECT pk FROM tab2 WHERE NOT (col3 > 35 OR ((((col3 < 37)))))
----

statement ok
DELETE FROM tab3 WHERE col3 > 35 OR ((((col3 < 37))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 35 OR ((((col3 < 37))))
----

query I rowsort label-5805
SELECT pk FROM tab3 WHERE NOT (col3 > 35 OR ((((col3 < 37)))))
----

statement ok
DELETE FROM tab4 WHERE col3 > 35 OR ((((col3 < 37))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 35 OR ((((col3 < 37))))
----

query I rowsort label-5805
SELECT pk FROM tab4 WHERE NOT (col3 > 35 OR ((((col3 < 37)))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,62,74.32,'pscyr',7,13.17,'dftzx')

statement ok
INSERT INTO tab0 VALUES(1,85,12.64,'gviwm',4,92.58,'uwmze')

statement ok
INSERT INTO tab0 VALUES(2,45,77.50,'ssmnm',54,98.19,'jqogk')

statement ok
INSERT INTO tab0 VALUES(3,53,78.44,'cbddg',59,59.90,'vrmmr')

statement ok
INSERT INTO tab0 VALUES(4,21,16.12,'zavtt',58,7.58,'gvoyg')

statement ok
INSERT INTO tab0 VALUES(5,26,5.0,'svtuv',82,85.68,'xicgr')

statement ok
INSERT INTO tab0 VALUES(6,71,75.96,'gjdwy',21,64.88,'jjjtt')

statement ok
INSERT INTO tab0 VALUES(7,49,86.89,'pukdp',86,51.72,'svtlv')

statement ok
INSERT INTO tab0 VALUES(8,4,47.37,'tgcei',70,6.20,'qrbiz')

statement ok
INSERT INTO tab0 VALUES(9,96,23.22,'tkdmv',14,52.41,'nwlhw')

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 DESC,col3)

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,col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4,col0 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 INDEX idx_tab4_0 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 <= 57.84

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 57.84
----

query I rowsort label-5820
SELECT pk FROM tab0 WHERE NOT (col4 <= 57.84)
----
1
2
3
5
6

statement ok
DELETE FROM tab1 WHERE col4 <= 57.84

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 57.84
----

query I rowsort label-5820
SELECT pk FROM tab1 WHERE NOT (col4 <= 57.84)
----
1
2
3
5
6

statement ok
DELETE FROM tab2 WHERE col4 <= 57.84

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 57.84
----

query I rowsort label-5820
SELECT pk FROM tab2 WHERE NOT (col4 <= 57.84)
----
1
2
3
5
6

statement ok
DELETE FROM tab3 WHERE col4 <= 57.84

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 57.84
----

query I rowsort label-5820
SELECT pk FROM tab3 WHERE NOT (col4 <= 57.84)
----
1
2
3
5
6

statement ok
DELETE FROM tab4 WHERE col4 <= 57.84

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 57.84
----

query I rowsort label-5820
SELECT pk FROM tab4 WHERE NOT (col4 <= 57.84)
----
1
2
3
5
6

statement ok
DELETE FROM tab0 WHERE (((col4 > 71.49)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 > 71.49)))
----

query I rowsort label-5835
SELECT pk FROM tab0 WHERE NOT ((((col4 > 71.49))))
----
3
6

statement ok
DELETE FROM tab1 WHERE (((col4 > 71.49)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 > 71.49)))
----

query I rowsort label-5835
SELECT pk FROM tab1 WHERE NOT ((((col4 > 71.49))))
----
3
6

statement ok
DELETE FROM tab2 WHERE (((col4 > 71.49)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 > 71.49)))
----

query I rowsort label-5835
SELECT pk FROM tab2 WHER