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,14,66.4,'edobg',96,20.98,'xjmma')

statement ok
INSERT INTO tab0 VALUES(1,81,20.3,'mursw',7,83.77,'xgykc')

statement ok
INSERT INTO tab0 VALUES(2,96,83.71,'kizzw',84,68.73,'jfxdr')

statement ok
INSERT INTO tab0 VALUES(3,58,46.61,'lnnip',9,22.75,'toxta')

statement ok
INSERT INTO tab0 VALUES(4,97,12.94,'eiwzz',25,6.27,'ybybk')

statement ok
INSERT INTO tab0 VALUES(5,34,6.22,'eoaqm',99,13.82,'msodf')

statement ok
INSERT INTO tab0 VALUES(6,47,89.92,'dlpef',82,74.69,'rfbaf')

statement ok
INSERT INTO tab0 VALUES(7,29,68.8,'fhaeg',77,76.56,'pqmel')

statement ok
INSERT INTO tab0 VALUES(8,54,13.90,'vfqlm',95,75.9,'kdxgo')

statement ok
INSERT INTO tab0 VALUES(9,38,67.42,'cmrxa',23,0.60,'kmkuu')

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

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

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

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

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

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

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6)
----

query I rowsort label-0
SELECT pk FROM tab0 WHERE NOT (col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6))
----

statement ok
DELETE FROM tab1 WHERE col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6)
----

query I rowsort label-0
SELECT pk FROM tab1 WHERE NOT (col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6))
----

statement ok
DELETE FROM tab2 WHERE col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6)
----

query I rowsort label-0
SELECT pk FROM tab2 WHERE NOT (col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6))
----

statement ok
DELETE FROM tab3 WHERE col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6)
----

query I rowsort label-0
SELECT pk FROM tab3 WHERE NOT (col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6))
----

statement ok
DELETE FROM tab4 WHERE col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,6)
----

query I rowsort label-0
SELECT pk FROM tab4 WHERE NOT (col3 >= 60 OR (col3 IS NULL AND (((((col3 = 66))) AND (col3 > 45))) OR col1 < 85.55 OR col0 IS NULL OR (col3 > 35)) OR col0 IN (10,68,82,67,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,42,16.71,'lntzr',92,97.82,'bcezj')

statement ok
INSERT INTO tab0 VALUES(1,38,12.91,'xaehl',17,3.99,'byzxz')

statement ok
INSERT INTO tab0 VALUES(2,30,92.84,'xjjwh',27,8.15,'rpqxi')

statement ok
INSERT INTO tab0 VALUES(3,65,24.40,'zznok',22,11.24,'kxhuv')

statement ok
INSERT INTO tab0 VALUES(4,77,3.60,'khzpv',50,73.37,'ebrto')

statement ok
INSERT INTO tab0 VALUES(5,5,20.68,'stasd',18,76.92,'barqy')

statement ok
INSERT INTO tab0 VALUES(6,1,17.23,'mxgjx',2,91.72,'yjyye')

statement ok
INSERT INTO tab0 VALUES(7,47,56.31,'ttnqn',65,36.12,'bqlxe')

statement ok
INSERT INTO tab0 VALUES(8,63,79.59,'upepq',66,40.14,'ohhxv')

statement ok
INSERT INTO tab0 VALUES(9,22,69.49,'rjcgz',69,9.59,'iydfy')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1)

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 > 68)

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

query I rowsort label-15
SELECT pk FROM tab0 WHERE NOT ((col0 > 68))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab1 WHERE (col0 > 68)

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

query I rowsort label-15
SELECT pk FROM tab1 WHERE NOT ((col0 > 68))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab2 WHERE (col0 > 68)

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

query I rowsort label-15
SELECT pk FROM tab2 WHERE NOT ((col0 > 68))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab3 WHERE (col0 > 68)

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

query I rowsort label-15
SELECT pk FROM tab3 WHERE NOT ((col0 > 68))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab4 WHERE (col0 > 68)

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

query I rowsort label-15
SELECT pk FROM tab4 WHERE NOT ((col0 > 68))
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab0 WHERE col1 > 59.91 AND col3 = 11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 59.91 AND col3 = 11
----

query I rowsort label-30
SELECT pk FROM tab0 WHERE NOT (col1 > 59.91 AND col3 = 11)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab1 WHERE col1 > 59.91 AND col3 = 11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 59.91 AND col3 = 11
----

query I rowsort label-30
SELECT pk FROM tab1 WHERE NOT (col1 > 59.91 AND col3 = 11)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab2 WHERE col1 > 59.91 AND col3 = 11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 59.91 AND col3 = 11
----

query I rowsort label-30
SELECT pk FROM tab2 WHERE NOT (col1 > 59.91 AND col3 = 11)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab3 WHERE col1 > 59.91 AND col3 = 11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 59.91 AND col3 = 11
----

query I rowsort label-30
SELECT pk FROM tab3 WHERE NOT (col1 > 59.91 AND col3 = 11)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab4 WHERE col1 > 59.91 AND col3 = 11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 59.91 AND col3 = 11
----

query I rowsort label-30
SELECT pk FROM tab4 WHERE NOT (col1 > 59.91 AND col3 = 11)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab0 WHERE col1 >= 72.63

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

query I rowsort label-45
SELECT pk FROM tab0 WHERE NOT (col1 >= 72.63)
----
0
1
3
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col1 >= 72.63

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

query I rowsort label-45
SELECT pk FROM tab1 WHERE NOT (col1 >= 72.63)
----
0
1
3
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col1 >= 72.63

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

query I rowsort label-45
SELECT pk FROM tab2 WHERE NOT (col1 >= 72.63)
----
0
1
3
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col1 >= 72.63

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

query I rowsort label-45
SELECT pk FROM tab3 WHERE NOT (col1 >= 72.63)
----
0
1
3
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col1 >= 72.63

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

query I rowsort label-45
SELECT pk FROM tab4 WHERE NOT (col1 >= 72.63)
----
0
1
3
5
6
7
9

statement ok
DELETE FROM tab0 WHERE col4 > 33.56

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

query I rowsort label-60
SELECT pk FROM tab0 WHERE NOT (col4 > 33.56)
----
1
3
9

statement ok
DELETE FROM tab1 WHERE col4 > 33.56

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

query I rowsort label-60
SELECT pk FROM tab1 WHERE NOT (col4 > 33.56)
----
1
3
9

statement ok
DELETE FROM tab2 WHERE col4 > 33.56

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

query I rowsort label-60
SELECT pk FROM tab2 WHERE NOT (col4 > 33.56)
----
1
3
9

statement ok
DELETE FROM tab3 WHERE col4 > 33.56

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

query I rowsort label-60
SELECT pk FROM tab3 WHERE NOT (col4 > 33.56)
----
1
3
9

statement ok
DELETE FROM tab4 WHERE col4 > 33.56

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

query I rowsort label-60
SELECT pk FROM tab4 WHERE NOT (col4 > 33.56)
----
1
3
9

statement ok
DELETE FROM tab0 WHERE col0 < 4

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

query I rowsort label-75
SELECT pk FROM tab0 WHERE NOT (col0 < 4)
----
1
3
9

statement ok
DELETE FROM tab1 WHERE col0 < 4

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

query I rowsort label-75
SELECT pk FROM tab1 WHERE NOT (col0 < 4)
----
1
3
9

statement ok
DELETE FROM tab2 WHERE col0 < 4

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

query I rowsort label-75
SELECT pk FROM tab2 WHERE NOT (col0 < 4)
----
1
3
9

statement ok
DELETE FROM tab3 WHERE col0 < 4

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

query I rowsort label-75
SELECT pk FROM tab3 WHERE NOT (col0 < 4)
----
1
3
9

statement ok
DELETE FROM tab4 WHERE col0 < 4

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

query I rowsort label-75
SELECT pk FROM tab4 WHERE NOT (col0 < 4)
----
1
3
9

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,61,8.16,'nsnfo',13,92.38,'plovs')

statement ok
INSERT INTO tab0 VALUES(1,51,75.67,'ouuaq',80,22.50,'phmcg')

statement ok
INSERT INTO tab0 VALUES(2,49,33.44,'howlz',45,61.66,'atntc')

statement ok
INSERT INTO tab0 VALUES(3,47,37.97,'viovu',48,21.62,'cniir')

statement ok
INSERT INTO tab0 VALUES(4,34,49.58,'sqwuf',31,5.54,'yqrjn')

statement ok
INSERT INTO tab0 VALUES(5,9,99.50,'uopja',53,62.2,'goxhh')

statement ok
INSERT INTO tab0 VALUES(6,93,50.3,'smehf',2,57.33,'sgtta')

statement ok
INSERT INTO tab0 VALUES(7,45,55.65,'opyxq',7,28.44,'zotqa')

statement ok
INSERT INTO tab0 VALUES(8,69,30.15,'mtcms',54,52.23,'zzaik')

statement ok
INSERT INTO tab0 VALUES(9,31,4.74,'kscdv',91,6.54,'rzvrq')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

query I rowsort label-90
SELECT pk FROM tab0 WHERE NOT (((col0 > 19)))
----
5

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

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

query I rowsort label-90
SELECT pk FROM tab1 WHERE NOT (((col0 > 19)))
----
5

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

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

query I rowsort label-90
SELECT pk FROM tab2 WHERE NOT (((col0 > 19)))
----
5

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

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

query I rowsort label-90
SELECT pk FROM tab3 WHERE NOT (((col0 > 19)))
----
5

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

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

query I rowsort label-90
SELECT pk FROM tab4 WHERE NOT (((col0 > 19)))
----
5

statement ok
DELETE FROM tab0 WHERE col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7)
----

query I rowsort label-105
SELECT pk FROM tab0 WHERE NOT (col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7))
----

statement ok
DELETE FROM tab1 WHERE col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7)
----

query I rowsort label-105
SELECT pk FROM tab1 WHERE NOT (col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7))
----

statement ok
DELETE FROM tab2 WHERE col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7)
----

query I rowsort label-105
SELECT pk FROM tab2 WHERE NOT (col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7))
----

statement ok
DELETE FROM tab3 WHERE col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7)
----

query I rowsort label-105
SELECT pk FROM tab3 WHERE NOT (col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7))
----

statement ok
DELETE FROM tab4 WHERE col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7)
----

query I rowsort label-105
SELECT pk FROM tab4 WHERE NOT (col1 > 62.26 OR col0 < 38 AND col3 >= 64 OR (col3 = 7))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,30,0.70,'tupxi',40,32.5,'ahvbl')

statement ok
INSERT INTO tab0 VALUES(1,20,40.80,'ufpua',97,6.28,'klgat')

statement ok
INSERT INTO tab0 VALUES(2,37,25.24,'fqlyp',79,68.60,'yogms')

statement ok
INSERT INTO tab0 VALUES(3,97,23.48,'bttpp',65,93.23,'ihogp')

statement ok
INSERT INTO tab0 VALUES(4,35,49.68,'hpexe',34,58.43,'fljqm')

statement ok
INSERT INTO tab0 VALUES(5,66,68.33,'ucjyg',29,52.8,'hopzh')

statement ok
INSERT INTO tab0 VALUES(6,50,18.89,'qxfzs',19,86.35,'pryiv')

statement ok
INSERT INTO tab0 VALUES(7,53,16.38,'etyjm',58,10.29,'gvyyd')

statement ok
INSERT INTO tab0 VALUES(8,10,70.2,'bjhcp',51,22.46,'brgbj')

statement ok
INSERT INTO tab0 VALUES(9,89,98.89,'pwmgm',18,84.58,'ffomc')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 >= 75.82

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

query I rowsort label-120
SELECT pk FROM tab0 WHERE NOT (col4 >= 75.82)
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab1 WHERE col4 >= 75.82

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

query I rowsort label-120
SELECT pk FROM tab1 WHERE NOT (col4 >= 75.82)
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab2 WHERE col4 >= 75.82

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

query I rowsort label-120
SELECT pk FROM tab2 WHERE NOT (col4 >= 75.82)
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab3 WHERE col4 >= 75.82

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

query I rowsort label-120
SELECT pk FROM tab3 WHERE NOT (col4 >= 75.82)
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab4 WHERE col4 >= 75.82

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

query I rowsort label-120
SELECT pk FROM tab4 WHERE NOT (col4 >= 75.82)
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab0 WHERE col4 > 16.91

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

query I rowsort label-135
SELECT pk FROM tab0 WHERE NOT (col4 > 16.91)
----
1
7

statement ok
DELETE FROM tab1 WHERE col4 > 16.91

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

query I rowsort label-135
SELECT pk FROM tab1 WHERE NOT (col4 > 16.91)
----
1
7

statement ok
DELETE FROM tab2 WHERE col4 > 16.91

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

query I rowsort label-135
SELECT pk FROM tab2 WHERE NOT (col4 > 16.91)
----
1
7

statement ok
DELETE FROM tab3 WHERE col4 > 16.91

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

query I rowsort label-135
SELECT pk FROM tab3 WHERE NOT (col4 > 16.91)
----
1
7

statement ok
DELETE FROM tab4 WHERE col4 > 16.91

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

query I rowsort label-135
SELECT pk FROM tab4 WHERE NOT (col4 > 16.91)
----
1
7

statement ok
DELETE FROM tab0 WHERE col1 > 65.29

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

query I rowsort label-150
SELECT pk FROM tab0 WHERE NOT (col1 > 65.29)
----
1
7

statement ok
DELETE FROM tab1 WHERE col1 > 65.29

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

query I rowsort label-150
SELECT pk FROM tab1 WHERE NOT (col1 > 65.29)
----
1
7

statement ok
DELETE FROM tab2 WHERE col1 > 65.29

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

query I rowsort label-150
SELECT pk FROM tab2 WHERE NOT (col1 > 65.29)
----
1
7

statement ok
DELETE FROM tab3 WHERE col1 > 65.29

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

query I rowsort label-150
SELECT pk FROM tab3 WHERE NOT (col1 > 65.29)
----
1
7

statement ok
DELETE FROM tab4 WHERE col1 > 65.29

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

query I rowsort label-150
SELECT pk FROM tab4 WHERE NOT (col1 > 65.29)
----
1
7

statement ok
DELETE FROM tab0 WHERE col4 > 2.84 OR col3 IS NULL

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

query I rowsort label-165
SELECT pk FROM tab0 WHERE NOT (col4 > 2.84 OR col3 IS NULL)
----

statement ok
DELETE FROM tab1 WHERE col4 > 2.84 OR col3 IS NULL

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

query I rowsort label-165
SELECT pk FROM tab1 WHERE NOT (col4 > 2.84 OR col3 IS NULL)
----

statement ok
DELETE FROM tab2 WHERE col4 > 2.84 OR col3 IS NULL

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

query I rowsort label-165
SELECT pk FROM tab2 WHERE NOT (col4 > 2.84 OR col3 IS NULL)
----

statement ok
DELETE FROM tab3 WHERE col4 > 2.84 OR col3 IS NULL

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

query I rowsort label-165
SELECT pk FROM tab3 WHERE NOT (col4 > 2.84 OR col3 IS NULL)
----

statement ok
DELETE FROM tab4 WHERE col4 > 2.84 OR col3 IS NULL

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

query I rowsort label-165
SELECT pk FROM tab4 WHERE NOT (col4 > 2.84 OR col3 IS NULL)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,73,34.27,'tirra',78,91.66,'jthmo')

statement ok
INSERT INTO tab0 VALUES(1,72,77.47,'nlmtv',16,35.57,'aondh')

statement ok
INSERT INTO tab0 VALUES(2,41,13.38,'doxim',96,12.27,'lwqag')

statement ok
INSERT INTO tab0 VALUES(3,12,6.11,'ejhvk',73,20.85,'ieprg')

statement ok
INSERT INTO tab0 VALUES(4,4,68.38,'jvpbl',69,59.33,'ncnls')

statement ok
INSERT INTO tab0 VALUES(5,82,65.15,'sghzb',34,46.26,'fipdp')

statement ok
INSERT INTO tab0 VALUES(6,23,40.26,'roqkh',9,22.39,'cakps')

statement ok
INSERT INTO tab0 VALUES(7,74,16.1,'fdtmd',88,72.25,'npxls')

statement ok
INSERT INTO tab0 VALUES(8,13,12.81,'zhtkn',81,31.81,'lgrog')

statement ok
INSERT INTO tab0 VALUES(9,22,60.83,'lzyxj',77,99.7,'uqxwc')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

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

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

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 > 66.51)

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

query I rowsort label-180
SELECT pk FROM tab0 WHERE NOT ((col4 > 66.51))
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab1 WHERE (col4 > 66.51)

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

query I rowsort label-180
SELECT pk FROM tab1 WHERE NOT ((col4 > 66.51))
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab2 WHERE (col4 > 66.51)

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

query I rowsort label-180
SELECT pk FROM tab2 WHERE NOT ((col4 > 66.51))
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab3 WHERE (col4 > 66.51)

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

query I rowsort label-180
SELECT pk FROM tab3 WHERE NOT ((col4 > 66.51))
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab4 WHERE (col4 > 66.51)

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

query I rowsort label-180
SELECT pk FROM tab4 WHERE NOT ((col4 > 66.51))
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab0 WHERE (col1 <= 65.66) AND col4 > 53.73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 <= 65.66) AND col4 > 53.73
----

query I rowsort label-195
SELECT pk FROM tab0 WHERE NOT ((col1 <= 65.66) AND col4 > 53.73)
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab1 WHERE (col1 <= 65.66) AND col4 > 53.73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 <= 65.66) AND col4 > 53.73
----

query I rowsort label-195
SELECT pk FROM tab1 WHERE NOT ((col1 <= 65.66) AND col4 > 53.73)
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab2 WHERE (col1 <= 65.66) AND col4 > 53.73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 <= 65.66) AND col4 > 53.73
----

query I rowsort label-195
SELECT pk FROM tab2 WHERE NOT ((col1 <= 65.66) AND col4 > 53.73)
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab3 WHERE (col1 <= 65.66) AND col4 > 53.73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 <= 65.66) AND col4 > 53.73
----

query I rowsort label-195
SELECT pk FROM tab3 WHERE NOT ((col1 <= 65.66) AND col4 > 53.73)
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab4 WHERE (col1 <= 65.66) AND col4 > 53.73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 <= 65.66) AND col4 > 53.73
----

query I rowsort label-195
SELECT pk FROM tab4 WHERE NOT ((col1 <= 65.66) AND col4 > 53.73)
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab0 WHERE col4 < 14.70

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

query I rowsort label-210
SELECT pk FROM tab0 WHERE NOT (col4 < 14.70)
----
1
3
4
5
6
8

statement ok
DELETE FROM tab1 WHERE col4 < 14.70

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

query I rowsort label-210
SELECT pk FROM tab1 WHERE NOT (col4 < 14.70)
----
1
3
4
5
6
8

statement ok
DELETE FROM tab2 WHERE col4 < 14.70

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

query I rowsort label-210
SELECT pk FROM tab2 WHERE NOT (col4 < 14.70)
----
1
3
4
5
6
8

statement ok
DELETE FROM tab3 WHERE col4 < 14.70

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

query I rowsort label-210
SELECT pk FROM tab3 WHERE NOT (col4 < 14.70)
----
1
3
4
5
6
8

statement ok
DELETE FROM tab4 WHERE col4 < 14.70

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

query I rowsort label-210
SELECT pk FROM tab4 WHERE NOT (col4 < 14.70)
----
1
3
4
5
6
8

statement ok
DELETE FROM tab0 WHERE col0 > 54 AND col0 < 15 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 54 AND col0 < 15 OR col0 IS NULL
----

query I rowsort label-225
SELECT pk FROM tab0 WHERE NOT (col0 > 54 AND col0 < 15 OR col0 IS NULL)
----
1
3
4
5
6
8

statement ok
DELETE FROM tab1 WHERE col0 > 54 AND col0 < 15 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 54 AND col0 < 15 OR col0 IS NULL
----

query I rowsort label-225
SELECT pk FROM tab1 WHERE NOT (col0 > 54 AND col0 < 15 OR col0 IS NULL)
----
1
3
4
5
6
8

statement ok
DELETE FROM tab2 WHERE col0 > 54 AND col0 < 15 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 54 AND col0 < 15 OR col0 IS NULL
----

query I rowsort label-225
SELECT pk FROM tab2 WHERE NOT (col0 > 54 AND col0 < 15 OR col0 IS NULL)
----
1
3
4
5
6
8

statement ok
DELETE FROM tab3 WHERE col0 > 54 AND col0 < 15 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 54 AND col0 < 15 OR col0 IS NULL
----

query I rowsort label-225
SELECT pk FROM tab3 WHERE NOT (col0 > 54 AND col0 < 15 OR col0 IS NULL)
----
1
3
4
5
6
8

statement ok
DELETE FROM tab4 WHERE col0 > 54 AND col0 < 15 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 54 AND col0 < 15 OR col0 IS NULL
----

query I rowsort label-225
SELECT pk FROM tab4 WHERE NOT (col0 > 54 AND col0 < 15 OR col0 IS NULL)
----
1
3
4
5
6
8

statement ok
DELETE FROM tab0 WHERE col1 > 19.1

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

query I rowsort label-240
SELECT pk FROM tab0 WHERE NOT (col1 > 19.1)
----
3
8

statement ok
DELETE FROM tab1 WHERE col1 > 19.1

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

query I rowsort label-240
SELECT pk FROM tab1 WHERE NOT (col1 > 19.1)
----
3
8

statement ok
DELETE FROM tab2 WHERE col1 > 19.1

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

query I rowsort label-240
SELECT pk FROM tab2 WHERE NOT (col1 > 19.1)
----
3
8

statement ok
DELETE FROM tab3 WHERE col1 > 19.1

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

query I rowsort label-240
SELECT pk FROM tab3 WHERE NOT (col1 > 19.1)
----
3
8

statement ok
DELETE FROM tab4 WHERE col1 > 19.1

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

query I rowsort label-240
SELECT pk FROM tab4 WHERE NOT (col1 > 19.1)
----
3
8

statement ok
DELETE FROM tab0 WHERE (col0 = 63)

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

query I rowsort label-255
SELECT pk FROM tab0 WHERE NOT ((col0 = 63))
----
3
8

statement ok
DELETE FROM tab1 WHERE (col0 = 63)

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

query I rowsort label-255
SELECT pk FROM tab1 WHERE NOT ((col0 = 63))
----
3
8

statement ok
DELETE FROM tab2 WHERE (col0 = 63)

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

query I rowsort label-255
SELECT pk FROM tab2 WHERE NOT ((col0 = 63))
----
3
8

statement ok
DELETE FROM tab3 WHERE (col0 = 63)

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

query I rowsort label-255
SELECT pk FROM tab3 WHERE NOT ((col0 = 63))
----
3
8

statement ok
DELETE FROM tab4 WHERE (col0 = 63)

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

query I rowsort label-255
SELECT pk FROM tab4 WHERE NOT ((col0 = 63))
----
3
8

statement ok
DELETE FROM tab0 WHERE col0 = 87

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

query I rowsort label-270
SELECT pk FROM tab0 WHERE NOT (col0 = 87)
----
3
8

statement ok
DELETE FROM tab1 WHERE col0 = 87

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

query I rowsort label-270
SELECT pk FROM tab1 WHERE NOT (col0 = 87)
----
3
8

statement ok
DELETE FROM tab2 WHERE col0 = 87

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

query I rowsort label-270
SELECT pk FROM tab2 WHERE NOT (col0 = 87)
----
3
8

statement ok
DELETE FROM tab3 WHERE col0 = 87

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

query I rowsort label-270
SELECT pk FROM tab3 WHERE NOT (col0 = 87)
----
3
8

statement ok
DELETE FROM tab4 WHERE col0 = 87

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

query I rowsort label-270
SELECT pk FROM tab4 WHERE NOT (col0 = 87)
----
3
8

statement ok
DELETE FROM tab0 WHERE ((col0 BETWEEN 89 AND 72))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 BETWEEN 89 AND 72))
----

query I rowsort label-285
SELECT pk FROM tab0 WHERE NOT (((col0 BETWEEN 89 AND 72)))
----
3
8

statement ok
DELETE FROM tab1 WHERE ((col0 BETWEEN 89 AND 72))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 BETWEEN 89 AND 72))
----

query I rowsort label-285
SELECT pk FROM tab1 WHERE NOT (((col0 BETWEEN 89 AND 72)))
----
3
8

statement ok
DELETE FROM tab2 WHERE ((col0 BETWEEN 89 AND 72))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 BETWEEN 89 AND 72))
----

query I rowsort label-285
SELECT pk FROM tab2 WHERE NOT (((col0 BETWEEN 89 AND 72)))
----
3
8

statement ok
DELETE FROM tab3 WHERE ((col0 BETWEEN 89 AND 72))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 BETWEEN 89 AND 72))
----

query I rowsort label-285
SELECT pk FROM tab3 WHERE NOT (((col0 BETWEEN 89 AND 72)))
----
3
8

statement ok
DELETE FROM tab4 WHERE ((col0 BETWEEN 89 AND 72))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 BETWEEN 89 AND 72))
----

query I rowsort label-285
SELECT pk FROM tab4 WHERE NOT (((col0 BETWEEN 89 AND 72)))
----
3
8

statement ok
DELETE FROM tab0 WHERE col3 > 84 AND (col3 >= 23)

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

query I rowsort label-300
SELECT pk FROM tab0 WHERE NOT (col3 > 84 AND (col3 >= 23))
----
3
8

statement ok
DELETE FROM tab1 WHERE col3 > 84 AND (col3 >= 23)

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

query I rowsort label-300
SELECT pk FROM tab1 WHERE NOT (col3 > 84 AND (col3 >= 23))
----
3
8

statement ok
DELETE FROM tab2 WHERE col3 > 84 AND (col3 >= 23)

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

query I rowsort label-300
SELECT pk FROM tab2 WHERE NOT (col3 > 84 AND (col3 >= 23))
----
3
8

statement ok
DELETE FROM tab3 WHERE col3 > 84 AND (col3 >= 23)

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

query I rowsort label-300
SELECT pk FROM tab3 WHERE NOT (col3 > 84 AND (col3 >= 23))
----
3
8

statement ok
DELETE FROM tab4 WHERE col3 > 84 AND (col3 >= 23)

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

query I rowsort label-300
SELECT pk FROM tab4 WHERE NOT (col3 > 84 AND (col3 >= 23))
----
3
8

statement ok
DELETE FROM tab0 WHERE col3 >= 13 OR col4 <= 80.50 AND col0 > 8

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 13 OR col4 <= 80.50 AND col0 > 8
----

query I rowsort label-315
SELECT pk FROM tab0 WHERE NOT (col3 >= 13 OR col4 <= 80.50 AND col0 > 8)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 13 OR col4 <= 80.50 AND col0 > 8

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 13 OR col4 <= 80.50 AND col0 > 8
----

query I rowsort label-315
SELECT pk FROM tab1 WHERE NOT (col3 >= 13 OR col4 <= 80.50 AND col0 > 8)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 13 OR col4 <= 80.50 AND col0 > 8

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 13 OR col4 <= 80.50 AND col0 > 8
----

query I rowsort label-315
SELECT pk FROM tab2 WHERE NOT (col3 >= 13 OR col4 <= 80.50 AND col0 > 8)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 13 OR col4 <= 80.50 AND col0 > 8

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 13 OR col4 <= 80.50 AND col0 > 8
----

query I rowsort label-315
SELECT pk FROM tab3 WHERE NOT (col3 >= 13 OR col4 <= 80.50 AND col0 > 8)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 13 OR col4 <= 80.50 AND col0 > 8

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 13 OR col4 <= 80.50 AND col0 > 8
----

query I rowsort label-315
SELECT pk FROM tab4 WHERE NOT (col3 >= 13 OR col4 <= 80.50 AND 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,2,98.45,'nqmuh',84,84.53,'fyrqd')

statement ok
INSERT INTO tab0 VALUES(1,9,83.72,'hsvkl',14,82.26,'hkmup')

statement ok
INSERT INTO tab0 VALUES(2,97,53.4,'mixly',81,61.27,'vwkjk')

statement ok
INSERT INTO tab0 VALUES(3,33,89.70,'hrkab',59,75.59,'vgaaf')

statement ok
INSERT INTO tab0 VALUES(4,51,61.22,'dkpoc',0,52.6,'uafgc')

statement ok
INSERT INTO tab0 VALUES(5,71,93.55,'gvvwa',42,53.50,'iiwmf')

statement ok
INSERT INTO tab0 VALUES(6,4,25.16,'gylif',25,36.81,'rbnif')

statement ok
INSERT INTO tab0 VALUES(7,72,74.15,'vpdbx',2,20.11,'qcxqe')

statement ok
INSERT INTO tab0 VALUES(8,13,0.43,'iqpyb',53,44.83,'vhrqx')

statement ok
INSERT INTO tab0 VALUES(9,99,64.78,'kahuq',95,34.91,'nraax')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56)
----

query I rowsort label-330
SELECT pk FROM tab0 WHERE NOT ((col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56))
----
2

statement ok
DELETE FROM tab1 WHERE (col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56)
----

query I rowsort label-330
SELECT pk FROM tab1 WHERE NOT ((col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56))
----
2

statement ok
DELETE FROM tab2 WHERE (col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56)
----

query I rowsort label-330
SELECT pk FROM tab2 WHERE NOT ((col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56))
----
2

statement ok
DELETE FROM tab3 WHERE (col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56)
----

query I rowsort label-330
SELECT pk FROM tab3 WHERE NOT ((col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56))
----
2

statement ok
DELETE FROM tab4 WHERE (col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56)
----

query I rowsort label-330
SELECT pk FROM tab4 WHERE NOT ((col0 < 87) AND (col0 < 88) OR col0 IN (37,71,99,0,56))
----
2

statement ok
DELETE FROM tab0 WHERE (col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50))
----

query I rowsort label-345
SELECT pk FROM tab0 WHERE NOT ((col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50)))
----
2

statement ok
DELETE FROM tab1 WHERE (col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50))
----

query I rowsort label-345
SELECT pk FROM tab1 WHERE NOT ((col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50)))
----
2

statement ok
DELETE FROM tab2 WHERE (col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50))
----

query I rowsort label-345
SELECT pk FROM tab2 WHERE NOT ((col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50)))
----
2

statement ok
DELETE FROM tab3 WHERE (col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50))
----

query I rowsort label-345
SELECT pk FROM tab3 WHERE NOT ((col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50)))
----
2

statement ok
DELETE FROM tab4 WHERE (col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50))
----

query I rowsort label-345
SELECT pk FROM tab4 WHERE NOT ((col0 <= 54 AND (((col3 > 44 OR col4 > 61.9 OR ((col3 >= 59))) OR col1 > 96.43) AND col0 <= 50)))
----
2

statement ok
DELETE FROM tab0 WHERE col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51)))))
----

query I rowsort label-360
SELECT pk FROM tab0 WHERE NOT (col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51))))))
----

statement ok
DELETE FROM tab1 WHERE col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51)))))
----

query I rowsort label-360
SELECT pk FROM tab1 WHERE NOT (col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51))))))
----

statement ok
DELETE FROM tab2 WHERE col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51)))))
----

query I rowsort label-360
SELECT pk FROM tab2 WHERE NOT (col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51))))))
----

statement ok
DELETE FROM tab3 WHERE col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51)))))
----

query I rowsort label-360
SELECT pk FROM tab3 WHERE NOT (col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51))))))
----

statement ok
DELETE FROM tab4 WHERE col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51)))))
----

query I rowsort label-360
SELECT pk FROM tab4 WHERE NOT (col0 > 10 OR (col3 = 74 AND ((col1 > 61.33))) AND ((col0 >= 17 AND ((col0 < 51) OR col1 >= 35.68 AND col3 > 14) OR ((col4 IS NULL AND ((col3 BETWEEN 17 AND 1 AND ((col3 > 47)))))))) AND ((((((((col0 >= 43))) AND (col4 >= 50.39) OR col0 >= 51))))))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,51,91.75,'zwtjm',58,0.66,'flemw')

statement ok
INSERT INTO tab0 VALUES(1,68,86.89,'ifjhu',39,9.52,'hjcez')

statement ok
INSERT INTO tab0 VALUES(2,80,92.45,'upcjt',34,65.84,'xgtnb')

statement ok
INSERT INTO tab0 VALUES(3,72,87.76,'adrnr',6,16.92,'vwtbt')

statement ok
INSERT INTO tab0 VALUES(4,3,45.51,'qyqsx',22,6.22,'kjjah')

statement ok
INSERT INTO tab0 VALUES(5,60,34.33,'jxdov',11,88.98,'mavfo')

statement ok
INSERT INTO tab0 VALUES(6,31,41.48,'dhivc',29,32.85,'ushmg')

statement ok
INSERT INTO tab0 VALUES(7,58,76.41,'eilht',23,41.52,'ysyga')

statement ok
INSERT INTO tab0 VALUES(8,4,88.44,'gwvdh',90,64.33,'pdjkn')

statement ok
INSERT INTO tab0 VALUES(9,18,75.34,'qacrv',41,5.90,'mqisq')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0,col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 IN (19,55,8,10)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (19,55,8,10)
----

query I rowsort label-375
SELECT pk FROM tab0 WHERE NOT (col3 IN (19,55,8,10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 IN (19,55,8,10)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (19,55,8,10)
----

query I rowsort label-375
SELECT pk FROM tab1 WHERE NOT (col3 IN (19,55,8,10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 IN (19,55,8,10)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (19,55,8,10)
----

query I rowsort label-375
SELECT pk FROM tab2 WHERE NOT (col3 IN (19,55,8,10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 IN (19,55,8,10)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (19,55,8,10)
----

query I rowsort label-375
SELECT pk FROM tab3 WHERE NOT (col3 IN (19,55,8,10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 IN (19,55,8,10)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (19,55,8,10)
----

query I rowsort label-375
SELECT pk FROM tab4 WHERE NOT (col3 IN (19,55,8,10))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 > 84.4 AND col0 = 64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 84.4 AND col0 = 64
----

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

statement ok
DELETE FROM tab1 WHERE col1 > 84.4 AND col0 = 64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 84.4 AND col0 = 64
----

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

statement ok
DELETE FROM tab2 WHERE col1 > 84.4 AND col0 = 64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 84.4 AND col0 = 64
----

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

statement ok
DELETE FROM tab3 WHERE col1 > 84.4 AND col0 = 64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 84.4 AND col0 = 64
----

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

statement ok
DELETE FROM tab4 WHERE col1 > 84.4 AND col0 = 64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 84.4 AND col0 = 64
----

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

statement ok
DELETE FROM tab0 WHERE col1 > 62.54

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

query I rowsort label-405
SELECT pk FROM tab0 WHERE NOT (col1 > 62.54)
----
4
5
6

statement ok
DELETE FROM tab1 WHERE col1 > 62.54

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

query I rowsort label-405
SELECT pk FROM tab1 WHERE NOT (col1 > 62.54)
----
4
5
6

statement ok
DELETE FROM tab2 WHERE col1 > 62.54

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

query I rowsort label-405
SELECT pk FROM tab2 WHERE NOT (col1 > 62.54)
----
4
5
6

statement ok
DELETE FROM tab3 WHERE col1 > 62.54

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

query I rowsort label-405
SELECT pk FROM tab3 WHERE NOT (col1 > 62.54)
----
4
5
6

statement ok
DELETE FROM tab4 WHERE col1 > 62.54

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

query I rowsort label-405
SELECT pk FROM tab4 WHERE NOT (col1 > 62.54)
----
4
5
6

statement ok
DELETE FROM tab0 WHERE ((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27))
----

query I rowsort label-420
SELECT pk FROM tab0 WHERE NOT (((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27)))
----
4
5
6

statement ok
DELETE FROM tab1 WHERE ((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27))
----

query I rowsort label-420
SELECT pk FROM tab1 WHERE NOT (((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27)))
----
4
5
6

statement ok
DELETE FROM tab2 WHERE ((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27))
----

query I rowsort label-420
SELECT pk FROM tab2 WHERE NOT (((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27)))
----
4
5
6

statement ok
DELETE FROM tab3 WHERE ((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27))
----

query I rowsort label-420
SELECT pk FROM tab3 WHERE NOT (((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27)))
----
4
5
6

statement ok
DELETE FROM tab4 WHERE ((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27))
----

query I rowsort label-420
SELECT pk FROM tab4 WHERE NOT (((col1 < 41.39 AND ((col1 >= 94.15) AND (((((col0 = 72 AND col4 < 91.56))))))) AND col3 IN (84,85) AND col3 IN (27)))
----
4
5
6

statement ok
DELETE FROM tab0 WHERE col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94)
----

query I rowsort label-435
SELECT pk FROM tab0 WHERE NOT (col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94))
----
4
5
6

statement ok
DELETE FROM tab1 WHERE col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94)
----

query I rowsort label-435
SELECT pk FROM tab1 WHERE NOT (col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94))
----
4
5
6

statement ok
DELETE FROM tab2 WHERE col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94)
----

query I rowsort label-435
SELECT pk FROM tab2 WHERE NOT (col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94))
----
4
5
6

statement ok
DELETE FROM tab3 WHERE col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94)
----

query I rowsort label-435
SELECT pk FROM tab3 WHERE NOT (col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94))
----
4
5
6

statement ok
DELETE FROM tab4 WHERE col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94)
----

query I rowsort label-435
SELECT pk FROM tab4 WHERE NOT (col1 = 37.65 AND (col1 = 96.86 AND ((col0 IN (42,24,19,9,74)) AND col3 < 72) AND col4 <= 96.94))
----
4
5
6

statement ok
DELETE FROM tab0 WHERE col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL
----

query I rowsort label-450
SELECT pk FROM tab0 WHERE NOT (col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL)
----

statement ok
DELETE FROM tab1 WHERE col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL
----

query I rowsort label-450
SELECT pk FROM tab1 WHERE NOT (col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL)
----

statement ok
DELETE FROM tab2 WHERE col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL
----

query I rowsort label-450
SELECT pk FROM tab2 WHERE NOT (col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL)
----

statement ok
DELETE FROM tab3 WHERE col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL
----

query I rowsort label-450
SELECT pk FROM tab3 WHERE NOT (col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL)
----

statement ok
DELETE FROM tab4 WHERE col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND col4 IS NULL
----

query I rowsort label-450
SELECT pk FROM tab4 WHERE NOT (col3 <= 63 OR col3 < 27 AND col4 IN (65.58) AND (col4 <= 32.75) AND 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,67,11.95,'ywkom',90,29.80,'exxkc')

statement ok
INSERT INTO tab0 VALUES(1,24,95.40,'trgnk',70,91.72,'lxrhi')

statement ok
INSERT INTO tab0 VALUES(2,75,25.10,'mewuy',26,48.72,'eafgv')

statement ok
INSERT INTO tab0 VALUES(3,4,82.76,'nuaxd',10,64.4,'efgmd')

statement ok
INSERT INTO tab0 VALUES(4,40,3.42,'goalq',32,42.77,'pigpq')

statement ok
INSERT INTO tab0 VALUES(5,73,44.56,'vprtd',68,82.4,'tcspa')

statement ok
INSERT INTO tab0 VALUES(6,68,43.18,'svqlc',71,49.6,'kiwid')

statement ok
INSERT INTO tab0 VALUES(7,74,83.1,'imgei',89,33.31,'tcnfm')

statement ok
INSERT INTO tab0 VALUES(8,35,50.55,'qyabq',72,11.61,'trjsu')

statement ok
INSERT INTO tab0 VALUES(9,10,4.24,'wajrl',85,12.30,'axwgt')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 IN (96))

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

query I rowsort label-465
SELECT pk FROM tab0 WHERE NOT ((col3 IN (96)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 IN (96))

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

query I rowsort label-465
SELECT pk FROM tab1 WHERE NOT ((col3 IN (96)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 IN (96))

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

query I rowsort label-465
SELECT pk FROM tab2 WHERE NOT ((col3 IN (96)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 IN (96))

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

query I rowsort label-465
SELECT pk FROM tab3 WHERE NOT ((col3 IN (96)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 IN (96))

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

query I rowsort label-465
SELECT pk FROM tab4 WHERE NOT ((col3 IN (96)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 69 AND 97

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 69 AND 97
----

query I rowsort label-480
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 69 AND 97)
----
2
3
4
5

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 69 AND 97

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 69 AND 97
----

query I rowsort label-480
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 69 AND 97)
----
2
3
4
5

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 69 AND 97

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 69 AND 97
----

query I rowsort label-480
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 69 AND 97)
----
2
3
4
5

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 69 AND 97

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 69 AND 97
----

query I rowsort label-480
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 69 AND 97)
----
2
3
4
5

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 69 AND 97

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 69 AND 97
----

query I rowsort label-480
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 69 AND 97)
----
2
3
4
5

statement ok
DELETE FROM tab0 WHERE col3 IS NULL

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

query I rowsort label-495
SELECT pk FROM tab0 WHERE NOT (col3 IS NULL)
----
2
3
4
5

statement ok
DELETE FROM tab1 WHERE col3 IS NULL

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

query I rowsort label-495
SELECT pk FROM tab1 WHERE NOT (col3 IS NULL)
----
2
3
4
5

statement ok
DELETE FROM tab2 WHERE col3 IS NULL

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

query I rowsort label-495
SELECT pk FROM tab2 WHERE NOT (col3 IS NULL)
----
2
3
4
5

statement ok
DELETE FROM tab3 WHERE col3 IS NULL

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

query I rowsort label-495
SELECT pk FROM tab3 WHERE NOT (col3 IS NULL)
----
2
3
4
5

statement ok
DELETE FROM tab4 WHERE col3 IS NULL

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

query I rowsort label-495
SELECT pk FROM tab4 WHERE NOT (col3 IS NULL)
----
2
3
4
5

statement ok
DELETE FROM tab0 WHERE col0 > 64

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

query I rowsort label-510
SELECT pk FROM tab0 WHERE NOT (col0 > 64)
----
3
4

statement ok
DELETE FROM tab1 WHERE col0 > 64

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

query I rowsort label-510
SELECT pk FROM tab1 WHERE NOT (col0 > 64)
----
3
4

statement ok
DELETE FROM tab2 WHERE col0 > 64

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

query I rowsort label-510
SELECT pk FROM tab2 WHERE NOT (col0 > 64)
----
3
4

statement ok
DELETE FROM tab3 WHERE col0 > 64

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

query I rowsort label-510
SELECT pk FROM tab3 WHERE NOT (col0 > 64)
----
3
4

statement ok
DELETE FROM tab4 WHERE col0 > 64

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

query I rowsort label-510
SELECT pk FROM tab4 WHERE NOT (col0 > 64)
----
3
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,23,10.38,'vhgoq',74,19.23,'srpgw')

statement ok
INSERT INTO tab0 VALUES(1,0,23.88,'xeyzu',81,78.61,'tkbmr')

statement ok
INSERT INTO tab0 VALUES(2,48,7.24,'axddm',1,36.25,'tkrzs')

statement ok
INSERT INTO tab0 VALUES(3,50,76.6,'fjgkw',60,86.41,'wnxbp')

statement ok
INSERT INTO tab0 VALUES(4,14,79.91,'rlabl',86,10.65,'ikbdg')

statement ok
INSERT INTO tab0 VALUES(5,28,11.99,'tkrye',71,93.45,'pzpof')

statement ok
INSERT INTO tab0 VALUES(6,31,22.73,'aqcao',38,37.85,'lbbbn')

statement ok
INSERT INTO tab0 VALUES(7,69,41.42,'nkvzw',99,65.5,'ecjnb')

statement ok
INSERT INTO tab0 VALUES(8,62,74.85,'vgkab',21,48.6,'rrwnp')

statement ok
INSERT INTO tab0 VALUES(9,63,26.89,'frgfe',87,5.31,'pfkwv')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0)

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

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

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 71

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

query I rowsort label-525
SELECT pk FROM tab0 WHERE NOT (col0 < 71)
----

statement ok
DELETE FROM tab1 WHERE col0 < 71

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

query I rowsort label-525
SELECT pk FROM tab1 WHERE NOT (col0 < 71)
----

statement ok
DELETE FROM tab2 WHERE col0 < 71

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

query I rowsort label-525
SELECT pk FROM tab2 WHERE NOT (col0 < 71)
----

statement ok
DELETE FROM tab3 WHERE col0 < 71

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

query I rowsort label-525
SELECT pk FROM tab3 WHERE NOT (col0 < 71)
----

statement ok
DELETE FROM tab4 WHERE col0 < 71

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

query I rowsort label-525
SELECT pk FROM tab4 WHERE NOT (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,84,21.8,'hntbf',23,52.78,'fapmq')

statement ok
INSERT INTO tab0 VALUES(1,50,11.42,'befta',12,26.32,'maogq')

statement ok
INSERT INTO tab0 VALUES(2,72,24.85,'sdjbi',65,96.68,'pbhpq')

statement ok
INSERT INTO tab0 VALUES(3,0,64.65,'gbgsk',35,65.25,'fvunc')

statement ok
INSERT INTO tab0 VALUES(4,13,45.82,'jlmyt',58,71.22,'njuoq')

statement ok
INSERT INTO tab0 VALUES(5,35,49.27,'fsrpb',72,58.72,'vinzr')

statement ok
INSERT INTO tab0 VALUES(6,45,94.92,'tlgkm',26,31.99,'iyhwe')

statement ok
INSERT INTO tab0 VALUES(7,90,90.81,'pjzyo',92,23.43,'ohzkb')

statement ok
INSERT INTO tab0 VALUES(8,97,8.26,'sprwo',81,59.78,'afwtz')

statement ok
INSERT INTO tab0 VALUES(9,88,39.95,'rqpak',53,8.21,'btajy')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

query I rowsort label-540
SELECT pk FROM tab0 WHERE NOT (((col4 >= 29.56)))
----
1
7
9

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

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

query I rowsort label-540
SELECT pk FROM tab1 WHERE NOT (((col4 >= 29.56)))
----
1
7
9

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

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

query I rowsort label-540
SELECT pk FROM tab2 WHERE NOT (((col4 >= 29.56)))
----
1
7
9

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

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

query I rowsort label-540
SELECT pk FROM tab3 WHERE NOT (((col4 >= 29.56)))
----
1
7
9

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

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

query I rowsort label-540
SELECT pk FROM tab4 WHERE NOT (((col4 >= 29.56)))
----
1
7
9

statement ok
DELETE FROM tab0 WHERE col0 >= 94

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

query I rowsort label-555
SELECT pk FROM tab0 WHERE NOT (col0 >= 94)
----
1
7
9

statement ok
DELETE FROM tab1 WHERE col0 >= 94

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

query I rowsort label-555
SELECT pk FROM tab1 WHERE NOT (col0 >= 94)
----
1
7
9

statement ok
DELETE FROM tab2 WHERE col0 >= 94

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

query I rowsort label-555
SELECT pk FROM tab2 WHERE NOT (col0 >= 94)
----
1
7
9

statement ok
DELETE FROM tab3 WHERE col0 >= 94

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

query I rowsort label-555
SELECT pk FROM tab3 WHERE NOT (col0 >= 94)
----
1
7
9

statement ok
DELETE FROM tab4 WHERE col0 >= 94

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

query I rowsort label-555
SELECT pk FROM tab4 WHERE NOT (col0 >= 94)
----
1
7
9

statement ok
DELETE FROM tab0 WHERE col1 <= 75.13

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

query I rowsort label-570
SELECT pk FROM tab0 WHERE NOT (col1 <= 75.13)
----
7

statement ok
DELETE FROM tab1 WHERE col1 <= 75.13

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

query I rowsort label-570
SELECT pk FROM tab1 WHERE NOT (col1 <= 75.13)
----
7

statement ok
DELETE FROM tab2 WHERE col1 <= 75.13

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

query I rowsort label-570
SELECT pk FROM tab2 WHERE NOT (col1 <= 75.13)
----
7

statement ok
DELETE FROM tab3 WHERE col1 <= 75.13

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

query I rowsort label-570
SELECT pk FROM tab3 WHERE NOT (col1 <= 75.13)
----
7

statement ok
DELETE FROM tab4 WHERE col1 <= 75.13

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

query I rowsort label-570
SELECT pk FROM tab4 WHERE NOT (col1 <= 75.13)
----
7

statement ok
DELETE FROM tab0 WHERE col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13)
----

query I rowsort label-585
SELECT pk FROM tab0 WHERE NOT (col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13))
----
7

statement ok
DELETE FROM tab1 WHERE col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13)
----

query I rowsort label-585
SELECT pk FROM tab1 WHERE NOT (col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13))
----
7

statement ok
DELETE FROM tab2 WHERE col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13)
----

query I rowsort label-585
SELECT pk FROM tab2 WHERE NOT (col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13))
----
7

statement ok
DELETE FROM tab3 WHERE col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13)
----

query I rowsort label-585
SELECT pk FROM tab3 WHERE NOT (col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13))
----
7

statement ok
DELETE FROM tab4 WHERE col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13)
----

query I rowsort label-585
SELECT pk FROM tab4 WHERE NOT (col1 >= 47.15 AND (col3 <= 66) OR (col0 = 13))
----
7

statement ok
DELETE FROM tab0 WHERE (col0 > 60) AND col3 < 6

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 60) AND col3 < 6
----

query I rowsort label-600
SELECT pk FROM tab0 WHERE NOT ((col0 > 60) AND col3 < 6)
----
7

statement ok
DELETE FROM tab1 WHERE (col0 > 60) AND col3 < 6

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 60) AND col3 < 6
----

query I rowsort label-600
SELECT pk FROM tab1 WHERE NOT ((col0 > 60) AND col3 < 6)
----
7

statement ok
DELETE FROM tab2 WHERE (col0 > 60) AND col3 < 6

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 60) AND col3 < 6
----

query I rowsort label-600
SELECT pk FROM tab2 WHERE NOT ((col0 > 60) AND col3 < 6)
----
7

statement ok
DELETE FROM tab3 WHERE (col0 > 60) AND col3 < 6

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 60) AND col3 < 6
----

query I rowsort label-600
SELECT pk FROM tab3 WHERE NOT ((col0 > 60) AND col3 < 6)
----
7

statement ok
DELETE FROM tab4 WHERE (col0 > 60) AND col3 < 6

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 60) AND col3 < 6
----

query I rowsort label-600
SELECT pk FROM tab4 WHERE NOT ((col0 > 60) AND col3 < 6)
----
7

statement ok
DELETE FROM tab0 WHERE col4 < 73.11

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

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

statement ok
DELETE FROM tab1 WHERE col4 < 73.11

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

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

statement ok
DELETE FROM tab2 WHERE col4 < 73.11

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

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

statement ok
DELETE FROM tab3 WHERE col4 < 73.11

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

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

statement ok
DELETE FROM tab4 WHERE col4 < 73.11

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

query I rowsort label-615
SELECT pk FROM tab4 WHERE NOT (col4 < 73.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,26,51.50,'lcrro',82,91.20,'xzdcw')

statement ok
INSERT INTO tab0 VALUES(1,41,93.66,'jnudw',18,38.49,'zvvij')

statement ok
INSERT INTO tab0 VALUES(2,93,81.20,'nzjqz',77,50.26,'ujciq')

statement ok
INSERT INTO tab0 VALUES(3,36,63.56,'uvyds',86,52.68,'dmwrr')

statement ok
INSERT INTO tab0 VALUES(4,46,5.66,'rualp',54,17.47,'cwmvz')

statement ok
INSERT INTO tab0 VALUES(5,44,53.4,'vwwen',88,29.0,'whhde')

statement ok
INSERT INTO tab0 VALUES(6,1,96.96,'vubzg',3,45.45,'fpfbr')

statement ok
INSERT INTO tab0 VALUES(7,54,25.53,'pveqg',36,61.91,'dxphi')

statement ok
INSERT INTO tab0 VALUES(8,16,2.83,'cdhef',56,68.49,'nqmta')

statement ok
INSERT INTO tab0 VALUES(9,94,17.8,'buubo',80,20.50,'vtqwg')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25
----

query I rowsort label-630
SELECT pk FROM tab0 WHERE NOT ((((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab1 WHERE (((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25
----

query I rowsort label-630
SELECT pk FROM tab1 WHERE NOT ((((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab2 WHERE (((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25
----

query I rowsort label-630
SELECT pk FROM tab2 WHERE NOT ((((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab3 WHERE (((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25
----

query I rowsort label-630
SELECT pk FROM tab3 WHERE NOT ((((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab4 WHERE (((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25
----

query I rowsort label-630
SELECT pk FROM tab4 WHERE NOT ((((col1 <= 8.28 OR ((col3 = 66)) OR col3 < 78))) AND col4 < 35.55 AND col4 < 76.25)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab0 WHERE (col0 < 57) OR ((((col1 >= 77.51))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 57) OR ((((col1 >= 77.51))))
----

query I rowsort label-645
SELECT pk FROM tab0 WHERE NOT ((col0 < 57) OR ((((col1 >= 77.51)))))
----
9

statement ok
DELETE FROM tab1 WHERE (col0 < 57) OR ((((col1 >= 77.51))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 57) OR ((((col1 >= 77.51))))
----

query I rowsort label-645
SELECT pk FROM tab1 WHERE NOT ((col0 < 57) OR ((((col1 >= 77.51)))))
----
9

statement ok
DELETE FROM tab2 WHERE (col0 < 57) OR ((((col1 >= 77.51))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 57) OR ((((col1 >= 77.51))))
----

query I rowsort label-645
SELECT pk FROM tab2 WHERE NOT ((col0 < 57) OR ((((col1 >= 77.51)))))
----
9

statement ok
DELETE FROM tab3 WHERE (col0 < 57) OR ((((col1 >= 77.51))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 57) OR ((((col1 >= 77.51))))
----

query I rowsort label-645
SELECT pk FROM tab3 WHERE NOT ((col0 < 57) OR ((((col1 >= 77.51)))))
----
9

statement ok
DELETE FROM tab4 WHERE (col0 < 57) OR ((((col1 >= 77.51))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 57) OR ((((col1 >= 77.51))))
----

query I rowsort label-645
SELECT pk FROM tab4 WHERE NOT ((col0 < 57) OR ((((col1 >= 77.51)))))
----
9

statement ok
DELETE FROM tab0 WHERE col4 = 59.21

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

query I rowsort label-660
SELECT pk FROM tab0 WHERE NOT (col4 = 59.21)
----
9

statement ok
DELETE FROM tab1 WHERE col4 = 59.21

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

query I rowsort label-660
SELECT pk FROM tab1 WHERE NOT (col4 = 59.21)
----
9

statement ok
DELETE FROM tab2 WHERE col4 = 59.21

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

query I rowsort label-660
SELECT pk FROM tab2 WHERE NOT (col4 = 59.21)
----
9

statement ok
DELETE FROM tab3 WHERE col4 = 59.21

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

query I rowsort label-660
SELECT pk FROM tab3 WHERE NOT (col4 = 59.21)
----
9

statement ok
DELETE FROM tab4 WHERE col4 = 59.21

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

query I rowsort label-660
SELECT pk FROM tab4 WHERE NOT (col4 = 59.21)
----
9

statement ok
DELETE FROM tab0 WHERE col3 >= 96 AND col0 >= 23

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

query I rowsort label-675
SELECT pk FROM tab0 WHERE NOT (col3 >= 96 AND col0 >= 23)
----
9

statement ok
DELETE FROM tab1 WHERE col3 >= 96 AND col0 >= 23

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

query I rowsort label-675
SELECT pk FROM tab1 WHERE NOT (col3 >= 96 AND col0 >= 23)
----
9

statement ok
DELETE FROM tab2 WHERE col3 >= 96 AND col0 >= 23

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

query I rowsort label-675
SELECT pk FROM tab2 WHERE NOT (col3 >= 96 AND col0 >= 23)
----
9

statement ok
DELETE FROM tab3 WHERE col3 >= 96 AND col0 >= 23

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

query I rowsort label-675
SELECT pk FROM tab3 WHERE NOT (col3 >= 96 AND col0 >= 23)
----
9

statement ok
DELETE FROM tab4 WHERE col3 >= 96 AND col0 >= 23

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

query I rowsort label-675
SELECT pk FROM tab4 WHERE NOT (col3 >= 96 AND col0 >= 23)
----
9

statement ok
DELETE FROM tab0 WHERE (col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97)))
----

query I rowsort label-690
SELECT pk FROM tab0 WHERE NOT ((col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97))))
----
9

statement ok
DELETE FROM tab1 WHERE (col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97)))
----

query I rowsort label-690
SELECT pk FROM tab1 WHERE NOT ((col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97))))
----
9

statement ok
DELETE FROM tab2 WHERE (col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97)))
----

query I rowsort label-690
SELECT pk FROM tab2 WHERE NOT ((col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97))))
----
9

statement ok
DELETE FROM tab3 WHERE (col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97)))
----

query I rowsort label-690
SELECT pk FROM tab3 WHERE NOT ((col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97))))
----
9

statement ok
DELETE FROM tab4 WHERE (col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97)))
----

query I rowsort label-690
SELECT pk FROM tab4 WHERE NOT ((col4 IS NULL AND col1 < 64.71 AND (col3 <= 33) AND col1 > 8.48 AND (col4 = 8.53 AND (((((col1 >= 60.61)))) AND col1 > 23.97))))
----
9

statement ok
DELETE FROM tab0 WHERE (((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22)
----

query I rowsort label-705
SELECT pk FROM tab0 WHERE NOT ((((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22))
----

statement ok
DELETE FROM tab1 WHERE (((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22)
----

query I rowsort label-705
SELECT pk FROM tab1 WHERE NOT ((((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22))
----

statement ok
DELETE FROM tab2 WHERE (((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22)
----

query I rowsort label-705
SELECT pk FROM tab2 WHERE NOT ((((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22))
----

statement ok
DELETE FROM tab3 WHERE (((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22)
----

query I rowsort label-705
SELECT pk FROM tab3 WHERE NOT ((((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22))
----

statement ok
DELETE FROM tab4 WHERE (((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22)
----

query I rowsort label-705
SELECT pk FROM tab4 WHERE NOT ((((col0 > 62)) OR col0 > 60 OR (col4 < 27.81 AND col0 > 56 AND (col4 > 34.34)) OR col0 > 22))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,70,41.50,'adcdp',64,87.70,'kghpt')

statement ok
INSERT INTO tab0 VALUES(1,54,68.83,'chutf',62,93.26,'fzwwv')

statement ok
INSERT INTO tab0 VALUES(2,12,35.55,'sjvkb',63,19.90,'ghvkh')

statement ok
INSERT INTO tab0 VALUES(3,14,14.19,'gyvmh',65,54.59,'qpzyt')

statement ok
INSERT INTO tab0 VALUES(4,35,54.93,'fktea',70,49.51,'wjkhz')

statement ok
INSERT INTO tab0 VALUES(5,71,44.72,'vgqlx',21,74.16,'kactr')

statement ok
INSERT INTO tab0 VALUES(6,52,78.42,'nxidw',89,86.52,'kdndd')

statement ok
INSERT INTO tab0 VALUES(7,49,16.91,'rdueq',1,88.16,'eqfuq')

statement ok
INSERT INTO tab0 VALUES(8,94,45.22,'gadti',44,91.35,'xvpwk')

statement ok
INSERT INTO tab0 VALUES(9,85,42.65,'iexfg',82,82.22,'hoiix')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0 DESC)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 IS NULL

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

query I rowsort label-720
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 IS NULL

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

query I rowsort label-720
SELECT pk FROM tab1 WHERE NOT (col0 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 IS NULL

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

query I rowsort label-720
SELECT pk FROM tab2 WHERE NOT (col0 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 IS NULL

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

query I rowsort label-720
SELECT pk FROM tab3 WHERE NOT (col0 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 IS NULL

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

query I rowsort label-720
SELECT pk FROM tab4 WHERE NOT (col0 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 >= 10

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

query I rowsort label-735
SELECT pk FROM tab0 WHERE NOT (col3 >= 10)
----
7

statement ok
DELETE FROM tab1 WHERE col3 >= 10

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

query I rowsort label-735
SELECT pk FROM tab1 WHERE NOT (col3 >= 10)
----
7

statement ok
DELETE FROM tab2 WHERE col3 >= 10

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

query I rowsort label-735
SELECT pk FROM tab2 WHERE NOT (col3 >= 10)
----
7

statement ok
DELETE FROM tab3 WHERE col3 >= 10

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

query I rowsort label-735
SELECT pk FROM tab3 WHERE NOT (col3 >= 10)
----
7

statement ok
DELETE FROM tab4 WHERE col3 >= 10

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

query I rowsort label-735
SELECT pk FROM tab4 WHERE NOT (col3 >= 10)
----
7

statement ok
DELETE FROM tab0 WHERE col4 >= 91.97

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

query I rowsort label-750
SELECT pk FROM tab0 WHERE NOT (col4 >= 91.97)
----
7

statement ok
DELETE FROM tab1 WHERE col4 >= 91.97

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

query I rowsort label-750
SELECT pk FROM tab1 WHERE NOT (col4 >= 91.97)
----
7

statement ok
DELETE FROM tab2 WHERE col4 >= 91.97

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

query I rowsort label-750
SELECT pk FROM tab2 WHERE NOT (col4 >= 91.97)
----
7

statement ok
DELETE FROM tab3 WHERE col4 >= 91.97

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

query I rowsort label-750
SELECT pk FROM tab3 WHERE NOT (col4 >= 91.97)
----
7

statement ok
DELETE FROM tab4 WHERE col4 >= 91.97

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

query I rowsort label-750
SELECT pk FROM tab4 WHERE NOT (col4 >= 91.97)
----
7

statement ok
DELETE FROM tab0 WHERE (col3 < 14)

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

query I rowsort label-765
SELECT pk FROM tab0 WHERE NOT ((col3 < 14))
----

statement ok
DELETE FROM tab1 WHERE (col3 < 14)

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

query I rowsort label-765
SELECT pk FROM tab1 WHERE NOT ((col3 < 14))
----

statement ok
DELETE FROM tab2 WHERE (col3 < 14)

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

query I rowsort label-765
SELECT pk FROM tab2 WHERE NOT ((col3 < 14))
----

statement ok
DELETE FROM tab3 WHERE (col3 < 14)

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

query I rowsort label-765
SELECT pk FROM tab3 WHERE NOT ((col3 < 14))
----

statement ok
DELETE FROM tab4 WHERE (col3 < 14)

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

query I rowsort label-765
SELECT pk FROM tab4 WHERE NOT ((col3 < 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,46,26.42,'fwfrn',63,40.82,'krfau')

statement ok
INSERT INTO tab0 VALUES(1,38,88.55,'rksop',28,81.78,'zlsyw')

statement ok
INSERT INTO tab0 VALUES(2,8,42.55,'bjfxl',85,52.23,'lylrw')

statement ok
INSERT INTO tab0 VALUES(3,82,15.59,'bpxpd',72,39.45,'hvwbw')

statement ok
INSERT INTO tab0 VALUES(4,89,23.5,'vxtbf',86,57.97,'dkroh')

statement ok
INSERT INTO tab0 VALUES(5,72,38.69,'khfij',96,1.78,'isgjl')

statement ok
INSERT INTO tab0 VALUES(6,4,50.73,'kdvex',53,19.38,'rqklf')

statement ok
INSERT INTO tab0 VALUES(7,94,28.99,'pewiq',7,68.95,'xczro')

statement ok
INSERT INTO tab0 VALUES(8,7,83.4,'qtwmf',13,79.45,'jcmdh')

statement ok
INSERT INTO tab0 VALUES(9,73,33.28,'nvjly',52,21.77,'tyoyp')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC)

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

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 > 61

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

query I rowsort label-780
SELECT pk FROM tab0 WHERE NOT (col0 > 61)
----
0
1
2
6
8

statement ok
DELETE FROM tab1 WHERE col0 > 61

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

query I rowsort label-780
SELECT pk FROM tab1 WHERE NOT (col0 > 61)
----
0
1
2
6
8

statement ok
DELETE FROM tab2 WHERE col0 > 61

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

query I rowsort label-780
SELECT pk FROM tab2 WHERE NOT (col0 > 61)
----
0
1
2
6
8

statement ok
DELETE FROM tab3 WHERE col0 > 61

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

query I rowsort label-780
SELECT pk FROM tab3 WHERE NOT (col0 > 61)
----
0
1
2
6
8

statement ok
DELETE FROM tab4 WHERE col0 > 61

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

query I rowsort label-780
SELECT pk FROM tab4 WHERE NOT (col0 > 61)
----
0
1
2
6
8

statement ok
DELETE FROM tab0 WHERE col0 = 15

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

query I rowsort label-795
SELECT pk FROM tab0 WHERE NOT (col0 = 15)
----
0
1
2
6
8

statement ok
DELETE FROM tab1 WHERE col0 = 15

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

query I rowsort label-795
SELECT pk FROM tab1 WHERE NOT (col0 = 15)
----
0
1
2
6
8

statement ok
DELETE FROM tab2 WHERE col0 = 15

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

query I rowsort label-795
SELECT pk FROM tab2 WHERE NOT (col0 = 15)
----
0
1
2
6
8

statement ok
DELETE FROM tab3 WHERE col0 = 15

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

query I rowsort label-795
SELECT pk FROM tab3 WHERE NOT (col0 = 15)
----
0
1
2
6
8

statement ok
DELETE FROM tab4 WHERE col0 = 15

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

query I rowsort label-795
SELECT pk FROM tab4 WHERE NOT (col0 = 15)
----
0
1
2
6
8

statement ok
DELETE FROM tab0 WHERE col3 > 95

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

query I rowsort label-810
SELECT pk FROM tab0 WHERE NOT (col3 > 95)
----
0
1
2
6
8

statement ok
DELETE FROM tab1 WHERE col3 > 95

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

query I rowsort label-810
SELECT pk FROM tab1 WHERE NOT (col3 > 95)
----
0
1
2
6
8

statement ok
DELETE FROM tab2 WHERE col3 > 95

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

query I rowsort label-810
SELECT pk FROM tab2 WHERE NOT (col3 > 95)
----
0
1
2
6
8

statement ok
DELETE FROM tab3 WHERE col3 > 95

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

query I rowsort label-810
SELECT pk FROM tab3 WHERE NOT (col3 > 95)
----
0
1
2
6
8

statement ok
DELETE FROM tab4 WHERE col3 > 95

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

query I rowsort label-810
SELECT pk FROM tab4 WHERE NOT (col3 > 95)
----
0
1
2
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,43,8.74,'anltg',49,51.37,'ersvb')

statement ok
INSERT INTO tab0 VALUES(1,32,48.45,'vlydv',15,89.51,'tltty')

statement ok
INSERT INTO tab0 VALUES(2,77,61.28,'uyfgc',19,44.82,'jzapd')

statement ok
INSERT INTO tab0 VALUES(3,98,12.45,'txmzd',21,56.20,'tnvzn')

statement ok
INSERT INTO tab0 VALUES(4,2,10.89,'mgnoj',77,93.85,'zkwlt')

statement ok
INSERT INTO tab0 VALUES(5,93,68.29,'kilnh',45,7.28,'xgyiu')

statement ok
INSERT INTO tab0 VALUES(6,87,71.32,'brbvy',99,3.55,'aflbk')

statement ok
INSERT INTO tab0 VALUES(7,20,33.66,'ylucp',43,97.31,'vacda')

statement ok
INSERT INTO tab0 VALUES(8,67,65.22,'xmapl',22,83.94,'szmlg')

statement ok
INSERT INTO tab0 VALUES(9,47,31.17,'wgamb',36,88.73,'jjudj')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

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

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 49 AND col0 <= 47

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

query I rowsort label-825
SELECT pk FROM tab0 WHERE NOT (col0 < 49 AND col0 <= 47)
----
2
3
5
6
8

statement ok
DELETE FROM tab1 WHERE col0 < 49 AND col0 <= 47

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

query I rowsort label-825
SELECT pk FROM tab1 WHERE NOT (col0 < 49 AND col0 <= 47)
----
2
3
5
6
8

statement ok
DELETE FROM tab2 WHERE col0 < 49 AND col0 <= 47

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

query I rowsort label-825
SELECT pk FROM tab2 WHERE NOT (col0 < 49 AND col0 <= 47)
----
2
3
5
6
8

statement ok
DELETE FROM tab3 WHERE col0 < 49 AND col0 <= 47

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

query I rowsort label-825
SELECT pk FROM tab3 WHERE NOT (col0 < 49 AND col0 <= 47)
----
2
3
5
6
8

statement ok
DELETE FROM tab4 WHERE col0 < 49 AND col0 <= 47

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

query I rowsort label-825
SELECT pk FROM tab4 WHERE NOT (col0 < 49 AND col0 <= 47)
----
2
3
5
6
8

statement ok
DELETE FROM tab0 WHERE col3 > 74

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

query I rowsort label-840
SELECT pk FROM tab0 WHERE NOT (col3 > 74)
----
2
3
5
8

statement ok
DELETE FROM tab1 WHERE col3 > 74

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

query I rowsort label-840
SELECT pk FROM tab1 WHERE NOT (col3 > 74)
----
2
3
5
8

statement ok
DELETE FROM tab2 WHERE col3 > 74

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

query I rowsort label-840
SELECT pk FROM tab2 WHERE NOT (col3 > 74)
----
2
3
5
8

statement ok
DELETE FROM tab3 WHERE col3 > 74

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

query I rowsort label-840
SELECT pk FROM tab3 WHERE NOT (col3 > 74)
----
2
3
5
8

statement ok
DELETE FROM tab4 WHERE col3 > 74

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

query I rowsort label-840
SELECT pk FROM tab4 WHERE NOT (col3 > 74)
----
2
3
5
8

statement ok
DELETE FROM tab0 WHERE col0 > 5

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

query I rowsort label-855
SELECT pk FROM tab0 WHERE NOT (col0 > 5)
----

statement ok
DELETE FROM tab1 WHERE col0 > 5

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

query I rowsort label-855
SELECT pk FROM tab1 WHERE NOT (col0 > 5)
----

statement ok
DELETE FROM tab2 WHERE col0 > 5

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

query I rowsort label-855
SELECT pk FROM tab2 WHERE NOT (col0 > 5)
----

statement ok
DELETE FROM tab3 WHERE col0 > 5

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

query I rowsort label-855
SELECT pk FROM tab3 WHERE NOT (col0 > 5)
----

statement ok
DELETE FROM tab4 WHERE col0 > 5

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

query I rowsort label-855
SELECT pk FROM tab4 WHERE NOT (col0 > 5)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,83,56.39,'rlvta',3,16.1,'isuxg')

statement ok
INSERT INTO tab0 VALUES(1,64,27.59,'txuch',84,71.40,'advmp')

statement ok
INSERT INTO tab0 VALUES(2,18,93.1,'oulay',53,93.40,'lbqit')

statement ok
INSERT INTO tab0 VALUES(3,75,43.61,'dtbcv',93,7.98,'uwjgx')

statement ok
INSERT INTO tab0 VALUES(4,28,77.10,'kxoqp',60,25.34,'klrih')

statement ok
INSERT INTO tab0 VALUES(5,46,63.2,'wxhtg',91,17.14,'kglcw')

statement ok
INSERT INTO tab0 VALUES(6,87,8.86,'ybnrv',16,63.51,'kmjrw')

statement ok
INSERT INTO tab0 VALUES(7,10,14.22,'ymhrz',76,28.26,'aeotn')

statement ok
INSERT INTO tab0 VALUES(8,86,44.90,'oftgr',28,14.98,'mkgzr')

statement ok
INSERT INTO tab0 VALUES(9,14,78.4,'hhzit',63,26.14,'mghvi')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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_2 ON tab3 (col1 DESC,col0 DESC)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col1 IS NULL)) AND col0 = 82

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

query I rowsort label-870
SELECT pk FROM tab0 WHERE NOT (((col1 IS NULL)) AND col0 = 82)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col1 IS NULL)) AND col0 = 82

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

query I rowsort label-870
SELECT pk FROM tab1 WHERE NOT (((col1 IS NULL)) AND col0 = 82)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col1 IS NULL)) AND col0 = 82

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

query I rowsort label-870
SELECT pk FROM tab2 WHERE NOT (((col1 IS NULL)) AND col0 = 82)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col1 IS NULL)) AND col0 = 82

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

query I rowsort label-870
SELECT pk FROM tab3 WHERE NOT (((col1 IS NULL)) AND col0 = 82)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col1 IS NULL)) AND col0 = 82

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

query I rowsort label-870
SELECT pk FROM tab4 WHERE NOT (((col1 IS NULL)) AND col0 = 82)
----
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-885
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-885
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-885
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-885
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-885
SELECT pk FROM tab4 WHERE NOT (col0 < 5)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 >= 8.60

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

query I rowsort label-900
SELECT pk FROM tab0 WHERE NOT (col1 >= 8.60)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 8.60

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

query I rowsort label-900
SELECT pk FROM tab1 WHERE NOT (col1 >= 8.60)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 8.60

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

query I rowsort label-900
SELECT pk FROM tab2 WHERE NOT (col1 >= 8.60)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 8.60

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

query I rowsort label-900
SELECT pk FROM tab3 WHERE NOT (col1 >= 8.60)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 8.60

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

query I rowsort label-900
SELECT pk FROM tab4 WHERE NOT (col1 >= 8.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,10,30.44,'rvvzz',26,17.20,'ejtel')

statement ok
INSERT INTO tab0 VALUES(1,15,8.68,'bwxgt',36,52.78,'pigdo')

statement ok
INSERT INTO tab0 VALUES(2,2,95.58,'ftkaf',12,84.22,'tusaz')

statement ok
INSERT INTO tab0 VALUES(3,46,88.34,'dzlmw',23,28.19,'cqhzd')

statement ok
INSERT INTO tab0 VALUES(4,17,13.38,'ziqqs',39,6.17,'tajol')

statement ok
INSERT INTO tab0 VALUES(5,85,81.51,'ywojd',40,10.58,'amfux')

statement ok
INSERT INTO tab0 VALUES(6,41,53.4,'pclpk',24,64.88,'ablgs')

statement ok
INSERT INTO tab0 VALUES(7,3,5.88,'tcujl',31,83.73,'hiwha')

statement ok
INSERT INTO tab0 VALUES(8,26,86.70,'xqcaf',45,41.7,'ovyak')

statement ok
INSERT INTO tab0 VALUES(9,29,83.3,'bjihn',13,31.31,'eupoo')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC)

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55))
----

query I rowsort label-915
SELECT pk FROM tab0 WHERE NOT (((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55)))
----
0
3
9

statement ok
DELETE FROM tab1 WHERE ((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55))
----

query I rowsort label-915
SELECT pk FROM tab1 WHERE NOT (((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55)))
----
0
3
9

statement ok
DELETE FROM tab2 WHERE ((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55))
----

query I rowsort label-915
SELECT pk FROM tab2 WHERE NOT (((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55)))
----
0
3
9

statement ok
DELETE FROM tab3 WHERE ((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55))
----

query I rowsort label-915
SELECT pk FROM tab3 WHERE NOT (((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55)))
----
0
3
9

statement ok
DELETE FROM tab4 WHERE ((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55))
----

query I rowsort label-915
SELECT pk FROM tab4 WHERE NOT (((((col4 >= 40.71) OR (((col0 >= 95))) OR ((col1 <= 19.4))) AND (col0 < 54))) OR col4 >= 41.35 OR col0 IS NULL OR ((((((col4 >= 96.8 OR col3 <= 31 AND (((((col3 >= 40 OR col3 <= 86)) AND (col0 > 64))) AND col1 > 66.89 OR col1 >= 50.76 OR col0 IS NULL OR col3 < 74 AND (((((col0 <= 94))) OR (col0 IS NULL))) OR col3 < 40) OR col3 = 87))) AND col0 > 60 OR col0 IN (94,92,76,24,42,86) OR col3 > 27))) OR col0 <= 20 AND col4 IN (61.1,51.82,28.44,60.60,57.36,35.61) AND col1 >= 28.6 OR col0 >= 12 AND ((col4 <= 20.44 OR col3 >= 55)))
----
0
3
9

statement ok
DELETE FROM tab0 WHERE ((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69)
----

query I rowsort label-930
SELECT pk FROM tab0 WHERE NOT (((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69))
----
0

statement ok
DELETE FROM tab1 WHERE ((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69)
----

query I rowsort label-930
SELECT pk FROM tab1 WHERE NOT (((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69))
----
0

statement ok
DELETE FROM tab2 WHERE ((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69)
----

query I rowsort label-930
SELECT pk FROM tab2 WHERE NOT (((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69))
----
0

statement ok
DELETE FROM tab3 WHERE ((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69)
----

query I rowsort label-930
SELECT pk FROM tab3 WHERE NOT (((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69))
----
0

statement ok
DELETE FROM tab4 WHERE ((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69)
----

query I rowsort label-930
SELECT pk FROM tab4 WHERE NOT (((col1 > 61.8)) OR col3 > 82 OR col3 IN (31,39,69))
----
0

statement ok
DELETE FROM tab0 WHERE col3 > 36

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

query I rowsort label-945
SELECT pk FROM tab0 WHERE NOT (col3 > 36)
----
0

statement ok
DELETE FROM tab1 WHERE col3 > 36

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

query I rowsort label-945
SELECT pk FROM tab1 WHERE NOT (col3 > 36)
----
0

statement ok
DELETE FROM tab2 WHERE col3 > 36

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

query I rowsort label-945
SELECT pk FROM tab2 WHERE NOT (col3 > 36)
----
0

statement ok
DELETE FROM tab3 WHERE col3 > 36

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

query I rowsort label-945
SELECT pk FROM tab3 WHERE NOT (col3 > 36)
----
0

statement ok
DELETE FROM tab4 WHERE col3 > 36

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

query I rowsort label-945
SELECT pk FROM tab4 WHERE NOT (col3 > 36)
----
0

statement ok
DELETE FROM tab0 WHERE (col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26
----

query I rowsort label-960
SELECT pk FROM tab0 WHERE NOT ((col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26)
----
0

statement ok
DELETE FROM tab1 WHERE (col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26
----

query I rowsort label-960
SELECT pk FROM tab1 WHERE NOT ((col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26)
----
0

statement ok
DELETE FROM tab2 WHERE (col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26
----

query I rowsort label-960
SELECT pk FROM tab2 WHERE NOT ((col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26)
----
0

statement ok
DELETE FROM tab3 WHERE (col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26
----

query I rowsort label-960
SELECT pk FROM tab3 WHERE NOT ((col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26)
----
0

statement ok
DELETE FROM tab4 WHERE (col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26
----

query I rowsort label-960
SELECT pk FROM tab4 WHERE NOT ((col3 > 31) OR ((col3 IN (10,36,67,1)) AND col4 >= 16.49) AND col0 >= 68 OR col0 > 26)
----
0

statement ok
DELETE FROM tab0 WHERE col3 >= 89

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

query I rowsort label-975
SELECT pk FROM tab0 WHERE NOT (col3 >= 89)
----
0

statement ok
DELETE FROM tab1 WHERE col3 >= 89

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

query I rowsort label-975
SELECT pk FROM tab1 WHERE NOT (col3 >= 89)
----
0

statement ok
DELETE FROM tab2 WHERE col3 >= 89

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

query I rowsort label-975
SELECT pk FROM tab2 WHERE NOT (col3 >= 89)
----
0

statement ok
DELETE FROM tab3 WHERE col3 >= 89

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

query I rowsort label-975
SELECT pk FROM tab3 WHERE NOT (col3 >= 89)
----
0

statement ok
DELETE FROM tab4 WHERE col3 >= 89

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

query I rowsort label-975
SELECT pk FROM tab4 WHERE NOT (col3 >= 89)
----
0

statement ok
DELETE FROM tab0 WHERE col3 >= 90

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

query I rowsort label-990
SELECT pk FROM tab0 WHERE NOT (col3 >= 90)
----
0

statement ok
DELETE FROM tab1 WHERE col3 >= 90

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

query I rowsort label-990
SELECT pk FROM tab1 WHERE NOT (col3 >= 90)
----
0

statement ok
DELETE FROM tab2 WHERE col3 >= 90

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

query I rowsort label-990
SELECT pk FROM tab2 WHERE NOT (col3 >= 90)
----
0

statement ok
DELETE FROM tab3 WHERE col3 >= 90

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

query I rowsort label-990
SELECT pk FROM tab3 WHERE NOT (col3 >= 90)
----
0

statement ok
DELETE FROM tab4 WHERE col3 >= 90

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

query I rowsort label-990
SELECT pk FROM tab4 WHERE NOT (col3 >= 90)
----
0

statement ok
DELETE FROM tab0 WHERE (((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41)
----

query I rowsort label-1005
SELECT pk FROM tab0 WHERE NOT ((((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41))
----

statement ok
DELETE FROM tab1 WHERE (((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41)
----

query I rowsort label-1005
SELECT pk FROM tab1 WHERE NOT ((((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41))
----

statement ok
DELETE FROM tab2 WHERE (((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41)
----

query I rowsort label-1005
SELECT pk FROM tab2 WHERE NOT ((((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41))
----

statement ok
DELETE FROM tab3 WHERE (((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41)
----

query I rowsort label-1005
SELECT pk FROM tab3 WHERE NOT ((((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41))
----

statement ok
DELETE FROM tab4 WHERE (((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 41)
----

query I rowsort label-1005
SELECT pk FROM tab4 WHERE NOT ((((col3 >= 39 OR col0 BETWEEN 71 AND 92 AND (((col4 > 6.22)) AND col3 < 56 OR col0 IS NULL AND col1 = 16.10)))) OR ((col0 > 73) OR col3 < 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,53,19.63,'eecoj',55,66.57,'vlvor')

statement ok
INSERT INTO tab0 VALUES(1,71,96.78,'jpjed',78,74.58,'iofdb')

statement ok
INSERT INTO tab0 VALUES(2,86,25.44,'iewhr',67,57.61,'lfmsi')

statement ok
INSERT INTO tab0 VALUES(3,43,82.26,'ldqcc',44,58.31,'nnnxk')

statement ok
INSERT INTO tab0 VALUES(4,18,39.92,'wyqcq',18,45.46,'oqmqc')

statement ok
INSERT INTO tab0 VALUES(5,34,32.28,'jrjib',2,85.2,'xuimt')

statement ok
INSERT INTO tab0 VALUES(6,72,20.49,'sxkho',25,96.33,'thmoq')

statement ok
INSERT INTO tab0 VALUES(7,83,46.12,'ocdhd',43,14.23,'avmty')

statement ok
INSERT INTO tab0 VALUES(8,6,6.27,'wkjik',50,56.13,'ronvc')

statement ok
INSERT INTO tab0 VALUES(9,73,3.70,'oexmz',96,80.17,'ncdqm')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC)

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

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 < 77.67

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

query I rowsort label-1020
SELECT pk FROM tab0 WHERE NOT (col4 < 77.67)
----
5
6
9

statement ok
DELETE FROM tab1 WHERE col4 < 77.67

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

query I rowsort label-1020
SELECT pk FROM tab1 WHERE NOT (col4 < 77.67)
----
5
6
9

statement ok
DELETE FROM tab2 WHERE col4 < 77.67

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

query I rowsort label-1020
SELECT pk FROM tab2 WHERE NOT (col4 < 77.67)
----
5
6
9

statement ok
DELETE FROM tab3 WHERE col4 < 77.67

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

query I rowsort label-1020
SELECT pk FROM tab3 WHERE NOT (col4 < 77.67)
----
5
6
9

statement ok
DELETE FROM tab4 WHERE col4 < 77.67

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

query I rowsort label-1020
SELECT pk FROM tab4 WHERE NOT (col4 < 77.67)
----
5
6
9

statement ok
DELETE FROM tab0 WHERE col3 > 1 AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 1 AND col3 IS NULL
----

query I rowsort label-1035
SELECT pk FROM tab0 WHERE NOT (col3 > 1 AND col3 IS NULL)
----
5
6
9

statement ok
DELETE FROM tab1 WHERE col3 > 1 AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 1 AND col3 IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 60 AND 81

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 60 AND 81
----

query I rowsort label-1040
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 60 AND 81)
----
5
6
9

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 60 AND 81

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 60 AND 81
----

query I rowsort label-1040
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 60 AND 81)
----
5
6
9

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 60 AND 81

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 60 AND 81
----

query I rowsort label-1040
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 60 AND 81)
----
5
6
9

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 60 AND 81

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 60 AND 81
----

query I rowsort label-1040
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 60 AND 81)
----
5
6
9

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 60 AND 81

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 60 AND 81
----

query I rowsort label-1040
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 60 AND 81)
----
5
6
9

statement ok
DELETE FROM tab0 WHERE (((col1 <= 23.23)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 <= 23.23)))
----

query I rowsort label-1055
SELECT pk FROM tab0 WHERE NOT ((((col1 <= 23.23))))
----
5

statement ok
DELETE FROM tab1 WHERE (((col1 <= 23.23)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 <= 23.23)))
----

query I rowsort label-1055
SELECT pk FROM tab1 WHERE NOT ((((col1 <= 23.23))))
----
5

statement ok
DELETE FROM tab2 WHERE (((col1 <= 23.23)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 <= 23.23)))
----

query I rowsort label-1055
SELECT pk FROM tab2 WHERE NOT ((((col1 <= 23.23))))
----
5

statement ok
DELETE FROM tab3 WHERE (((col1 <= 23.23)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 <= 23.23)))
----

query I rowsort label-1055
SELECT pk FROM tab3 WHERE NOT ((((col1 <= 23.23))))
----
5

statement ok
DELETE FROM tab4 WHERE (((col1 <= 23.23)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 <= 23.23)))
----

query I rowsort label-1055
SELECT pk FROM tab4 WHERE NOT ((((col1 <= 23.23))))
----
5

statement ok
DELETE FROM tab0 WHERE col3 < 84

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

query I rowsort label-1070
SELECT pk FROM tab0 WHERE NOT (col3 < 84)
----

statement ok
DELETE FROM tab1 WHERE col3 < 84

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

query I rowsort label-1070
SELECT pk FROM tab1 WHERE NOT (col3 < 84)
----

statement ok
DELETE FROM tab2 WHERE col3 < 84

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

query I rowsort label-1070
SELECT pk FROM tab2 WHERE NOT (col3 < 84)
----

statement ok
DELETE FROM tab3 WHERE col3 < 84

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

query I rowsort label-1070
SELECT pk FROM tab3 WHERE NOT (col3 < 84)
----

statement ok
DELETE FROM tab4 WHERE col3 < 84

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

query I rowsort label-1070
SELECT pk FROM tab4 WHERE NOT (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,63,51.72,'gljcp',7,47.17,'iqgrz')

statement ok
INSERT INTO tab0 VALUES(1,24,46.54,'tbuni',54,80.25,'dlgdj')

statement ok
INSERT INTO tab0 VALUES(2,67,55.66,'ulpmw',77,8.25,'iamzb')

statement ok
INSERT INTO tab0 VALUES(3,15,86.43,'hqvbr',70,29.91,'uuxjf')

statement ok
INSERT INTO tab0 VALUES(4,86,67.75,'pmitn',27,36.4,'azeol')

statement ok
INSERT INTO tab0 VALUES(5,3,0.15,'dpkwh',57,85.68,'asecv')

statement ok
INSERT INTO tab0 VALUES(6,13,31.95,'aqllf',93,52.20,'pdqve')

statement ok
INSERT INTO tab0 VALUES(7,90,8.36,'qjlly',8,96.45,'jpvdx')

statement ok
INSERT INTO tab0 VALUES(8,58,44.63,'hswzw',26,26.84,'budap')

statement ok
INSERT INTO tab0 VALUES(9,94,82.13,'vayft',32,58.52,'hssfn')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1))
----

query I rowsort label-1085
SELECT pk FROM tab0 WHERE NOT (((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1)))
----
0
1
5
7
8

statement ok
DELETE FROM tab1 WHERE ((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1))
----

query I rowsort label-1085
SELECT pk FROM tab1 WHERE NOT (((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1)))
----
0
1
5
7
8

statement ok
DELETE FROM tab2 WHERE ((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1))
----

query I rowsort label-1085
SELECT pk FROM tab2 WHERE NOT (((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1)))
----
0
1
5
7
8

statement ok
DELETE FROM tab3 WHERE ((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1))
----

query I rowsort label-1085
SELECT pk FROM tab3 WHERE NOT (((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1)))
----
0
1
5
7
8

statement ok
DELETE FROM tab4 WHERE ((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1))
----

query I rowsort label-1085
SELECT pk FROM tab4 WHERE NOT (((col1 > 55.99 AND col1 < 99.86 OR col3 >= 76 OR col3 > 45 AND col1 = 88.35)) OR (col3 IN (91,70,39,60,16,25)) AND ((col1 = 60.1)))
----
0
1
5
7
8

statement ok
DELETE FROM tab0 WHERE col0 <= 24 AND col0 > 63

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 24 AND col0 > 63
----

query I rowsort label-1100
SELECT pk FROM tab0 WHERE NOT (col0 <= 24 AND col0 > 63)
----
0
1
5
7
8

statement ok
DELETE FROM tab1 WHERE col0 <= 24 AND col0 > 63

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 24 AND col0 > 63
----

query I rowsort label-1100
SELECT pk FROM tab1 WHERE NOT (col0 <= 24 AND col0 > 63)
----
0
1
5
7
8

statement ok
DELETE FROM tab2 WHERE col0 <= 24 AND col0 > 63

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 24 AND col0 > 63
----

query I rowsort label-1100
SELECT pk FROM tab2 WHERE NOT (col0 <= 24 AND col0 > 63)
----
0
1
5
7
8

statement ok
DELETE FROM tab3 WHERE col0 <= 24 AND col0 > 63

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 24 AND col0 > 63
----

query I rowsort label-1100
SELECT pk FROM tab3 WHERE NOT (col0 <= 24 AND col0 > 63)
----
0
1
5
7
8

statement ok
DELETE FROM tab4 WHERE col0 <= 24 AND col0 > 63

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 24 AND col0 > 63
----

query I rowsort label-1100
SELECT pk FROM tab4 WHERE NOT (col0 <= 24 AND col0 > 63)
----
0
1
5
7
8

statement ok
DELETE FROM tab0 WHERE (col4 = 51.25)

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

query I rowsort label-1115
SELECT pk FROM tab0 WHERE NOT ((col4 = 51.25))
----
0
1
5
7
8

statement ok
DELETE FROM tab1 WHERE (col4 = 51.25)

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

query I rowsort label-1115
SELECT pk FROM tab1 WHERE NOT ((col4 = 51.25))
----
0
1
5
7
8

statement ok
DELETE FROM tab2 WHERE (col4 = 51.25)

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

query I rowsort label-1115
SELECT pk FROM tab2 WHERE NOT ((col4 = 51.25))
----
0
1
5
7
8

statement ok
DELETE FROM tab3 WHERE (col4 = 51.25)

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

query I rowsort label-1115
SELECT pk FROM tab3 WHERE NOT ((col4 = 51.25))
----
0
1
5
7
8

statement ok
DELETE FROM tab4 WHERE (col4 = 51.25)

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

query I rowsort label-1115
SELECT pk FROM tab4 WHERE NOT ((col4 = 51.25))
----
0
1
5
7
8

statement ok
DELETE FROM tab0 WHERE col0 IS NULL OR col3 = 57 AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IS NULL OR col3 = 57 AND col0 IS NULL
----

query I rowsort label-1130
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL OR col3 = 57 AND col0 IS NULL)
----
0
1
5
7
8

statement ok
DELETE FROM tab1 WHERE col0 IS NULL OR col3 = 57 AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IS NULL OR col3 = 57 AND col0 IS NULL
----

query I rowsort label-1130
SELECT pk FROM tab1 WHERE NOT (col0 IS NULL OR col3 = 57 AND col0 IS NULL)
----
0
1
5
7
8

statement ok
DELETE FROM tab2 WHERE col0 IS NULL OR col3 = 57 AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IS NULL OR col3 = 57 AND col0 IS NULL
----

query I rowsort label-1130
SELECT pk FROM tab2 WHERE NOT (col0 IS NULL OR col3 = 57 AND col0 IS NULL)
----
0
1
5
7
8

statement ok
DELETE FROM tab3 WHERE col0 IS NULL OR col3 = 57 AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IS NULL OR col3 = 57 AND col0 IS NULL
----

query I rowsort label-1130
SELECT pk FROM tab3 WHERE NOT (col0 IS NULL OR col3 = 57 AND col0 IS NULL)
----
0
1
5
7
8

statement ok
DELETE FROM tab4 WHERE col0 IS NULL OR col3 = 57 AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IS NULL OR col3 = 57 AND col0 IS NULL
----

query I rowsort label-1130
SELECT pk FROM tab4 WHERE NOT (col0 IS NULL OR col3 = 57 AND col0 IS NULL)
----
0
1
5
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,13,47.60,'ursmw',4,59.75,'uvzen')

statement ok
INSERT INTO tab0 VALUES(1,39,72.43,'nekzm',48,62.52,'cnnkt')

statement ok
INSERT INTO tab0 VALUES(2,96,58.32,'wxrnc',30,8.83,'syish')

statement ok
INSERT INTO tab0 VALUES(3,90,40.65,'lrboq',82,52.45,'efdzm')

statement ok
INSERT INTO tab0 VALUES(4,9,8.10,'bsanx',73,40.44,'zjwjm')

statement ok
INSERT INTO tab0 VALUES(5,32,75.68,'kqodg',23,66.35,'jlkcs')

statement ok
INSERT INTO tab0 VALUES(6,45,37.95,'qrchc',12,42.25,'vqdvo')

statement ok
INSERT INTO tab0 VALUES(7,53,34.10,'yvuir',95,53.96,'smrqz')

statement ok
INSERT INTO tab0 VALUES(8,91,16.5,'hvgfo',16,27.9,'yulha')

statement ok
INSERT INTO tab0 VALUES(9,35,1.65,'zlimh',17,91.20,'rzgfs')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC)

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

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 > 42.69

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

query I rowsort label-1145
SELECT pk FROM tab0 WHERE NOT (col4 > 42.69)
----
2
4
6
8

statement ok
DELETE FROM tab1 WHERE col4 > 42.69

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

query I rowsort label-1145
SELECT pk FROM tab1 WHERE NOT (col4 > 42.69)
----
2
4
6
8

statement ok
DELETE FROM tab2 WHERE col4 > 42.69

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

query I rowsort label-1145
SELECT pk FROM tab2 WHERE NOT (col4 > 42.69)
----
2
4
6
8

statement ok
DELETE FROM tab3 WHERE col4 > 42.69

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

query I rowsort label-1145
SELECT pk FROM tab3 WHERE NOT (col4 > 42.69)
----
2
4
6
8

statement ok
DELETE FROM tab4 WHERE col4 > 42.69

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

query I rowsort label-1145
SELECT pk FROM tab4 WHERE NOT (col4 > 42.69)
----
2
4
6
8

statement ok
DELETE FROM tab0 WHERE col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92)
----

query I rowsort label-1160
SELECT pk FROM tab0 WHERE NOT (col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92))
----
2
8

statement ok
DELETE FROM tab1 WHERE col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92)
----

query I rowsort label-1160
SELECT pk FROM tab1 WHERE NOT (col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92))
----
2
8

statement ok
DELETE FROM tab2 WHERE col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92)
----

query I rowsort label-1160
SELECT pk FROM tab2 WHERE NOT (col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92))
----
2
8

statement ok
DELETE FROM tab3 WHERE col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92)
----

query I rowsort label-1160
SELECT pk FROM tab3 WHERE NOT (col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92))
----
2
8

statement ok
DELETE FROM tab4 WHERE col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92)
----

query I rowsort label-1160
SELECT pk FROM tab4 WHERE NOT (col0 < 46 AND ((((col3 > 30 AND col3 IS NULL AND (col0 > 82) OR (((((col1 BETWEEN 8.1 AND 86.80 AND col0 < 80 AND col0 > 63 OR ((((col3 < 58) AND (col3 IN (40,12,71)) AND (col0 IS NULL))) AND col3 >= 37)))) OR col0 > 69))))) AND (col0 > 98) AND col0 < 31) OR col0 <= 55 AND (col1 >= 27.31 OR col1 < 31.92))
----
2
8

statement ok
DELETE FROM tab0 WHERE (col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87)))
----

query I rowsort label-1175
SELECT pk FROM tab0 WHERE NOT ((col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87))))
----

statement ok
DELETE FROM tab1 WHERE (col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87)))
----

query I rowsort label-1175
SELECT pk FROM tab1 WHERE NOT ((col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87))))
----

statement ok
DELETE FROM tab2 WHERE (col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87)))
----

query I rowsort label-1175
SELECT pk FROM tab2 WHERE NOT ((col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87))))
----

statement ok
DELETE FROM tab3 WHERE (col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87)))
----

query I rowsort label-1175
SELECT pk FROM tab3 WHERE NOT ((col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87))))
----

statement ok
DELETE FROM tab4 WHERE (col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87)))
----

query I rowsort label-1175
SELECT pk FROM tab4 WHERE NOT ((col4 < 29.25) OR col3 = 48 OR col4 < 56.56 OR ((((col0 IN (50))) OR (col3 > 87))))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,66,84.97,'ffkrx',16,25.45,'hmkai')

statement ok
INSERT INTO tab0 VALUES(1,8,58.24,'jolmf',97,99.52,'yueep')

statement ok
INSERT INTO tab0 VALUES(2,58,61.66,'pjczt',26,40.64,'tgiwh')

statement ok
INSERT INTO tab0 VALUES(3,98,18.8,'kgvtz',92,68.89,'ndkua')

statement ok
INSERT INTO tab0 VALUES(4,72,83.54,'tdcsx',42,12.1,'bdqhg')

statement ok
INSERT INTO tab0 VALUES(5,89,3.31,'vmxzp',2,74.61,'olrpt')

statement ok
INSERT INTO tab0 VALUES(6,43,77.8,'nhleu',86,91.25,'kyfyl')

statement ok
INSERT INTO tab0 VALUES(7,21,19.8,'hirlo',10,96.59,'qhlst')

statement ok
INSERT INTO tab0 VALUES(8,18,20.17,'nfcpz',0,83.48,'scxkl')

statement ok
INSERT INTO tab0 VALUES(9,50,17.99,'infhp',13,66.13,'bzbbe')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1)

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 17

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

query I rowsort label-1190
SELECT pk FROM tab0 WHERE NOT (col0 < 17)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab1 WHERE col0 < 17

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

query I rowsort label-1190
SELECT pk FROM tab1 WHERE NOT (col0 < 17)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab2 WHERE col0 < 17

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

query I rowsort label-1190
SELECT pk FROM tab2 WHERE NOT (col0 < 17)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab3 WHERE col0 < 17

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

query I rowsort label-1190
SELECT pk FROM tab3 WHERE NOT (col0 < 17)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab4 WHERE col0 < 17

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

query I rowsort label-1190
SELECT pk FROM tab4 WHERE NOT (col0 < 17)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab0 WHERE (col0 > 32)

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

query I rowsort label-1205
SELECT pk FROM tab0 WHERE NOT ((col0 > 32))
----
7
8

statement ok
DELETE FROM tab1 WHERE (col0 > 32)

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

query I rowsort label-1205
SELECT pk FROM tab1 WHERE NOT ((col0 > 32))
----
7
8

statement ok
DELETE FROM tab2 WHERE (col0 > 32)

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

query I rowsort label-1205
SELECT pk FROM tab2 WHERE NOT ((col0 > 32))
----
7
8

statement ok
DELETE FROM tab3 WHERE (col0 > 32)

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

query I rowsort label-1205
SELECT pk FROM tab3 WHERE NOT ((col0 > 32))
----
7
8

statement ok
DELETE FROM tab4 WHERE (col0 > 32)

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

query I rowsort label-1205
SELECT pk FROM tab4 WHERE NOT ((col0 > 32))
----
7
8

statement ok
DELETE FROM tab0 WHERE col3 IS NULL OR col3 > 57

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

query I rowsort label-1220
SELECT pk FROM tab0 WHERE NOT (col3 IS NULL OR col3 > 57)
----
7
8

statement ok
DELETE FROM tab1 WHERE col3 IS NULL OR col3 > 57

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

query I rowsort label-1220
SELECT pk FROM tab1 WHERE NOT (col3 IS NULL OR col3 > 57)
----
7
8

statement ok
DELETE FROM tab2 WHERE col3 IS NULL OR col3 > 57

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

query I rowsort label-1220
SELECT pk FROM tab2 WHERE NOT (col3 IS NULL OR col3 > 57)
----
7
8

statement ok
DELETE FROM tab3 WHERE col3 IS NULL OR col3 > 57

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

query I rowsort label-1220
SELECT pk FROM tab3 WHERE NOT (col3 IS NULL OR col3 > 57)
----
7
8

statement ok
DELETE FROM tab4 WHERE col3 IS NULL OR col3 > 57

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

query I rowsort label-1220
SELECT pk FROM tab4 WHERE NOT (col3 IS NULL OR col3 > 57)
----
7
8

statement ok
DELETE FROM tab0 WHERE col4 > 80.70

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

query I rowsort label-1235
SELECT pk FROM tab0 WHERE NOT (col4 > 80.70)
----

statement ok
DELETE FROM tab1 WHERE col4 > 80.70

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

query I rowsort label-1235
SELECT pk FROM tab1 WHERE NOT (col4 > 80.70)
----

statement ok
DELETE FROM tab2 WHERE col4 > 80.70

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

query I rowsort label-1235
SELECT pk FROM tab2 WHERE NOT (col4 > 80.70)
----

statement ok
DELETE FROM tab3 WHERE col4 > 80.70

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

query I rowsort label-1235
SELECT pk FROM tab3 WHERE NOT (col4 > 80.70)
----

statement ok
DELETE FROM tab4 WHERE col4 > 80.70

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

query I rowsort label-1235
SELECT pk FROM tab4 WHERE NOT (col4 > 80.70)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,55,57.77,'ywxgp',60,64.54,'rqnkc')

statement ok
INSERT INTO tab0 VALUES(1,96,13.10,'ldxpw',29,74.48,'zxnxo')

statement ok
INSERT INTO tab0 VALUES(2,24,21.6,'axzky',37,84.35,'dekld')

statement ok
INSERT INTO tab0 VALUES(3,7,43.83,'aefcd',71,1.2,'mtmuz')

statement ok
INSERT INTO tab0 VALUES(4,89,6.60,'umhyv',77,50.71,'fegxi')

statement ok
INSERT INTO tab0 VALUES(5,59,15.28,'nivwu',24,93.62,'qwnvw')

statement ok
INSERT INTO tab0 VALUES(6,6,65.3,'pxgyb',64,38.58,'ftsxp')

statement ok
INSERT INTO tab0 VALUES(7,87,53.98,'ovcef',98,49.64,'sytug')

statement ok
INSERT INTO tab0 VALUES(8,85,91.77,'jocxo',34,65.71,'ffluc')

statement ok
INSERT INTO tab0 VALUES(9,77,22.25,'lcgqa',54,4.20,'mshrj')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0)

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col3 > 58) AND col0 < 17))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 > 58) AND col0 < 17))
----

query I rowsort label-1250
SELECT pk FROM tab0 WHERE NOT ((((col3 > 58) AND col0 < 17)))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab1 WHERE (((col3 > 58) AND col0 < 17))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 > 58) AND col0 < 17))
----

query I rowsort label-1250
SELECT pk FROM tab1 WHERE NOT ((((col3 > 58) AND col0 < 17)))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab2 WHERE (((col3 > 58) AND col0 < 17))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 > 58) AND col0 < 17))
----

query I rowsort label-1250
SELECT pk FROM tab2 WHERE NOT ((((col3 > 58) AND col0 < 17)))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab3 WHERE (((col3 > 58) AND col0 < 17))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 > 58) AND col0 < 17))
----

query I rowsort label-1250
SELECT pk FROM tab3 WHERE NOT ((((col3 > 58) AND col0 < 17)))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab4 WHERE (((col3 > 58) AND col0 < 17))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 > 58) AND col0 < 17))
----

query I rowsort label-1250
SELECT pk FROM tab4 WHERE NOT ((((col3 > 58) AND col0 < 17)))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 >= 59

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

query I rowsort label-1265
SELECT pk FROM tab0 WHERE NOT (col3 >= 59)
----
1
2
5
8
9

statement ok
DELETE FROM tab1 WHERE col3 >= 59

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

query I rowsort label-1265
SELECT pk FROM tab1 WHERE NOT (col3 >= 59)
----
1
2
5
8
9

statement ok
DELETE FROM tab2 WHERE col3 >= 59

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

query I rowsort label-1265
SELECT pk FROM tab2 WHERE NOT (col3 >= 59)
----
1
2
5
8
9

statement ok
DELETE FROM tab3 WHERE col3 >= 59

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

query I rowsort label-1265
SELECT pk FROM tab3 WHERE NOT (col3 >= 59)
----
1
2
5
8
9

statement ok
DELETE FROM tab4 WHERE col3 >= 59

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

query I rowsort label-1265
SELECT pk FROM tab4 WHERE NOT (col3 >= 59)
----
1
2
5
8
9

statement ok
DELETE FROM tab0 WHERE col3 < 71

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

query I rowsort label-1280
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-1280
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-1280
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-1280
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-1280
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,5,40.34,'qrlzx',16,99.92,'qilvy')

statement ok
INSERT INTO tab0 VALUES(1,94,49.9,'njujg',24,18.59,'hdeaf')

statement ok
INSERT INTO tab0 VALUES(2,52,61.0,'pudes',61,29.64,'wpdby')

statement ok
INSERT INTO tab0 VALUES(3,66,0.66,'hhfxh',10,72.17,'fqdgp')

statement ok
INSERT INTO tab0 VALUES(4,82,24.57,'gkkfv',41,30.0,'zxsyz')

statement ok
INSERT INTO tab0 VALUES(5,60,41.82,'jaxky',73,35.36,'rjcyj')

statement ok
INSERT INTO tab0 VALUES(6,42,17.66,'bmsfe',34,92.46,'ucqfl')

statement ok
INSERT INTO tab0 VALUES(7,10,94.19,'eqwhf',28,81.17,'xurmp')

statement ok
INSERT INTO tab0 VALUES(8,55,95.91,'ignwx',95,75.56,'ykrzz')

statement ok
INSERT INTO tab0 VALUES(9,30,45.42,'yodln',72,51.63,'cuovr')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (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 INDEX idx_tab3_1 ON tab3 (col0)

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26)
----

query I rowsort label-1295
SELECT pk FROM tab0 WHERE NOT ((col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26)
----

query I rowsort label-1295
SELECT pk FROM tab1 WHERE NOT ((col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26)
----

query I rowsort label-1295
SELECT pk FROM tab2 WHERE NOT ((col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26)
----

query I rowsort label-1295
SELECT pk FROM tab3 WHERE NOT ((col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26)
----

query I rowsort label-1295
SELECT pk FROM tab4 WHERE NOT ((col0 > 61 AND (col1 > 26.5 OR ((col3 = 24))) AND col4 >= 69.26))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 < 58

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

query I rowsort label-1310
SELECT pk FROM tab0 WHERE NOT (col0 < 58)
----
1
3
4
5

statement ok
DELETE FROM tab1 WHERE col0 < 58

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

query I rowsort label-1310
SELECT pk FROM tab1 WHERE NOT (col0 < 58)
----
1
3
4
5

statement ok
DELETE FROM tab2 WHERE col0 < 58

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

query I rowsort label-1310
SELECT pk FROM tab2 WHERE NOT (col0 < 58)
----
1
3
4
5

statement ok
DELETE FROM tab3 WHERE col0 < 58

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

query I rowsort label-1310
SELECT pk FROM tab3 WHERE NOT (col0 < 58)
----
1
3
4
5

statement ok
DELETE FROM tab4 WHERE col0 < 58

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

query I rowsort label-1310
SELECT pk FROM tab4 WHERE NOT (col0 < 58)
----
1
3
4
5

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,16,53.54,'gbuzx',50,4.29,'scaob')

statement ok
INSERT INTO tab0 VALUES(1,89,63.18,'fxeel',51,36.41,'apfzh')

statement ok
INSERT INTO tab0 VALUES(2,24,18.9,'ysqkv',27,39.90,'fyayh')

statement ok
INSERT INTO tab0 VALUES(3,65,74.84,'anpbf',12,6.25,'yqddm')

statement ok
INSERT INTO tab0 VALUES(4,98,62.79,'nroqy',13,8.61,'zyhfw')

statement ok
INSERT INTO tab0 VALUES(5,17,99.72,'fjbep',71,9.35,'jikah')

statement ok
INSERT INTO tab0 VALUES(6,78,100.52,'onxxa',28,75.73,'meuom')

statement ok
INSERT INTO tab0 VALUES(7,71,85.74,'dekzn',86,92.51,'ekemd')

statement ok
INSERT INTO tab0 VALUES(8,79,5.24,'mggxc',72,73.57,'ybute')

statement ok
INSERT INTO tab0 VALUES(9,34,41.84,'iaulh',95,71.55,'bxqct')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC)

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 >= 11

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

query I rowsort label-1325
SELECT pk FROM tab0 WHERE NOT (col0 >= 11)
----

statement ok
DELETE FROM tab1 WHERE col0 >= 11

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

query I rowsort label-1325
SELECT pk FROM tab1 WHERE NOT (col0 >= 11)
----

statement ok
DELETE FROM tab2 WHERE col0 >= 11

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

query I rowsort label-1325
SELECT pk FROM tab2 WHERE NOT (col0 >= 11)
----

statement ok
DELETE FROM tab3 WHERE col0 >= 11

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

query I rowsort label-1325
SELECT pk FROM tab3 WHERE NOT (col0 >= 11)
----

statement ok
DELETE FROM tab4 WHERE col0 >= 11

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

query I rowsort label-1325
SELECT pk FROM tab4 WHERE NOT (col0 >= 11)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,5,54.24,'wsfbt',46,67.0,'lrxnw')

statement ok
INSERT INTO tab0 VALUES(1,42,84.75,'hxukz',41,28.66,'jsgas')

statement ok
INSERT INTO tab0 VALUES(2,36,4.14,'xrvgx',9,66.61,'fecbm')

statement ok
INSERT INTO tab0 VALUES(3,79,59.54,'rxovw',79,10.49,'lqogc')

statement ok
INSERT INTO tab0 VALUES(4,29,90.31,'ydswj',31,38.49,'wevfq')

statement ok
INSERT INTO tab0 VALUES(5,76,42.61,'rnqmf',56,90.93,'zhdbp')

statement ok
INSERT INTO tab0 VALUES(6,3,78.7,'jhknn',22,82.89,'wjddx')

statement ok
INSERT INTO tab0 VALUES(7,52,93.40,'ghvkd',32,15.86,'ogsof')

statement ok
INSERT INTO tab0 VALUES(8,81,24.0,'owvpk',92,91.34,'xbkws')

statement ok
INSERT INTO tab0 VALUES(9,33,63.63,'mfhip',69,20.46,'xnjqq')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 > 97

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

query I rowsort label-1340
SELECT pk FROM tab0 WHERE NOT (col0 > 97)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 > 97

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

query I rowsort label-1340
SELECT pk FROM tab1 WHERE NOT (col0 > 97)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 > 97

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

query I rowsort label-1340
SELECT pk FROM tab2 WHERE NOT (col0 > 97)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 > 97

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

query I rowsort label-1340
SELECT pk FROM tab3 WHERE NOT (col0 > 97)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 > 97

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

query I rowsort label-1340
SELECT pk FROM tab4 WHERE NOT (col0 > 97)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61)
----

query I rowsort label-1355
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61)
----

query I rowsort label-1355
SELECT pk FROM tab1 WHERE NOT (col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61)
----

query I rowsort label-1355
SELECT pk FROM tab2 WHERE NOT (col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61)
----

query I rowsort label-1355
SELECT pk FROM tab3 WHERE NOT (col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61)
----

query I rowsort label-1355
SELECT pk FROM tab4 WHERE NOT (col0 IS NULL AND col0 >= 12 OR col3 IN (8,24) OR (col3 IS NULL AND col0 > 61))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL
----

query I rowsort label-1370
SELECT pk FROM tab0 WHERE NOT (col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL
----

query I rowsort label-1370
SELECT pk FROM tab1 WHERE NOT (col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL
----

query I rowsort label-1370
SELECT pk FROM tab2 WHERE NOT (col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL
----

query I rowsort label-1370
SELECT pk FROM tab3 WHERE NOT (col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 IS NULL
----

query I rowsort label-1370
SELECT pk FROM tab4 WHERE NOT (col3 >= 5 OR col4 BETWEEN 1.64 AND 32.0 AND col0 = 64 OR col4 > 15.31 OR col4 <= 53.52 OR col0 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,49,82.88,'gyxdu',10,60.38,'hfhxe')

statement ok
INSERT INTO tab0 VALUES(1,15,10.20,'yiuxm',6,32.64,'rfior')

statement ok
INSERT INTO tab0 VALUES(2,64,68.73,'guemo',20,80.16,'dddsj')

statement ok
INSERT INTO tab0 VALUES(3,25,26.78,'yrboa',85,61.68,'euecb')

statement ok
INSERT INTO tab0 VALUES(4,61,41.1,'vfwck',27,49.32,'hqkue')

statement ok
INSERT INTO tab0 VALUES(5,89,23.54,'kqvet',76,5.69,'knazc')

statement ok
INSERT INTO tab0 VALUES(6,83,98.4,'jjtgx',82,35.6,'ldbkc')

statement ok
INSERT INTO tab0 VALUES(7,94,65.88,'kbpgi',25,50.45,'ezdgt')

statement ok
INSERT INTO tab0 VALUES(8,62,66.26,'svftr',29,34.76,'rmxmq')

statement ok
INSERT INTO tab0 VALUES(9,20,43.32,'qhtaj',72,3.90,'yetsa')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

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

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

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 >= 86

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

query I rowsort label-1385
SELECT pk FROM tab0 WHERE NOT (col0 >= 86)
----
0
1
2
3
4
6
8
9

statement ok
DELETE FROM tab1 WHERE col0 >= 86

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

query I rowsort label-1385
SELECT pk FROM tab1 WHERE NOT (col0 >= 86)
----
0
1
2
3
4
6
8
9

statement ok
DELETE FROM tab2 WHERE col0 >= 86

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

query I rowsort label-1385
SELECT pk FROM tab2 WHERE NOT (col0 >= 86)
----
0
1
2
3
4
6
8
9

statement ok
DELETE FROM tab3 WHERE col0 >= 86

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

query I rowsort label-1385
SELECT pk FROM tab3 WHERE NOT (col0 >= 86)
----
0
1
2
3
4
6
8
9

statement ok
DELETE FROM tab4 WHERE col0 >= 86

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

query I rowsort label-1385
SELECT pk FROM tab4 WHERE NOT (col0 >= 86)
----
0
1
2
3
4
6
8
9

statement ok
DELETE FROM tab0 WHERE col3 < 43

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

query I rowsort label-1400
SELECT pk FROM tab0 WHERE NOT (col3 < 43)
----
3
6
9

statement ok
DELETE FROM tab1 WHERE col3 < 43

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

query I rowsort label-1400
SELECT pk FROM tab1 WHERE NOT (col3 < 43)
----
3
6
9

statement ok
DELETE FROM tab2 WHERE col3 < 43

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

query I rowsort label-1400
SELECT pk FROM tab2 WHERE NOT (col3 < 43)
----
3
6
9

statement ok
DELETE FROM tab3 WHERE col3 < 43

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

query I rowsort label-1400
SELECT pk FROM tab3 WHERE NOT (col3 < 43)
----
3
6
9

statement ok
DELETE FROM tab4 WHERE col3 < 43

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

query I rowsort label-1400
SELECT pk FROM tab4 WHERE NOT (col3 < 43)
----
3
6
9

statement ok
DELETE FROM tab0 WHERE (col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68))
----

query I rowsort label-1415
SELECT pk FROM tab0 WHERE NOT ((col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68)))
----
3
6
9

statement ok
DELETE FROM tab1 WHERE (col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68))
----

query I rowsort label-1415
SELECT pk FROM tab1 WHERE NOT ((col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68)))
----
3
6
9

statement ok
DELETE FROM tab2 WHERE (col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68))
----

query I rowsort label-1415
SELECT pk FROM tab2 WHERE NOT ((col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68)))
----
3
6
9

statement ok
DELETE FROM tab3 WHERE (col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68))
----

query I rowsort label-1415
SELECT pk FROM tab3 WHERE NOT ((col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68)))
----
3
6
9

statement ok
DELETE FROM tab4 WHERE (col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68))
----

query I rowsort label-1415
SELECT pk FROM tab4 WHERE NOT ((col0 BETWEEN 59 AND 72 OR col3 IN (8,17) AND col0 = 25 OR ((col0 = 91 OR col1 IS NULL OR col0 BETWEEN 16 AND 42)) AND (col0 > 65) AND col0 > 78 AND (col0 > 2 OR ((col3 > 37 AND col4 < 99.83 OR (col1 >= 37.50) AND (((col3 > 59))) AND col1 >= 55.70 OR ((col0 BETWEEN 31 AND 87)) OR (col0 > 0 OR col3 IS NULL)))) OR (((((col4 > 28.29 AND ((((col3 <= 71) AND col3 > 63) OR col0 > 63 AND ((col3 BETWEEN 16 AND 89)))) AND col4 BETWEEN 77.77 AND 41.16 OR (col0 > 24 AND ((((col0 = 37 OR ((col3 <= 20))) AND (col4 < 20.48))) AND (col3 < 32 AND col3 IS NULL) OR col1 < 61.31)) AND (col1 = 8.22) AND ((col4 < 30.87 OR col3 <= 66 AND col4 > 93.93)) AND (((col3 = 17 OR col0 < 51) OR col4 >= 80.43 OR col3 <= 83)) AND col1 > 80.66 AND col0 <= 20 OR col3 < 95 OR col0 = 6))) AND (col1 IS NULL) OR col0 > 39 AND col3 <= 22)) AND (col0 < 95) AND (col0 <= 1 AND (col3 IS NULL) AND col4 <= 13.66 AND (((col3 BETWEEN 51 AND 25 AND col3 IS NULL)) AND col1 < 28.63) OR col3 > 68)))
----
3
6
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-1430
SELECT pk FROM tab0 WHERE NOT (col0 = 61)
----
3
6
9

statement ok
DELETE FROM tab1 WHERE col0 = 61

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

query I rowsort label-1430
SELECT pk FROM tab1 WHERE NOT (col0 = 61)
----
3
6
9

statement ok
DELETE FROM tab2 WHERE col0 = 61

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

query I rowsort label-1430
SELECT pk FROM tab2 WHERE NOT (col0 = 61)
----
3
6
9

statement ok
DELETE FROM tab3 WHERE col0 = 61

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

query I rowsort label-1430
SELECT pk FROM tab3 WHERE NOT (col0 = 61)
----
3
6
9

statement ok
DELETE FROM tab4 WHERE col0 = 61

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

query I rowsort label-1430
SELECT pk FROM tab4 WHERE NOT (col0 = 61)
----
3
6
9

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

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

query I rowsort label-1445
SELECT pk FROM tab0 WHERE NOT ((col3 >= 52) OR col0 >= 80)
----

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

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

query I rowsort label-1445
SELECT pk FROM tab1 WHERE NOT ((col3 >= 52) OR col0 >= 80)
----

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

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

query I rowsort label-1445
SELECT pk FROM tab2 WHERE NOT ((col3 >= 52) OR col0 >= 80)
----

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

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

query I rowsort label-1445
SELECT pk FROM tab3 WHERE NOT ((col3 >= 52) OR col0 >= 80)
----

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

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

query I rowsort label-1445
SELECT pk FROM tab4 WHERE NOT ((col3 >= 52) OR col0 >= 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,0,16.84,'qpwsi',15,46.86,'buuli')

statement ok
INSERT INTO tab0 VALUES(1,99,61.30,'nqnzt',46,5.88,'snrih')

statement ok
INSERT INTO tab0 VALUES(2,64,54.47,'mpbli',34,17.10,'vhbmk')

statement ok
INSERT INTO tab0 VALUES(3,43,53.46,'lpmri',75,94.11,'xneuw')

statement ok
INSERT INTO tab0 VALUES(4,62,87.33,'mrhjf',1,45.51,'mabku')

statement ok
INSERT INTO tab0 VALUES(5,35,12.26,'isgte',90,41.7,'kdhba')

statement ok
INSERT INTO tab0 VALUES(6,81,80.66,'btymc',77,78.88,'vtqxr')

statement ok
INSERT INTO tab0 VALUES(7,31,95.30,'syjvt',70,35.41,'opnwt')

statement ok
INSERT INTO tab0 VALUES(8,47,79.41,'ttsxu',60,42.69,'textu')

statement ok
INSERT INTO tab0 VALUES(9,28,35.84,'zbsqc',35,40.41,'rbrfo')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 > 78.83)

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

query I rowsort label-1460
SELECT pk FROM tab0 WHERE NOT ((col4 > 78.83))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab1 WHERE (col4 > 78.83)

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

query I rowsort label-1460
SELECT pk FROM tab1 WHERE NOT ((col4 > 78.83))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab2 WHERE (col4 > 78.83)

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

query I rowsort label-1460
SELECT pk FROM tab2 WHERE NOT ((col4 > 78.83))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab3 WHERE (col4 > 78.83)

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

query I rowsort label-1460
SELECT pk FROM tab3 WHERE NOT ((col4 > 78.83))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab4 WHERE (col4 > 78.83)

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

query I rowsort label-1460
SELECT pk FROM tab4 WHERE NOT ((col4 > 78.83))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 >= 73 OR col4 > 14.94 OR col0 < 95

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 73 OR col4 > 14.94 OR col0 < 95
----

query I rowsort label-1475
SELECT pk FROM tab0 WHERE NOT (col3 >= 73 OR col4 > 14.94 OR col0 < 95)
----
1

statement ok
DELETE FROM tab1 WHERE col3 >= 73 OR col4 > 14.94 OR col0 < 95

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 73 OR col4 > 14.94 OR col0 < 95
----

query I rowsort label-1475
SELECT pk FROM tab1 WHERE NOT (col3 >= 73 OR col4 > 14.94 OR col0 < 95)
----
1

statement ok
DELETE FROM tab2 WHERE col3 >= 73 OR col4 > 14.94 OR col0 < 95

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 73 OR col4 > 14.94 OR col0 < 95
----

query I rowsort label-1475
SELECT pk FROM tab2 WHERE NOT (col3 >= 73 OR col4 > 14.94 OR col0 < 95)
----
1

statement ok
DELETE FROM tab3 WHERE col3 >= 73 OR col4 > 14.94 OR col0 < 95

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 73 OR col4 > 14.94 OR col0 < 95
----

query I rowsort label-1475
SELECT pk FROM tab3 WHERE NOT (col3 >= 73 OR col4 > 14.94 OR col0 < 95)
----
1

statement ok
DELETE FROM tab4 WHERE col3 >= 73 OR col4 > 14.94 OR col0 < 95

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 73 OR col4 > 14.94 OR col0 < 95
----

query I rowsort label-1475
SELECT pk FROM tab4 WHERE NOT (col3 >= 73 OR col4 > 14.94 OR col0 < 95)
----
1

statement ok
DELETE FROM tab0 WHERE (col3 > 76)

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

query I rowsort label-1490
SELECT pk FROM tab0 WHERE NOT ((col3 > 76))
----
1

statement ok
DELETE FROM tab1 WHERE (col3 > 76)

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

query I rowsort label-1490
SELECT pk FROM tab1 WHERE NOT ((col3 > 76))
----
1

statement ok
DELETE FROM tab2 WHERE (col3 > 76)

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

query I rowsort label-1490
SELECT pk FROM tab2 WHERE NOT ((col3 > 76))
----
1

statement ok
DELETE FROM tab3 WHERE (col3 > 76)

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

query I rowsort label-1490
SELECT pk FROM tab3 WHERE NOT ((col3 > 76))
----
1

statement ok
DELETE FROM tab4 WHERE (col3 > 76)

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

query I rowsort label-1490
SELECT pk FROM tab4 WHERE NOT ((col3 > 76))
----
1

statement ok
DELETE FROM tab0 WHERE col3 >= 82 AND col1 > 6.2 AND (col3 < 92)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 82 AND col1 > 6.2 AND (col3 < 92)
----

query I rowsort label-1505
SELECT pk FROM tab0 WHERE NOT (col3 >= 82 AND col1 > 6.2 AND (col3 < 92))
----
1

statement ok
DELETE FROM tab1 WHERE col3 >= 82 AND col1 > 6.2 AND (col3 < 92)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 82 AND col1 > 6.2 AND (col3 < 92)
----

query I rowsort label-1505
SELECT pk FROM tab1 WHERE NOT (col3 >= 82 AND col1 > 6.2 AND (col3 < 92))
----
1

statement ok
DELETE FROM tab2 WHERE col3 >= 82 AND col1 > 6.2 AND (col3 < 92)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 82 AND col1 > 6.2 AND (col3 < 92)
----

query I rowsort label-1505
SELECT pk FROM tab2 WHERE NOT (col3 >= 82 AND col1 > 6.2 AND (col3 < 92))
----
1

statement ok
DELETE FROM tab3 WHERE col3 >= 82 AND col1 > 6.2 AND (col3 < 92)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 82 AND col1 > 6.2 AND (col3 < 92)
----

query I rowsort label-1505
SELECT pk FROM tab3 WHERE NOT (col3 >= 82 AND col1 > 6.2 AND (col3 < 92))
----
1

statement ok
DELETE FROM tab4 WHERE col3 >= 82 AND col1 > 6.2 AND (col3 < 92)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 82 AND col1 > 6.2 AND (col3 < 92)
----

query I rowsort label-1505
SELECT pk FROM tab4 WHERE NOT (col3 >= 82 AND col1 > 6.2 AND (col3 < 92))
----
1

statement ok
DELETE FROM tab0 WHERE col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60)))))
----

query I rowsort label-1520
SELECT pk FROM tab0 WHERE NOT (col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60))))))
----
1

statement ok
DELETE FROM tab1 WHERE col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60)))))
----

query I rowsort label-1520
SELECT pk FROM tab1 WHERE NOT (col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60))))))
----
1

statement ok
DELETE FROM tab2 WHERE col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60)))))
----

query I rowsort label-1520
SELECT pk FROM tab2 WHERE NOT (col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60))))))
----
1

statement ok
DELETE FROM tab3 WHERE col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60)))))
----

query I rowsort label-1520
SELECT pk FROM tab3 WHERE NOT (col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60))))))
----
1

statement ok
DELETE FROM tab4 WHERE col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60)))))
----

query I rowsort label-1520
SELECT pk FROM tab4 WHERE NOT (col4 > 33.51 OR col3 <= 79 AND ((col3 < 35 OR col1 >= 86.31 AND col1 > 58.45) OR col1 > 15.16 AND ((col0 <= 31 AND col0 < 85)) OR col0 > 78 AND (((((((col1 IS NULL AND col0 >= 45)) OR col4 >= 65.29))) AND (col3 >= 44) OR col1 < 42.19 AND (col3 >= 6) AND ((((col3 > 35 OR ((col3 >= 64)) OR (col0 < 52 OR col0 > 66 AND (((col3 >= 97))) AND (col1 > 2.18 AND col3 > 8)) OR col3 < 12) AND (col4 = 16.4)))) AND ((col3 < 60))))))
----
1

statement ok
DELETE FROM tab0 WHERE col0 < 14

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

query I rowsort label-1535
SELECT pk FROM tab0 WHERE NOT (col0 < 14)
----
1

statement ok
DELETE FROM tab1 WHERE col0 < 14

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

query I rowsort label-1535
SELECT pk FROM tab1 WHERE NOT (col0 < 14)
----
1

statement ok
DELETE FROM tab2 WHERE col0 < 14

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

query I rowsort label-1535
SELECT pk FROM tab2 WHERE NOT (col0 < 14)
----
1

statement ok
DELETE FROM tab3 WHERE col0 < 14

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

query I rowsort label-1535
SELECT pk FROM tab3 WHERE NOT (col0 < 14)
----
1

statement ok
DELETE FROM tab4 WHERE col0 < 14

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

query I rowsort label-1535
SELECT pk FROM tab4 WHERE NOT (col0 < 14)
----
1

statement ok
DELETE FROM tab0 WHERE col1 <= 11.49 AND (col3 >= 10)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 11.49 AND (col3 >= 10)
----

query I rowsort label-1550
SELECT pk FROM tab0 WHERE NOT (col1 <= 11.49 AND (col3 >= 10))
----
1

statement ok
DELETE FROM tab1 WHERE col1 <= 11.49 AND (col3 >= 10)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 11.49 AND (col3 >= 10)
----

query I rowsort label-1550
SELECT pk FROM tab1 WHERE NOT (col1 <= 11.49 AND (col3 >= 10))
----
1

statement ok
DELETE FROM tab2 WHERE col1 <= 11.49 AND (col3 >= 10)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 11.49 AND (col3 >= 10)
----

query I rowsort label-1550
SELECT pk FROM tab2 WHERE NOT (col1 <= 11.49 AND (col3 >= 10))
----
1

statement ok
DELETE FROM tab3 WHERE col1 <= 11.49 AND (col3 >= 10)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 11.49 AND (col3 >= 10)
----

query I rowsort label-1550
SELECT pk FROM tab3 WHERE NOT (col1 <= 11.49 AND (col3 >= 10))
----
1

statement ok
DELETE FROM tab4 WHERE col1 <= 11.49 AND (col3 >= 10)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 11.49 AND (col3 >= 10)
----

query I rowsort label-1550
SELECT pk FROM tab4 WHERE NOT (col1 <= 11.49 AND (col3 >= 10))
----
1

statement ok
DELETE FROM tab0 WHERE col1 > 14.77

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

query I rowsort label-1565
SELECT pk FROM tab0 WHERE NOT (col1 > 14.77)
----

statement ok
DELETE FROM tab1 WHERE col1 > 14.77

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

query I rowsort label-1565
SELECT pk FROM tab1 WHERE NOT (col1 > 14.77)
----

statement ok
DELETE FROM tab2 WHERE col1 > 14.77

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

query I rowsort label-1565
SELECT pk FROM tab2 WHERE NOT (col1 > 14.77)
----

statement ok
DELETE FROM tab3 WHERE col1 > 14.77

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

query I rowsort label-1565
SELECT pk FROM tab3 WHERE NOT (col1 > 14.77)
----

statement ok
DELETE FROM tab4 WHERE col1 > 14.77

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

query I rowsort label-1565
SELECT pk FROM tab4 WHERE NOT (col1 > 14.77)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,85,38.87,'myuwi',27,34.51,'eecgn')

statement ok
INSERT INTO tab0 VALUES(1,10,52.88,'uhoam',8,77.9,'tapwm')

statement ok
INSERT INTO tab0 VALUES(2,95,59.49,'pohea',64,53.40,'lansk')

statement ok
INSERT INTO tab0 VALUES(3,11,73.45,'fmusa',71,63.54,'nvwoh')

statement ok
INSERT INTO tab0 VALUES(4,37,75.46,'abrjd',20,61.9,'tkhad')

statement ok
INSERT INTO tab0 VALUES(5,82,79.27,'kwbph',33,12.25,'cltyk')

statement ok
INSERT INTO tab0 VALUES(6,86,94.81,'zdckf',73,56.96,'fgcmu')

statement ok
INSERT INTO tab0 VALUES(7,34,81.31,'rtsud',55,71.4,'fxrcu')

statement ok
INSERT INTO tab0 VALUES(8,76,25.46,'xpepm',63,36.29,'gnaxg')

statement ok
INSERT INTO tab0 VALUES(9,35,90.47,'porvg',60,91.64,'zgmod')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1)

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94)
----

query I rowsort label-1580
SELECT pk FROM tab0 WHERE NOT ((col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94))
----

statement ok
DELETE FROM tab1 WHERE (col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94)
----

query I rowsort label-1580
SELECT pk FROM tab1 WHERE NOT ((col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94))
----

statement ok
DELETE FROM tab2 WHERE (col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94)
----

query I rowsort label-1580
SELECT pk FROM tab2 WHERE NOT ((col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94))
----

statement ok
DELETE FROM tab3 WHERE (col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94)
----

query I rowsort label-1580
SELECT pk FROM tab3 WHERE NOT ((col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94))
----

statement ok
DELETE FROM tab4 WHERE (col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94)
----

query I rowsort label-1580
SELECT pk FROM tab4 WHERE NOT ((col0 >= 3) OR (col1 > 35.88) OR ((col1 > 34.66 OR col3 > 31 AND (col0 > 78))) AND (col3 > 72 OR col1 IS NULL OR (col3 > 49) AND col4 > 23.17 AND col0 > 54 AND col0 BETWEEN 2 AND 86 OR col3 > 6 OR col1 IS NULL OR (col4 >= 6.66) AND (col3 > 52)) AND (col1 > 52.94))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,60,82.11,'fyhtp',30,80.55,'tsygh')

statement ok
INSERT INTO tab0 VALUES(1,79,93.66,'cfbwd',29,78.93,'cdizx')

statement ok
INSERT INTO tab0 VALUES(2,14,24.7,'ljzgj',87,20.91,'heets')

statement ok
INSERT INTO tab0 VALUES(3,95,38.89,'lojua',13,30.19,'dlvhb')

statement ok
INSERT INTO tab0 VALUES(4,39,36.49,'tliyz',59,3.34,'qkwxh')

statement ok
INSERT INTO tab0 VALUES(5,64,21.17,'eenyx',35,66.94,'vqnqj')

statement ok
INSERT INTO tab0 VALUES(6,96,59.34,'jomuz',18,41.71,'iylol')

statement ok
INSERT INTO tab0 VALUES(7,91,46.56,'jenmi',64,9.65,'ymgtq')

statement ok
INSERT INTO tab0 VALUES(8,37,65.76,'emhgw',24,73.11,'kveko')

statement ok
INSERT INTO tab0 VALUES(9,74,49.29,'nafku',55,15.96,'wfqcx')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 = 56

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

query I rowsort label-1595
SELECT pk FROM tab0 WHERE NOT (col3 = 56)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 = 56

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

query I rowsort label-1595
SELECT pk FROM tab1 WHERE NOT (col3 = 56)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 = 56

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

query I rowsort label-1595
SELECT pk FROM tab2 WHERE NOT (col3 = 56)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 = 56

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

query I rowsort label-1595
SELECT pk FROM tab3 WHERE NOT (col3 = 56)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 = 56

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

query I rowsort label-1595
SELECT pk FROM tab4 WHERE NOT (col3 = 56)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 >= 87

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

query I rowsort label-1610
SELECT pk FROM tab0 WHERE NOT (col0 >= 87)
----
0
1
2
4
5
8
9

statement ok
DELETE FROM tab1 WHERE col0 >= 87

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

query I rowsort label-1610
SELECT pk FROM tab1 WHERE NOT (col0 >= 87)
----
0
1
2
4
5
8
9

statement ok
DELETE FROM tab2 WHERE col0 >= 87

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

query I rowsort label-1610
SELECT pk FROM tab2 WHERE NOT (col0 >= 87)
----
0
1
2
4
5
8
9

statement ok
DELETE FROM tab3 WHERE col0 >= 87

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

query I rowsort label-1610
SELECT pk FROM tab3 WHERE NOT (col0 >= 87)
----
0
1
2
4
5
8
9

statement ok
DELETE FROM tab4 WHERE col0 >= 87

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

query I rowsort label-1610
SELECT pk FROM tab4 WHERE NOT (col0 >= 87)
----
0
1
2
4
5
8
9

statement ok
DELETE FROM tab0 WHERE col4 > 10.84

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

query I rowsort label-1625
SELECT pk FROM tab0 WHERE NOT (col4 > 10.84)
----
4

statement ok
DELETE FROM tab1 WHERE col4 > 10.84

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

query I rowsort label-1625
SELECT pk FROM tab1 WHERE NOT (col4 > 10.84)
----
4

statement ok
DELETE FROM tab2 WHERE col4 > 10.84

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

query I rowsort label-1625
SELECT pk FROM tab2 WHERE NOT (col4 > 10.84)
----
4

statement ok
DELETE FROM tab3 WHERE col4 > 10.84

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

query I rowsort label-1625
SELECT pk FROM tab3 WHERE NOT (col4 > 10.84)
----
4

statement ok
DELETE FROM tab4 WHERE col4 > 10.84

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

query I rowsort label-1625
SELECT pk FROM tab4 WHERE NOT (col4 > 10.84)
----
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,78,22.1,'dlwzg',69,45.69,'apuop')

statement ok
INSERT INTO tab0 VALUES(1,79,0.90,'peqqy',33,41.15,'qmkub')

statement ok
INSERT INTO tab0 VALUES(2,67,96.50,'qozpy',82,13.87,'krlld')

statement ok
INSERT INTO tab0 VALUES(3,3,85.61,'ueerj',52,20.11,'lcgwy')

statement ok
INSERT INTO tab0 VALUES(4,37,88.61,'ufybu',45,22.6,'czhib')

statement ok
INSERT INTO tab0 VALUES(5,63,86.15,'pwsfk',91,98.46,'ancpu')

statement ok
INSERT INTO tab0 VALUES(6,86,28.72,'sgojb',9,49.21,'mmqlc')

statement ok
INSERT INTO tab0 VALUES(7,84,51.29,'bqmzl',74,21.2,'eufkw')

statement ok
INSERT INTO tab0 VALUES(8,68,87.96,'gnlte',75,11.3,'qetgz')

statement ok
INSERT INTO tab0 VALUES(9,44,72.55,'swovy',80,79.41,'gvvvn')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

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

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

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

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69)
----

query I rowsort label-1640
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69)
----

query I rowsort label-1640
SELECT pk FROM tab1 WHERE NOT (col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69)
----

query I rowsort label-1640
SELECT pk FROM tab2 WHERE NOT (col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69)
----

query I rowsort label-1640
SELECT pk FROM tab3 WHERE NOT (col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69)
----

query I rowsort label-1640
SELECT pk FROM tab4 WHERE NOT (col0 IS NULL OR ((((col3 < 86 AND col3 = 69 AND (((col0 > 56))))))) AND (col3 > 88) AND ((col0 = 67) AND (col0 <= 93) AND col0 > 69))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 > 16.88

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

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

statement ok
DELETE FROM tab1 WHERE col1 > 16.88

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

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

statement ok
DELETE FROM tab2 WHERE col1 > 16.88

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

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

statement ok
DELETE FROM tab3 WHERE col1 > 16.88

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

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

statement ok
DELETE FROM tab4 WHERE col1 > 16.88

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

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

statement ok
DELETE FROM tab0 WHERE (col0 > 69)

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

query I rowsort label-1670
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-1670
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-1670
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-1670
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-1670
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,65,38.49,'hauxy',29,67.30,'uvzwf')

statement ok
INSERT INTO tab0 VALUES(1,43,14.20,'fwqju',61,59.49,'rwjqs')

statement ok
INSERT INTO tab0 VALUES(2,48,16.52,'smlij',54,99.80,'zxmyl')

statement ok
INSERT INTO tab0 VALUES(3,61,99.66,'jalqy',80,73.57,'yhcde')

statement ok
INSERT INTO tab0 VALUES(4,23,46.10,'cfxsd',26,23.48,'vlift')

statement ok
INSERT INTO tab0 VALUES(5,46,21.76,'jmzol',9,6.68,'ldjxs')

statement ok
INSERT INTO tab0 VALUES(6,27,42.8,'egdew',81,60.95,'sodvz')

statement ok
INSERT INTO tab0 VALUES(7,58,33.17,'kvxkr',52,66.78,'nnypl')

statement ok
INSERT INTO tab0 VALUES(8,39,96.95,'rqleu',94,9.52,'alzap')

statement ok
INSERT INTO tab0 VALUES(9,93,66.22,'tkfqp',57,41.49,'pnadc')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0 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 (col1 DESC)

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98)
----

query I rowsort label-1685
SELECT pk FROM tab0 WHERE NOT ((((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98))
----
0
2
5
7
8

statement ok
DELETE FROM tab1 WHERE (((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98)
----

query I rowsort label-1685
SELECT pk FROM tab1 WHERE NOT ((((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98))
----
0
2
5
7
8

statement ok
DELETE FROM tab2 WHERE (((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98)
----

query I rowsort label-1685
SELECT pk FROM tab2 WHERE NOT ((((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98))
----
0
2
5
7
8

statement ok
DELETE FROM tab3 WHERE (((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98)
----

query I rowsort label-1685
SELECT pk FROM tab3 WHERE NOT ((((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98))
----
0
2
5
7
8

statement ok
DELETE FROM tab4 WHERE (((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98)
----

query I rowsort label-1685
SELECT pk FROM tab4 WHERE NOT ((((col0 < 38) OR col0 > 80) OR (col3 < 16 AND (col0 > 56 AND col3 BETWEEN 19 AND 77) OR col4 > 43.45 AND ((col0 IS NULL OR col4 BETWEEN 71.56 AND 83.62 OR col1 IS NULL)) AND col0 <= 38 OR col0 = 61)) OR col0 > 98 OR col3 > 30 AND (col3 < 90 AND col0 <= 44 AND ((col1 < 39.88))) AND (col4 > 13.98))
----
0
2
5
7
8

statement ok
DELETE FROM tab0 WHERE col4 <= 3.45 AND col3 > 98

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 3.45 AND col3 > 98
----

query I rowsort label-1700
SELECT pk FROM tab0 WHERE NOT (col4 <= 3.45 AND col3 > 98)
----
0
2
5
7
8

statement ok
DELETE FROM tab1 WHERE col4 <= 3.45 AND col3 > 98

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 3.45 AND col3 > 98
----

query I rowsort label-1700
SELECT pk FROM tab1 WHERE NOT (col4 <= 3.45 AND col3 > 98)
----
0
2
5
7
8

statement ok
DELETE FROM tab2 WHERE col4 <= 3.45 AND col3 > 98

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 3.45 AND col3 > 98
----

query I rowsort label-1700
SELECT pk FROM tab2 WHERE NOT (col4 <= 3.45 AND col3 > 98)
----
0
2
5
7
8

statement ok
DELETE FROM tab3 WHERE col4 <= 3.45 AND col3 > 98

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 3.45 AND col3 > 98
----

query I rowsort label-1700
SELECT pk FROM tab3 WHERE NOT (col4 <= 3.45 AND col3 > 98)
----
0
2
5
7
8

statement ok
DELETE FROM tab4 WHERE col4 <= 3.45 AND col3 > 98

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 3.45 AND col3 > 98
----

query I rowsort label-1700
SELECT pk FROM tab4 WHERE NOT (col4 <= 3.45 AND col3 > 98)
----
0
2
5
7
8

statement ok
DELETE FROM tab0 WHERE col3 > 92

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

query I rowsort label-1715
SELECT pk FROM tab0 WHERE NOT (col3 > 92)
----
0
2
5
7

statement ok
DELETE FROM tab1 WHERE col3 > 92

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

query I rowsort label-1715
SELECT pk FROM tab1 WHERE NOT (col3 > 92)
----
0
2
5
7

statement ok
DELETE FROM tab2 WHERE col3 > 92

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

query I rowsort label-1715
SELECT pk FROM tab2 WHERE NOT (col3 > 92)
----
0
2
5
7

statement ok
DELETE FROM tab3 WHERE col3 > 92

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

query I rowsort label-1715
SELECT pk FROM tab3 WHERE NOT (col3 > 92)
----
0
2
5
7

statement ok
DELETE FROM tab4 WHERE col3 > 92

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

query I rowsort label-1715
SELECT pk FROM tab4 WHERE NOT (col3 > 92)
----
0
2
5
7

statement ok
DELETE FROM tab0 WHERE (col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77
----

query I rowsort label-1730
SELECT pk FROM tab0 WHERE NOT ((col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77)
----
0
2
5
7

statement ok
DELETE FROM tab1 WHERE (col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77
----

query I rowsort label-1730
SELECT pk FROM tab1 WHERE NOT ((col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77)
----
0
2
5
7

statement ok
DELETE FROM tab2 WHERE (col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77
----

query I rowsort label-1730
SELECT pk FROM tab2 WHERE NOT ((col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77)
----
0
2
5
7

statement ok
DELETE FROM tab3 WHERE (col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77
----

query I rowsort label-1730
SELECT pk FROM tab3 WHERE NOT ((col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77)
----
0
2
5
7

statement ok
DELETE FROM tab4 WHERE (col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77
----

query I rowsort label-1730
SELECT pk FROM tab4 WHERE NOT ((col3 < 25) AND ((col3 < 6) AND col1 >= 62.72 AND col4 IS NULL) AND (((col1 IS NULL)) OR (col4 = 18.7 OR (col0 > 82))) AND col3 < 49 AND col3 >= 41 OR col3 >= 77)
----
0
2
5
7

statement ok
DELETE FROM tab0 WHERE col3 >= 2

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

query I rowsort label-1745
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-1745
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-1745
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-1745
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-1745
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,26,96.81,'gdadd',43,5.67,'kxmnw')

statement ok
INSERT INTO tab0 VALUES(1,70,86.97,'qanco',37,74.78,'fvdkh')

statement ok
INSERT INTO tab0 VALUES(2,69,92.72,'opinm',67,84.81,'krjox')

statement ok
INSERT INTO tab0 VALUES(3,64,68.4,'gijbp',38,96.53,'teccv')

statement ok
INSERT INTO tab0 VALUES(4,79,26.28,'ogqrl',41,9.66,'zskec')

statement ok
INSERT INTO tab0 VALUES(5,30,91.34,'xebzu',73,18.3,'tpvcl')

statement ok
INSERT INTO tab0 VALUES(6,42,66.74,'svvem',42,75.68,'zxiiw')

statement ok
INSERT INTO tab0 VALUES(7,60,97.81,'btkjw',81,57.98,'muqug')

statement ok
INSERT INTO tab0 VALUES(8,61,30.75,'iuvnl',63,24.77,'xqzwy')

statement ok
INSERT INTO tab0 VALUES(9,65,81.81,'vvkrr',12,86.47,'xbuoo')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 = 36.12

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

query I rowsort label-1760
SELECT pk FROM tab0 WHERE NOT (col4 = 36.12)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 = 36.12

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

query I rowsort label-1760
SELECT pk FROM tab1 WHERE NOT (col4 = 36.12)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 = 36.12

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

query I rowsort label-1760
SELECT pk FROM tab2 WHERE NOT (col4 = 36.12)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 = 36.12

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

query I rowsort label-1760
SELECT pk FROM tab3 WHERE NOT (col4 = 36.12)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 = 36.12

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

query I rowsort label-1760
SELECT pk FROM tab4 WHERE NOT (col4 = 36.12)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94
----

query I rowsort label-1775
SELECT pk FROM tab0 WHERE NOT (((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94)
----
0
1
3
4
6
9

statement ok
DELETE FROM tab1 WHERE ((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94
----

query I rowsort label-1775
SELECT pk FROM tab1 WHERE NOT (((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94)
----
0
1
3
4
6
9

statement ok
DELETE FROM tab2 WHERE ((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94
----

query I rowsort label-1775
SELECT pk FROM tab2 WHERE NOT (((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94)
----
0
1
3
4
6
9

statement ok
DELETE FROM tab3 WHERE ((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94
----

query I rowsort label-1775
SELECT pk FROM tab3 WHERE NOT (((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94)
----
0
1
3
4
6
9

statement ok
DELETE FROM tab4 WHERE ((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94
----

query I rowsort label-1775
SELECT pk FROM tab4 WHERE NOT (((col1 >= 18.52 AND col3 > 55 OR ((col3 < 59 AND col3 > 94))) OR (((col1 IS NULL AND (col4 > 3.35 OR col3 < 13) AND col3 > 60 OR (col3 = 26) AND (col3 >= 25))))) OR col0 >= 94)
----
0
1
3
4
6
9

statement ok
DELETE FROM tab0 WHERE col0 < 83

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

query I rowsort label-1790
SELECT pk FROM tab0 WHERE NOT (col0 < 83)
----

statement ok
DELETE FROM tab1 WHERE col0 < 83

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

query I rowsort label-1790
SELECT pk FROM tab1 WHERE NOT (col0 < 83)
----

statement ok
DELETE FROM tab2 WHERE col0 < 83

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

query I rowsort label-1790
SELECT pk FROM tab2 WHERE NOT (col0 < 83)
----

statement ok
DELETE FROM tab3 WHERE col0 < 83

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

query I rowsort label-1790
SELECT pk FROM tab3 WHERE NOT (col0 < 83)
----

statement ok
DELETE FROM tab4 WHERE col0 < 83

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

query I rowsort label-1790
SELECT pk FROM tab4 WHERE NOT (col0 < 83)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,34,61.29,'oddau',54,32.63,'ykngx')

statement ok
INSERT INTO tab0 VALUES(1,31,88.86,'yvrst',6,68.97,'egsua')

statement ok
INSERT INTO tab0 VALUES(2,37,72.74,'yrkap',7,37.44,'eabob')

statement ok
INSERT INTO tab0 VALUES(3,44,78.71,'wshmw',56,81.57,'yuimk')

statement ok
INSERT INTO tab0 VALUES(4,75,74.51,'drzgf',17,48.71,'cpevg')

statement ok
INSERT INTO tab0 VALUES(5,51,43.47,'kqdvm',82,5.61,'bgfcl')

statement ok
INSERT INTO tab0 VALUES(6,48,92.15,'qrjly',30,54.3,'euejw')

statement ok
INSERT INTO tab0 VALUES(7,66,67.96,'innyi',93,38.42,'tezbl')

statement ok
INSERT INTO tab0 VALUES(8,86,64.78,'mcthy',19,60.50,'izamf')

statement ok
INSERT INTO tab0 VALUES(9,35,44.56,'vdnby',29,91.89,'rwapp')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,4,56.25,'mhbqb',97,45.2,'lbpxr')

statement ok
INSERT INTO tab0 VALUES(1,54,57.77,'zihdh',98,24.68,'ivlqn')

statement ok
INSERT INTO tab0 VALUES(2,31,34.84,'wbeft',17,29.40,'zbbva')

statement ok
INSERT INTO tab0 VALUES(3,47,63.72,'qjohx',41,26.77,'ategt')

statement ok
INSERT INTO tab0 VALUES(4,48,26.51,'mrydo',66,40.53,'pdtgq')

statement ok
INSERT INTO tab0 VALUES(5,72,21.75,'dmkgw',63,73.20,'okyif')

statement ok
INSERT INTO tab0 VALUES(6,14,80.7,'dayto',42,11.69,'qfisl')

statement ok
INSERT INTO tab0 VALUES(7,88,75.81,'wvova',11,43.90,'mlaee')

statement ok
INSERT INTO tab0 VALUES(8,90,35.62,'tmhhn',44,66.41,'urtkz')

statement ok
INSERT INTO tab0 VALUES(9,60,58.14,'jdinb',37,4.4,'mzcxm')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 < 41)

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

query I rowsort label-1805
SELECT pk FROM tab0 WHERE NOT ((col3 < 41))
----
0
1
3
4
5
6
8

statement ok
DELETE FROM tab1 WHERE (col3 < 41)

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

query I rowsort label-1805
SELECT pk FROM tab1 WHERE NOT ((col3 < 41))
----
0
1
3
4
5
6
8

statement ok
DELETE FROM tab2 WHERE (col3 < 41)

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

query I rowsort label-1805
SELECT pk FROM tab2 WHERE NOT ((col3 < 41))
----
0
1
3
4
5
6
8

statement ok
DELETE FROM tab3 WHERE (col3 < 41)

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

query I rowsort label-1805
SELECT pk FROM tab3 WHERE NOT ((col3 < 41))
----
0
1
3
4
5
6
8

statement ok
DELETE FROM tab4 WHERE (col3 < 41)

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

query I rowsort label-1805
SELECT pk FROM tab4 WHERE NOT ((col3 < 41))
----
0
1
3
4
5
6
8

statement ok
DELETE FROM tab0 WHERE (col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86)
----

query I rowsort label-1820
SELECT pk FROM tab0 WHERE NOT ((col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86))
----
0
3
4
6

statement ok
DELETE FROM tab1 WHERE (col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86)
----

query I rowsort label-1820
SELECT pk FROM tab1 WHERE NOT ((col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86))
----
0
3
4
6

statement ok
DELETE FROM tab2 WHERE (col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86)
----

query I rowsort label-1820
SELECT pk FROM tab2 WHERE NOT ((col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86))
----
0
3
4
6

statement ok
DELETE FROM tab3 WHERE (col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86)
----

query I rowsort label-1820
SELECT pk FROM tab3 WHERE NOT ((col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86))
----
0
3
4
6

statement ok
DELETE FROM tab4 WHERE (col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86)
----

query I rowsort label-1820
SELECT pk FROM tab4 WHERE NOT ((col0 >= 49 OR ((((col1 <= 98.33) AND ((col0 IN (89,7,60))) AND ((col3 < 1 OR col0 >= 81 OR col3 > 14 AND ((col1 = 4.1) OR col0 < 33) OR (col0 <= 13 AND col0 = 24 AND (((col1 <= 95.6)))))) AND (col4 > 90.88) AND col4 IS NULL AND col3 <= 24 AND (col1 < 70.66 AND (col0 IS NULL AND col0 < 64 AND col1 < 72.83)) AND col3 > 75 AND col0 = 22 AND col0 <= 69 AND col0 > 8 AND col0 IN (63,75,17,33) OR col0 IS NULL OR (col1 > 12.22) AND col0 > 60 AND col1 < 95.29) AND (col3 < 89))) AND (col1 = 11.29) AND col1 >= 55.86))
----
0
3
4
6

statement ok
DELETE FROM tab0 WHERE col3 > 83

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

query I rowsort label-1835
SELECT pk FROM tab0 WHERE NOT (col3 > 83)
----
3
4
6

statement ok
DELETE FROM tab1 WHERE col3 > 83

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

query I rowsort label-1835
SELECT pk FROM tab1 WHERE NOT (col3 > 83)
----
3
4
6

statement ok
DELETE FROM tab2 WHERE col3 > 83

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

query I rowsort label-1835
SELECT pk FROM tab2 WHERE NOT (col3 > 83)
----
3
4
6

statement ok
DELETE FROM tab3 WHERE col3 > 83

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

query I rowsort label-1835
SELECT pk FROM tab3 WHERE NOT (col3 > 83)
----
3
4
6

statement ok
DELETE FROM tab4 WHERE col3 > 83

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

query I rowsort label-1835
SELECT pk FROM tab4 WHERE NOT (col3 > 83)
----
3
4
6

statement ok
DELETE FROM tab0 WHERE (col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35
----

query I rowsort label-1850
SELECT pk FROM tab0 WHERE NOT ((col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35)
----
3
4

statement ok
DELETE FROM tab1 WHERE (col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35
----

query I rowsort label-1850
SELECT pk FROM tab1 WHERE NOT ((col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35)
----
3
4

statement ok
DELETE FROM tab2 WHERE (col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35
----

query I rowsort label-1850
SELECT pk FROM tab2 WHERE NOT ((col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35)
----
3
4

statement ok
DELETE FROM tab3 WHERE (col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35
----

query I rowsort label-1850
SELECT pk FROM tab3 WHERE NOT ((col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35)
----
3
4

statement ok
DELETE FROM tab4 WHERE (col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35
----

query I rowsort label-1850
SELECT pk FROM tab4 WHERE NOT ((col0 >= 49 AND ((col3 > 44)) AND col0 <= 55 AND (col3 >= 92) AND col0 = 69 OR col0 > 7) AND col0 <= 35)
----
3
4

statement ok
DELETE FROM tab0 WHERE col0 < 98

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

query I rowsort label-1865
SELECT pk FROM tab0 WHERE NOT (col0 < 98)
----

statement ok
DELETE FROM tab1 WHERE col0 < 98

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

query I rowsort label-1865
SELECT pk FROM tab1 WHERE NOT (col0 < 98)
----

statement ok
DELETE FROM tab2 WHERE col0 < 98

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

query I rowsort label-1865
SELECT pk FROM tab2 WHERE NOT (col0 < 98)
----

statement ok
DELETE FROM tab3 WHERE col0 < 98

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

query I rowsort label-1865
SELECT pk FROM tab3 WHERE NOT (col0 < 98)
----

statement ok
DELETE FROM tab4 WHERE col0 < 98

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

query I rowsort label-1865
SELECT pk FROM tab4 WHERE NOT (col0 < 98)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,51,70.8,'tsdbi',2,9.45,'ernig')

statement ok
INSERT INTO tab0 VALUES(1,31,29.98,'vstam',7,54.19,'qyiff')

statement ok
INSERT INTO tab0 VALUES(2,15,68.38,'ftatt',5,69.3,'wifaj')

statement ok
INSERT INTO tab0 VALUES(3,55,87.31,'vkbig',46,61.71,'natux')

statement ok
INSERT INTO tab0 VALUES(4,43,82.87,'ekawa',0,94.40,'abyvf')

statement ok
INSERT INTO tab0 VALUES(5,65,61.93,'oafee',11,95.29,'rynmr')

statement ok
INSERT INTO tab0 VALUES(6,67,49.72,'gubgz',68,68.29,'rfasa')

statement ok
INSERT INTO tab0 VALUES(7,17,7.43,'nfmad',60,8.57,'kbynj')

statement ok
INSERT INTO tab0 VALUES(8,69,43.90,'vduyp',43,14.25,'lbvyf')

statement ok
INSERT INTO tab0 VALUES(9,21,22.16,'yrzqd',3,96.98,'srjiw')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 >= 86.10) AND ((col0 > 17))

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

query I rowsort label-1880
SELECT pk FROM tab0 WHERE NOT ((col4 >= 86.10) AND ((col0 > 17)))
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab1 WHERE (col4 >= 86.10) AND ((col0 > 17))

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

query I rowsort label-1880
SELECT pk FROM tab1 WHERE NOT ((col4 >= 86.10) AND ((col0 > 17)))
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab2 WHERE (col4 >= 86.10) AND ((col0 > 17))

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

query I rowsort label-1880
SELECT pk FROM tab2 WHERE NOT ((col4 >= 86.10) AND ((col0 > 17)))
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab3 WHERE (col4 >= 86.10) AND ((col0 > 17))

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

query I rowsort label-1880
SELECT pk FROM tab3 WHERE NOT ((col4 >= 86.10) AND ((col0 > 17)))
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab4 WHERE (col4 >= 86.10) AND ((col0 > 17))

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

query I rowsort label-1880
SELECT pk FROM tab4 WHERE NOT ((col4 >= 86.10) AND ((col0 > 17)))
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab0 WHERE col3 >= 24

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

query I rowsort label-1895
SELECT pk FROM tab0 WHERE NOT (col3 >= 24)
----
0
1
2

statement ok
DELETE FROM tab1 WHERE col3 >= 24

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

query I rowsort label-1895
SELECT pk FROM tab1 WHERE NOT (col3 >= 24)
----
0
1
2

statement ok
DELETE FROM tab2 WHERE col3 >= 24

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

query I rowsort label-1895
SELECT pk FROM tab2 WHERE NOT (col3 >= 24)
----
0
1
2

statement ok
DELETE FROM tab3 WHERE col3 >= 24

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

query I rowsort label-1895
SELECT pk FROM tab3 WHERE NOT (col3 >= 24)
----
0
1
2

statement ok
DELETE FROM tab4 WHERE col3 >= 24

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

query I rowsort label-1895
SELECT pk FROM tab4 WHERE NOT (col3 >= 24)
----
0
1
2

statement ok
DELETE FROM tab0 WHERE col0 = 52

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

query I rowsort label-1910
SELECT pk FROM tab0 WHERE NOT (col0 = 52)
----
0
1
2

statement ok
DELETE FROM tab1 WHERE col0 = 52

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

query I rowsort label-1910
SELECT pk FROM tab1 WHERE NOT (col0 = 52)
----
0
1
2

statement ok
DELETE FROM tab2 WHERE col0 = 52

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

query I rowsort label-1910
SELECT pk FROM tab2 WHERE NOT (col0 = 52)
----
0
1
2

statement ok
DELETE FROM tab3 WHERE col0 = 52

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

query I rowsort label-1910
SELECT pk FROM tab3 WHERE NOT (col0 = 52)
----
0
1
2

statement ok
DELETE FROM tab4 WHERE col0 = 52

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

query I rowsort label-1910
SELECT pk FROM tab4 WHERE NOT (col0 = 52)
----
0
1
2

statement ok
DELETE FROM tab0 WHERE col0 >= 39

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

query I rowsort label-1925
SELECT pk FROM tab0 WHERE NOT (col0 >= 39)
----
1
2

statement ok
DELETE FROM tab1 WHERE col0 >= 39

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

query I rowsort label-1925
SELECT pk FROM tab1 WHERE NOT (col0 >= 39)
----
1
2

statement ok
DELETE FROM tab2 WHERE col0 >= 39

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

query I rowsort label-1925
SELECT pk FROM tab2 WHERE NOT (col0 >= 39)
----
1
2

statement ok
DELETE FROM tab3 WHERE col0 >= 39

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

query I rowsort label-1925
SELECT pk FROM tab3 WHERE NOT (col0 >= 39)
----
1
2

statement ok
DELETE FROM tab4 WHERE col0 >= 39

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

query I rowsort label-1925
SELECT pk FROM tab4 WHERE NOT (col0 >= 39)
----
1
2

statement ok
DELETE FROM tab0 WHERE col1 = 91.54 AND (((col0 > 77)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 91.54 AND (((col0 > 77)))
----

query I rowsort label-1940
SELECT pk FROM tab0 WHERE NOT (col1 = 91.54 AND (((col0 > 77))))
----
1
2

statement ok
DELETE FROM tab1 WHERE col1 = 91.54 AND (((col0 > 77)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 91.54 AND (((col0 > 77)))
----

query I rowsort label-1940
SELECT pk FROM tab1 WHERE NOT (col1 = 91.54 AND (((col0 > 77))))
----
1
2

statement ok
DELETE FROM tab2 WHERE col1 = 91.54 AND (((col0 > 77)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 91.54 AND (((col0 > 77)))
----

query I rowsort label-1940
SELECT pk FROM tab2 WHERE NOT (col1 = 91.54 AND (((col0 > 77))))
----
1
2

statement ok
DELETE FROM tab3 WHERE col1 = 91.54 AND (((col0 > 77)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 91.54 AND (((col0 > 77)))
----

query I rowsort label-1940
SELECT pk FROM tab3 WHERE NOT (col1 = 91.54 AND (((col0 > 77))))
----
1
2

statement ok
DELETE FROM tab4 WHERE col1 = 91.54 AND (((col0 > 77)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 91.54 AND (((col0 > 77)))
----

query I rowsort label-1940
SELECT pk FROM tab4 WHERE NOT (col1 = 91.54 AND (((col0 > 77))))
----
1
2

statement ok
DELETE FROM tab0 WHERE (col4 >= 31.9 OR ((col1 < 51.62)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 31.9 OR ((col1 < 51.62)))
----

query I rowsort label-1955
SELECT pk FROM tab0 WHERE NOT ((col4 >= 31.9 OR ((col1 < 51.62))))
----

statement ok
DELETE FROM tab1 WHERE (col4 >= 31.9 OR ((col1 < 51.62)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 31.9 OR ((col1 < 51.62)))
----

query I rowsort label-1955
SELECT pk FROM tab1 WHERE NOT ((col4 >= 31.9 OR ((col1 < 51.62))))
----

statement ok
DELETE FROM tab2 WHERE (col4 >= 31.9 OR ((col1 < 51.62)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 31.9 OR ((col1 < 51.62)))
----

query I rowsort label-1955
SELECT pk FROM tab2 WHERE NOT ((col4 >= 31.9 OR ((col1 < 51.62))))
----

statement ok
DELETE FROM tab3 WHERE (col4 >= 31.9 OR ((col1 < 51.62)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 31.9 OR ((col1 < 51.62)))
----

query I rowsort label-1955
SELECT pk FROM tab3 WHERE NOT ((col4 >= 31.9 OR ((col1 < 51.62))))
----

statement ok
DELETE FROM tab4 WHERE (col4 >= 31.9 OR ((col1 < 51.62)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 31.9 OR ((col1 < 51.62)))
----

query I rowsort label-1955
SELECT pk FROM tab4 WHERE NOT ((col4 >= 31.9 OR ((col1 < 51.62))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,25.26,'rdqlg',93,72.45,'rhubo')

statement ok
INSERT INTO tab0 VALUES(1,15,39.2,'tgsup',88,79.20,'scphb')

statement ok
INSERT INTO tab0 VALUES(2,49,16.21,'zcvdt',14,2.63,'qvkwf')

statement ok
INSERT INTO tab0 VALUES(3,21,80.34,'kxvte',38,68.12,'xmxik')

statement ok
INSERT INTO tab0 VALUES(4,33,50.90,'aarhq',1,84.57,'idsiq')

statement ok
INSERT INTO tab0 VALUES(5,66,13.50,'psdfc',29,3.59,'pydug')

statement ok
INSERT INTO tab0 VALUES(6,93,79.1,'zojqb',44,85.56,'ciqys')

statement ok
INSERT INTO tab0 VALUES(7,91,44.64,'dlopj',79,53.84,'idnky')

statement ok
INSERT INTO tab0 VALUES(8,53,57.14,'jqpfw',92,69.80,'rsqmf')

statement ok
INSERT INTO tab0 VALUES(9,2,81.82,'eapsv',74,86.2,'xzvep')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE UNIQUE 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 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 > 62.26

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

query I rowsort label-1970
SELECT pk FROM tab0 WHERE NOT (col1 > 62.26)
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab1 WHERE col1 > 62.26

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

query I rowsort label-1970
SELECT pk FROM tab1 WHERE NOT (col1 > 62.26)
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab2 WHERE col1 > 62.26

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

query I rowsort label-1970
SELECT pk FROM tab2 WHERE NOT (col1 > 62.26)
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab3 WHERE col1 > 62.26

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

query I rowsort label-1970
SELECT pk FROM tab3 WHERE NOT (col1 > 62.26)
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab4 WHERE col1 > 62.26

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

query I rowsort label-1970
SELECT pk FROM tab4 WHERE NOT (col1 > 62.26)
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab0 WHERE ((col0 <= 40))

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

query I rowsort label-1985
SELECT pk FROM tab0 WHERE NOT (((col0 <= 40)))
----
0
2
5
7
8

statement ok
DELETE FROM tab1 WHERE ((col0 <= 40))

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

query I rowsort label-1985
SELECT pk FROM tab1 WHERE NOT (((col0 <= 40)))
----
0
2
5
7
8

statement ok
DELETE FROM tab2 WHERE ((col0 <= 40))

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

query I rowsort label-1985
SELECT pk FROM tab2 WHERE NOT (((col0 <= 40)))
----
0
2
5
7
8

statement ok
DELETE FROM tab3 WHERE ((col0 <= 40))

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

query I rowsort label-1985
SELECT pk FROM tab3 WHERE NOT (((col0 <= 40)))
----
0
2
5
7
8

statement ok
DELETE FROM tab4 WHERE ((col0 <= 40))

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

query I rowsort label-1985
SELECT pk FROM tab4 WHERE NOT (((col0 <= 40)))
----
0
2
5
7
8

statement ok
DELETE FROM tab0 WHERE col4 <= 35.39 OR col0 IN (55,76)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 35.39 OR col0 IN (55,76)
----

query I rowsort label-2000
SELECT pk FROM tab0 WHERE NOT (col4 <= 35.39 OR col0 IN (55,76))
----
0
7
8

statement ok
DELETE FROM tab1 WHERE col4 <= 35.39 OR col0 IN (55,76)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 35.39 OR col0 IN (55,76)
----

query I rowsort label-2000
SELECT pk FROM tab1 WHERE NOT (col4 <= 35.39 OR col0 IN (55,76))
----
0
7
8

statement ok
DELETE FROM tab2 WHERE col4 <= 35.39 OR col0 IN (55,76)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 35.39 OR col0 IN (55,76)
----

query I rowsort label-2000
SELECT pk FROM tab2 WHERE NOT (col4 <= 35.39 OR col0 IN (55,76))
----
0
7
8

statement ok
DELETE FROM tab3 WHERE col4 <= 35.39 OR col0 IN (55,76)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 35.39 OR col0 IN (55,76)
----

query I rowsort label-2000
SELECT pk FROM tab3 WHERE NOT (col4 <= 35.39 OR col0 IN (55,76))
----
0
7
8

statement ok
DELETE FROM tab4 WHERE col4 <= 35.39 OR col0 IN (55,76)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 35.39 OR col0 IN (55,76)
----

query I rowsort label-2000
SELECT pk FROM tab4 WHERE NOT (col4 <= 35.39 OR col0 IN (55,76))
----
0
7
8

statement ok
DELETE FROM tab0 WHERE col0 = 40

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

query I rowsort label-2015
SELECT pk FROM tab0 WHERE NOT (col0 = 40)
----
0
7
8

statement ok
DELETE FROM tab1 WHERE col0 = 40

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

query I rowsort label-2015
SELECT pk FROM tab1 WHERE NOT (col0 = 40)
----
0
7
8

statement ok
DELETE FROM tab2 WHERE col0 = 40

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

query I rowsort label-2015
SELECT pk FROM tab2 WHERE NOT (col0 = 40)
----
0
7
8

statement ok
DELETE FROM tab3 WHERE col0 = 40

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

query I rowsort label-2015
SELECT pk FROM tab3 WHERE NOT (col0 = 40)
----
0
7
8

statement ok
DELETE FROM tab4 WHERE col0 = 40

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

query I rowsort label-2015
SELECT pk FROM tab4 WHERE NOT (col0 = 40)
----
0
7
8

statement ok
DELETE FROM tab0 WHERE col3 > 96

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

query I rowsort label-2030
SELECT pk FROM tab0 WHERE NOT (col3 > 96)
----
0
7
8

statement ok
DELETE FROM tab1 WHERE col3 > 96

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

query I rowsort label-2030
SELECT pk FROM tab1 WHERE NOT (col3 > 96)
----
0
7
8

statement ok
DELETE FROM tab2 WHERE col3 > 96

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

query I rowsort label-2030
SELECT pk FROM tab2 WHERE NOT (col3 > 96)
----
0
7
8

statement ok
DELETE FROM tab3 WHERE col3 > 96

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

query I rowsort label-2030
SELECT pk FROM tab3 WHERE NOT (col3 > 96)
----
0
7
8

statement ok
DELETE FROM tab4 WHERE col3 > 96

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

query I rowsort label-2030
SELECT pk FROM tab4 WHERE NOT (col3 > 96)
----
0
7
8

statement ok
DELETE FROM tab0 WHERE ((col3 < 6)) OR col0 IN (5,74,64,80)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 6)) OR col0 IN (5,74,64,80)
----

query I rowsort label-2045
SELECT pk FROM tab0 WHERE NOT (((col3 < 6)) OR col0 IN (5,74,64,80))
----
0
7
8

statement ok
DELETE FROM tab1 WHERE ((col3 < 6)) OR col0 IN (5,74,64,80)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 6)) OR col0 IN (5,74,64,80)
----

query I rowsort label-2045
SELECT pk FROM tab1 WHERE NOT (((col3 < 6)) OR col0 IN (5,74,64,80))
----
0
7
8

statement ok
DELETE FROM tab2 WHERE ((col3 < 6)) OR col0 IN (5,74,64,80)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 6)) OR col0 IN (5,74,64,80)
----

query I rowsort label-2045
SELECT pk FROM tab2 WHERE NOT (((col3 < 6)) OR col0 IN (5,74,64,80))
----
0
7
8

statement ok
DELETE FROM tab3 WHERE ((col3 < 6)) OR col0 IN (5,74,64,80)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 6)) OR col0 IN (5,74,64,80)
----

query I rowsort label-2045
SELECT pk FROM tab3 WHERE NOT (((col3 < 6)) OR col0 IN (5,74,64,80))
----
0
7
8

statement ok
DELETE FROM tab4 WHERE ((col3 < 6)) OR col0 IN (5,74,64,80)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 6)) OR col0 IN (5,74,64,80)
----

query I rowsort label-2045
SELECT pk FROM tab4 WHERE NOT (((col3 < 6)) OR col0 IN (5,74,64,80))
----
0
7
8

statement ok
DELETE FROM tab0 WHERE col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70
----

query I rowsort label-2060
SELECT pk FROM tab0 WHERE NOT (col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70)
----
0
7
8

statement ok
DELETE FROM tab1 WHERE col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70
----

query I rowsort label-2060
SELECT pk FROM tab1 WHERE NOT (col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70)
----
0
7
8

statement ok
DELETE FROM tab2 WHERE col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70
----

query I rowsort label-2060
SELECT pk FROM tab2 WHERE NOT (col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70)
----
0
7
8

statement ok
DELETE FROM tab3 WHERE col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70
----

query I rowsort label-2060
SELECT pk FROM tab3 WHERE NOT (col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70)
----
0
7
8

statement ok
DELETE FROM tab4 WHERE col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70
----

query I rowsort label-2060
SELECT pk FROM tab4 WHERE NOT (col3 IN (2,22) OR col4 >= 13.30 AND col3 = 70)
----
0
7
8

statement ok
DELETE FROM tab0 WHERE col3 IN (22,85)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (22,85)
----

query I rowsort label-2075
SELECT pk FROM tab0 WHERE NOT (col3 IN (22,85))
----
0
7
8

statement ok
DELETE FROM tab1 WHERE col3 IN (22,85)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (22,85)
----

query I rowsort label-2075
SELECT pk FROM tab1 WHERE NOT (col3 IN (22,85))
----
0
7
8

statement ok
DELETE FROM tab2 WHERE col3 IN (22,85)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (22,85)
----

query I rowsort label-2075
SELECT pk FROM tab2 WHERE NOT (col3 IN (22,85))
----
0
7
8

statement ok
DELETE FROM tab3 WHERE col3 IN (22,85)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (22,85)
----

query I rowsort label-2075
SELECT pk FROM tab3 WHERE NOT (col3 IN (22,85))
----
0
7
8

statement ok
DELETE FROM tab4 WHERE col3 IN (22,85)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (22,85)
----

query I rowsort label-2075
SELECT pk FROM tab4 WHERE NOT (col3 IN (22,85))
----
0
7
8

statement ok
DELETE FROM tab0 WHERE (((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL))
----

query I rowsort label-2090
SELECT pk FROM tab0 WHERE NOT ((((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL)))
----
0
7
8

statement ok
DELETE FROM tab1 WHERE (((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL))
----

query I rowsort label-2090
SELECT pk FROM tab1 WHERE NOT ((((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL)))
----
0
7
8

statement ok
DELETE FROM tab2 WHERE (((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL))
----

query I rowsort label-2090
SELECT pk FROM tab2 WHERE NOT ((((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL)))
----
0
7
8

statement ok
DELETE FROM tab3 WHERE (((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL))
----

query I rowsort label-2090
SELECT pk FROM tab3 WHERE NOT ((((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL)))
----
0
7
8

statement ok
DELETE FROM tab4 WHERE (((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL))
----

query I rowsort label-2090
SELECT pk FROM tab4 WHERE NOT ((((((col3 < 12)) OR col3 <= 18) OR col4 >= 61.92 AND col3 IS NULL)))
----
0
7
8

statement ok
DELETE FROM tab0 WHERE ((col4 >= 24.16)) OR (col0 = 41)

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

query I rowsort label-2105
SELECT pk FROM tab0 WHERE NOT (((col4 >= 24.16)) OR (col0 = 41))
----

statement ok
DELETE FROM tab1 WHERE ((col4 >= 24.16)) OR (col0 = 41)

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

query I rowsort label-2105
SELECT pk FROM tab1 WHERE NOT (((col4 >= 24.16)) OR (col0 = 41))
----

statement ok
DELETE FROM tab2 WHERE ((col4 >= 24.16)) OR (col0 = 41)

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

query I rowsort label-2105
SELECT pk FROM tab2 WHERE NOT (((col4 >= 24.16)) OR (col0 = 41))
----

statement ok
DELETE FROM tab3 WHERE ((col4 >= 24.16)) OR (col0 = 41)

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

query I rowsort label-2105
SELECT pk FROM tab3 WHERE NOT (((col4 >= 24.16)) OR (col0 = 41))
----

statement ok
DELETE FROM tab4 WHERE ((col4 >= 24.16)) OR (col0 = 41)

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

query I rowsort label-2105
SELECT pk FROM tab4 WHERE NOT (((col4 >= 24.16)) 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,6,77.41,'nkqtp',44,14.91,'qcnqw')

statement ok
INSERT INTO tab0 VALUES(1,42,27.8,'ybwzf',49,23.15,'pnixj')

statement ok
INSERT INTO tab0 VALUES(2,4,0.66,'kscvv',48,13.62,'jjrmt')

statement ok
INSERT INTO tab0 VALUES(3,0,45.31,'lsplk',96,96.63,'ccnlh')

statement ok
INSERT INTO tab0 VALUES(4,85,78.22,'nobds',99,30.5,'glcok')

statement ok
INSERT INTO tab0 VALUES(5,71,41.75,'qeaia',27,85.48,'zlggg')

statement ok
INSERT INTO tab0 VALUES(6,37,70.50,'yyrtp',26,1.33,'cwhun')

statement ok
INSERT INTO tab0 VALUES(7,49,53.51,'mwgnn',30,55.1,'lzmns')

statement ok
INSERT INTO tab0 VALUES(8,64,93.30,'pqzmc',75,18.98,'qxtwd')

statement ok
INSERT INTO tab0 VALUES(9,47,72.8,'svkxq',8,24.95,'psgmi')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

query I rowsort label-2120
SELECT pk FROM tab0 WHERE NOT (((col0 IS NULL)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

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

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

query I rowsort label-2120
SELECT pk FROM tab1 WHERE NOT (((col0 IS NULL)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

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

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

query I rowsort label-2120
SELECT pk FROM tab2 WHERE NOT (((col0 IS NULL)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

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

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

query I rowsort label-2120
SELECT pk FROM tab3 WHERE NOT (((col0 IS NULL)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

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

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

query I rowsort label-2120
SELECT pk FROM tab4 WHERE NOT (((col0 IS NULL)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 <= 77

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

query I rowsort label-2135
SELECT pk FROM tab0 WHERE NOT (col0 <= 77)
----
4

statement ok
DELETE FROM tab1 WHERE col0 <= 77

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

query I rowsort label-2135
SELECT pk FROM tab1 WHERE NOT (col0 <= 77)
----
4

statement ok
DELETE FROM tab2 WHERE col0 <= 77

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

query I rowsort label-2135
SELECT pk FROM tab2 WHERE NOT (col0 <= 77)
----
4

statement ok
DELETE FROM tab3 WHERE col0 <= 77

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

query I rowsort label-2135
SELECT pk FROM tab3 WHERE NOT (col0 <= 77)
----
4

statement ok
DELETE FROM tab4 WHERE col0 <= 77

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

query I rowsort label-2135
SELECT pk FROM tab4 WHERE NOT (col0 <= 77)
----
4

statement ok
DELETE FROM tab0 WHERE col0 > 93

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

query I rowsort label-2150
SELECT pk FROM tab0 WHERE NOT (col0 > 93)
----
4

statement ok
DELETE FROM tab1 WHERE col0 > 93

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

query I rowsort label-2150
SELECT pk FROM tab1 WHERE NOT (col0 > 93)
----
4

statement ok
DELETE FROM tab2 WHERE col0 > 93

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

query I rowsort label-2150
SELECT pk FROM tab2 WHERE NOT (col0 > 93)
----
4

statement ok
DELETE FROM tab3 WHERE col0 > 93

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

query I rowsort label-2150
SELECT pk FROM tab3 WHERE NOT (col0 > 93)
----
4

statement ok
DELETE FROM tab4 WHERE col0 > 93

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

query I rowsort label-2150
SELECT pk FROM tab4 WHERE NOT (col0 > 93)
----
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,48.72,'tjieh',68,17.28,'okwfm')

statement ok
INSERT INTO tab0 VALUES(1,57,44.26,'ebdfw',11,94.22,'nlajm')

statement ok
INSERT INTO tab0 VALUES(2,85,65.25,'flalv',66,72.58,'lnzah')

statement ok
INSERT INTO tab0 VALUES(3,60,88.35,'vtfuz',90,45.53,'rtkxm')

statement ok
INSERT INTO tab0 VALUES(4,7,3.92,'wybtc',17,75.30,'mupns')

statement ok
INSERT INTO tab0 VALUES(5,12,20.70,'zgddf',24,98.79,'bircu')

statement ok
INSERT INTO tab0 VALUES(6,82,82.42,'ysiqp',91,42.21,'rrsyc')

statement ok
INSERT INTO tab0 VALUES(7,9,79.40,'pwemc',60,37.68,'wntjk')

statement ok
INSERT INTO tab0 VALUES(8,31,60.22,'fmqaa',7,29.86,'onexc')

statement ok
INSERT INTO tab0 VALUES(9,99,45.32,'iypik',96,90.62,'cwnjk')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 = 58

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

query I rowsort label-2165
SELECT pk FROM tab0 WHERE NOT (col3 = 58)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 = 58

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

query I rowsort label-2165
SELECT pk FROM tab1 WHERE NOT (col3 = 58)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 = 58

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

query I rowsort label-2165
SELECT pk FROM tab2 WHERE NOT (col3 = 58)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 = 58

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

query I rowsort label-2165
SELECT pk FROM tab3 WHERE NOT (col3 = 58)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 = 58

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

query I rowsort label-2165
SELECT pk FROM tab4 WHERE NOT (col3 = 58)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

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

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

query I rowsort label-2180
SELECT pk FROM tab0 WHERE NOT ((col3 >= 30))
----
1
4
5
8

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

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

query I rowsort label-2180
SELECT pk FROM tab1 WHERE NOT ((col3 >= 30))
----
1
4
5
8

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

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

query I rowsort label-2180
SELECT pk FROM tab2 WHERE NOT ((col3 >= 30))
----
1
4
5
8

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

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

query I rowsort label-2180
SELECT pk FROM tab3 WHERE NOT ((col3 >= 30))
----
1
4
5
8

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

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

query I rowsort label-2180
SELECT pk FROM tab4 WHERE NOT ((col3 >= 30))
----
1
4
5
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-2195
SELECT pk FROM tab0 WHERE NOT (((col0 < 57)))
----
1

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

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

query I rowsort label-2195
SELECT pk FROM tab1 WHERE NOT (((col0 < 57)))
----
1

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

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

query I rowsort label-2195
SELECT pk FROM tab2 WHERE NOT (((col0 < 57)))
----
1

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

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

query I rowsort label-2195
SELECT pk FROM tab3 WHERE NOT (((col0 < 57)))
----
1

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

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

query I rowsort label-2195
SELECT pk FROM tab4 WHERE NOT (((col0 < 57)))
----
1

statement ok
DELETE FROM tab0 WHERE (col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31)
----

query I rowsort label-2210
SELECT pk FROM tab0 WHERE NOT ((col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31))
----

statement ok
DELETE FROM tab1 WHERE (col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31)
----

query I rowsort label-2210
SELECT pk FROM tab1 WHERE NOT ((col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31))
----

statement ok
DELETE FROM tab2 WHERE (col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31)
----

query I rowsort label-2210
SELECT pk FROM tab2 WHERE NOT ((col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31))
----

statement ok
DELETE FROM tab3 WHERE (col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31)
----

query I rowsort label-2210
SELECT pk FROM tab3 WHERE NOT ((col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31))
----

statement ok
DELETE FROM tab4 WHERE (col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31)
----

query I rowsort label-2210
SELECT pk FROM tab4 WHERE NOT ((col1 <= 98.33 OR col0 = 75 AND col3 IS NULL AND (col0 > 41) AND ((col3 > 91 OR (((col3 < 30))) AND col3 > 26 AND col0 >= 84 OR col4 = 82.94)) AND col3 > 26 OR col3 = 92 OR col3 < 31))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,50,16.10,'itgpn',83,59.67,'pdmql')

statement ok
INSERT INTO tab0 VALUES(1,44,56.62,'jnbje',96,56.42,'jsefj')

statement ok
INSERT INTO tab0 VALUES(2,79,82.89,'qpllc',97,85.67,'tuzwc')

statement ok
INSERT INTO tab0 VALUES(3,12,57.79,'fwrkr',49,4.50,'cfgan')

statement ok
INSERT INTO tab0 VALUES(4,23,85.3,'oublr',66,13.66,'vwkkp')

statement ok
INSERT INTO tab0 VALUES(5,75,17.79,'uejtm',74,70.19,'mbksm')

statement ok
INSERT INTO tab0 VALUES(6,76,72.36,'tpqji',77,5.3,'ygoer')

statement ok
INSERT INTO tab0 VALUES(7,42,41.74,'benqe',19,24.64,'lvvda')

statement ok
INSERT INTO tab0 VALUES(8,59,5.28,'haixc',46,37.66,'snwyy')

statement ok
INSERT INTO tab0 VALUES(9,47,46.30,'fedgf',67,53.50,'ecgeq')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 < 88)

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

query I rowsort label-2225
SELECT pk FROM tab0 WHERE NOT ((col0 < 88))
----

statement ok
DELETE FROM tab1 WHERE (col0 < 88)

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

query I rowsort label-2225
SELECT pk FROM tab1 WHERE NOT ((col0 < 88))
----

statement ok
DELETE FROM tab2 WHERE (col0 < 88)

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

query I rowsort label-2225
SELECT pk FROM tab2 WHERE NOT ((col0 < 88))
----

statement ok
DELETE FROM tab3 WHERE (col0 < 88)

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

query I rowsort label-2225
SELECT pk FROM tab3 WHERE NOT ((col0 < 88))
----

statement ok
DELETE FROM tab4 WHERE (col0 < 88)

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

query I rowsort label-2225
SELECT pk FROM tab4 WHERE NOT ((col0 < 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,5,77.22,'pbhhv',45,97.1,'besgu')

statement ok
INSERT INTO tab0 VALUES(1,21,93.70,'ldmuf',68,84.91,'eykxe')

statement ok
INSERT INTO tab0 VALUES(2,12,78.82,'rqkdy',83,38.1,'rixrc')

statement ok
INSERT INTO tab0 VALUES(3,84,66.2,'utghh',28,1.41,'bjdux')

statement ok
INSERT INTO tab0 VALUES(4,32,26.56,'segxt',81,89.6,'ecbfb')

statement ok
INSERT INTO tab0 VALUES(5,48,34.65,'savho',78,49.94,'xokso')

statement ok
INSERT INTO tab0 VALUES(6,37,25.57,'qdppk',22,24.16,'rdgys')

statement ok
INSERT INTO tab0 VALUES(7,30,65.79,'xducc',96,16.10,'elqpr')

statement ok
INSERT INTO tab0 VALUES(8,92,7.10,'wmyzb',79,46.51,'xphod')

statement ok
INSERT INTO tab0 VALUES(9,40,57.77,'psotd',53,19.66,'vicav')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 > 88.62

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

query I rowsort label-2240
SELECT pk FROM tab0 WHERE NOT (col4 > 88.62)
----
1
2
3
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col4 > 88.62

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

query I rowsort label-2240
SELECT pk FROM tab1 WHERE NOT (col4 > 88.62)
----
1
2
3
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col4 > 88.62

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

query I rowsort label-2240
SELECT pk FROM tab2 WHERE NOT (col4 > 88.62)
----
1
2
3
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col4 > 88.62

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

query I rowsort label-2240
SELECT pk FROM tab3 WHERE NOT (col4 > 88.62)
----
1
2
3
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col4 > 88.62

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

query I rowsort label-2240
SELECT pk FROM tab4 WHERE NOT (col4 > 88.62)
----
1
2
3
5
6
7
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-2255
SELECT pk FROM tab0 WHERE NOT (col0 <= 93)
----

statement ok
DELETE FROM tab1 WHERE col0 <= 93

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

query I rowsort label-2255
SELECT pk FROM tab1 WHERE NOT (col0 <= 93)
----

statement ok
DELETE FROM tab2 WHERE col0 <= 93

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

query I rowsort label-2255
SELECT pk FROM tab2 WHERE NOT (col0 <= 93)
----

statement ok
DELETE FROM tab3 WHERE col0 <= 93

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

query I rowsort label-2255
SELECT pk FROM tab3 WHERE NOT (col0 <= 93)
----

statement ok
DELETE FROM tab4 WHERE col0 <= 93

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

query I rowsort label-2255
SELECT pk FROM tab4 WHERE NOT (col0 <= 93)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,14,93.40,'qzpes',29,12.71,'izbsr')

statement ok
INSERT INTO tab0 VALUES(1,70,66.89,'kbicj',40,50.68,'rvsse')

statement ok
INSERT INTO tab0 VALUES(2,50,57.61,'perfu',75,99.25,'vplvj')

statement ok
INSERT INTO tab0 VALUES(3,25,95.54,'xgaue',27,22.32,'vkdxa')

statement ok
INSERT INTO tab0 VALUES(4,24,30.89,'jcqcd',78,15.80,'pnqku')

statement ok
INSERT INTO tab0 VALUES(5,97,56.68,'ndcur',62,18.27,'afeel')

statement ok
INSERT INTO tab0 VALUES(6,77,14.45,'ndfsn',25,28.58,'fhgyw')

statement ok
INSERT INTO tab0 VALUES(7,42,9.80,'cpgkb',94,13.51,'msvai')

statement ok
INSERT INTO tab0 VALUES(8,78,24.5,'apxwq',30,23.36,'qgnxk')

statement ok
INSERT INTO tab0 VALUES(9,43,28.90,'vhsan',1,100.59,'xbrxj')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC)

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,91,87.34,'xqpmf',26,27.65,'rqukb')

statement ok
INSERT INTO tab0 VALUES(1,79,82.62,'tyviw',77,62.28,'brbyp')

statement ok
INSERT INTO tab0 VALUES(2,96,32.60,'ygocx',80,83.44,'butmh')

statement ok
INSERT INTO tab0 VALUES(3,57,55.76,'zhncc',78,33.85,'kctgz')

statement ok
INSERT INTO tab0 VALUES(4,68,97.75,'wlvma',83,40.73,'icptm')

statement ok
INSERT INTO tab0 VALUES(5,88,45.0,'egzjd',42,28.40,'uhbpj')

statement ok
INSERT INTO tab0 VALUES(6,95,37.37,'ebbzv',0,26.93,'nvvzm')

statement ok
INSERT INTO tab0 VALUES(7,41,77.80,'bsvrs',61,92.73,'ccyls')

statement ok
INSERT INTO tab0 VALUES(8,21,47.86,'ybvfp',51,10.23,'ghuii')

statement ok
INSERT INTO tab0 VALUES(9,33,18.45,'crntu',81,16.44,'uggnb')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0,col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 > 96.82)

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

query I rowsort label-2270
SELECT pk FROM tab0 WHERE NOT ((col4 > 96.82))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col4 > 96.82)

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

query I rowsort label-2270
SELECT pk FROM tab1 WHERE NOT ((col4 > 96.82))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col4 > 96.82)

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

query I rowsort label-2270
SELECT pk FROM tab2 WHERE NOT ((col4 > 96.82))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col4 > 96.82)

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

query I rowsort label-2270
SELECT pk FROM tab3 WHERE NOT ((col4 > 96.82))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col4 > 96.82)

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

query I rowsort label-2270
SELECT pk FROM tab4 WHERE NOT ((col4 > 96.82))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 <= 80.41

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

query I rowsort label-2285
SELECT pk FROM tab0 WHERE NOT (col4 <= 80.41)
----
2
7

statement ok
DELETE FROM tab1 WHERE col4 <= 80.41

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 80.41
----

query I rowsort label-2285
SELECT pk FROM tab1 WHERE NOT (col4 <= 80.41)
----
2
7

statement ok
DELETE FROM tab2 WHERE col4 <= 80.41

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 80.41
----

query I rowsort label-2285
SELECT pk FROM tab2 WHERE NOT (col4 <= 80.41)
----
2
7

statement ok
DELETE FROM tab3 WHERE col4 <= 80.41

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 80.41
----

query I rowsort label-2285
SELECT pk FROM tab3 WHERE NOT (col4 <= 80.41)
----
2
7

statement ok
DELETE FROM tab4 WHERE col4 <= 80.41

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 80.41
----

query I rowsort label-2285
SELECT pk FROM tab4 WHERE NOT (col4 <= 80.41)
----
2
7

statement ok
DELETE FROM tab0 WHERE col3 >= 91

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 91
----

query I rowsort label-2300
SELECT pk FROM tab0 WHERE NOT (col3 >= 91)
----
2
7

statement ok
DELETE FROM tab1 WHERE col3 >= 91

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 91
----

query I rowsort label-2300
SELECT pk FROM tab1 WHERE NOT (col3 >= 91)
----
2
7

statement ok
DELETE FROM tab2 WHERE col3 >= 91

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 91
----

query I rowsort label-2300
SELECT pk FROM tab2 WHERE NOT (col3 >= 91)
----
2
7

statement ok
DELETE FROM tab3 WHERE col3 >= 91

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 91
----

query I rowsort label-2300
SELECT pk FROM tab3 WHERE NOT (col3 >= 91)
----
2
7

statement ok
DELETE FROM tab4 WHERE col3 >= 91

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 91
----

query I rowsort label-2300
SELECT pk FROM tab4 WHERE NOT (col3 >= 91)
----
2
7

statement ok
DELETE FROM tab0 WHERE (col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41)))
----

query I rowsort label-2315
SELECT pk FROM tab0 WHERE NOT ((col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41))))
----
7

statement ok
DELETE FROM tab1 WHERE (col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41)))
----

query I rowsort label-2315
SELECT pk FROM tab1 WHERE NOT ((col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41))))
----
7

statement ok
DELETE FROM tab2 WHERE (col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41)))
----

query I rowsort label-2315
SELECT pk FROM tab2 WHERE NOT ((col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41))))
----
7

statement ok
DELETE FROM tab3 WHERE (col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41)))
----

query I rowsort label-2315
SELECT pk FROM tab3 WHERE NOT ((col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41))))
----
7

statement ok
DELETE FROM tab4 WHERE (col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41)))
----

query I rowsort label-2315
SELECT pk FROM tab4 WHERE NOT ((col0 >= 40 AND col1 < 69.45 OR (col1 < 54.82 AND col0 >= 12) AND col4 IS NULL AND ((col0 > 41))))
----
7

statement ok
DELETE FROM tab0 WHERE (col0 = 98) OR col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 98) OR col3 <= 96
----

query I rowsort label-2330
SELECT pk FROM tab0 WHERE NOT ((col0 = 98) OR col3 <= 96)
----

statement ok
DELETE FROM tab1 WHERE (col0 = 98) OR col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 98) OR col3 <= 96
----

query I rowsort label-2330
SELECT pk FROM tab1 WHERE NOT ((col0 = 98) OR col3 <= 96)
----

statement ok
DELETE FROM tab2 WHERE (col0 = 98) OR col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 98) OR col3 <= 96
----

query I rowsort label-2330
SELECT pk FROM tab2 WHERE NOT ((col0 = 98) OR col3 <= 96)
----

statement ok
DELETE FROM tab3 WHERE (col0 = 98) OR col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 98) OR col3 <= 96
----

query I rowsort label-2330
SELECT pk FROM tab3 WHERE NOT ((col0 = 98) OR col3 <= 96)
----

statement ok
DELETE FROM tab4 WHERE (col0 = 98) OR col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 98) OR col3 <= 96
----

query I rowsort label-2330
SELECT pk FROM tab4 WHERE NOT ((col0 = 98) OR col3 <= 96)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,66,16.21,'aimjr',18,91.4,'dvmge')

statement ok
INSERT INTO tab0 VALUES(1,39,11.15,'dgupt',14,21.10,'psxcm')

statement ok
INSERT INTO tab0 VALUES(2,35,60.33,'mgiep',25,85.27,'whrpi')

statement ok
INSERT INTO tab0 VALUES(3,73,67.65,'fzhhk',87,40.87,'ywtjc')

statement ok
INSERT INTO tab0 VALUES(4,47,20.51,'cmric',90,83.0,'icmxx')

statement ok
INSERT INTO tab0 VALUES(5,84,4.39,'ounvq',39,64.22,'ijwxx')

statement ok
INSERT INTO tab0 VALUES(6,8,12.54,'uqxxz',17,97.10,'cokcm')

statement ok
INSERT INTO tab0 VALUES(7,2,58.55,'xwfah',50,76.91,'unpse')

statement ok
INSERT INTO tab0 VALUES(8,72,91.1,'bjglb',65,81.20,'pxugy')

statement ok
INSERT INTO tab0 VALUES(9,9,5.10,'pjeag',56,99.46,'yqjah')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4,col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 BETWEEN 27 AND 6

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 BETWEEN 27 AND 6
----

query I rowsort label-2345
SELECT pk FROM tab0 WHERE NOT (col0 BETWEEN 27 AND 6)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 BETWEEN 27 AND 6

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 BETWEEN 27 AND 6
----

query I rowsort label-2345
SELECT pk FROM tab1 WHERE NOT (col0 BETWEEN 27 AND 6)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 BETWEEN 27 AND 6

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 BETWEEN 27 AND 6
----

query I rowsort label-2345
SELECT pk FROM tab2 WHERE NOT (col0 BETWEEN 27 AND 6)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 BETWEEN 27 AND 6

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 BETWEEN 27 AND 6
----

query I rowsort label-2345
SELECT pk FROM tab3 WHERE NOT (col0 BETWEEN 27 AND 6)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 BETWEEN 27 AND 6

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 BETWEEN 27 AND 6
----

query I rowsort label-2345
SELECT pk FROM tab4 WHERE NOT (col0 BETWEEN 27 AND 6)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 < 73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 73
----

query I rowsort label-2360
SELECT pk FROM tab0 WHERE NOT (col0 < 73)
----
3
5

statement ok
DELETE FROM tab1 WHERE col0 < 73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 73
----

query I rowsort label-2360
SELECT pk FROM tab1 WHERE NOT (col0 < 73)
----
3
5

statement ok
DELETE FROM tab2 WHERE col0 < 73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 73
----

query I rowsort label-2360
SELECT pk FROM tab2 WHERE NOT (col0 < 73)
----
3
5

statement ok
DELETE FROM tab3 WHERE col0 < 73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 73
----

query I rowsort label-2360
SELECT pk FROM tab3 WHERE NOT (col0 < 73)
----
3
5

statement ok
DELETE FROM tab4 WHERE col0 < 73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 73
----

query I rowsort label-2360
SELECT pk FROM tab4 WHERE NOT (col0 < 73)
----
3
5

statement ok
DELETE FROM tab0 WHERE col0 <= 34

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 34
----

query I rowsort label-2375
SELECT pk FROM tab0 WHERE NOT (col0 <= 34)
----
3
5

statement ok
DELETE FROM tab1 WHERE col0 <= 34

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 34
----

query I rowsort label-2375
SELECT pk FROM tab1 WHERE NOT (col0 <= 34)
----
3
5

statement ok
DELETE FROM tab2 WHERE col0 <= 34

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 34
----

query I rowsort label-2375
SELECT pk FROM tab2 WHERE NOT (col0 <= 34)
----
3
5

statement ok
DELETE FROM tab3 WHERE col0 <= 34

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 34
----

query I rowsort label-2375
SELECT pk FROM tab3 WHERE NOT (col0 <= 34)
----
3
5

statement ok
DELETE FROM tab4 WHERE col0 <= 34

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 34
----

query I rowsort label-2375
SELECT pk FROM tab4 WHERE NOT (col0 <= 34)
----
3
5

statement ok
DELETE FROM tab0 WHERE col3 >= 88

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 88
----

query I rowsort label-2390
SELECT pk FROM tab0 WHERE NOT (col3 >= 88)
----
3
5

statement ok
DELETE FROM tab1 WHERE col3 >= 88

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 88
----

query I rowsort label-2390
SELECT pk FROM tab1 WHERE NOT (col3 >= 88)
----
3
5

statement ok
DELETE FROM tab2 WHERE col3 >= 88

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 88
----

query I rowsort label-2390
SELECT pk FROM tab2 WHERE NOT (col3 >= 88)
----
3
5

statement ok
DELETE FROM tab3 WHERE col3 >= 88

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 88
----

query I rowsort label-2390
SELECT pk FROM tab3 WHERE NOT (col3 >= 88)
----
3
5

statement ok
DELETE FROM tab4 WHERE col3 >= 88

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 88
----

query I rowsort label-2390
SELECT pk FROM tab4 WHERE NOT (col3 >= 88)
----
3
5

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,29,69.88,'doiqh',13,12.22,'vrskg')

statement ok
INSERT INTO tab0 VALUES(1,99,39.96,'qxitb',34,65.95,'egyoy')

statement ok
INSERT INTO tab0 VALUES(2,46,28.47,'iwomm',31,17.43,'rwzps')

statement ok
INSERT INTO tab0 VALUES(3,13,9.17,'eqziy',53,22.94,'rqhko')

statement ok
INSERT INTO tab0 VALUES(4,34,82.92,'whuds',97,95.95,'czxjj')

statement ok
INSERT INTO tab0 VALUES(5,47,41.83,'kaagm',17,73.23,'wcajd')

statement ok
INSERT INTO tab0 VALUES(6,2,35.33,'sfcrz',40,82.94,'vtnau')

statement ok
INSERT INTO tab0 VALUES(7,78,29.36,'inpev',76,96.80,'duutv')

statement ok
INSERT INTO tab0 VALUES(8,95,70.45,'wzujv',32,97.18,'vwcxy')

statement ok
INSERT INTO tab0 VALUES(9,24,46.86,'xigxv',20,41.26,'uwnzn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC,col4 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1,col0)

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 UNIQUE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IS NULL
----

query I rowsort label-2405
SELECT pk FROM tab0 WHERE NOT (col4 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IS NULL
----

query I rowsort label-2405
SELECT pk FROM tab1 WHERE NOT (col4 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IS NULL
----

query I rowsort label-2405
SELECT pk FROM tab2 WHERE NOT (col4 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IS NULL
----

query I rowsort label-2405
SELECT pk FROM tab3 WHERE NOT (col4 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IS NULL
----

query I rowsort label-2405
SELECT pk FROM tab4 WHERE NOT (col4 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52)
----

query I rowsort label-2420
SELECT pk FROM tab0 WHERE NOT ((col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52))
----

statement ok
DELETE FROM tab1 WHERE (col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52)
----

query I rowsort label-2420
SELECT pk FROM tab1 WHERE NOT ((col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52))
----

statement ok
DELETE FROM tab2 WHERE (col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52)
----

query I rowsort label-2420
SELECT pk FROM tab2 WHERE NOT ((col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52))
----

statement ok
DELETE FROM tab3 WHERE (col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52)
----

query I rowsort label-2420
SELECT pk FROM tab3 WHERE NOT ((col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52))
----

statement ok
DELETE FROM tab4 WHERE (col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52)
----

query I rowsort label-2420
SELECT pk FROM tab4 WHERE NOT ((col3 <= 63 OR col0 IN (62,40,65,16) AND col0 <= 2 AND (((col1 < 26.77) AND col3 IN (44,22,95,43) AND ((col3 > 17)) AND ((col0 > 38)) AND col0 >= 74)) OR (col3 < 69 OR (((((((col0 >= 76 OR (col1 > 50.32)) AND (col0 <= 58) OR col0 BETWEEN 47 AND 55 OR ((col4 > 58.85)) AND (col0 > 36) AND col4 > 67.58 OR ((col4 > 16.40 AND col3 <= 59))) OR col3 <= 11) AND (((((col0 > 85))))) AND (col4 <= 5.4) OR col4 IS NULL))) AND (((col0 < 67 OR col1 > 56.82))) AND ((col1 <= 20.92 AND col3 IS NULL AND col4 > 76.2 AND ((((((col4 <= 87.98))) OR (((col0 > 71))) AND col0 IN (93,13,75)) AND col3 <= 43 AND col1 >= 92.78) OR col0 < 1 OR col3 >= 21 AND col0 >= 47 OR col0 > 18 AND col4 IS NULL OR (col3 > 64) OR col4 > 26.24 OR ((((col1 = 84.63 OR col3 < 37 AND col0 >= 26))) AND col1 = 7.2 OR col0 >= 21 AND col4 IN (98.72,91.35,84.27,42.47)) AND col4 > 49.41 AND ((col3 = 22)) OR col0 < 58 AND ((col3 IS NULL)) OR col0 > 84) AND col3 IN (12,99,85)) AND col0 > 6 AND col3 < 32) OR col0 > 34) OR (col0 > 68) OR (((col3 >= 14))) AND ((col0 > 38))) OR col3 > 52))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,2,62.35,'sbipo',13,40.39,'gfssc')

statement ok
INSERT INTO tab0 VALUES(1,21,58.41,'wyfxs',1,14.86,'dbhnl')

statement ok
INSERT INTO tab0 VALUES(2,72,81.55,'rwxuk',93,30.97,'adrba')

statement ok
INSERT INTO tab0 VALUES(3,65,15.77,'mikke',51,18.34,'htkbo')

statement ok
INSERT INTO tab0 VALUES(4,4,63.52,'kzkqa',11,82.40,'dhdlh')

statement ok
INSERT INTO tab0 VALUES(5,49,57.33,'fgkbl',50,12.96,'nozxa')

statement ok
INSERT INTO tab0 VALUES(6,82,75.46,'ovxep',42,98.85,'kpooh')

statement ok
INSERT INTO tab0 VALUES(7,62,47.46,'fklim',25,43.53,'sdfoo')

statement ok
INSERT INTO tab0 VALUES(8,96,76.87,'yhwfz',63,73.74,'slzse')

statement ok
INSERT INTO tab0 VALUES(9,94,40.78,'wzflz',5,51.11,'xsvfr')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col4 DESC,col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 >= 85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 85
----

query I rowsort label-2435
SELECT pk FROM tab0 WHERE NOT (col0 >= 85)
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 >= 85

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 85
----

query I rowsort label-2435
SELECT pk FROM tab1 WHERE NOT (col0 >= 85)
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 >= 85

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 85
----

query I rowsort label-2435
SELECT pk FROM tab2 WHERE NOT (col0 >= 85)
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 >= 85

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 85
----

query I rowsort label-2435
SELECT pk FROM tab3 WHERE NOT (col0 >= 85)
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 >= 85

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 85
----

query I rowsort label-2435
SELECT pk FROM tab4 WHERE NOT (col0 >= 85)
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab0 WHERE col0 < 34

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 34
----

query I rowsort label-2450
SELECT pk FROM tab0 WHERE NOT (col0 < 34)
----
2
3
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 < 34

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 34
----

query I rowsort label-2450
SELECT pk FROM tab1 WHERE NOT (col0 < 34)
----
2
3
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 < 34

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 34
----

query I rowsort label-2450
SELECT pk FROM tab2 WHERE NOT (col0 < 34)
----
2
3
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 < 34

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 34
----

query I rowsort label-2450
SELECT pk FROM tab3 WHERE NOT (col0 < 34)
----
2
3
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 < 34

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 34
----

query I rowsort label-2450
SELECT pk FROM tab4 WHERE NOT (col0 < 34)
----
2
3
5
6
7

statement ok
DELETE FROM tab0 WHERE col0 > 91

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 91
----

query I rowsort label-2465
SELECT pk FROM tab0 WHERE NOT (col0 > 91)
----
2
3
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 > 91

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 91
----

query I rowsort label-2465
SELECT pk FROM tab1 WHERE NOT (col0 > 91)
----
2
3
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 > 91

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 91
----

query I rowsort label-2465
SELECT pk FROM tab2 WHERE NOT (col0 > 91)
----
2
3
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 > 91

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 91
----

query I rowsort label-2465
SELECT pk FROM tab3 WHERE NOT (col0 > 91)
----
2
3
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 > 91

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 91
----

query I rowsort label-2465
SELECT pk FROM tab4 WHERE NOT (col0 > 91)
----
2
3
5
6
7

statement ok
DELETE FROM tab0 WHERE (col1 = 73.17)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 73.17)
----

query I rowsort label-2480
SELECT pk FROM tab0 WHERE NOT ((col1 = 73.17))
----
2
3
5
6
7

statement ok
DELETE FROM tab1 WHERE (col1 = 73.17)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 73.17)
----

query I rowsort label-2480
SELECT pk FROM tab1 WHERE NOT ((col1 = 73.17))
----
2
3
5
6
7

statement ok
DELETE FROM tab2 WHERE (col1 = 73.17)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 73.17)
----

query I rowsort label-2480
SELECT pk FROM tab2 WHERE NOT ((col1 = 73.17))
----
2
3
5
6
7

statement ok
DELETE FROM tab3 WHERE (col1 = 73.17)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 73.17)
----

query I rowsort label-2480
SELECT pk FROM tab3 WHERE NOT ((col1 = 73.17))
----
2
3
5
6
7

statement ok
DELETE FROM tab4 WHERE (col1 = 73.17)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 73.17)
----

query I rowsort label-2480
SELECT pk FROM tab4 WHERE NOT ((col1 = 73.17))
----
2
3
5
6
7

statement ok
DELETE FROM tab0 WHERE col0 >= 27 AND col4 >= 4.58

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 27 AND col4 >= 4.58
----

query I rowsort label-2495
SELECT pk FROM tab0 WHERE NOT (col0 >= 27 AND col4 >= 4.58)
----

statement ok
DELETE FROM tab1 WHERE col0 >= 27 AND col4 >= 4.58

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 27 AND col4 >= 4.58
----

query I rowsort label-2495
SELECT pk FROM tab1 WHERE NOT (col0 >= 27 AND col4 >= 4.58)
----

statement ok
DELETE FROM tab2 WHERE col0 >= 27 AND col4 >= 4.58

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 27 AND col4 >= 4.58
----

query I rowsort label-2495
SELECT pk FROM tab2 WHERE NOT (col0 >= 27 AND col4 >= 4.58)
----

statement ok
DELETE FROM tab3 WHERE col0 >= 27 AND col4 >= 4.58

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 27 AND col4 >= 4.58
----

query I rowsort label-2495
SELECT pk FROM tab3 WHERE NOT (col0 >= 27 AND col4 >= 4.58)
----

statement ok
DELETE FROM tab4 WHERE col0 >= 27 AND col4 >= 4.58

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 27 AND col4 >= 4.58
----

query I rowsort label-2495
SELECT pk FROM tab4 WHERE NOT (col0 >= 27 AND col4 >= 4.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,57,66.18,'vzrbs',38,2.26,'exfpz')

statement ok
INSERT INTO tab0 VALUES(1,70,41.38,'frdwm',33,81.11,'pwzio')

statement ok
INSERT INTO tab0 VALUES(2,61,39.70,'ipgtw',89,72.24,'tnskt')

statement ok
INSERT INTO tab0 VALUES(3,83,26.31,'edugn',11,89.37,'zckka')

statement ok
INSERT INTO tab0 VALUES(4,95,57.74,'qynsi',13,17.16,'whail')

statement ok
INSERT INTO tab0 VALUES(5,72,36.4,'ddvoe',34,70.30,'wfwrg')

statement ok
INSERT INTO tab0 VALUES(6,16,79.85,'hlkgk',45,57.67,'wqkvq')

statement ok
INSERT INTO tab0 VALUES(7,74,78.57,'jfysq',68,44.48,'udvxg')

statement ok
INSERT INTO tab0 VALUES(8,45,62.47,'frmcf',85,16.34,'hbqyv')

statement ok
INSERT INTO tab0 VALUES(9,96,63.82,'lakex',48,38.43,'jwjev')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 > 71.55)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 71.55)
----

query I rowsort label-2510
SELECT pk FROM tab0 WHERE NOT ((col4 > 71.55))
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col4 > 71.55)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 71.55)
----

query I rowsort label-2510
SELECT pk FROM tab1 WHERE NOT ((col4 > 71.55))
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col4 > 71.55)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 71.55)
----

query I rowsort label-2510
SELECT pk FROM tab2 WHERE NOT ((col4 > 71.55))
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col4 > 71.55)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 71.55)
----

query I rowsort label-2510
SELECT pk FROM tab3 WHERE NOT ((col4 > 71.55))
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col4 > 71.55)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 71.55)
----

query I rowsort label-2510
SELECT pk FROM tab4 WHERE NOT ((col4 > 71.55))
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE ((col3 >= 33)) AND col1 <= 16.61

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 33)) AND col1 <= 16.61
----

query I rowsort label-2525
SELECT pk FROM tab0 WHERE NOT (((col3 >= 33)) AND col1 <= 16.61)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE ((col3 >= 33)) AND col1 <= 16.61

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 33)) AND col1 <= 16.61
----

query I rowsort label-2525
SELECT pk FROM tab1 WHERE NOT (((col3 >= 33)) AND col1 <= 16.61)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE ((col3 >= 33)) AND col1 <= 16.61

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 33)) AND col1 <= 16.61
----

query I rowsort label-2525
SELECT pk FROM tab2 WHERE NOT (((col3 >= 33)) AND col1 <= 16.61)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE ((col3 >= 33)) AND col1 <= 16.61

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 33)) AND col1 <= 16.61
----

query I rowsort label-2525
SELECT pk FROM tab3 WHERE NOT (((col3 >= 33)) AND col1 <= 16.61)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE ((col3 >= 33)) AND col1 <= 16.61

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 33)) AND col1 <= 16.61
----

query I rowsort label-2525
SELECT pk FROM tab4 WHERE NOT (((col3 >= 33)) AND col1 <= 16.61)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97
----

query I rowsort label-2540
SELECT pk FROM tab0 WHERE NOT (col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97
----

query I rowsort label-2540
SELECT pk FROM tab1 WHERE NOT (col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97
----

query I rowsort label-2540
SELECT pk FROM tab2 WHERE NOT (col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97
----

query I rowsort label-2540
SELECT pk FROM tab3 WHERE NOT (col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97
----

query I rowsort label-2540
SELECT pk FROM tab4 WHERE NOT (col3 > 75 AND (col3 IS NULL) OR ((col1 <= 88.93) AND col1 = 82.83) AND col0 = 97)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE ((col4 > 40.42) OR col3 < 44) AND col3 >= 92

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 > 40.42) OR col3 < 44) AND col3 >= 92
----

query I rowsort label-2555
SELECT pk FROM tab0 WHERE NOT (((col4 > 40.42) OR col3 < 44) AND col3 >= 92)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE ((col4 > 40.42) OR col3 < 44) AND col3 >= 92

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 > 40.42) OR col3 < 44) AND col3 >= 92
----

query I rowsort label-2555
SELECT pk FROM tab1 WHERE NOT (((col4 > 40.42) OR col3 < 44) AND col3 >= 92)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE ((col4 > 40.42) OR col3 < 44) AND col3 >= 92

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 > 40.42) OR col3 < 44) AND col3 >= 92
----

query I rowsort label-2555
SELECT pk FROM tab2 WHERE NOT (((col4 > 40.42) OR col3 < 44) AND col3 >= 92)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE ((col4 > 40.42) OR col3 < 44) AND col3 >= 92

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 > 40.42) OR col3 < 44) AND col3 >= 92
----

query I rowsort label-2555
SELECT pk FROM tab3 WHERE NOT (((col4 > 40.42) OR col3 < 44) AND col3 >= 92)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE ((col4 > 40.42) OR col3 < 44) AND col3 >= 92

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 > 40.42) OR col3 < 44) AND col3 >= 92
----

query I rowsort label-2555
SELECT pk FROM tab4 WHERE NOT (((col4 > 40.42) OR col3 < 44) AND col3 >= 92)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 > 69.45

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 69.45
----

query I rowsort label-2570
SELECT pk FROM tab0 WHERE NOT (col4 > 69.45)
----
0
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col4 > 69.45

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 69.45
----

query I rowsort label-2570
SELECT pk FROM tab1 WHERE NOT (col4 > 69.45)
----
0
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col4 > 69.45

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 69.45
----

query I rowsort label-2570
SELECT pk FROM tab2 WHERE NOT (col4 > 69.45)
----
0
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col4 > 69.45

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 69.45
----

query I rowsort label-2570
SELECT pk FROM tab3 WHERE NOT (col4 > 69.45)
----
0
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col4 > 69.45

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 69.45
----

query I rowsort label-2570
SELECT pk FROM tab4 WHERE NOT (col4 > 69.45)
----
0
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 >= 42 AND (col0 <= 47) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 42 AND (col0 <= 47) OR col3 IS NULL
----

query I rowsort label-2585
SELECT pk FROM tab0 WHERE NOT (col3 >= 42 AND (col0 <= 47) OR col3 IS NULL)
----
0
4
7
9

statement ok
DELETE FROM tab1 WHERE col3 >= 42 AND (col0 <= 47) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 42 AND (col0 <= 47) OR col3 IS NULL
----

query I rowsort label-2585
SELECT pk FROM tab1 WHERE NOT (col3 >= 42 AND (col0 <= 47) OR col3 IS NULL)
----
0
4
7
9

statement ok
DELETE FROM tab2 WHERE col3 >= 42 AND (col0 <= 47) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 42 AND (col0 <= 47) OR col3 IS NULL
----

query I rowsort label-2585
SELECT pk FROM tab2 WHERE NOT (col3 >= 42 AND (col0 <= 47) OR col3 IS NULL)
----
0
4
7
9

statement ok
DELETE FROM tab3 WHERE col3 >= 42 AND (col0 <= 47) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 42 AND (col0 <= 47) OR col3 IS NULL
----

query I rowsort label-2585
SELECT pk FROM tab3 WHERE NOT (col3 >= 42 AND (col0 <= 47) OR col3 IS NULL)
----
0
4
7
9

statement ok
DELETE FROM tab4 WHERE col3 >= 42 AND (col0 <= 47) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 42 AND (col0 <= 47) OR col3 IS NULL
----

query I rowsort label-2585
SELECT pk FROM tab4 WHERE NOT (col3 >= 42 AND (col0 <= 47) OR col3 IS NULL)
----
0
4
7
9

statement ok
DELETE FROM tab0 WHERE col3 < 63

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 63
----

query I rowsort label-2600
SELECT pk FROM tab0 WHERE NOT (col3 < 63)
----
7

statement ok
DELETE FROM tab1 WHERE col3 < 63

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 63
----

query I rowsort label-2600
SELECT pk FROM tab1 WHERE NOT (col3 < 63)
----
7

statement ok
DELETE FROM tab2 WHERE col3 < 63

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 63
----

query I rowsort label-2600
SELECT pk FROM tab2 WHERE NOT (col3 < 63)
----
7

statement ok
DELETE FROM tab3 WHERE col3 < 63

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 63
----

query I rowsort label-2600
SELECT pk FROM tab3 WHERE NOT (col3 < 63)
----
7

statement ok
DELETE FROM tab4 WHERE col3 < 63

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 63
----

query I rowsort label-2600
SELECT pk FROM tab4 WHERE NOT (col3 < 63)
----
7

statement ok
DELETE FROM tab0 WHERE col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL))
----

query I rowsort label-2615
SELECT pk FROM tab0 WHERE NOT (col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL)))
----
7

statement ok
DELETE FROM tab1 WHERE col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL))
----

query I rowsort label-2615
SELECT pk FROM tab1 WHERE NOT (col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL)))
----
7

statement ok
DELETE FROM tab2 WHERE col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL))
----

query I rowsort label-2615
SELECT pk FROM tab2 WHERE NOT (col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL)))
----
7

statement ok
DELETE FROM tab3 WHERE col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL))
----

query I rowsort label-2615
SELECT pk FROM tab3 WHERE NOT (col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL)))
----
7

statement ok
DELETE FROM tab4 WHERE col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL))
----

query I rowsort label-2615
SELECT pk FROM tab4 WHERE NOT (col1 >= 58.48 AND (col1 IS NULL OR col3 >= 78 AND col0 < 69 AND ((col4 > 4.83)) OR (col0 IS NULL) AND col3 > 91 OR (col3 = 49) AND (col0 > 9) OR col3 < 63 AND (col3 IS NULL)))
----
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,4,51.82,'tynuc',45,4.76,'zkere')

statement ok
INSERT INTO tab0 VALUES(1,56,17.86,'jklvs',73,64.65,'hedyr')

statement ok
INSERT INTO tab0 VALUES(2,14,75.49,'spzfn',81,46.46,'qhutc')

statement ok
INSERT INTO tab0 VALUES(3,71,3.36,'vtnhq',99,27.91,'qwtuu')

statement ok
INSERT INTO tab0 VALUES(4,34,52.96,'byegy',48,12.92,'nrzvr')

statement ok
INSERT INTO tab0 VALUES(5,79,59.27,'lmxsd',1,44.20,'cqtlr')

statement ok
INSERT INTO tab0 VALUES(6,17,54.38,'ovrgu',49,19.87,'uoalr')

statement ok
INSERT INTO tab0 VALUES(7,57,77.12,'vzqcq',58,0.13,'bohpt')

statement ok
INSERT INTO tab0 VALUES(8,67,90.69,'qfcso',39,26.81,'eyaid')

statement ok
INSERT INTO tab0 VALUES(9,37,87.25,'hquou',2,28.9,'prndo')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col4 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3 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 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 > 49.91 OR col3 < 50

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 49.91 OR col3 < 50
----

query I rowsort label-2630
SELECT pk FROM tab0 WHERE NOT (col1 > 49.91 OR col3 < 50)
----
1
3

statement ok
DELETE FROM tab1 WHERE col1 > 49.91 OR col3 < 50

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 49.91 OR col3 < 50
----

query I rowsort label-2630
SELECT pk FROM tab1 WHERE NOT (col1 > 49.91 OR col3 < 50)
----
1
3

statement ok
DELETE FROM tab2 WHERE col1 > 49.91 OR col3 < 50

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 49.91 OR col3 < 50
----

query I rowsort label-2630
SELECT pk FROM tab2 WHERE NOT (col1 > 49.91 OR col3 < 50)
----
1
3

statement ok
DELETE FROM tab3 WHERE col1 > 49.91 OR col3 < 50

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 49.91 OR col3 < 50
----

query I rowsort label-2630
SELECT pk FROM tab3 WHERE NOT (col1 > 49.91 OR col3 < 50)
----
1
3

statement ok
DELETE FROM tab4 WHERE col1 > 49.91 OR col3 < 50

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 49.91 OR col3 < 50
----

query I rowsort label-2630
SELECT pk FROM tab4 WHERE NOT (col1 > 49.91 OR col3 < 50)
----
1
3

statement ok
DELETE FROM tab0 WHERE col3 >= 21 OR (col3 > 97)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 21 OR (col3 > 97)
----

query I rowsort label-2645
SELECT pk FROM tab0 WHERE NOT (col3 >= 21 OR (col3 > 97))
----

statement ok
DELETE FROM tab1 WHERE col3 >= 21 OR (col3 > 97)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 21 OR (col3 > 97)
----

query I rowsort label-2645
SELECT pk FROM tab1 WHERE NOT (col3 >= 21 OR (col3 > 97))
----

statement ok
DELETE FROM tab2 WHERE col3 >= 21 OR (col3 > 97)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 21 OR (col3 > 97)
----

query I rowsort label-2645
SELECT pk FROM tab2 WHERE NOT (col3 >= 21 OR (col3 > 97))
----

statement ok
DELETE FROM tab3 WHERE col3 >= 21 OR (col3 > 97)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 21 OR (col3 > 97)
----

query I rowsort label-2645
SELECT pk FROM tab3 WHERE NOT (col3 >= 21 OR (col3 > 97))
----

statement ok
DELETE FROM tab4 WHERE col3 >= 21 OR (col3 > 97)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 21 OR (col3 > 97)
----

query I rowsort label-2645
SELECT pk FROM tab4 WHERE NOT (col3 >= 21 OR (col3 > 97))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,33,56.74,'pkwmz',57,81.58,'djfxy')

statement ok
INSERT INTO tab0 VALUES(1,18,69.78,'wlcsk',67,74.75,'pfapf')

statement ok
INSERT INTO tab0 VALUES(2,97,76.19,'ywmjn',32,32.64,'msxuw')

statement ok
INSERT INTO tab0 VALUES(3,71,30.82,'aqykp',0,61.44,'zxtlf')

statement ok
INSERT INTO tab0 VALUES(4,64,7.74,'tpfwx',1,28.60,'mcoqk')

statement ok
INSERT INTO tab0 VALUES(5,39,77.31,'tldwl',58,16.95,'idxnc')

statement ok
INSERT INTO tab0 VALUES(6,6,57.36,'jwprn',96,96.83,'glpoe')

statement ok
INSERT INTO tab0 VALUES(7,40,82.29,'duaah',64,82.23,'ccgtd')

statement ok
INSERT INTO tab0 VALUES(8,86,63.19,'qiacq',39,95.88,'kdbmz')

statement ok
INSERT INTO tab0 VALUES(9,80,49.97,'vawpm',41,29.41,'ckhwo')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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_2 ON tab2 (col0 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3,col0)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0 DESC,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 >= 57

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 57
----

query I rowsort label-2660
SELECT pk FROM tab0 WHERE NOT (col0 >= 57)
----
0
1
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 >= 57

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 57
----

query I rowsort label-2660
SELECT pk FROM tab1 WHERE NOT (col0 >= 57)
----
0
1
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 >= 57

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 57
----

query I rowsort label-2660
SELECT pk FROM tab2 WHERE NOT (col0 >= 57)
----
0
1
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 >= 57

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 57
----

query I rowsort label-2660
SELECT pk FROM tab3 WHERE NOT (col0 >= 57)
----
0
1
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 >= 57

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 57
----

query I rowsort label-2660
SELECT pk FROM tab4 WHERE NOT (col0 >= 57)
----
0
1
5
6
7

statement ok
DELETE FROM tab0 WHERE (((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52)))
----

query I rowsort label-2675
SELECT pk FROM tab0 WHERE NOT ((((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52))))
----

statement ok
DELETE FROM tab1 WHERE (((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52)))
----

query I rowsort label-2675
SELECT pk FROM tab1 WHERE NOT ((((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52))))
----

statement ok
DELETE FROM tab2 WHERE (((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52)))
----

query I rowsort label-2675
SELECT pk FROM tab2 WHERE NOT ((((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52))))
----

statement ok
DELETE FROM tab3 WHERE (((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52)))
----

query I rowsort label-2675
SELECT pk FROM tab3 WHERE NOT ((((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52))))
----

statement ok
DELETE FROM tab4 WHERE (((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52)))
----

query I rowsort label-2675
SELECT pk FROM tab4 WHERE NOT ((((((((col0 IN (64,91))) OR col4 <= 59.76)) AND col3 < 29 AND (col0 >= 83) AND (col0 > 50) OR (col3 <= 75 OR ((col3 > 3 AND col0 > 68)) AND col3 > 19)))) OR (col0 < 35) AND (((col0 <= 52))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,97,95.14,'jgnyx',84,88.48,'uettj')

statement ok
INSERT INTO tab0 VALUES(1,44,64.86,'rqppe',38,25.75,'xaagd')

statement ok
INSERT INTO tab0 VALUES(2,86,49.49,'ljsid',90,45.65,'fhfcv')

statement ok
INSERT INTO tab0 VALUES(3,5,12.13,'toest',85,22.86,'bkmjb')

statement ok
INSERT INTO tab0 VALUES(4,82,6.9,'wiavr',21,55.35,'rnbsr')

statement ok
INSERT INTO tab0 VALUES(5,18,38.3,'dzxjm',75,26.52,'gjykm')

statement ok
INSERT INTO tab0 VALUES(6,37,34.10,'iekvo',3,69.30,'gtprv')

statement ok
INSERT INTO tab0 VALUES(7,6,99.5,'oyynp',57,27.29,'ehlnf')

statement ok
INSERT INTO tab0 VALUES(8,43,81.35,'qxcwh',99,17.87,'cwnfx')

statement ok
INSERT INTO tab0 VALUES(9,32,32.35,'vkpjx',14,93.36,'kngao')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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_2 ON tab2 (col4 DESC,col3)

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 UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1,col3 DESC,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 > 9)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 9)
----

query I rowsort label-2690
SELECT pk FROM tab0 WHERE NOT ((col3 > 9))
----
6

statement ok
DELETE FROM tab1 WHERE (col3 > 9)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 9)
----

query I rowsort label-2690
SELECT pk FROM tab1 WHERE NOT ((col3 > 9))
----
6

statement ok
DELETE FROM tab2 WHERE (col3 > 9)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 9)
----

query I rowsort label-2690
SELECT pk FROM tab2 WHERE NOT ((col3 > 9))
----
6

statement ok
DELETE FROM tab3 WHERE (col3 > 9)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 9)
----

query I rowsort label-2690
SELECT pk FROM tab3 WHERE NOT ((col3 > 9))
----
6

statement ok
DELETE FROM tab4 WHERE (col3 > 9)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 9)
----

query I rowsort label-2690
SELECT pk FROM tab4 WHERE NOT ((col3 > 9))
----
6

statement ok
DELETE FROM tab0 WHERE col3 <= 58

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 58
----

query I rowsort label-2705
SELECT pk FROM tab0 WHERE NOT (col3 <= 58)
----

statement ok
DELETE FROM tab1 WHERE col3 <= 58

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 58
----

query I rowsort label-2705
SELECT pk FROM tab1 WHERE NOT (col3 <= 58)
----

statement ok
DELETE FROM tab2 WHERE col3 <= 58

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 58
----

query I rowsort label-2705
SELECT pk FROM tab2 WHERE NOT (col3 <= 58)
----

statement ok
DELETE FROM tab3 WHERE col3 <= 58

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 58
----

query I rowsort label-2705
SELECT pk FROM tab3 WHERE NOT (col3 <= 58)
----

statement ok
DELETE FROM tab4 WHERE col3 <= 58

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 58
----

query I rowsort label-2705
SELECT pk FROM tab4 WHERE NOT (col3 <= 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,72,88.98,'ospsd',26,11.1,'goaps')

statement ok
INSERT INTO tab0 VALUES(1,54,17.18,'umgnm',34,10.3,'pkhjx')

statement ok
INSERT INTO tab0 VALUES(2,14,51.49,'kgtcf',91,24.0,'fnblk')

statement ok
INSERT INTO tab0 VALUES(3,48,11.16,'apvsh',59,81.6,'zlgkl')

statement ok
INSERT INTO tab0 VALUES(4,57,94.23,'rfvqo',61,12.20,'givvv')

statement ok
INSERT INTO tab0 VALUES(5,65,29.68,'wcikh',97,13.39,'iffro')

statement ok
INSERT INTO tab0 VALUES(6,30,48.49,'upywq',62,14.68,'jadgn')

statement ok
INSERT INTO tab0 VALUES(7,56,42.85,'gmrin',48,31.39,'ruejb')

statement ok
INSERT INTO tab0 VALUES(8,6,26.20,'dhrre',64,44.17,'qsglq')

statement ok
INSERT INTO tab0 VALUES(9,13,0.43,'ddxkr',49,45.14,'dfmtj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC,col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3,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 UNIQUE INDEX idx_tab3_0 ON tab3 (col4,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1,col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 > 92)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 92)
----

query I rowsort label-2720
SELECT pk FROM tab0 WHERE NOT ((col0 > 92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 > 92)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 92)
----

query I rowsort label-2720
SELECT pk FROM tab1 WHERE NOT ((col0 > 92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 > 92)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 92)
----

query I rowsort label-2720
SELECT pk FROM tab2 WHERE NOT ((col0 > 92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 > 92)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 92)
----

query I rowsort label-2720
SELECT pk FROM tab3 WHERE NOT ((col0 > 92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 > 92)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 92)
----

query I rowsort label-2720
SELECT pk FROM tab4 WHERE NOT ((col0 > 92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 >= 78 AND col0 > 35)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 78 AND col0 > 35)
----

query I rowsort label-2735
SELECT pk FROM tab0 WHERE NOT ((col0 >= 78 AND col0 > 35))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 >= 78 AND col0 > 35)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 78 AND col0 > 35)
----

query I rowsort label-2735
SELECT pk FROM tab1 WHERE NOT ((col0 >= 78 AND col0 > 35))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 >= 78 AND col0 > 35)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 78 AND col0 > 35)
----

query I rowsort label-2735
SELECT pk FROM tab2 WHERE NOT ((col0 >= 78 AND col0 > 35))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 >= 78 AND col0 > 35)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 78 AND col0 > 35)
----

query I rowsort label-2735
SELECT pk FROM tab3 WHERE NOT ((col0 >= 78 AND col0 > 35))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 >= 78 AND col0 > 35)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 78 AND col0 > 35)
----

query I rowsort label-2735
SELECT pk FROM tab4 WHERE NOT ((col0 >= 78 AND col0 > 35))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col3 > 63) OR (col0 > 49)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 63) OR (col0 > 49)
----

query I rowsort label-2750
SELECT pk FROM tab0 WHERE NOT ((col3 > 63) OR (col0 > 49))
----
3
6
9

statement ok
DELETE FROM tab1 WHERE (col3 > 63) OR (col0 > 49)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 63) OR (col0 > 49)
----

query I rowsort label-2750
SELECT pk FROM tab1 WHERE NOT ((col3 > 63) OR (col0 > 49))
----
3
6
9

statement ok
DELETE FROM tab2 WHERE (col3 > 63) OR (col0 > 49)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 63) OR (col0 > 49)
----

query I rowsort label-2750
SELECT pk FROM tab2 WHERE NOT ((col3 > 63) OR (col0 > 49))
----
3
6
9

statement ok
DELETE FROM tab3 WHERE (col3 > 63) OR (col0 > 49)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 63) OR (col0 > 49)
----

query I rowsort label-2750
SELECT pk FROM tab3 WHERE NOT ((col3 > 63) OR (col0 > 49))
----
3
6
9

statement ok
DELETE FROM tab4 WHERE (col3 > 63) OR (col0 > 49)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 63) OR (col0 > 49)
----

query I rowsort label-2750
SELECT pk FROM tab4 WHERE NOT ((col3 > 63) OR (col0 > 49))
----
3
6
9

statement ok
DELETE FROM tab0 WHERE col0 < 5 OR col1 < 98.95

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 5 OR col1 < 98.95
----

query I rowsort label-2765
SELECT pk FROM tab0 WHERE NOT (col0 < 5 OR col1 < 98.95)
----

statement ok
DELETE FROM tab1 WHERE col0 < 5 OR col1 < 98.95

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 5 OR col1 < 98.95
----

query I rowsort label-2765
SELECT pk FROM tab1 WHERE NOT (col0 < 5 OR col1 < 98.95)
----

statement ok
DELETE FROM tab2 WHERE col0 < 5 OR col1 < 98.95

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 5 OR col1 < 98.95
----

query I rowsort label-2765
SELECT pk FROM tab2 WHERE NOT (col0 < 5 OR col1 < 98.95)
----

statement ok
DELETE FROM tab3 WHERE col0 < 5 OR col1 < 98.95

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 5 OR col1 < 98.95
----

query I rowsort label-2765
SELECT pk FROM tab3 WHERE NOT (col0 < 5 OR col1 < 98.95)
----

statement ok
DELETE FROM tab4 WHERE col0 < 5 OR col1 < 98.95

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 5 OR col1 < 98.95
----

query I rowsort label-2765
SELECT pk FROM tab4 WHERE NOT (col0 < 5 OR col1 < 98.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,23,80.49,'tzxgm',13,15.65,'lauig')

statement ok
INSERT INTO tab0 VALUES(1,35,93.54,'oyftr',97,49.22,'mcqes')

statement ok
INSERT INTO tab0 VALUES(2,56,89.33,'xkbde',24,60.84,'tyfrc')

statement ok
INSERT INTO tab0 VALUES(3,90,94.90,'jsela',56,98.83,'xorsw')

statement ok
INSERT INTO tab0 VALUES(4,76,32.25,'pbclh',22,19.29,'iwzrz')

statement ok
INSERT INTO tab0 VALUES(5,48,43.98,'kwhzg',78,97.73,'dpcyk')

statement ok
INSERT INTO tab0 VALUES(6,98,95.92,'zrfxr',67,42.69,'iqbsx')

statement ok
INSERT INTO tab0 VALUES(7,37,86.74,'zmnpr',86,5.38,'awdji')

statement ok
INSERT INTO tab0 VALUES(8,62,76.58,'qseld',44,99.27,'jsags')

statement ok
INSERT INTO tab0 VALUES(9,12,81.67,'xlnqo',29,100.77,'vutjl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (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 UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC,col3,col4 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3,col1 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4,col0 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 79 OR col1 > 38.84

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 79 OR col1 > 38.84
----

query I rowsort label-2780
SELECT pk FROM tab0 WHERE NOT (col0 < 79 OR col1 > 38.84)
----

statement ok
DELETE FROM tab1 WHERE col0 < 79 OR col1 > 38.84

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 79 OR col1 > 38.84
----

query I rowsort label-2780
SELECT pk FROM tab1 WHERE NOT (col0 < 79 OR col1 > 38.84)
----

statement ok
DELETE FROM tab2 WHERE col0 < 79 OR col1 > 38.84

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 79 OR col1 > 38.84
----

query I rowsort label-2780
SELECT pk FROM tab2 WHERE NOT (col0 < 79 OR col1 > 38.84)
----

statement ok
DELETE FROM tab3 WHERE col0 < 79 OR col1 > 38.84

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 79 OR col1 > 38.84
----

query I rowsort label-2780
SELECT pk FROM tab3 WHERE NOT (col0 < 79 OR col1 > 38.84)
----

statement ok
DELETE FROM tab4 WHERE col0 < 79 OR col1 > 38.84

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 79 OR col1 > 38.84
----

query I rowsort label-2780
SELECT pk FROM tab4 WHERE NOT (col0 < 79 OR col1 > 38.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,51.89,'xorho',91,18.41,'zzgqo')

statement ok
INSERT INTO tab0 VALUES(1,30,52.30,'kutlq',13,92.87,'uedvk')

statement ok
INSERT INTO tab0 VALUES(2,73,4.37,'tmxpp',70,82.72,'iadvb')

statement ok
INSERT INTO tab0 VALUES(3,97,33.17,'ljvvf',3,7.18,'pknyo')

statement ok
INSERT INTO tab0 VALUES(4,25,5.43,'vboqf',35,37.91,'hlzrq')

statement ok
INSERT INTO tab0 VALUES(5,96,48.16,'puhko',36,6.67,'tblgt')

statement ok
INSERT INTO tab0 VALUES(6,26,55.30,'qyudm',80,24.96,'esnhg')

statement ok
INSERT INTO tab0 VALUES(7,66,6.30,'esnzr',18,89.60,'rakll')

statement ok
INSERT INTO tab0 VALUES(8,75,70.77,'bqnxk',28,1.41,'ofcwu')

statement ok
INSERT INTO tab0 VALUES(9,74,28.11,'tktho',87,72.78,'gzpcy')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC,col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 < 28.92)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 28.92)
----

query I rowsort label-2795
SELECT pk FROM tab0 WHERE NOT ((col4 < 28.92))
----
1
2
4
7
9

statement ok
DELETE FROM tab1 WHERE (col4 < 28.92)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 28.92)
----

query I rowsort label-2795
SELECT pk FROM tab1 WHERE NOT ((col4 < 28.92))
----
1
2
4
7
9

statement ok
DELETE FROM tab2 WHERE (col4 < 28.92)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 28.92)
----

query I rowsort label-2795
SELECT pk FROM tab2 WHERE NOT ((col4 < 28.92))
----
1
2
4
7
9

statement ok
DELETE FROM tab3 WHERE (col4 < 28.92)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 28.92)
----

query I rowsort label-2795
SELECT pk FROM tab3 WHERE NOT ((col4 < 28.92))
----
1
2
4
7
9

statement ok
DELETE FROM tab4 WHERE (col4 < 28.92)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 28.92)
----

query I rowsort label-2795
SELECT pk FROM tab4 WHERE NOT ((col4 < 28.92))
----
1
2
4
7
9

statement ok
DELETE FROM tab0 WHERE col3 = 15

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 15
----

query I rowsort label-2810
SELECT pk FROM tab0 WHERE NOT (col3 = 15)
----
1
2
4
7
9

statement ok
DELETE FROM tab1 WHERE col3 = 15

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 15
----

query I rowsort label-2810
SELECT pk FROM tab1 WHERE NOT (col3 = 15)
----
1
2
4
7
9

statement ok
DELETE FROM tab2 WHERE col3 = 15

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 15
----

query I rowsort label-2810
SELECT pk FROM tab2 WHERE NOT (col3 = 15)
----
1
2
4
7
9

statement ok
DELETE FROM tab3 WHERE col3 = 15

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 15
----

query I rowsort label-2810
SELECT pk FROM tab3 WHERE NOT (col3 = 15)
----
1
2
4
7
9

statement ok
DELETE FROM tab4 WHERE col3 = 15

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 15
----

query I rowsort label-2810
SELECT pk FROM tab4 WHERE NOT (col3 = 15)
----
1
2
4
7
9

statement ok
DELETE FROM tab0 WHERE (col3 <= 16)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 16)
----

query I rowsort label-2825
SELECT pk FROM tab0 WHERE NOT ((col3 <= 16))
----
2
4
7
9

statement ok
DELETE FROM tab1 WHERE (col3 <= 16)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 16)
----

query I rowsort label-2825
SELECT pk FROM tab1 WHERE NOT ((col3 <= 16))
----
2
4
7
9

statement ok
DELETE FROM tab2 WHERE (col3 <= 16)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 16)
----

query I rowsort label-2825
SELECT pk FROM tab2 WHERE NOT ((col3 <= 16))
----
2
4
7
9

statement ok
DELETE FROM tab3 WHERE (col3 <= 16)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 16)
----

query I rowsort label-2825
SELECT pk FROM tab3 WHERE NOT ((col3 <= 16))
----
2
4
7
9

statement ok
DELETE FROM tab4 WHERE (col3 <= 16)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 16)
----

query I rowsort label-2825
SELECT pk FROM tab4 WHERE NOT ((col3 <= 16))
----
2
4
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,69,65.3,'eamye',97,32.90,'prboy')

statement ok
INSERT INTO tab0 VALUES(1,66,9.16,'xdtpj',37,87.73,'jjjyb')

statement ok
INSERT INTO tab0 VALUES(2,8,17.85,'akzlm',47,97.49,'ebcef')

statement ok
INSERT INTO tab0 VALUES(3,96,69.37,'rdpdk',29,34.64,'rqwvj')

statement ok
INSERT INTO tab0 VALUES(4,85,72.14,'tydii',48,81.35,'jkycf')

statement ok
INSERT INTO tab0 VALUES(5,3,25.87,'cxqep',45,94.62,'ghafv')

statement ok
INSERT INTO tab0 VALUES(6,58,80.64,'mqgdg',49,62.43,'nushk')

statement ok
INSERT INTO tab0 VALUES(7,53,5.8,'crbhr',91,72.83,'zgkos')

statement ok
INSERT INTO tab0 VALUES(8,99,46.46,'ceoie',15,69.10,'wxons')

statement ok
INSERT INTO tab0 VALUES(9,27,90.83,'lmfvr',92,23.83,'jaraj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col0 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC,col0 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4 DESC,col3,col0 DESC,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 >= 0 AND ((col3 < 93)) OR col3 = 42

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 0 AND ((col3 < 93)) OR col3 = 42
----

query I rowsort label-2840
SELECT pk FROM tab0 WHERE NOT (col3 >= 0 AND ((col3 < 93)) OR col3 = 42)
----
0

statement ok
DELETE FROM tab1 WHERE col3 >= 0 AND ((col3 < 93)) OR col3 = 42

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 0 AND ((col3 < 93)) OR col3 = 42
----

query I rowsort label-2840
SELECT pk FROM tab1 WHERE NOT (col3 >= 0 AND ((col3 < 93)) OR col3 = 42)
----
0

statement ok
DELETE FROM tab2 WHERE col3 >= 0 AND ((col3 < 93)) OR col3 = 42

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 0 AND ((col3 < 93)) OR col3 = 42
----

query I rowsort label-2840
SELECT pk FROM tab2 WHERE NOT (col3 >= 0 AND ((col3 < 93)) OR col3 = 42)
----
0

statement ok
DELETE FROM tab3 WHERE col3 >= 0 AND ((col3 < 93)) OR col3 = 42

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 0 AND ((col3 < 93)) OR col3 = 42
----

query I rowsort label-2840
SELECT pk FROM tab3 WHERE NOT (col3 >= 0 AND ((col3 < 93)) OR col3 = 42)
----
0

statement ok
DELETE FROM tab4 WHERE col3 >= 0 AND ((col3 < 93)) OR col3 = 42

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 0 AND ((col3 < 93)) OR col3 = 42
----

query I rowsort label-2840
SELECT pk FROM tab4 WHERE NOT (col3 >= 0 AND ((col3 < 93)) OR col3 = 42)
----
0

statement ok
DELETE FROM tab0 WHERE (col3 >= 69)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 69)
----

query I rowsort label-2855
SELECT pk FROM tab0 WHERE NOT ((col3 >= 69))
----

statement ok
DELETE FROM tab1 WHERE (col3 >= 69)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 69)
----

query I rowsort label-2855
SELECT pk FROM tab1 WHERE NOT ((col3 >= 69))
----

statement ok
DELETE FROM tab2 WHERE (col3 >= 69)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 69)
----

query I rowsort label-2855
SELECT pk FROM tab2 WHERE NOT ((col3 >= 69))
----

statement ok
DELETE FROM tab3 WHERE (col3 >= 69)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 69)
----

query I rowsort label-2855
SELECT pk FROM tab3 WHERE NOT ((col3 >= 69))
----

statement ok
DELETE FROM tab4 WHERE (col3 >= 69)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 69)
----

query I rowsort label-2855
SELECT pk FROM tab4 WHERE NOT ((col3 >= 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,83,61.96,'ohxfj',29,71.27,'nkeyp')

statement ok
INSERT INTO tab0 VALUES(1,31,17.55,'ceqfu',72,29.46,'ohzbo')

statement ok
INSERT INTO tab0 VALUES(2,32,63.57,'mzlce',61,65.34,'ylogp')

statement ok
INSERT INTO tab0 VALUES(3,77,6.9,'ogxgb',60,77.25,'uyfnk')

statement ok
INSERT INTO tab0 VALUES(4,69,40.60,'crmsb',70,55.77,'odjfk')

statement ok
INSERT INTO tab0 VALUES(5,73,54.69,'lkdre',88,92.36,'zeuua')

statement ok
INSERT INTO tab0 VALUES(6,86,50.60,'avbfz',76,1.99,'hvtjo')

statement ok
INSERT INTO tab0 VALUES(7,97,51.91,'geavl',16,20.74,'myahp')

statement ok
INSERT INTO tab0 VALUES(8,49,14.13,'uckdj',80,31.46,'becvx')

statement ok
INSERT INTO tab0 VALUES(9,5,49.34,'njink',84,69.36,'qoiwt')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC,col1 DESC,col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4,col0)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col0 > 67 OR col0 <= 29))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 67 OR col0 <= 29))
----

query I rowsort label-2870
SELECT pk FROM tab0 WHERE NOT (((col0 > 67 OR col0 <= 29)))
----
1
2
8

statement ok
DELETE FROM tab1 WHERE ((col0 > 67 OR col0 <= 29))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 67 OR col0 <= 29))
----

query I rowsort label-2870
SELECT pk FROM tab1 WHERE NOT (((col0 > 67 OR col0 <= 29)))
----
1
2
8

statement ok
DELETE FROM tab2 WHERE ((col0 > 67 OR col0 <= 29))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 67 OR col0 <= 29))
----

query I rowsort label-2870
SELECT pk FROM tab2 WHERE NOT (((col0 > 67 OR col0 <= 29)))
----
1
2
8

statement ok
DELETE FROM tab3 WHERE ((col0 > 67 OR col0 <= 29))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 67 OR col0 <= 29))
----

query I rowsort label-2870
SELECT pk FROM tab3 WHERE NOT (((col0 > 67 OR col0 <= 29)))
----
1
2
8

statement ok
DELETE FROM tab4 WHERE ((col0 > 67 OR col0 <= 29))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 67 OR col0 <= 29))
----

query I rowsort label-2870
SELECT pk FROM tab4 WHERE NOT (((col0 > 67 OR col0 <= 29)))
----
1
2
8

statement ok
DELETE FROM tab0 WHERE col4 = 7.76 OR col4 >= 56.11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 7.76 OR col4 >= 56.11
----

query I rowsort label-2885
SELECT pk FROM tab0 WHERE NOT (col4 = 7.76 OR col4 >= 56.11)
----
1
8

statement ok
DELETE FROM tab1 WHERE col4 = 7.76 OR col4 >= 56.11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 7.76 OR col4 >= 56.11
----

query I rowsort label-2885
SELECT pk FROM tab1 WHERE NOT (col4 = 7.76 OR col4 >= 56.11)
----
1
8

statement ok
DELETE FROM tab2 WHERE col4 = 7.76 OR col4 >= 56.11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 7.76 OR col4 >= 56.11
----

query I rowsort label-2885
SELECT pk FROM tab2 WHERE NOT (col4 = 7.76 OR col4 >= 56.11)
----
1
8

statement ok
DELETE FROM tab3 WHERE col4 = 7.76 OR col4 >= 56.11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 7.76 OR col4 >= 56.11
----

query I rowsort label-2885
SELECT pk FROM tab3 WHERE NOT (col4 = 7.76 OR col4 >= 56.11)
----
1
8

statement ok
DELETE FROM tab4 WHERE col4 = 7.76 OR col4 >= 56.11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 7.76 OR col4 >= 56.11
----

query I rowsort label-2885
SELECT pk FROM tab4 WHERE NOT (col4 = 7.76 OR col4 >= 56.11)
----
1
8

statement ok
DELETE FROM tab0 WHERE col1 > 92.50

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 92.50
----

query I rowsort label-2900
SELECT pk FROM tab0 WHERE NOT (col1 > 92.50)
----
1
8

statement ok
DELETE FROM tab1 WHERE col1 > 92.50

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 92.50
----

query I rowsort label-2900
SELECT pk FROM tab1 WHERE NOT (col1 > 92.50)
----
1
8

statement ok
DELETE FROM tab2 WHERE col1 > 92.50

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 92.50
----

query I rowsort label-2900
SELECT pk FROM tab2 WHERE NOT (col1 > 92.50)
----
1
8

statement ok
DELETE FROM tab3 WHERE col1 > 92.50

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 92.50
----

query I rowsort label-2900
SELECT pk FROM tab3 WHERE NOT (col1 > 92.50)
----
1
8

statement ok
DELETE FROM tab4 WHERE col1 > 92.50

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 92.50
----

query I rowsort label-2900
SELECT pk FROM tab4 WHERE NOT (col1 > 92.50)
----
1
8

statement ok
DELETE FROM tab0 WHERE col3 >= 73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 73
----

query I rowsort label-2915
SELECT pk FROM tab0 WHERE NOT (col3 >= 73)
----
1

statement ok
DELETE FROM tab1 WHERE col3 >= 73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 73
----

query I rowsort label-2915
SELECT pk FROM tab1 WHERE NOT (col3 >= 73)
----
1

statement ok
DELETE FROM tab2 WHERE col3 >= 73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 73
----

query I rowsort label-2915
SELECT pk FROM tab2 WHERE NOT (col3 >= 73)
----
1

statement ok
DELETE FROM tab3 WHERE col3 >= 73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 73
----

query I rowsort label-2915
SELECT pk FROM tab3 WHERE NOT (col3 >= 73)
----
1

statement ok
DELETE FROM tab4 WHERE col3 >= 73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 73
----

query I rowsort label-2915
SELECT pk FROM tab4 WHERE NOT (col3 >= 73)
----
1

statement ok
DELETE FROM tab0 WHERE col0 IN (15,10,67,19)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (15,10,67,19)
----

query I rowsort label-2930
SELECT pk FROM tab0 WHERE NOT (col0 IN (15,10,67,19))
----
1

statement ok
DELETE FROM tab1 WHERE col0 IN (15,10,67,19)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (15,10,67,19)
----

query I rowsort label-2930
SELECT pk FROM tab1 WHERE NOT (col0 IN (15,10,67,19))
----
1

statement ok
DELETE FROM tab2 WHERE col0 IN (15,10,67,19)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (15,10,67,19)
----

query I rowsort label-2930
SELECT pk FROM tab2 WHERE NOT (col0 IN (15,10,67,19))
----
1

statement ok
DELETE FROM tab3 WHERE col0 IN (15,10,67,19)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (15,10,67,19)
----

query I rowsort label-2930
SELECT pk FROM tab3 WHERE NOT (col0 IN (15,10,67,19))
----
1

statement ok
DELETE FROM tab4 WHERE col0 IN (15,10,67,19)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (15,10,67,19)
----

query I rowsort label-2930
SELECT pk FROM tab4 WHERE NOT (col0 IN (15,10,67,19))
----
1

statement ok
DELETE FROM tab0 WHERE col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL))
----

query I rowsort label-2945
SELECT pk FROM tab0 WHERE NOT (col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL)))
----
1

statement ok
DELETE FROM tab1 WHERE col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL))
----

query I rowsort label-2945
SELECT pk FROM tab1 WHERE NOT (col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL)))
----
1

statement ok
DELETE FROM tab2 WHERE col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL))
----

query I rowsort label-2945
SELECT pk FROM tab2 WHERE NOT (col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL)))
----
1

statement ok
DELETE FROM tab3 WHERE col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL))
----

query I rowsort label-2945
SELECT pk FROM tab3 WHERE NOT (col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL)))
----
1

statement ok
DELETE FROM tab4 WHERE col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL))
----

query I rowsort label-2945
SELECT pk FROM tab4 WHERE NOT (col0 >= 77 AND col4 < 79.22 OR ((col0 > 64 AND ((col0 > 83 AND (col0 >= 12 AND col3 <= 7 OR ((col4 > 69.1)) AND col3 >= 53 OR (col0 > 84 OR col1 < 48.49 AND (col3 <= 9) AND col3 IN (88,95,38,22,64)) OR (col0 < 57))))) AND (col0 IS NULL)))
----
1

statement ok
DELETE FROM tab0 WHERE col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97)
----

query I rowsort label-2960
SELECT pk FROM tab0 WHERE NOT (col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97))
----
1

statement ok
DELETE FROM tab1 WHERE col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97)
----

query I rowsort label-2960
SELECT pk FROM tab1 WHERE NOT (col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97))
----
1

statement ok
DELETE FROM tab2 WHERE col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97)
----

query I rowsort label-2960
SELECT pk FROM tab2 WHERE NOT (col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97))
----
1

statement ok
DELETE FROM tab3 WHERE col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97)
----

query I rowsort label-2960
SELECT pk FROM tab3 WHERE NOT (col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97))
----
1

statement ok
DELETE FROM tab4 WHERE col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97)
----

query I rowsort label-2960
SELECT pk FROM tab4 WHERE NOT (col4 IS NULL AND col4 IS NULL AND col0 > 76 OR col3 IN (2,62,29,67,39,97))
----
1

statement ok
DELETE FROM tab0 WHERE col1 >= 16.17

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 16.17
----

query I rowsort label-2975
SELECT pk FROM tab0 WHERE NOT (col1 >= 16.17)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 16.17

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 16.17
----

query I rowsort label-2975
SELECT pk FROM tab1 WHERE NOT (col1 >= 16.17)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 16.17

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 16.17
----

query I rowsort label-2975
SELECT pk FROM tab2 WHERE NOT (col1 >= 16.17)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 16.17

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 16.17
----

query I rowsort label-2975
SELECT pk FROM tab3 WHERE NOT (col1 >= 16.17)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 16.17

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 16.17
----

query I rowsort label-2975
SELECT pk FROM tab4 WHERE NOT (col1 >= 16.17)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,48,33.49,'efmih',73,14.96,'malmt')

statement ok
INSERT INTO tab0 VALUES(1,92,52.6,'zohlg',83,34.79,'vzzdd')

statement ok
INSERT INTO tab0 VALUES(2,49,17.20,'ryqxb',27,36.10,'mhhor')

statement ok
INSERT INTO tab0 VALUES(3,39,24.47,'jqqds',16,47.44,'odwfy')

statement ok
INSERT INTO tab0 VALUES(4,85,50.94,'qmsvk',17,11.93,'owqbo')

statement ok
INSERT INTO tab0 VALUES(5,32,18.30,'fccdz',76,48.37,'ubwkr')

statement ok
INSERT INTO tab0 VALUES(6,53,62.1,'mxprv',24,16.40,'dumhp')

statement ok
INSERT INTO tab0 VALUES(7,65,82.41,'eiawc',91,77.60,'poxll')

statement ok
INSERT INTO tab0 VALUES(8,41,14.85,'buzsu',22,55.62,'bpnkv')

statement ok
INSERT INTO tab0 VALUES(9,22,88.82,'lakjb',81,3.32,'swnrk')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 > 78

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 78
----

query I rowsort label-2990
SELECT pk FROM tab0 WHERE NOT (col0 > 78)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 > 78

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 78
----

query I rowsort label-2990
SELECT pk FROM tab1 WHERE NOT (col0 > 78)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 > 78

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 78
----

query I rowsort label-2990
SELECT pk FROM tab2 WHERE NOT (col0 > 78)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 > 78

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 78
----

query I rowsort label-2990
SELECT pk FROM tab3 WHERE NOT (col0 > 78)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 > 78

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 78
----

query I rowsort label-2990
SELECT pk FROM tab4 WHERE NOT (col0 > 78)
----
0
2
3
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 <= 71

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 71
----

query I rowsort label-3005
SELECT pk FROM tab0 WHERE NOT (col3 <= 71)
----
0
5
7
9

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)
----
0
5
7
9

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)
----
0
5
7
9

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)
----
0
5
7
9

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)
----
0
5
7
9

statement ok
DELETE FROM tab0 WHERE col0 >= 47

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 47
----

query I rowsort label-3020
SELECT pk FROM tab0 WHERE NOT (col0 >= 47)
----
5
9

statement ok
DELETE FROM tab1 WHERE col0 >= 47

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 47
----

query I rowsort label-3020
SELECT pk FROM tab1 WHERE NOT (col0 >= 47)
----
5
9

statement ok
DELETE FROM tab2 WHERE col0 >= 47

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 47
----

query I rowsort label-3020
SELECT pk FROM tab2 WHERE NOT (col0 >= 47)
----
5
9

statement ok
DELETE FROM tab3 WHERE col0 >= 47

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 47
----

query I rowsort label-3020
SELECT pk FROM tab3 WHERE NOT (col0 >= 47)
----
5
9

statement ok
DELETE FROM tab4 WHERE col0 >= 47

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 47
----

query I rowsort label-3020
SELECT pk FROM tab4 WHERE NOT (col0 >= 47)
----
5
9

statement ok
DELETE FROM tab0 WHERE (col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56
----

query I rowsort label-3035
SELECT pk FROM tab0 WHERE NOT ((col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56)
----
5
9

statement ok
DELETE FROM tab1 WHERE (col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56
----

query I rowsort label-3035
SELECT pk FROM tab1 WHERE NOT ((col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56)
----
5
9

statement ok
DELETE FROM tab2 WHERE (col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56
----

query I rowsort label-3035
SELECT pk FROM tab2 WHERE NOT ((col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56)
----
5
9

statement ok
DELETE FROM tab3 WHERE (col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56
----

query I rowsort label-3035
SELECT pk FROM tab3 WHERE NOT ((col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56)
----
5
9

statement ok
DELETE FROM tab4 WHERE (col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56
----

query I rowsort label-3035
SELECT pk FROM tab4 WHERE NOT ((col0 = 56 AND col0 > 32 OR col0 = 52 OR col3 = 82) AND col1 < 92.56)
----
5
9

statement ok
DELETE FROM tab0 WHERE col0 < 64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 64
----

query I rowsort label-3050
SELECT pk FROM tab0 WHERE NOT (col0 < 64)
----

statement ok
DELETE FROM tab1 WHERE col0 < 64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 64
----

query I rowsort label-3050
SELECT pk FROM tab1 WHERE NOT (col0 < 64)
----

statement ok
DELETE FROM tab2 WHERE col0 < 64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 64
----

query I rowsort label-3050
SELECT pk FROM tab2 WHERE NOT (col0 < 64)
----

statement ok
DELETE FROM tab3 WHERE col0 < 64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 64
----

query I rowsort label-3050
SELECT pk FROM tab3 WHERE NOT (col0 < 64)
----

statement ok
DELETE FROM tab4 WHERE col0 < 64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 64
----

query I rowsort label-3050
SELECT pk FROM tab4 WHERE NOT (col0 < 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,66,67.45,'isgqy',61,64.58,'zvyqq')

statement ok
INSERT INTO tab0 VALUES(1,15,54.8,'vpspw',20,87.46,'aknuk')

statement ok
INSERT INTO tab0 VALUES(2,67,35.33,'prugn',70,7.76,'hjejk')

statement ok
INSERT INTO tab0 VALUES(3,11,31.88,'udlpl',84,98.54,'ujicw')

statement ok
INSERT INTO tab0 VALUES(4,68,71.10,'ljxpl',96,51.38,'wrrld')

statement ok
INSERT INTO tab0 VALUES(5,50,10.67,'roaqb',62,86.97,'qppdp')

statement ok
INSERT INTO tab0 VALUES(6,24,36.22,'sjefm',24,62.76,'whdwb')

statement ok
INSERT INTO tab0 VALUES(7,76,85.91,'gopnt',76,95.59,'hgesp')

statement ok
INSERT INTO tab0 VALUES(8,69,55.15,'goicv',21,68.28,'namcw')

statement ok
INSERT INTO tab0 VALUES(9,12,14.10,'icmlw',34,40.29,'jtace')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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_3 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0,col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0,col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1 DESC,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 BETWEEN 58.64 AND 28.27)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 BETWEEN 58.64 AND 28.27)
----

query I rowsort label-3065
SELECT pk FROM tab0 WHERE NOT ((col4 BETWEEN 58.64 AND 28.27))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col4 BETWEEN 58.64 AND 28.27)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 BETWEEN 58.64 AND 28.27)
----

query I rowsort label-3065
SELECT pk FROM tab1 WHERE NOT ((col4 BETWEEN 58.64 AND 28.27))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col4 BETWEEN 58.64 AND 28.27)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 BETWEEN 58.64 AND 28.27)
----

query I rowsort label-3065
SELECT pk FROM tab2 WHERE NOT ((col4 BETWEEN 58.64 AND 28.27))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col4 BETWEEN 58.64 AND 28.27)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 BETWEEN 58.64 AND 28.27)
----

query I rowsort label-3065
SELECT pk FROM tab3 WHERE NOT ((col4 BETWEEN 58.64 AND 28.27))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col4 BETWEEN 58.64 AND 28.27)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 BETWEEN 58.64 AND 28.27)
----

query I rowsort label-3065
SELECT pk FROM tab4 WHERE NOT ((col4 BETWEEN 58.64 AND 28.27))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 IS NULL AND (col3 = 88)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IS NULL AND (col3 = 88)
----

query I rowsort label-3080
SELECT pk FROM tab0 WHERE NOT (col1 IS NULL AND (col3 = 88))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 IS NULL AND (col3 = 88)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IS NULL AND (col3 = 88)
----

query I rowsort label-3080
SELECT pk FROM tab1 WHERE NOT (col1 IS NULL AND (col3 = 88))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 IS NULL AND (col3 = 88)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IS NULL AND (col3 = 88)
----

query I rowsort label-3080
SELECT pk FROM tab2 WHERE NOT (col1 IS NULL AND (col3 = 88))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 IS NULL AND (col3 = 88)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IS NULL AND (col3 = 88)
----

query I rowsort label-3080
SELECT pk FROM tab3 WHERE NOT (col1 IS NULL AND (col3 = 88))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 IS NULL AND (col3 = 88)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IS NULL AND (col3 = 88)
----

query I rowsort label-3080
SELECT pk FROM tab4 WHERE NOT (col1 IS NULL AND (col3 = 88))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 <= 32

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 32
----

query I rowsort label-3095
SELECT pk FROM tab0 WHERE NOT (col0 <= 32)
----
0
2
4
5
7
8

statement ok
DELETE FROM tab1 WHERE col0 <= 32

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 32
----

query I rowsort label-3095
SELECT pk FROM tab1 WHERE NOT (col0 <= 32)
----
0
2
4
5
7
8

statement ok
DELETE FROM tab2 WHERE col0 <= 32

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 32
----

query I rowsort label-3095
SELECT pk FROM tab2 WHERE NOT (col0 <= 32)
----
0
2
4
5
7
8

statement ok
DELETE FROM tab3 WHERE col0 <= 32

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 32
----

query I rowsort label-3095
SELECT pk FROM tab3 WHERE NOT (col0 <= 32)
----
0
2
4
5
7
8

statement ok
DELETE FROM tab4 WHERE col0 <= 32

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 32
----

query I rowsort label-3095
SELECT pk FROM tab4 WHERE NOT (col0 <= 32)
----
0
2
4
5
7
8

statement ok
DELETE FROM tab0 WHERE (col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46
----

query I rowsort label-3110
SELECT pk FROM tab0 WHERE NOT ((col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46)
----
0
2
4
5
7
8

statement ok
DELETE FROM tab1 WHERE (col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46
----

query I rowsort label-3110
SELECT pk FROM tab1 WHERE NOT ((col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46)
----
0
2
4
5
7
8

statement ok
DELETE FROM tab2 WHERE (col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46
----

query I rowsort label-3110
SELECT pk FROM tab2 WHERE NOT ((col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46)
----
0
2
4
5
7
8

statement ok
DELETE FROM tab3 WHERE (col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46
----

query I rowsort label-3110
SELECT pk FROM tab3 WHERE NOT ((col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46)
----
0
2
4
5
7
8

statement ok
DELETE FROM tab4 WHERE (col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46
----

query I rowsort label-3110
SELECT pk FROM tab4 WHERE NOT ((col3 <= 80) AND (((col3 = 83))) AND col3 BETWEEN 42 AND 81 AND col1 >= 25.92 AND col3 < 46)
----
0
2
4
5
7
8

statement ok
DELETE FROM tab0 WHERE (col4 > 7.95) OR col1 >= 57.99

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 7.95) OR col1 >= 57.99
----

query I rowsort label-3125
SELECT pk FROM tab0 WHERE NOT ((col4 > 7.95) OR col1 >= 57.99)
----
2

statement ok
DELETE FROM tab1 WHERE (col4 > 7.95) OR col1 >= 57.99

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 7.95) OR col1 >= 57.99
----

query I rowsort label-3125
SELECT pk FROM tab1 WHERE NOT ((col4 > 7.95) OR col1 >= 57.99)
----
2

statement ok
DELETE FROM tab2 WHERE (col4 > 7.95) OR col1 >= 57.99

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 7.95) OR col1 >= 57.99
----

query I rowsort label-3125
SELECT pk FROM tab2 WHERE NOT ((col4 > 7.95) OR col1 >= 57.99)
----
2

statement ok
DELETE FROM tab3 WHERE (col4 > 7.95) OR col1 >= 57.99

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 7.95) OR col1 >= 57.99
----

query I rowsort label-3125
SELECT pk FROM tab3 WHERE NOT ((col4 > 7.95) OR col1 >= 57.99)
----
2

statement ok
DELETE FROM tab4 WHERE (col4 > 7.95) OR col1 >= 57.99

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 7.95) OR col1 >= 57.99
----

query I rowsort label-3125
SELECT pk FROM tab4 WHERE NOT ((col4 > 7.95) OR col1 >= 57.99)
----
2

statement ok
DELETE FROM tab0 WHERE (col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 IS NULL)
----

query I rowsort label-3140
SELECT pk FROM tab0 WHERE NOT ((col3 IS NULL))
----
2

statement ok
DELETE FROM tab1 WHERE (col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 IS NULL)
----

query I rowsort label-3140
SELECT pk FROM tab1 WHERE NOT ((col3 IS NULL))
----
2

statement ok
DELETE FROM tab2 WHERE (col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 IS NULL)
----

query I rowsort label-3140
SELECT pk FROM tab2 WHERE NOT ((col3 IS NULL))
----
2

statement ok
DELETE FROM tab3 WHERE (col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 IS NULL)
----

query I rowsort label-3140
SELECT pk FROM tab3 WHERE NOT ((col3 IS NULL))
----
2

statement ok
DELETE FROM tab4 WHERE (col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 IS NULL)
----

query I rowsort label-3140
SELECT pk FROM tab4 WHERE NOT ((col3 IS NULL))
----
2

statement ok
DELETE FROM tab0 WHERE col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67)
----

query I rowsort label-3155
SELECT pk FROM tab0 WHERE NOT (col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67))
----

statement ok
DELETE FROM tab1 WHERE col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67)
----

query I rowsort label-3155
SELECT pk FROM tab1 WHERE NOT (col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67))
----

statement ok
DELETE FROM tab2 WHERE col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67)
----

query I rowsort label-3155
SELECT pk FROM tab2 WHERE NOT (col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67))
----

statement ok
DELETE FROM tab3 WHERE col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67)
----

query I rowsort label-3155
SELECT pk FROM tab3 WHERE NOT (col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67))
----

statement ok
DELETE FROM tab4 WHERE col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND col0 > 67)
----

query I rowsort label-3155
SELECT pk FROM tab4 WHERE NOT (col3 = 54 OR (col0 = 13 OR (((col0 = 39)) AND col3 > 85 AND col3 < 16)) AND col1 < 20.2 AND col0 < 45 AND (col4 < 66.21 AND col0 > 67) OR (((col0 >= 94 AND (col1 < 40.70) AND ((col3 > 28)) OR col4 IS NULL AND (((col3 >= 78))))) OR col4 < 71.82 OR (col0 < 73)) OR col0 IN (75,91,81,45,49) OR ((col3 > 46) AND 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,7,40.12,'nkjvm',96,77.75,'cecek')

statement ok
INSERT INTO tab0 VALUES(1,62,8.31,'rjosc',59,13.31,'chpet')

statement ok
INSERT INTO tab0 VALUES(2,50,3.43,'iqkue',30,55.43,'umpax')

statement ok
INSERT INTO tab0 VALUES(3,10,59.88,'bafaf',67,74.31,'kwuop')

statement ok
INSERT INTO tab0 VALUES(4,51,4.19,'assdz',56,72.36,'nhnso')

statement ok
INSERT INTO tab0 VALUES(5,61,26.17,'pende',19,38.28,'tqlih')

statement ok
INSERT INTO tab0 VALUES(6,22,32.98,'cfazw',24,14.24,'jqcrm')

statement ok
INSERT INTO tab0 VALUES(7,23,13.31,'elqaj',5,52.99,'zirfw')

statement ok
INSERT INTO tab0 VALUES(8,66,6.50,'ravbs',70,89.97,'zxlys')

statement ok
INSERT INTO tab0 VALUES(9,91,53.61,'dakii',10,94.42,'lannm')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1,col3 DESC)

statement ok
CREATE 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 (col4 DESC)

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 (col4 DESC,col3,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col3 >= 18)) OR col3 > 25

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 18)) OR col3 > 25
----

query I rowsort label-3170
SELECT pk FROM tab0 WHERE NOT (((col3 >= 18)) OR col3 > 25)
----
7
9

statement ok
DELETE FROM tab1 WHERE ((col3 >= 18)) OR col3 > 25

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 18)) OR col3 > 25
----

query I rowsort label-3170
SELECT pk FROM tab1 WHERE NOT (((col3 >= 18)) OR col3 > 25)
----
7
9

statement ok
DELETE FROM tab2 WHERE ((col3 >= 18)) OR col3 > 25

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 18)) OR col3 > 25
----

query I rowsort label-3170
SELECT pk FROM tab2 WHERE NOT (((col3 >= 18)) OR col3 > 25)
----
7
9

statement ok
DELETE FROM tab3 WHERE ((col3 >= 18)) OR col3 > 25

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 18)) OR col3 > 25
----

query I rowsort label-3170
SELECT pk FROM tab3 WHERE NOT (((col3 >= 18)) OR col3 > 25)
----
7
9

statement ok
DELETE FROM tab4 WHERE ((col3 >= 18)) OR col3 > 25

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 18)) OR col3 > 25
----

query I rowsort label-3170
SELECT pk FROM tab4 WHERE NOT (((col3 >= 18)) OR col3 > 25)
----
7
9

statement ok
DELETE FROM tab0 WHERE ((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40)))
----

query I rowsort label-3185
SELECT pk FROM tab0 WHERE NOT (((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40))))
----

statement ok
DELETE FROM tab1 WHERE ((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40)))
----

query I rowsort label-3185
SELECT pk FROM tab1 WHERE NOT (((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40))))
----

statement ok
DELETE FROM tab2 WHERE ((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40)))
----

query I rowsort label-3185
SELECT pk FROM tab2 WHERE NOT (((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40))))
----

statement ok
DELETE FROM tab3 WHERE ((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40)))
----

query I rowsort label-3185
SELECT pk FROM tab3 WHERE NOT (((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40))))
----

statement ok
DELETE FROM tab4 WHERE ((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 40)))
----

query I rowsort label-3185
SELECT pk FROM tab4 WHERE NOT (((((col3 > 47) AND (((((col3 IN (35)) AND ((col0 < 97 AND col0 > 4 OR col3 < 83 AND (col4 IS NULL)) AND col3 >= 85 AND col3 < 86)) AND col3 IN (74,65,80,68,78) AND col4 > 23.83)) AND col0 IS NULL AND col0 > 83) OR col3 < 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,53,40.69,'tkksg',79,49.23,'kpbli')

statement ok
INSERT INTO tab0 VALUES(1,2,7.23,'ntfxn',30,30.1,'ufsne')

statement ok
INSERT INTO tab0 VALUES(2,58,85.98,'pwzuk',31,4.27,'kvxnv')

statement ok
INSERT INTO tab0 VALUES(3,13,63.26,'xgkxv',84,24.46,'sfsvs')

statement ok
INSERT INTO tab0 VALUES(4,25,36.31,'qtenf',42,2.28,'pcvwv')

statement ok
INSERT INTO tab0 VALUES(5,80,10.94,'hagkq',66,20.29,'gdryv')

statement ok
INSERT INTO tab0 VALUES(6,54,21.11,'vlwnw',88,44.53,'lfoqf')

statement ok
INSERT INTO tab0 VALUES(7,77,44.61,'wnqiq',78,37.15,'ritpk')

statement ok
INSERT INTO tab0 VALUES(8,96,8.61,'tovur',98,70.6,'dcsex')

statement ok
INSERT INTO tab0 VALUES(9,34,3.37,'phgsu',74,35.49,'ygaxm')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE UNIQUE 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 INDEX idx_tab4_0 ON tab4 (col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col3 > 49))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 49))
----

query I rowsort label-3200
SELECT pk FROM tab0 WHERE NOT (((col3 > 49)))
----
1
2
4

statement ok
DELETE FROM tab1 WHERE ((col3 > 49))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 49))
----

query I rowsort label-3200
SELECT pk FROM tab1 WHERE NOT (((col3 > 49)))
----
1
2
4

statement ok
DELETE FROM tab2 WHERE ((col3 > 49))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 49))
----

query I rowsort label-3200
SELECT pk FROM tab2 WHERE NOT (((col3 > 49)))
----
1
2
4

statement ok
DELETE FROM tab3 WHERE ((col3 > 49))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 49))
----

query I rowsort label-3200
SELECT pk FROM tab3 WHERE NOT (((col3 > 49)))
----
1
2
4

statement ok
DELETE FROM tab4 WHERE ((col3 > 49))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 49))
----

query I rowsort label-3200
SELECT pk FROM tab4 WHERE NOT (((col3 > 49)))
----
1
2
4

statement ok
DELETE FROM tab0 WHERE col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54)
----

query I rowsort label-3215
SELECT pk FROM tab0 WHERE NOT (col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54))
----
1
2
4

statement ok
DELETE FROM tab1 WHERE col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54)
----

query I rowsort label-3215
SELECT pk FROM tab1 WHERE NOT (col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54))
----
1
2
4

statement ok
DELETE FROM tab2 WHERE col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54)
----

query I rowsort label-3215
SELECT pk FROM tab2 WHERE NOT (col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54))
----
1
2
4

statement ok
DELETE FROM tab3 WHERE col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54)
----

query I rowsort label-3215
SELECT pk FROM tab3 WHERE NOT (col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54))
----
1
2
4

statement ok
DELETE FROM tab4 WHERE col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54)
----

query I rowsort label-3215
SELECT pk FROM tab4 WHERE NOT (col4 = 16.0 AND ((col0 > 77 OR col3 > 28 AND col3 IS NULL)) AND (col3 > 51 OR (((col1 < 50.7))) AND col1 <= 44.84 AND col1 IS NULL) AND col0 > 12 AND (col1 <= 31.54))
----
1
2
4

statement ok
DELETE FROM tab0 WHERE (col1 IN (11.37,52.29,2.57) OR col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 IN (11.37,52.29,2.57) OR col3 >= 20)
----

query I rowsort label-3230
SELECT pk FROM tab0 WHERE NOT ((col1 IN (11.37,52.29,2.57) OR col3 >= 20))
----

statement ok
DELETE FROM tab1 WHERE (col1 IN (11.37,52.29,2.57) OR col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 IN (11.37,52.29,2.57) OR col3 >= 20)
----

query I rowsort label-3230
SELECT pk FROM tab1 WHERE NOT ((col1 IN (11.37,52.29,2.57) OR col3 >= 20))
----

statement ok
DELETE FROM tab2 WHERE (col1 IN (11.37,52.29,2.57) OR col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 IN (11.37,52.29,2.57) OR col3 >= 20)
----

query I rowsort label-3230
SELECT pk FROM tab2 WHERE NOT ((col1 IN (11.37,52.29,2.57) OR col3 >= 20))
----

statement ok
DELETE FROM tab3 WHERE (col1 IN (11.37,52.29,2.57) OR col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 IN (11.37,52.29,2.57) OR col3 >= 20)
----

query I rowsort label-3230
SELECT pk FROM tab3 WHERE NOT ((col1 IN (11.37,52.29,2.57) OR col3 >= 20))
----

statement ok
DELETE FROM tab4 WHERE (col1 IN (11.37,52.29,2.57) OR col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 IN (11.37,52.29,2.57) OR col3 >= 20)
----

query I rowsort label-3230
SELECT pk FROM tab4 WHERE NOT ((col1 IN (11.37,52.29,2.57) OR col3 >= 20))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,12,99.74,'fygay',83,18.28,'iiiyf')

statement ok
INSERT INTO tab0 VALUES(1,19,23.80,'kbzqo',40,7.14,'caney')

statement ok
INSERT INTO tab0 VALUES(2,5,46.29,'qtjnr',38,44.98,'esrty')

statement ok
INSERT INTO tab0 VALUES(3,50,47.39,'rnvib',88,8.97,'knhke')

statement ok
INSERT INTO tab0 VALUES(4,88,32.40,'bkpix',41,64.68,'ozgme')

statement ok
INSERT INTO tab0 VALUES(5,75,54.31,'hxyve',47,78.67,'gwxxi')

statement ok
INSERT INTO tab0 VALUES(6,47,21.44,'snfwo',18,27.18,'hthos')

statement ok
INSERT INTO tab0 VALUES(7,84,6.6,'zfwxs',93,11.68,'pohcn')

statement ok
INSERT INTO tab0 VALUES(8,73,67.3,'ygvii',98,70.56,'lgniy')

statement ok
INSERT INTO tab0 VALUES(9,69,51.41,'tukeg',8,92.72,'omucn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0,col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3 DESC,col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0,col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1,col3)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68
----

query I rowsort label-3245
SELECT pk FROM tab0 WHERE NOT (((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68)
----
5
7
8
9

statement ok
DELETE FROM tab1 WHERE ((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68
----

query I rowsort label-3245
SELECT pk FROM tab1 WHERE NOT (((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68)
----
5
7
8
9

statement ok
DELETE FROM tab2 WHERE ((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68
----

query I rowsort label-3245
SELECT pk FROM tab2 WHERE NOT (((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68)
----
5
7
8
9

statement ok
DELETE FROM tab3 WHERE ((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68
----

query I rowsort label-3245
SELECT pk FROM tab3 WHERE NOT (((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68)
----
5
7
8
9

statement ok
DELETE FROM tab4 WHERE ((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68
----

query I rowsort label-3245
SELECT pk FROM tab4 WHERE NOT (((((((col3 <= 80))) AND ((col0 > 83))))) OR col0 <= 68)
----
5
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 < 11.6 OR col4 < 97.11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 11.6 OR col4 < 97.11
----

query I rowsort label-3260
SELECT pk FROM tab0 WHERE NOT (col4 < 11.6 OR col4 < 97.11)
----

statement ok
DELETE FROM tab1 WHERE col4 < 11.6 OR col4 < 97.11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 11.6 OR col4 < 97.11
----

query I rowsort label-3260
SELECT pk FROM tab1 WHERE NOT (col4 < 11.6 OR col4 < 97.11)
----

statement ok
DELETE FROM tab2 WHERE col4 < 11.6 OR col4 < 97.11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 11.6 OR col4 < 97.11
----

query I rowsort label-3260
SELECT pk FROM tab2 WHERE NOT (col4 < 11.6 OR col4 < 97.11)
----

statement ok
DELETE FROM tab3 WHERE col4 < 11.6 OR col4 < 97.11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 11.6 OR col4 < 97.11
----

query I rowsort label-3260
SELECT pk FROM tab3 WHERE NOT (col4 < 11.6 OR col4 < 97.11)
----

statement ok
DELETE FROM tab4 WHERE col4 < 11.6 OR col4 < 97.11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 11.6 OR col4 < 97.11
----

query I rowsort label-3260
SELECT pk FROM tab4 WHERE NOT (col4 < 11.6 OR col4 < 97.11)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,70,61.31,'xoktv',99,49.38,'owxzu')

statement ok
INSERT INTO tab0 VALUES(1,44,68.30,'audoo',33,80.80,'fggde')

statement ok
INSERT INTO tab0 VALUES(2,81,99.72,'wheij',6,38.57,'viequ')

statement ok
INSERT INTO tab0 VALUES(3,64,18.22,'yipxm',85,39.77,'onito')

statement ok
INSERT INTO tab0 VALUES(4,34,19.48,'ouftr',75,84.88,'hrppb')

statement ok
INSERT INTO tab0 VALUES(5,51,37.93,'vyxih',80,73.40,'awnso')

statement ok
INSERT INTO tab0 VALUES(6,55,69.30,'zbpxp',67,22.48,'qyfsg')

statement ok
INSERT INTO tab0 VALUES(7,31,72.30,'izlzr',31,65.52,'kdqwe')

statement ok
INSERT INTO tab0 VALUES(8,71,91.20,'lsxgr',50,79.83,'utprq')

statement ok
INSERT INTO tab0 VALUES(9,35,60.49,'geyvy',56,86.22,'trzrb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC,col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC,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)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70))))
----

query I rowsort label-3275
SELECT pk FROM tab0 WHERE NOT (((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70)))))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab1 WHERE ((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70))))
----

query I rowsort label-3275
SELECT pk FROM tab1 WHERE NOT (((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70)))))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab2 WHERE ((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70))))
----

query I rowsort label-3275
SELECT pk FROM tab2 WHERE NOT (((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70)))))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab3 WHERE ((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70))))
----

query I rowsort label-3275
SELECT pk FROM tab3 WHERE NOT (((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70)))))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab4 WHERE ((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70))))
----

query I rowsort label-3275
SELECT pk FROM tab4 WHERE NOT (((((((col3 > 17 AND (col4 >= 59.82) OR col4 < 61.89 OR col4 = 47.54 OR (col4 IN (32.20,7.18,56.35,46.81,35.66) AND col1 = 14.71) OR col3 > 86)) AND col4 < 35.70)))))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab0 WHERE ((((((col0 <= 4))) AND (col1 < 97.58))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((((col0 <= 4))) AND (col1 < 97.58))))
----

query I rowsort label-3290
SELECT pk FROM tab0 WHERE NOT (((((((col0 <= 4))) AND (col1 < 97.58)))))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab1 WHERE ((((((col0 <= 4))) AND (col1 < 97.58))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((((col0 <= 4))) AND (col1 < 97.58))))
----

query I rowsort label-3290
SELECT pk FROM tab1 WHERE NOT (((((((col0 <= 4))) AND (col1 < 97.58)))))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab2 WHERE ((((((col0 <= 4))) AND (col1 < 97.58))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((((col0 <= 4))) AND (col1 < 97.58))))
----

query I rowsort label-3290
SELECT pk FROM tab2 WHERE NOT (((((((col0 <= 4))) AND (col1 < 97.58)))))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab3 WHERE ((((((col0 <= 4))) AND (col1 < 97.58))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((((col0 <= 4))) AND (col1 < 97.58))))
----

query I rowsort label-3290
SELECT pk FROM tab3 WHERE NOT (((((((col0 <= 4))) AND (col1 < 97.58)))))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab4 WHERE ((((((col0 <= 4))) AND (col1 < 97.58))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((((col0 <= 4))) AND (col1 < 97.58))))
----

query I rowsort label-3290
SELECT pk FROM tab4 WHERE NOT (((((((col0 <= 4))) AND (col1 < 97.58)))))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab0 WHERE col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17)))
----

query I rowsort label-3305
SELECT pk FROM tab0 WHERE NOT (col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17))))
----

statement ok
DELETE FROM tab1 WHERE col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17)))
----

query I rowsort label-3305
SELECT pk FROM tab1 WHERE NOT (col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17))))
----

statement ok
DELETE FROM tab2 WHERE col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17)))
----

query I rowsort label-3305
SELECT pk FROM tab2 WHERE NOT (col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17))))
----

statement ok
DELETE FROM tab3 WHERE col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17)))
----

query I rowsort label-3305
SELECT pk FROM tab3 WHERE NOT (col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17))))
----

statement ok
DELETE FROM tab4 WHERE col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17)))
----

query I rowsort label-3305
SELECT pk FROM tab4 WHERE NOT (col0 > 17 OR (((((col3 = 13)) OR col3 = 96 AND col1 > 97.52 OR col0 < 44 OR col3 IN (86,57,72,38) AND col0 < 5 AND col1 >= 7.92 AND col0 <= 30 AND (col0 < 4) AND ((((((col4 > 8.68) OR col3 IS NULL))) AND (col3 >= 21) OR (col3 = 7 OR col3 >= 74 OR col4 < 16.60))) OR col0 < 31 AND (col0 <= 92) AND (col3 = 81) AND col0 < 80 AND col4 > 12.94 OR (((col1 > 88.3) OR col4 BETWEEN 68.2 AND 45.20 AND ((col3 >= 21)) AND col1 > 95.62))))) AND col3 >= 43 AND (col1 > 74.82 OR ((col0 > 17))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,35,34.71,'kaeil',56,31.34,'vymfr')

statement ok
INSERT INTO tab0 VALUES(1,33,8.76,'kkfle',50,56.94,'fihci')

statement ok
INSERT INTO tab0 VALUES(2,34,6.75,'gwonq',25,95.99,'hczpi')

statement ok
INSERT INTO tab0 VALUES(3,31,42.13,'vadvo',17,39.57,'bnnak')

statement ok
INSERT INTO tab0 VALUES(4,81,54.66,'cwdib',78,40.15,'kwjki')

statement ok
INSERT INTO tab0 VALUES(5,12,66.51,'xjnqa',88,60.65,'vvcmp')

statement ok
INSERT INTO tab0 VALUES(6,32,52.40,'ifpdz',64,47.59,'cmzxe')

statement ok
INSERT INTO tab0 VALUES(7,46,97.71,'ncsgn',79,90.24,'qnoiu')

statement ok
INSERT INTO tab0 VALUES(8,72,57.61,'gyvje',70,81.72,'kgknx')

statement ok
INSERT INTO tab0 VALUES(9,45,27.18,'ougfr',51,80.11,'kuqnf')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC,col1 DESC,col3 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,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4,col0)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (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 (col0,col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 > 63.45)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 63.45)
----

query I rowsort label-3320
SELECT pk FROM tab0 WHERE NOT ((col4 > 63.45))
----
0
1
3
4
5
6

statement ok
DELETE FROM tab1 WHERE (col4 > 63.45)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 63.45)
----

query I rowsort label-3320
SELECT pk FROM tab1 WHERE NOT ((col4 > 63.45))
----
0
1
3
4
5
6

statement ok
DELETE FROM tab2 WHERE (col4 > 63.45)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 63.45)
----

query I rowsort label-3320
SELECT pk FROM tab2 WHERE NOT ((col4 > 63.45))
----
0
1
3
4
5
6

statement ok
DELETE FROM tab3 WHERE (col4 > 63.45)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 63.45)
----

query I rowsort label-3320
SELECT pk FROM tab3 WHERE NOT ((col4 > 63.45))
----
0
1
3
4
5
6

statement ok
DELETE FROM tab4 WHERE (col4 > 63.45)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 63.45)
----

query I rowsort label-3320
SELECT pk FROM tab4 WHERE NOT ((col4 > 63.45))
----
0
1
3
4
5
6

statement ok
DELETE FROM tab0 WHERE col1 >= 41.47

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 41.47
----

query I rowsort label-3335
SELECT pk FROM tab0 WHERE NOT (col1 >= 41.47)
----
0
1

statement ok
DELETE FROM tab1 WHERE col1 >= 41.47

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 41.47
----

query I rowsort label-3335
SELECT pk FROM tab1 WHERE NOT (col1 >= 41.47)
----
0
1

statement ok
DELETE FROM tab2 WHERE col1 >= 41.47

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 41.47
----

query I rowsort label-3335
SELECT pk FROM tab2 WHERE NOT (col1 >= 41.47)
----
0
1

statement ok
DELETE FROM tab3 WHERE col1 >= 41.47

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 41.47
----

query I rowsort label-3335
SELECT pk FROM tab3 WHERE NOT (col1 >= 41.47)
----
0
1

statement ok
DELETE FROM tab4 WHERE col1 >= 41.47

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 41.47
----

query I rowsort label-3335
SELECT pk FROM tab4 WHERE NOT (col1 >= 41.47)
----
0
1

statement ok
DELETE FROM tab0 WHERE (col3 >= 47 AND col4 <= 83.40)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 47 AND col4 <= 83.40)
----

query I rowsort label-3350
SELECT pk FROM tab0 WHERE NOT ((col3 >= 47 AND col4 <= 83.40))
----

statement ok
DELETE FROM tab1 WHERE (col3 >= 47 AND col4 <= 83.40)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 47 AND col4 <= 83.40)
----

query I rowsort label-3350
SELECT pk FROM tab1 WHERE NOT ((col3 >= 47 AND col4 <= 83.40))
----

statement ok
DELETE FROM tab2 WHERE (col3 >= 47 AND col4 <= 83.40)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 47 AND col4 <= 83.40)
----

query I rowsort label-3350
SELECT pk FROM tab2 WHERE NOT ((col3 >= 47 AND col4 <= 83.40))
----

statement ok
DELETE FROM tab3 WHERE (col3 >= 47 AND col4 <= 83.40)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 47 AND col4 <= 83.40)
----

query I rowsort label-3350
SELECT pk FROM tab3 WHERE NOT ((col3 >= 47 AND col4 <= 83.40))
----

statement ok
DELETE FROM tab4 WHERE (col3 >= 47 AND col4 <= 83.40)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 47 AND col4 <= 83.40)
----

query I rowsort label-3350
SELECT pk FROM tab4 WHERE NOT ((col3 >= 47 AND col4 <= 83.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,47,7.92,'qpfqm',53,78.19,'laydx')

statement ok
INSERT INTO tab0 VALUES(1,86,56.24,'bdzuq',60,40.88,'rinio')

statement ok
INSERT INTO tab0 VALUES(2,14,14.47,'qsbxt',14,50.88,'gpgyd')

statement ok
INSERT INTO tab0 VALUES(3,12,17.18,'ufgsa',76,6.95,'voafo')

statement ok
INSERT INTO tab0 VALUES(4,75,63.14,'giqfz',27,43.64,'uzxfe')

statement ok
INSERT INTO tab0 VALUES(5,21,68.44,'qxcub',80,2.41,'wsqxq')

statement ok
INSERT INTO tab0 VALUES(6,9,36.68,'jvcig',91,89.72,'qvgii')

statement ok
INSERT INTO tab0 VALUES(7,49,18.99,'yjehp',74,38.20,'htsrd')

statement ok
INSERT INTO tab0 VALUES(8,13,70.26,'uerwz',16,75.76,'clplc')

statement ok
INSERT INTO tab0 VALUES(9,51,26.19,'vmgfp',81,79.68,'gjpqw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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
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 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 54

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 54
----

query I rowsort label-3365
SELECT pk FROM tab0 WHERE NOT (col0 < 54)
----
1
4

statement ok
DELETE FROM tab1 WHERE col0 < 54

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 54
----

query I rowsort label-3365
SELECT pk FROM tab1 WHERE NOT (col0 < 54)
----
1
4

statement ok
DELETE FROM tab2 WHERE col0 < 54

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 54
----

query I rowsort label-3365
SELECT pk FROM tab2 WHERE NOT (col0 < 54)
----
1
4

statement ok
DELETE FROM tab3 WHERE col0 < 54

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 54
----

query I rowsort label-3365
SELECT pk FROM tab3 WHERE NOT (col0 < 54)
----
1
4

statement ok
DELETE FROM tab4 WHERE col0 < 54

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 54
----

query I rowsort label-3365
SELECT pk FROM tab4 WHERE NOT (col0 < 54)
----
1
4

statement ok
DELETE FROM tab0 WHERE (col0 > 75)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 75)
----

query I rowsort label-3380
SELECT pk FROM tab0 WHERE NOT ((col0 > 75))
----
4

statement ok
DELETE FROM tab1 WHERE (col0 > 75)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 75)
----

query I rowsort label-3380
SELECT pk FROM tab1 WHERE NOT ((col0 > 75))
----
4

statement ok
DELETE FROM tab2 WHERE (col0 > 75)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 75)
----

query I rowsort label-3380
SELECT pk FROM tab2 WHERE NOT ((col0 > 75))
----
4

statement ok
DELETE FROM tab3 WHERE (col0 > 75)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 75)
----

query I rowsort label-3380
SELECT pk FROM tab3 WHERE NOT ((col0 > 75))
----
4

statement ok
DELETE FROM tab4 WHERE (col0 > 75)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 75)
----

query I rowsort label-3380
SELECT pk FROM tab4 WHERE NOT ((col0 > 75))
----
4

statement ok
DELETE FROM tab0 WHERE col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95)
----

query I rowsort label-3395
SELECT pk FROM tab0 WHERE NOT (col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95))
----

statement ok
DELETE FROM tab1 WHERE col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95)
----

query I rowsort label-3395
SELECT pk FROM tab1 WHERE NOT (col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95))
----

statement ok
DELETE FROM tab2 WHERE col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95)
----

query I rowsort label-3395
SELECT pk FROM tab2 WHERE NOT (col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95))
----

statement ok
DELETE FROM tab3 WHERE col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95)
----

query I rowsort label-3395
SELECT pk FROM tab3 WHERE NOT (col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95))
----

statement ok
DELETE FROM tab4 WHERE col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.95)
----

query I rowsort label-3395
SELECT pk FROM tab4 WHERE NOT (col1 >= 20.18 AND ((((col4 = 44.59)))) AND col4 IS NULL AND col3 BETWEEN 21 AND 3 OR col3 > 97 OR col3 > 16 OR col3 <= 48 AND col0 <= 83 OR col0 < 47 AND (col3 > 89 AND col1 <= 16.91) AND col1 IN (66.76,51.19,98.92,65.84,75.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,17,17.11,'buysc',47,95.30,'mcshk')

statement ok
INSERT INTO tab0 VALUES(1,84,7.40,'kvqvr',24,98.3,'csofq')

statement ok
INSERT INTO tab0 VALUES(2,47,31.42,'qjmfd',56,51.41,'xbgdb')

statement ok
INSERT INTO tab0 VALUES(3,89,69.2,'uvjdy',85,52.67,'rxdoz')

statement ok
INSERT INTO tab0 VALUES(4,18,28.7,'szphw',84,9.65,'mrwhd')

statement ok
INSERT INTO tab0 VALUES(5,72,12.67,'shmfk',68,10.93,'clzhp')

statement ok
INSERT INTO tab0 VALUES(6,45,80.17,'fages',5,77.97,'rcoze')

statement ok
INSERT INTO tab0 VALUES(7,86,9.40,'hfgmx',29,34.21,'kmvhb')

statement ok
INSERT INTO tab0 VALUES(8,16,61.71,'jazmz',55,68.22,'dmwvn')

statement ok
INSERT INTO tab0 VALUES(9,46,37.17,'wsluf',88,90.82,'xhbzo')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 = 98

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 98
----

query I rowsort label-3410
SELECT pk FROM tab0 WHERE NOT (col0 = 98)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 = 98

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 98
----

query I rowsort label-3410
SELECT pk FROM tab1 WHERE NOT (col0 = 98)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 = 98

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 98
----

query I rowsort label-3410
SELECT pk FROM tab2 WHERE NOT (col0 = 98)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 = 98

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 98
----

query I rowsort label-3410
SELECT pk FROM tab3 WHERE NOT (col0 = 98)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 = 98

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 98
----

query I rowsort label-3410
SELECT pk FROM tab4 WHERE NOT (col0 = 98)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col1 BETWEEN 92.19 AND 22.32))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 BETWEEN 92.19 AND 22.32))
----

query I rowsort label-3425
SELECT pk FROM tab0 WHERE NOT (((col1 BETWEEN 92.19 AND 22.32)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col1 BETWEEN 92.19 AND 22.32))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 BETWEEN 92.19 AND 22.32))
----

query I rowsort label-3425
SELECT pk FROM tab1 WHERE NOT (((col1 BETWEEN 92.19 AND 22.32)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col1 BETWEEN 92.19 AND 22.32))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 BETWEEN 92.19 AND 22.32))
----

query I rowsort label-3425
SELECT pk FROM tab2 WHERE NOT (((col1 BETWEEN 92.19 AND 22.32)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col1 BETWEEN 92.19 AND 22.32))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 BETWEEN 92.19 AND 22.32))
----

query I rowsort label-3425
SELECT pk FROM tab3 WHERE NOT (((col1 BETWEEN 92.19 AND 22.32)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col1 BETWEEN 92.19 AND 22.32))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 BETWEEN 92.19 AND 22.32))
----

query I rowsort label-3425
SELECT pk FROM tab4 WHERE NOT (((col1 BETWEEN 92.19 AND 22.32)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (((((col1 > 23.11 OR (((col0 >= 90))))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col1 > 23.11 OR (((col0 >= 90))))))))
----

query I rowsort label-3440
SELECT pk FROM tab0 WHERE NOT ((((((col1 > 23.11 OR (((col0 >= 90)))))))))
----
0
1
5
7

statement ok
DELETE FROM tab1 WHERE (((((col1 > 23.11 OR (((col0 >= 90))))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col1 > 23.11 OR (((col0 >= 90))))))))
----

query I rowsort label-3440
SELECT pk FROM tab1 WHERE NOT ((((((col1 > 23.11 OR (((col0 >= 90)))))))))
----
0
1
5
7

statement ok
DELETE FROM tab2 WHERE (((((col1 > 23.11 OR (((col0 >= 90))))))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col1 > 23.11 OR (((col0 >= 90))))))))
----

query I rowsort label-3440
SELECT pk FROM tab2 WHERE NOT ((((((col1 > 23.11 OR (((col0 >= 90)))))))))
----
0
1
5
7

statement ok
DELETE FROM tab3 WHERE (((((col1 > 23.11 OR (((col0 >= 90))))))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col1 > 23.11 OR (((col0 >= 90))))))))
----

query I rowsort label-3440
SELECT pk FROM tab3 WHERE NOT ((((((col1 > 23.11 OR (((col0 >= 90)))))))))
----
0
1
5
7

statement ok
DELETE FROM tab4 WHERE (((((col1 > 23.11 OR (((col0 >= 90))))))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col1 > 23.11 OR (((col0 >= 90))))))))
----

query I rowsort label-3440
SELECT pk FROM tab4 WHERE NOT ((((((col1 > 23.11 OR (((col0 >= 90)))))))))
----
0
1
5
7

statement ok
DELETE FROM tab0 WHERE (col0 = 94 OR ((col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 94 OR ((col3 IS NULL)))
----

query I rowsort label-3455
SELECT pk FROM tab0 WHERE NOT ((col0 = 94 OR ((col3 IS NULL))))
----
0
1
5
7

statement ok
DELETE FROM tab1 WHERE (col0 = 94 OR ((col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 94 OR ((col3 IS NULL)))
----

query I rowsort label-3455
SELECT pk FROM tab1 WHERE NOT ((col0 = 94 OR ((col3 IS NULL))))
----
0
1
5
7

statement ok
DELETE FROM tab2 WHERE (col0 = 94 OR ((col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 94 OR ((col3 IS NULL)))
----

query I rowsort label-3455
SELECT pk FROM tab2 WHERE NOT ((col0 = 94 OR ((col3 IS NULL))))
----
0
1
5
7

statement ok
DELETE FROM tab3 WHERE (col0 = 94 OR ((col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 94 OR ((col3 IS NULL)))
----

query I rowsort label-3455
SELECT pk FROM tab3 WHERE NOT ((col0 = 94 OR ((col3 IS NULL))))
----
0
1
5
7

statement ok
DELETE FROM tab4 WHERE (col0 = 94 OR ((col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 94 OR ((col3 IS NULL)))
----

query I rowsort label-3455
SELECT pk FROM tab4 WHERE NOT ((col0 = 94 OR ((col3 IS NULL))))
----
0
1
5
7

statement ok
DELETE FROM tab0 WHERE (col0 < 71)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 71)
----

query I rowsort label-3470
SELECT pk FROM tab0 WHERE NOT ((col0 < 71))
----
1
5
7

statement ok
DELETE FROM tab1 WHERE (col0 < 71)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 71)
----

query I rowsort label-3470
SELECT pk FROM tab1 WHERE NOT ((col0 < 71))
----
1
5
7

statement ok
DELETE FROM tab2 WHERE (col0 < 71)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 71)
----

query I rowsort label-3470
SELECT pk FROM tab2 WHERE NOT ((col0 < 71))
----
1
5
7

statement ok
DELETE FROM tab3 WHERE (col0 < 71)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 71)
----

query I rowsort label-3470
SELECT pk FROM tab3 WHERE NOT ((col0 < 71))
----
1
5
7

statement ok
DELETE FROM tab4 WHERE (col0 < 71)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 71)
----

query I rowsort label-3470
SELECT pk FROM tab4 WHERE NOT ((col0 < 71))
----
1
5
7

statement ok
DELETE FROM tab0 WHERE (col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14
----

query I rowsort label-3485
SELECT pk FROM tab0 WHERE NOT ((col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14)
----

statement ok
DELETE FROM tab1 WHERE (col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14
----

query I rowsort label-3485
SELECT pk FROM tab1 WHERE NOT ((col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14)
----

statement ok
DELETE FROM tab2 WHERE (col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14
----

query I rowsort label-3485
SELECT pk FROM tab2 WHERE NOT ((col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14)
----

statement ok
DELETE FROM tab3 WHERE (col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14
----

query I rowsort label-3485
SELECT pk FROM tab3 WHERE NOT ((col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14)
----

statement ok
DELETE FROM tab4 WHERE (col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR col0 >= 14
----

query I rowsort label-3485
SELECT pk FROM tab4 WHERE NOT ((col4 < 61.33) AND (col3 < 38) AND (col0 <= 82 AND col0 IN (55,78,41) AND col0 >= 9 AND col4 > 47.34) AND ((col4 IS NULL)) AND col4 IS NULL AND col3 > 90 AND (((col0 > 4))) AND (col3 IS NULL AND col3 = 78 AND col4 = 82.41 OR (col0 IN (71,76,42) AND col1 < 39.81) AND (col3 < 30) OR col0 = 43 AND col0 <= 64 AND col0 = 94) OR 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,2,41.65,'smwuf',59,2.96,'brmjn')

statement ok
INSERT INTO tab0 VALUES(1,21,71.38,'oesti',57,5.52,'ocltm')

statement ok
INSERT INTO tab0 VALUES(2,38,55.68,'ptthu',72,84.52,'ehxll')

statement ok
INSERT INTO tab0 VALUES(3,44,32.91,'hvuas',70,57.90,'mkbal')

statement ok
INSERT INTO tab0 VALUES(4,68,28.79,'unaiz',35,87.33,'xayhc')

statement ok
INSERT INTO tab0 VALUES(5,41,70.7,'hefxd',33,92.80,'vqury')

statement ok
INSERT INTO tab0 VALUES(6,55,96.14,'avtsn',74,58.25,'wgzbg')

statement ok
INSERT INTO tab0 VALUES(7,28,67.67,'kzveo',75,52.22,'ugggl')

statement ok
INSERT INTO tab0 VALUES(8,65,84.19,'eendr',19,33.44,'wtute')

statement ok
INSERT INTO tab0 VALUES(9,22,94.79,'oqyhp',25,68.47,'ukjdf')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4,col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col1 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0,col1,col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49))))
----

query I rowsort label-3500
SELECT pk FROM tab0 WHERE NOT ((((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49))))
----

query I rowsort label-3500
SELECT pk FROM tab1 WHERE NOT ((((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49))))
----

query I rowsort label-3500
SELECT pk FROM tab2 WHERE NOT ((((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49))))
----

query I rowsort label-3500
SELECT pk FROM tab3 WHERE NOT ((((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49))))
----

query I rowsort label-3500
SELECT pk FROM tab4 WHERE NOT ((((col3 < 14) OR col3 <= 28 AND col1 <= 45.78 AND ((col0 > 69 AND col3 > 49)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59)))
----

query I rowsort label-3515
SELECT pk FROM tab0 WHERE NOT (col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59)))
----

query I rowsort label-3515
SELECT pk FROM tab1 WHERE NOT (col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59)))
----

query I rowsort label-3515
SELECT pk FROM tab2 WHERE NOT (col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59)))
----

query I rowsort label-3515
SELECT pk FROM tab3 WHERE NOT (col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59)))
----

query I rowsort label-3515
SELECT pk FROM tab4 WHERE NOT (col3 IS NULL AND ((((col0 >= 31)) AND col1 < 52.32 AND col0 > 34 AND (col0 < 59))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 < 18.93 AND col1 IN (10.33,39.57)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 18.93 AND col1 IN (10.33,39.57)
----

query I rowsort label-3530
SELECT pk FROM tab0 WHERE NOT (col1 < 18.93 AND col1 IN (10.33,39.57))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 < 18.93 AND col1 IN (10.33,39.57)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 18.93 AND col1 IN (10.33,39.57)
----

query I rowsort label-3530
SELECT pk FROM tab1 WHERE NOT (col1 < 18.93 AND col1 IN (10.33,39.57))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 < 18.93 AND col1 IN (10.33,39.57)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 18.93 AND col1 IN (10.33,39.57)
----

query I rowsort label-3530
SELECT pk FROM tab2 WHERE NOT (col1 < 18.93 AND col1 IN (10.33,39.57))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 < 18.93 AND col1 IN (10.33,39.57)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 18.93 AND col1 IN (10.33,39.57)
----

query I rowsort label-3530
SELECT pk FROM tab3 WHERE NOT (col1 < 18.93 AND col1 IN (10.33,39.57))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 < 18.93 AND col1 IN (10.33,39.57)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 18.93 AND col1 IN (10.33,39.57)
----

query I rowsort label-3530
SELECT pk FROM tab4 WHERE NOT (col1 < 18.93 AND col1 IN (10.33,39.57))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 >= 20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 20
----

query I rowsort label-3545
SELECT pk FROM tab0 WHERE NOT (col0 >= 20)
----
0

statement ok
DELETE FROM tab1 WHERE col0 >= 20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 20
----

query I rowsort label-3545
SELECT pk FROM tab1 WHERE NOT (col0 >= 20)
----
0

statement ok
DELETE FROM tab2 WHERE col0 >= 20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 20
----

query I rowsort label-3545
SELECT pk FROM tab2 WHERE NOT (col0 >= 20)
----
0

statement ok
DELETE FROM tab3 WHERE col0 >= 20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 20
----

query I rowsort label-3545
SELECT pk FROM tab3 WHERE NOT (col0 >= 20)
----
0

statement ok
DELETE FROM tab4 WHERE col0 >= 20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 20
----

query I rowsort label-3545
SELECT pk FROM tab4 WHERE NOT (col0 >= 20)
----
0

statement ok
DELETE FROM tab0 WHERE col4 >= 51.24

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 51.24
----

query I rowsort label-3560
SELECT pk FROM tab0 WHERE NOT (col4 >= 51.24)
----
0

statement ok
DELETE FROM tab1 WHERE col4 >= 51.24

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 51.24
----

query I rowsort label-3560
SELECT pk FROM tab1 WHERE NOT (col4 >= 51.24)
----
0

statement ok
DELETE FROM tab2 WHERE col4 >= 51.24

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 51.24
----

query I rowsort label-3560
SELECT pk FROM tab2 WHERE NOT (col4 >= 51.24)
----
0

statement ok
DELETE FROM tab3 WHERE col4 >= 51.24

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 51.24
----

query I rowsort label-3560
SELECT pk FROM tab3 WHERE NOT (col4 >= 51.24)
----
0

statement ok
DELETE FROM tab4 WHERE col4 >= 51.24

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 51.24
----

query I rowsort label-3560
SELECT pk FROM tab4 WHERE NOT (col4 >= 51.24)
----
0

statement ok
DELETE FROM tab0 WHERE col3 < 37

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 37
----

query I rowsort label-3575
SELECT pk FROM tab0 WHERE NOT (col3 < 37)
----
0

statement ok
DELETE FROM tab1 WHERE col3 < 37

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 37
----

query I rowsort label-3575
SELECT pk FROM tab1 WHERE NOT (col3 < 37)
----
0

statement ok
DELETE FROM tab2 WHERE col3 < 37

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 37
----

query I rowsort label-3575
SELECT pk FROM tab2 WHERE NOT (col3 < 37)
----
0

statement ok
DELETE FROM tab3 WHERE col3 < 37

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 37
----

query I rowsort label-3575
SELECT pk FROM tab3 WHERE NOT (col3 < 37)
----
0

statement ok
DELETE FROM tab4 WHERE col3 < 37

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 37
----

query I rowsort label-3575
SELECT pk FROM tab4 WHERE NOT (col3 < 37)
----
0

statement ok
DELETE FROM tab0 WHERE ((col4 = 2.52)) AND col3 < 7

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 = 2.52)) AND col3 < 7
----

query I rowsort label-3590
SELECT pk FROM tab0 WHERE NOT (((col4 = 2.52)) AND col3 < 7)
----
0

statement ok
DELETE FROM tab1 WHERE ((col4 = 2.52)) AND col3 < 7

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 = 2.52)) AND col3 < 7
----

query I rowsort label-3590
SELECT pk FROM tab1 WHERE NOT (((col4 = 2.52)) AND col3 < 7)
----
0

statement ok
DELETE FROM tab2 WHERE ((col4 = 2.52)) AND col3 < 7

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 = 2.52)) AND col3 < 7
----

query I rowsort label-3590
SELECT pk FROM tab2 WHERE NOT (((col4 = 2.52)) AND col3 < 7)
----
0

statement ok
DELETE FROM tab3 WHERE ((col4 = 2.52)) AND col3 < 7

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 = 2.52)) AND col3 < 7
----

query I rowsort label-3590
SELECT pk FROM tab3 WHERE NOT (((col4 = 2.52)) AND col3 < 7)
----
0

statement ok
DELETE FROM tab4 WHERE ((col4 = 2.52)) AND col3 < 7

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 = 2.52)) AND col3 < 7
----

query I rowsort label-3590
SELECT pk FROM tab4 WHERE NOT (((col4 = 2.52)) AND col3 < 7)
----
0

statement ok
DELETE FROM tab0 WHERE col4 = 32.61

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 32.61
----

query I rowsort label-3605
SELECT pk FROM tab0 WHERE NOT (col4 = 32.61)
----
0

statement ok
DELETE FROM tab1 WHERE col4 = 32.61

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 32.61
----

query I rowsort label-3605
SELECT pk FROM tab1 WHERE NOT (col4 = 32.61)
----
0

statement ok
DELETE FROM tab2 WHERE col4 = 32.61

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 32.61
----

query I rowsort label-3605
SELECT pk FROM tab2 WHERE NOT (col4 = 32.61)
----
0

statement ok
DELETE FROM tab3 WHERE col4 = 32.61

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 32.61
----

query I rowsort label-3605
SELECT pk FROM tab3 WHERE NOT (col4 = 32.61)
----
0

statement ok
DELETE FROM tab4 WHERE col4 = 32.61

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 32.61
----

query I rowsort label-3605
SELECT pk FROM tab4 WHERE NOT (col4 = 32.61)
----
0

statement ok
DELETE FROM tab0 WHERE col3 > 79

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 79
----

query I rowsort label-3620
SELECT pk FROM tab0 WHERE NOT (col3 > 79)
----
0

statement ok
DELETE FROM tab1 WHERE col3 > 79

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 79
----

query I rowsort label-3620
SELECT pk FROM tab1 WHERE NOT (col3 > 79)
----
0

statement ok
DELETE FROM tab2 WHERE col3 > 79

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 79
----

query I rowsort label-3620
SELECT pk FROM tab2 WHERE NOT (col3 > 79)
----
0

statement ok
DELETE FROM tab3 WHERE col3 > 79

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 79
----

query I rowsort label-3620
SELECT pk FROM tab3 WHERE NOT (col3 > 79)
----
0

statement ok
DELETE FROM tab4 WHERE col3 > 79

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 79
----

query I rowsort label-3620
SELECT pk FROM tab4 WHERE NOT (col3 > 79)
----
0

statement ok
DELETE FROM tab0 WHERE col4 >= 48.36

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 48.36
----

query I rowsort label-3635
SELECT pk FROM tab0 WHERE NOT (col4 >= 48.36)
----
0

statement ok
DELETE FROM tab1 WHERE col4 >= 48.36

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 48.36
----

query I rowsort label-3635
SELECT pk FROM tab1 WHERE NOT (col4 >= 48.36)
----
0

statement ok
DELETE FROM tab2 WHERE col4 >= 48.36

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 48.36
----

query I rowsort label-3635
SELECT pk FROM tab2 WHERE NOT (col4 >= 48.36)
----
0

statement ok
DELETE FROM tab3 WHERE col4 >= 48.36

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 48.36
----

query I rowsort label-3635
SELECT pk FROM tab3 WHERE NOT (col4 >= 48.36)
----
0

statement ok
DELETE FROM tab4 WHERE col4 >= 48.36

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 48.36
----

query I rowsort label-3635
SELECT pk FROM tab4 WHERE NOT (col4 >= 48.36)
----
0

statement ok
DELETE FROM tab0 WHERE col3 >= 81

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 81
----

query I rowsort label-3650
SELECT pk FROM tab0 WHERE NOT (col3 >= 81)
----
0

statement ok
DELETE FROM tab1 WHERE col3 >= 81

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 81
----

query I rowsort label-3650
SELECT pk FROM tab1 WHERE NOT (col3 >= 81)
----
0

statement ok
DELETE FROM tab2 WHERE col3 >= 81

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 81
----

query I rowsort label-3650
SELECT pk FROM tab2 WHERE NOT (col3 >= 81)
----
0

statement ok
DELETE FROM tab3 WHERE col3 >= 81

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 81
----

query I rowsort label-3650
SELECT pk FROM tab3 WHERE NOT (col3 >= 81)
----
0

statement ok
DELETE FROM tab4 WHERE col3 >= 81

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 81
----

query I rowsort label-3650
SELECT pk FROM tab4 WHERE NOT (col3 >= 81)
----
0

statement ok
DELETE FROM tab0 WHERE (col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL)))
----

query I rowsort label-3665
SELECT pk FROM tab0 WHERE NOT ((col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL))))
----
0

statement ok
DELETE FROM tab1 WHERE (col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL)))
----

query I rowsort label-3665
SELECT pk FROM tab1 WHERE NOT ((col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL))))
----
0

statement ok
DELETE FROM tab2 WHERE (col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL)))
----

query I rowsort label-3665
SELECT pk FROM tab2 WHERE NOT ((col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL))))
----
0

statement ok
DELETE FROM tab3 WHERE (col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL)))
----

query I rowsort label-3665
SELECT pk FROM tab3 WHERE NOT ((col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL))))
----
0

statement ok
DELETE FROM tab4 WHERE (col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL)))
----

query I rowsort label-3665
SELECT pk FROM tab4 WHERE NOT ((col4 > 61.14 AND col1 > 2.18) AND col3 > 30 AND (((col0 >= 42) AND (((col3 > 23)) OR col3 IS NULL))))
----
0

statement ok
DELETE FROM tab0 WHERE col0 > 80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 80
----

query I rowsort label-3680
SELECT pk FROM tab0 WHERE NOT (col0 > 80)
----
0

statement ok
DELETE FROM tab1 WHERE col0 > 80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 80
----

query I rowsort label-3680
SELECT pk FROM tab1 WHERE NOT (col0 > 80)
----
0

statement ok
DELETE FROM tab2 WHERE col0 > 80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 80
----

query I rowsort label-3680
SELECT pk FROM tab2 WHERE NOT (col0 > 80)
----
0

statement ok
DELETE FROM tab3 WHERE col0 > 80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 80
----

query I rowsort label-3680
SELECT pk FROM tab3 WHERE NOT (col0 > 80)
----
0

statement ok
DELETE FROM tab4 WHERE col0 > 80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 80
----

query I rowsort label-3680
SELECT pk FROM tab4 WHERE NOT (col0 > 80)
----
0

statement ok
DELETE FROM tab0 WHERE col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85)
----

query I rowsort label-3695
SELECT pk FROM tab0 WHERE NOT (col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85))
----

statement ok
DELETE FROM tab1 WHERE col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85)
----

query I rowsort label-3695
SELECT pk FROM tab1 WHERE NOT (col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85))
----

statement ok
DELETE FROM tab2 WHERE col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85)
----

query I rowsort label-3695
SELECT pk FROM tab2 WHERE NOT (col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85))
----

statement ok
DELETE FROM tab3 WHERE col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85)
----

query I rowsort label-3695
SELECT pk FROM tab3 WHERE NOT (col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85))
----

statement ok
DELETE FROM tab4 WHERE col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85)
----

query I rowsort label-3695
SELECT pk FROM tab4 WHERE NOT (col1 > 21.11 OR col0 > 42 OR ((col3 <= 34) OR col0 > 85))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,5,28.72,'tasjz',7,73.31,'tremx')

statement ok
INSERT INTO tab0 VALUES(1,73,17.26,'jtpmp',82,47.42,'olncc')

statement ok
INSERT INTO tab0 VALUES(2,85,31.86,'xchyr',31,74.13,'muebs')

statement ok
INSERT INTO tab0 VALUES(3,82,38.75,'tgngg',62,23.68,'xuhtg')

statement ok
INSERT INTO tab0 VALUES(4,3,11.5,'tijzf',12,75.97,'itjkt')

statement ok
INSERT INTO tab0 VALUES(5,48,39.39,'faill',11,25.23,'fumst')

statement ok
INSERT INTO tab0 VALUES(6,43,37.50,'aamda',43,17.63,'dngkq')

statement ok
INSERT INTO tab0 VALUES(7,96,67.89,'vxpmh',10,33.92,'eodbm')

statement ok
INSERT INTO tab0 VALUES(8,68,42.43,'fqhmz',94,18.0,'phlml')

statement ok
INSERT INTO tab0 VALUES(9,29,43.99,'rddgj',19,92.61,'klmns')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1,col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4,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 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC,col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
CREATE 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 < 95

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 95
----

query I rowsort label-3710
SELECT pk FROM tab0 WHERE NOT (col3 < 95)
----

statement ok
DELETE FROM tab1 WHERE col3 < 95

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 95
----

query I rowsort label-3710
SELECT pk FROM tab1 WHERE NOT (col3 < 95)
----

statement ok
DELETE FROM tab2 WHERE col3 < 95

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 95
----

query I rowsort label-3710
SELECT pk FROM tab2 WHERE NOT (col3 < 95)
----

statement ok
DELETE FROM tab3 WHERE col3 < 95

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 95
----

query I rowsort label-3710
SELECT pk FROM tab3 WHERE NOT (col3 < 95)
----

statement ok
DELETE FROM tab4 WHERE col3 < 95

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 95
----

query I rowsort label-3710
SELECT pk FROM tab4 WHERE NOT (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,85,24.11,'cpijm',24,23.66,'tdhmr')

statement ok
INSERT INTO tab0 VALUES(1,59,54.32,'amyyo',25,77.37,'tdssu')

statement ok
INSERT INTO tab0 VALUES(2,97,82.38,'plbrq',50,44.44,'bxqim')

statement ok
INSERT INTO tab0 VALUES(3,56,94.10,'ccovf',61,5.80,'nfvxp')

statement ok
INSERT INTO tab0 VALUES(4,21,84.7,'pcvee',98,83.21,'teyma')

statement ok
INSERT INTO tab0 VALUES(5,22,17.75,'mwjem',7,0.39,'jnzxn')

statement ok
INSERT INTO tab0 VALUES(6,43,89.63,'ccjcq',41,45.9,'unzwi')

statement ok
INSERT INTO tab0 VALUES(7,39,95.32,'jokbk',81,30.31,'xhsbs')

statement ok
INSERT INTO tab0 VALUES(8,44,85.68,'mkbin',42,60.35,'qvghp')

statement ok
INSERT INTO tab0 VALUES(9,84,32.97,'lgnfb',92,92.93,'ldnli')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 >= 40

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 40
----

query I rowsort label-3725
SELECT pk FROM tab0 WHERE NOT (col3 >= 40)
----
0
1
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-3725
SELECT pk FROM tab1 WHERE NOT (col3 >= 40)
----
0
1
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-3725
SELECT pk FROM tab2 WHERE NOT (col3 >= 40)
----
0
1
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-3725
SELECT pk FROM tab3 WHERE NOT (col3 >= 40)
----
0
1
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-3725
SELECT pk FROM tab4 WHERE NOT (col3 >= 40)
----
0
1
5

statement ok
DELETE FROM tab0 WHERE ((col3 > 51) OR col0 >= 99 AND col4 < 82.36)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 51) OR col0 >= 99 AND col4 < 82.36)
----

query I rowsort label-3740
SELECT pk FROM tab0 WHERE NOT (((col3 > 51) OR col0 >= 99 AND col4 < 82.36))
----
0
1
5

statement ok
DELETE FROM tab1 WHERE ((col3 > 51) OR col0 >= 99 AND col4 < 82.36)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 51) OR col0 >= 99 AND col4 < 82.36)
----

query I rowsort label-3740
SELECT pk FROM tab1 WHERE NOT (((col3 > 51) OR col0 >= 99 AND col4 < 82.36))
----
0
1
5

statement ok
DELETE FROM tab2 WHERE ((col3 > 51) OR col0 >= 99 AND col4 < 82.36)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 51) OR col0 >= 99 AND col4 < 82.36)
----

query I rowsort label-3740
SELECT pk FROM tab2 WHERE NOT (((col3 > 51) OR col0 >= 99 AND col4 < 82.36))
----
0
1
5

statement ok
DELETE FROM tab3 WHERE ((col3 > 51) OR col0 >= 99 AND col4 < 82.36)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 51) OR col0 >= 99 AND col4 < 82.36)
----

query I rowsort label-3740
SELECT pk FROM tab3 WHERE NOT (((col3 > 51) OR col0 >= 99 AND col4 < 82.36))
----
0
1
5

statement ok
DELETE FROM tab4 WHERE ((col3 > 51) OR col0 >= 99 AND col4 < 82.36)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 51) OR col0 >= 99 AND col4 < 82.36)
----

query I rowsort label-3740
SELECT pk FROM tab4 WHERE NOT (((col3 > 51) OR col0 >= 99 AND col4 < 82.36))
----
0
1
5

statement ok
DELETE FROM tab0 WHERE col3 >= 32

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 32
----

query I rowsort label-3755
SELECT pk FROM tab0 WHERE NOT (col3 >= 32)
----
0
1
5

statement ok
DELETE FROM tab1 WHERE col3 >= 32

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 32
----

query I rowsort label-3755
SELECT pk FROM tab1 WHERE NOT (col3 >= 32)
----
0
1
5

statement ok
DELETE FROM tab2 WHERE col3 >= 32

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 32
----

query I rowsort label-3755
SELECT pk FROM tab2 WHERE NOT (col3 >= 32)
----
0
1
5

statement ok
DELETE FROM tab3 WHERE col3 >= 32

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 32
----

query I rowsort label-3755
SELECT pk FROM tab3 WHERE NOT (col3 >= 32)
----
0
1
5

statement ok
DELETE FROM tab4 WHERE col3 >= 32

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 32
----

query I rowsort label-3755
SELECT pk FROM tab4 WHERE NOT (col3 >= 32)
----
0
1
5

statement ok
DELETE FROM tab0 WHERE col1 < 94.7

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 94.7
----

query I rowsort label-3770
SELECT pk FROM tab0 WHERE NOT (col1 < 94.7)
----

statement ok
DELETE FROM tab1 WHERE col1 < 94.7

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 94.7
----

query I rowsort label-3770
SELECT pk FROM tab1 WHERE NOT (col1 < 94.7)
----

statement ok
DELETE FROM tab2 WHERE col1 < 94.7

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 94.7
----

query I rowsort label-3770
SELECT pk FROM tab2 WHERE NOT (col1 < 94.7)
----

statement ok
DELETE FROM tab3 WHERE col1 < 94.7

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 94.7
----

query I rowsort label-3770
SELECT pk FROM tab3 WHERE NOT (col1 < 94.7)
----

statement ok
DELETE FROM tab4 WHERE col1 < 94.7

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 94.7
----

query I rowsort label-3770
SELECT pk FROM tab4 WHERE NOT (col1 < 94.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,22,38.0,'lxyaj',94,80.17,'bjmfv')

statement ok
INSERT INTO tab0 VALUES(1,87,33.42,'jrwch',15,10.73,'fuplr')

statement ok
INSERT INTO tab0 VALUES(2,48,14.58,'olnld',30,93.11,'ejxty')

statement ok
INSERT INTO tab0 VALUES(3,50,23.89,'yqwex',81,84.34,'xdorm')

statement ok
INSERT INTO tab0 VALUES(4,83,67.76,'eyenk',61,82.2,'rjzlg')

statement ok
INSERT INTO tab0 VALUES(5,94,83.78,'oktyz',24,1.48,'lwdyz')

statement ok
INSERT INTO tab0 VALUES(6,1,97.81,'qkidx',3,22.89,'uvozv')

statement ok
INSERT INTO tab0 VALUES(7,3,90.9,'pdagi',17,64.37,'kgrjy')

statement ok
INSERT INTO tab0 VALUES(8,95,57.40,'eknap',88,41.13,'pwozc')

statement ok
INSERT INTO tab0 VALUES(9,75,72.17,'dvevb',50,27.61,'fiozl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC,col0,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1 DESC,col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC,col3,col1)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1 DESC,col3,col4)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1,col4,col0 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC,col1)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 >= 52)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 52)
----

query I rowsort label-3785
SELECT pk FROM tab0 WHERE NOT ((col3 >= 52))
----
1
2
5
6
7
9

statement ok
DELETE FROM tab1 WHERE (col3 >= 52)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 52)
----

query I rowsort label-3785
SELECT pk FROM tab1 WHERE NOT ((col3 >= 52))
----
1
2
5
6
7
9

statement ok
DELETE FROM tab2 WHERE (col3 >= 52)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 52)
----

query I rowsort label-3785
SELECT pk FROM tab2 WHERE NOT ((col3 >= 52))
----
1
2
5
6
7
9

statement ok
DELETE FROM tab3 WHERE (col3 >= 52)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 52)
----

query I rowsort label-3785
SELECT pk FROM tab3 WHERE NOT ((col3 >= 52))
----
1
2
5
6
7
9

statement ok
DELETE FROM tab4 WHERE (col3 >= 52)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 52)
----

query I rowsort label-3785
SELECT pk FROM tab4 WHERE NOT ((col3 >= 52))
----
1
2
5
6
7
9

statement ok
DELETE FROM tab0 WHERE col4 > 82.85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 82.85
----

query I rowsort label-3800
SELECT pk FROM tab0 WHERE NOT (col4 > 82.85)
----
1
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col4 > 82.85

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 82.85
----

query I rowsort label-3800
SELECT pk FROM tab1 WHERE NOT (col4 > 82.85)
----
1
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col4 > 82.85

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 82.85
----

query I rowsort label-3800
SELECT pk FROM tab2 WHERE NOT (col4 > 82.85)
----
1
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col4 > 82.85

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 82.85
----

query I rowsort label-3800
SELECT pk FROM tab3 WHERE NOT (col4 > 82.85)
----
1
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col4 > 82.85

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 82.85
----

query I rowsort label-3800
SELECT pk FROM tab4 WHERE NOT (col4 > 82.85)
----
1
5
6
7
9

statement ok
DELETE FROM tab0 WHERE ((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75))
----

query I rowsort label-3815
SELECT pk FROM tab0 WHERE NOT (((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75)))
----

statement ok
DELETE FROM tab1 WHERE ((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75))
----

query I rowsort label-3815
SELECT pk FROM tab1 WHERE NOT (((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75)))
----

statement ok
DELETE FROM tab2 WHERE ((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75))
----

query I rowsort label-3815
SELECT pk FROM tab2 WHERE NOT (((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75)))
----

statement ok
DELETE FROM tab3 WHERE ((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75))
----

query I rowsort label-3815
SELECT pk FROM tab3 WHERE NOT (((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75)))
----

statement ok
DELETE FROM tab4 WHERE ((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75))
----

query I rowsort label-3815
SELECT pk FROM tab4 WHERE NOT (((col0 > 80 AND (col4 > 32.86 OR ((col0 >= 33 AND ((col1 = 14.31)) AND col4 > 15.77 OR col0 < 68 OR col0 <= 28))) AND col0 >= 9 OR col4 <= 68.75)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,9,46.54,'exoel',48,18.10,'juuzv')

statement ok
INSERT INTO tab0 VALUES(1,91,4.49,'xcopk',12,92.94,'ohsyi')

statement ok
INSERT INTO tab0 VALUES(2,74,7.13,'xywrx',34,11.35,'thmfz')

statement ok
INSERT INTO tab0 VALUES(3,55,54.78,'lcvhv',37,98.95,'gkmir')

statement ok
INSERT INTO tab0 VALUES(4,49,93.28,'bklcy',91,28.74,'dsylw')

statement ok
INSERT INTO tab0 VALUES(5,50,32.68,'viscb',81,45.72,'qhbtk')

statement ok
INSERT INTO tab0 VALUES(6,95,50.84,'hsnex',61,69.53,'zvbiu')

statement ok
INSERT INTO tab0 VALUES(7,24,15.7,'rizxo',26,15.3,'rjlqk')

statement ok
INSERT INTO tab0 VALUES(8,48,90.74,'cmlbk',64,0.0,'rtwdk')

statement ok
INSERT INTO tab0 VALUES(9,4,49.89,'muqfh',30,58.68,'gjryb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 DESC)

statement ok
CREATE 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 (col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
CREATE 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)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col3,col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,34,88.82,'czmbn',40,11.63,'eptbb')

statement ok
INSERT INTO tab0 VALUES(1,2,20.74,'shgme',24,14.15,'agisj')

statement ok
INSERT INTO tab0 VALUES(2,35,65.68,'ogbct',58,33.65,'zsjqf')

statement ok
INSERT INTO tab0 VALUES(3,33,93.14,'feiym',4,65.90,'wnozu')

statement ok
INSERT INTO tab0 VALUES(4,69,68.89,'kvxlu',97,79.47,'yuyrt')

statement ok
INSERT INTO tab0 VALUES(5,97,6.12,'prykr',62,78.91,'pfqts')

statement ok
INSERT INTO tab0 VALUES(6,65,39.52,'ttjfo',25,63.87,'yihfz')

statement ok
INSERT INTO tab0 VALUES(7,30,76.44,'vbnzs',26,94.18,'movkc')

statement ok
INSERT INTO tab0 VALUES(8,67,69.1,'mpwmd',29,54.3,'rmcbm')

statement ok
INSERT INTO tab0 VALUES(9,84,73.26,'rinpw',39,10.7,'qqljd')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col3 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 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 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_5 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 (col1 DESC,col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10)
----

query I rowsort label-3830
SELECT pk FROM tab0 WHERE NOT ((col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10))
----

statement ok
DELETE FROM tab1 WHERE (col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10)
----

query I rowsort label-3830
SELECT pk FROM tab1 WHERE NOT ((col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10))
----

statement ok
DELETE FROM tab2 WHERE (col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10)
----

query I rowsort label-3830
SELECT pk FROM tab2 WHERE NOT ((col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10))
----

statement ok
DELETE FROM tab3 WHERE (col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10)
----

query I rowsort label-3830
SELECT pk FROM tab3 WHERE NOT ((col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10))
----

statement ok
DELETE FROM tab4 WHERE (col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10)
----

query I rowsort label-3830
SELECT pk FROM tab4 WHERE NOT ((col3 > 65 AND col3 > 41 OR col0 >= 13 OR col0 < 10))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,49,59.72,'xrcfc',76,5.33,'mdzih')

statement ok
INSERT INTO tab0 VALUES(1,56,77.31,'uxcem',42,8.79,'ukigl')

statement ok
INSERT INTO tab0 VALUES(2,26,80.66,'zbiwb',67,33.11,'ligdt')

statement ok
INSERT INTO tab0 VALUES(3,84,95.86,'kkogw',5,22.92,'wrzun')

statement ok
INSERT INTO tab0 VALUES(4,89,47.7,'znomz',99,49.92,'fdxmy')

statement ok
INSERT INTO tab0 VALUES(5,47,24.59,'aooie',95,79.5,'zohvt')

statement ok
INSERT INTO tab0 VALUES(6,22,35.2,'zexaj',53,34.60,'ouvfq')

statement ok
INSERT INTO tab0 VALUES(7,50,76.39,'dvvmo',63,50.35,'wdgte')

statement ok
INSERT INTO tab0 VALUES(8,51,92.24,'cxunf',52,46.67,'dhajc')

statement ok
INSERT INTO tab0 VALUES(9,37,40.80,'lrkww',1,81.66,'iladh')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3 DESC,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC,col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col1 <= 42.60)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 <= 42.60)
----

query I rowsort label-3845
SELECT pk FROM tab0 WHERE NOT ((col1 <= 42.60))
----
0
1
2
3
4
7
8

statement ok
DELETE FROM tab1 WHERE (col1 <= 42.60)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 <= 42.60)
----

query I rowsort label-3845
SELECT pk FROM tab1 WHERE NOT ((col1 <= 42.60))
----
0
1
2
3
4
7
8

statement ok
DELETE FROM tab2 WHERE (col1 <= 42.60)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 <= 42.60)
----

query I rowsort label-3845
SELECT pk FROM tab2 WHERE NOT ((col1 <= 42.60))
----
0
1
2
3
4
7
8

statement ok
DELETE FROM tab3 WHERE (col1 <= 42.60)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 <= 42.60)
----

query I rowsort label-3845
SELECT pk FROM tab3 WHERE NOT ((col1 <= 42.60))
----
0
1
2
3
4
7
8

statement ok
DELETE FROM tab4 WHERE (col1 <= 42.60)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 <= 42.60)
----

query I rowsort label-3845
SELECT pk FROM tab4 WHERE NOT ((col1 <= 42.60))
----
0
1
2
3
4
7
8

statement ok
DELETE FROM tab0 WHERE col3 < 1

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 1
----

query I rowsort label-3860
SELECT pk FROM tab0 WHERE NOT (col3 < 1)
----
0
1
2
3
4
7
8

statement ok
DELETE FROM tab1 WHERE col3 < 1

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 1
----

query I rowsort label-3860
SELECT pk FROM tab1 WHERE NOT (col3 < 1)
----
0
1
2
3
4
7
8

statement ok
DELETE FROM tab2 WHERE col3 < 1

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 1
----

query I rowsort label-3860
SELECT pk FROM tab2 WHERE NOT (col3 < 1)
----
0
1
2
3
4
7
8

statement ok
DELETE FROM tab3 WHERE col3 < 1

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 1
----

query I rowsort label-3860
SELECT pk FROM tab3 WHERE NOT (col3 < 1)
----
0
1
2
3
4
7
8

statement ok
DELETE FROM tab4 WHERE col3 < 1

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 1
----

query I rowsort label-3860
SELECT pk FROM tab4 WHERE NOT (col3 < 1)
----
0
1
2
3
4
7
8

statement ok
DELETE FROM tab0 WHERE col0 < 28

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 28
----

query I rowsort label-3875
SELECT pk FROM tab0 WHERE NOT (col0 < 28)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab1 WHERE col0 < 28

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 28
----

query I rowsort label-3875
SELECT pk FROM tab1 WHERE NOT (col0 < 28)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab2 WHERE col0 < 28

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 28
----

query I rowsort label-3875
SELECT pk FROM tab2 WHERE NOT (col0 < 28)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab3 WHERE col0 < 28

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 28
----

query I rowsort label-3875
SELECT pk FROM tab3 WHERE NOT (col0 < 28)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab4 WHERE col0 < 28

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 28
----

query I rowsort label-3875
SELECT pk FROM tab4 WHERE NOT (col0 < 28)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab0 WHERE col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL))))
----

query I rowsort label-3890
SELECT pk FROM tab0 WHERE NOT (col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL)))))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab1 WHERE col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL))))
----

query I rowsort label-3890
SELECT pk FROM tab1 WHERE NOT (col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL)))))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab2 WHERE col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL))))
----

query I rowsort label-3890
SELECT pk FROM tab2 WHERE NOT (col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL)))))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab3 WHERE col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL))))
----

query I rowsort label-3890
SELECT pk FROM tab3 WHERE NOT (col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL)))))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab4 WHERE col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL))))
----

query I rowsort label-3890
SELECT pk FROM tab4 WHERE NOT (col0 < 68 AND (col0 < 32) OR ((((col4 IS NULL)))))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab0 WHERE col1 < 17.93

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 17.93
----

query I rowsort label-3905
SELECT pk FROM tab0 WHERE NOT (col1 < 17.93)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab1 WHERE col1 < 17.93

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 17.93
----

query I rowsort label-3905
SELECT pk FROM tab1 WHERE NOT (col1 < 17.93)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab2 WHERE col1 < 17.93

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 17.93
----

query I rowsort label-3905
SELECT pk FROM tab2 WHERE NOT (col1 < 17.93)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab3 WHERE col1 < 17.93

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 17.93
----

query I rowsort label-3905
SELECT pk FROM tab3 WHERE NOT (col1 < 17.93)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab4 WHERE col1 < 17.93

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 17.93
----

query I rowsort label-3905
SELECT pk FROM tab4 WHERE NOT (col1 < 17.93)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab0 WHERE col1 = 65.54

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 65.54
----

query I rowsort label-3920
SELECT pk FROM tab0 WHERE NOT (col1 = 65.54)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab1 WHERE col1 = 65.54

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 65.54
----

query I rowsort label-3920
SELECT pk FROM tab1 WHERE NOT (col1 = 65.54)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab2 WHERE col1 = 65.54

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 65.54
----

query I rowsort label-3920
SELECT pk FROM tab2 WHERE NOT (col1 = 65.54)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab3 WHERE col1 = 65.54

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 65.54
----

query I rowsort label-3920
SELECT pk FROM tab3 WHERE NOT (col1 = 65.54)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab4 WHERE col1 = 65.54

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 65.54
----

query I rowsort label-3920
SELECT pk FROM tab4 WHERE NOT (col1 = 65.54)
----
0
1
3
4
7
8

statement ok
DELETE FROM tab0 WHERE (((col0 IS NULL)) AND col3 >= 32)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 IS NULL)) AND col3 >= 32)
----

query I rowsort label-3935
SELECT pk FROM tab0 WHERE NOT ((((col0 IS NULL)) AND col3 >= 32))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab1 WHERE (((col0 IS NULL)) AND col3 >= 32)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 IS NULL)) AND col3 >= 32)
----

query I rowsort label-3935
SELECT pk FROM tab1 WHERE NOT ((((col0 IS NULL)) AND col3 >= 32))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab2 WHERE (((col0 IS NULL)) AND col3 >= 32)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 IS NULL)) AND col3 >= 32)
----

query I rowsort label-3935
SELECT pk FROM tab2 WHERE NOT ((((col0 IS NULL)) AND col3 >= 32))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab3 WHERE (((col0 IS NULL)) AND col3 >= 32)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 IS NULL)) AND col3 >= 32)
----

query I rowsort label-3935
SELECT pk FROM tab3 WHERE NOT ((((col0 IS NULL)) AND col3 >= 32))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab4 WHERE (((col0 IS NULL)) AND col3 >= 32)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 IS NULL)) AND col3 >= 32)
----

query I rowsort label-3935
SELECT pk FROM tab4 WHERE NOT ((((col0 IS NULL)) AND col3 >= 32))
----
0
1
3
4
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,82,66.24,'ggtow',57,97.36,'srlpd')

statement ok
INSERT INTO tab0 VALUES(1,72,57.71,'gcoud',59,55.91,'kyqvn')

statement ok
INSERT INTO tab0 VALUES(2,21,49.28,'btqjp',97,49.61,'madnv')

statement ok
INSERT INTO tab0 VALUES(3,86,50.37,'kwmzn',36,61.64,'lfhwu')

statement ok
INSERT INTO tab0 VALUES(4,94,59.67,'hnbth',17,46.0,'jjtam')

statement ok
INSERT INTO tab0 VALUES(5,53,27.29,'kkpew',70,94.67,'hbeec')

statement ok
INSERT INTO tab0 VALUES(6,66,23.84,'xxegr',24,91.69,'dpxni')

statement ok
INSERT INTO tab0 VALUES(7,44,93.59,'biguz',25,84.33,'deloh')

statement ok
INSERT INTO tab0 VALUES(8,18,24.61,'sxjht',41,41.22,'lehfv')

statement ok
INSERT INTO tab0 VALUES(9,50,5.83,'bysfb',82,14.40,'xzhvl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1,col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3,col4 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3,col1)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0,col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 94 AND 33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 94 AND 33
----

query I rowsort label-3950
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 94 AND 33)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 94 AND 33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 94 AND 33
----

query I rowsort label-3950
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 94 AND 33)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 94 AND 33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 94 AND 33
----

query I rowsort label-3950
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 94 AND 33)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 94 AND 33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 94 AND 33
----

query I rowsort label-3950
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 94 AND 33)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 94 AND 33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 94 AND 33
----

query I rowsort label-3950
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 94 AND 33)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col1 = 33.64)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 33.64)
----

query I rowsort label-3965
SELECT pk FROM tab0 WHERE NOT ((col1 = 33.64))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col1 = 33.64)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 33.64)
----

query I rowsort label-3965
SELECT pk FROM tab1 WHERE NOT ((col1 = 33.64))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col1 = 33.64)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 33.64)
----

query I rowsort label-3965
SELECT pk FROM tab2 WHERE NOT ((col1 = 33.64))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col1 = 33.64)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 33.64)
----

query I rowsort label-3965
SELECT pk FROM tab3 WHERE NOT ((col1 = 33.64))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col1 = 33.64)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 33.64)
----

query I rowsort label-3965
SELECT pk FROM tab4 WHERE NOT ((col1 = 33.64))
----
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,83,62.26,'ackty',23,39.3,'jisjp')

statement ok
INSERT INTO tab0 VALUES(1,16,3.48,'xaavw',96,13.97,'fivrf')

statement ok
INSERT INTO tab0 VALUES(2,68,81.38,'ylxwf',52,29.38,'zanap')

statement ok
INSERT INTO tab0 VALUES(3,99,63.32,'ubrtw',55,51.74,'zilmu')

statement ok
INSERT INTO tab0 VALUES(4,3,25.47,'uopub',56,82.40,'zjbrc')

statement ok
INSERT INTO tab0 VALUES(5,15,12.85,'qmxaz',1,25.60,'awcbn')

statement ok
INSERT INTO tab0 VALUES(6,27,4.49,'ymqfl',54,52.70,'uhovq')

statement ok
INSERT INTO tab0 VALUES(7,98,73.58,'algeq',2,54.22,'ntxhb')

statement ok
INSERT INTO tab0 VALUES(8,69,54.54,'iqapl',65,19.5,'jhatz')

statement ok
INSERT INTO tab0 VALUES(9,72,0.20,'fralk',17,84.47,'fzstb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 INDEX idx_tab2_3 ON tab2 (col3,col4 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3,col0)

statement ok
CREATE UNIQUE 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 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 < 31

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 31
----

query I rowsort label-3980
SELECT pk FROM tab0 WHERE NOT (col3 < 31)
----
1
2
3
4
6
8

statement ok
DELETE FROM tab1 WHERE col3 < 31

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 31
----

query I rowsort label-3980
SELECT pk FROM tab1 WHERE NOT (col3 < 31)
----
1
2
3
4
6
8

statement ok
DELETE FROM tab2 WHERE col3 < 31

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 31
----

query I rowsort label-3980
SELECT pk FROM tab2 WHERE NOT (col3 < 31)
----
1
2
3
4
6
8

statement ok
DELETE FROM tab3 WHERE col3 < 31

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 31
----

query I rowsort label-3980
SELECT pk FROM tab3 WHERE NOT (col3 < 31)
----
1
2
3
4
6
8

statement ok
DELETE FROM tab4 WHERE col3 < 31

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 31
----

query I rowsort label-3980
SELECT pk FROM tab4 WHERE NOT (col3 < 31)
----
1
2
3
4
6
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-3995
SELECT pk FROM tab0 WHERE NOT (col3 > 57)
----
2
3
4
6

statement ok
DELETE FROM tab1 WHERE col3 > 57

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 57
----

query I rowsort label-3995
SELECT pk FROM tab1 WHERE NOT (col3 > 57)
----
2
3
4
6

statement ok
DELETE FROM tab2 WHERE col3 > 57

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 57
----

query I rowsort label-3995
SELECT pk FROM tab2 WHERE NOT (col3 > 57)
----
2
3
4
6

statement ok
DELETE FROM tab3 WHERE col3 > 57

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 57
----

query I rowsort label-3995
SELECT pk FROM tab3 WHERE NOT (col3 > 57)
----
2
3
4
6

statement ok
DELETE FROM tab4 WHERE col3 > 57

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 57
----

query I rowsort label-3995
SELECT pk FROM tab4 WHERE NOT (col3 > 57)
----
2
3
4
6

statement ok
DELETE FROM tab0 WHERE ((col3 >= 96) OR col0 >= 22)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 96) OR col0 >= 22)
----

query I rowsort label-4010
SELECT pk FROM tab0 WHERE NOT (((col3 >= 96) OR col0 >= 22))
----
4

statement ok
DELETE FROM tab1 WHERE ((col3 >= 96) OR col0 >= 22)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 96) OR col0 >= 22)
----

query I rowsort label-4010
SELECT pk FROM tab1 WHERE NOT (((col3 >= 96) OR col0 >= 22))
----
4

statement ok
DELETE FROM tab2 WHERE ((col3 >= 96) OR col0 >= 22)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 96) OR col0 >= 22)
----

query I rowsort label-4010
SELECT pk FROM tab2 WHERE NOT (((col3 >= 96) OR col0 >= 22))
----
4

statement ok
DELETE FROM tab3 WHERE ((col3 >= 96) OR col0 >= 22)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 96) OR col0 >= 22)
----

query I rowsort label-4010
SELECT pk FROM tab3 WHERE NOT (((col3 >= 96) OR col0 >= 22))
----
4

statement ok
DELETE FROM tab4 WHERE ((col3 >= 96) OR col0 >= 22)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 96) OR col0 >= 22)
----

query I rowsort label-4010
SELECT pk FROM tab4 WHERE NOT (((col3 >= 96) OR col0 >= 22))
----
4

statement ok
DELETE FROM tab0 WHERE col0 < 99

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 99
----

query I rowsort label-4025
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-4025
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-4025
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-4025
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-4025
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,51,40.88,'xjnop',92,80.32,'ygpet')

statement ok
INSERT INTO tab0 VALUES(1,27,49.30,'iuqpk',17,49.98,'uhmcc')

statement ok
INSERT INTO tab0 VALUES(2,58,50.72,'adgms',29,28.65,'dtuep')

statement ok
INSERT INTO tab0 VALUES(3,5,42.77,'dwljp',30,91.79,'prupd')

statement ok
INSERT INTO tab0 VALUES(4,63,13.52,'lnqxs',67,76.90,'ugcsh')

statement ok
INSERT INTO tab0 VALUES(5,82,95.66,'zaoiw',43,51.61,'tbgze')

statement ok
INSERT INTO tab0 VALUES(6,73,30.57,'oroqp',31,73.85,'velfz')

statement ok
INSERT INTO tab0 VALUES(7,25,33.47,'ogjqw',87,54.92,'bfxop')

statement ok
INSERT INTO tab0 VALUES(8,13,53.56,'miugr',62,21.67,'yovvf')

statement ok
INSERT INTO tab0 VALUES(9,16,36.11,'meglo',12,81.59,'cnunz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC,col4 DESC)

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 INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC,col3)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 IN (38.65,85.47,55.30,81.11,31.54)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (38.65,85.47,55.30,81.11,31.54)
----

query I rowsort label-4040
SELECT pk FROM tab0 WHERE NOT (col4 IN (38.65,85.47,55.30,81.11,31.54))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 IN (38.65,85.47,55.30,81.11,31.54)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (38.65,85.47,55.30,81.11,31.54)
----

query I rowsort label-4040
SELECT pk FROM tab1 WHERE NOT (col4 IN (38.65,85.47,55.30,81.11,31.54))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 IN (38.65,85.47,55.30,81.11,31.54)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (38.65,85.47,55.30,81.11,31.54)
----

query I rowsort label-4040
SELECT pk FROM tab2 WHERE NOT (col4 IN (38.65,85.47,55.30,81.11,31.54))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 IN (38.65,85.47,55.30,81.11,31.54)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (38.65,85.47,55.30,81.11,31.54)
----

query I rowsort label-4040
SELECT pk FROM tab3 WHERE NOT (col4 IN (38.65,85.47,55.30,81.11,31.54))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 IN (38.65,85.47,55.30,81.11,31.54)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (38.65,85.47,55.30,81.11,31.54)
----

query I rowsort label-4040
SELECT pk FROM tab4 WHERE NOT (col4 IN (38.65,85.47,55.30,81.11,31.54))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col0 < 31 AND col3 = 44))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 31 AND col3 = 44))
----

query I rowsort label-4055
SELECT pk FROM tab0 WHERE NOT (((col0 < 31 AND col3 = 44)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col0 < 31 AND col3 = 44))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 31 AND col3 = 44))
----

query I rowsort label-4055
SELECT pk FROM tab1 WHERE NOT (((col0 < 31 AND col3 = 44)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col0 < 31 AND col3 = 44))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 31 AND col3 = 44))
----

query I rowsort label-4055
SELECT pk FROM tab2 WHERE NOT (((col0 < 31 AND col3 = 44)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col0 < 31 AND col3 = 44))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 31 AND col3 = 44))
----

query I rowsort label-4055
SELECT pk FROM tab3 WHERE NOT (((col0 < 31 AND col3 = 44)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col0 < 31 AND col3 = 44))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 31 AND col3 = 44))
----

query I rowsort label-4055
SELECT pk FROM tab4 WHERE NOT (((col0 < 31 AND col3 = 44)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35))
----

query I rowsort label-4070
SELECT pk FROM tab0 WHERE NOT ((col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35)))
----
0
4
5
7
8

statement ok
DELETE FROM tab1 WHERE (col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35))
----

query I rowsort label-4070
SELECT pk FROM tab1 WHERE NOT ((col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35)))
----
0
4
5
7
8

statement ok
DELETE FROM tab2 WHERE (col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35))
----

query I rowsort label-4070
SELECT pk FROM tab2 WHERE NOT ((col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35)))
----
0
4
5
7
8

statement ok
DELETE FROM tab3 WHERE (col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35))
----

query I rowsort label-4070
SELECT pk FROM tab3 WHERE NOT ((col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35)))
----
0
4
5
7
8

statement ok
DELETE FROM tab4 WHERE (col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35))
----

query I rowsort label-4070
SELECT pk FROM tab4 WHERE NOT ((col1 BETWEEN 65.71 AND 51.35 AND (((col0 IS NULL AND col0 >= 40))) AND col4 > 94.22 AND col0 <= 56 AND col0 = 93 AND ((col3 > 70) AND col0 > 59) AND col0 < 48) OR ((col3 < 35)))
----
0
4
5
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,7,63.0,'kjojh',70,70.97,'ylhto')

statement ok
INSERT INTO tab0 VALUES(1,40,45.78,'lurgj',68,24.80,'kaohh')

statement ok
INSERT INTO tab0 VALUES(2,82,66.88,'oitrm',88,66.83,'iqezo')

statement ok
INSERT INTO tab0 VALUES(3,21,91.51,'rtgfc',67,17.55,'umlpz')

statement ok
INSERT INTO tab0 VALUES(4,43,90.70,'ectqu',44,88.81,'szqwp')

statement ok
INSERT INTO tab0 VALUES(5,44,4.41,'uwshr',73,39.95,'qctli')

statement ok
INSERT INTO tab0 VALUES(6,45,5.65,'yaaba',42,42.95,'eicgo')

statement ok
INSERT INTO tab0 VALUES(7,94,55.62,'ocsnd',76,47.51,'txvjz')

statement ok
INSERT INTO tab0 VALUES(8,99,80.83,'tlner',55,40.21,'cvpiz')

statement ok
INSERT INTO tab0 VALUES(9,22,18.21,'dinkm',28,5.62,'ccigl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4,col0)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,97,29.68,'ngaoe',49,25.48,'fmqpy')

statement ok
INSERT INTO tab0 VALUES(1,28,97.0,'wazoa',71,17.43,'wzruz')

statement ok
INSERT INTO tab0 VALUES(2,91,0.83,'nwhky',46,83.68,'pvmzd')

statement ok
INSERT INTO tab0 VALUES(3,75,25.96,'xerzo',95,12.95,'avrav')

statement ok
INSERT INTO tab0 VALUES(4,62,80.57,'gxkib',89,45.41,'ltvew')

statement ok
INSERT INTO tab0 VALUES(5,38,55.34,'hoatr',61,39.79,'kqcxx')

statement ok
INSERT INTO tab0 VALUES(6,11,86.60,'uivbm',17,26.54,'irtgg')

statement ok
INSERT INTO tab0 VALUES(7,16,18.43,'jhumv',51,74.91,'inxui')

statement ok
INSERT INTO tab0 VALUES(8,33,65.80,'vmwze',57,61.11,'micxk')

statement ok
INSERT INTO tab0 VALUES(9,96,75.68,'bytjo',40,23.41,'tzvue')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 < 89.3

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 89.3
----

query I rowsort label-4085
SELECT pk FROM tab0 WHERE NOT (col1 < 89.3)
----
1

statement ok
DELETE FROM tab1 WHERE col1 < 89.3

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 89.3
----

query I rowsort label-4085
SELECT pk FROM tab1 WHERE NOT (col1 < 89.3)
----
1

statement ok
DELETE FROM tab2 WHERE col1 < 89.3

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 89.3
----

query I rowsort label-4085
SELECT pk FROM tab2 WHERE NOT (col1 < 89.3)
----
1

statement ok
DELETE FROM tab3 WHERE col1 < 89.3

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 89.3
----

query I rowsort label-4085
SELECT pk FROM tab3 WHERE NOT (col1 < 89.3)
----
1

statement ok
DELETE FROM tab4 WHERE col1 < 89.3

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 89.3
----

query I rowsort label-4085
SELECT pk FROM tab4 WHERE NOT (col1 < 89.3)
----
1

statement ok
DELETE FROM tab0 WHERE col0 = 99

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 99
----

query I rowsort label-4100
SELECT pk FROM tab0 WHERE NOT (col0 = 99)
----
1

statement ok
DELETE FROM tab1 WHERE col0 = 99

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 99
----

query I rowsort label-4100
SELECT pk FROM tab1 WHERE NOT (col0 = 99)
----
1

statement ok
DELETE FROM tab2 WHERE col0 = 99

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 99
----

query I rowsort label-4100
SELECT pk FROM tab2 WHERE NOT (col0 = 99)
----
1

statement ok
DELETE FROM tab3 WHERE col0 = 99

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 99
----

query I rowsort label-4100
SELECT pk FROM tab3 WHERE NOT (col0 = 99)
----
1

statement ok
DELETE FROM tab4 WHERE col0 = 99

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 99
----

query I rowsort label-4100
SELECT pk FROM tab4 WHERE NOT (col0 = 99)
----
1

statement ok
DELETE FROM tab0 WHERE col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81)
----

query I rowsort label-4115
SELECT pk FROM tab0 WHERE NOT (col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81))
----
1

statement ok
DELETE FROM tab1 WHERE col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81)
----

query I rowsort label-4115
SELECT pk FROM tab1 WHERE NOT (col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81))
----
1

statement ok
DELETE FROM tab2 WHERE col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81)
----

query I rowsort label-4115
SELECT pk FROM tab2 WHERE NOT (col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81))
----
1

statement ok
DELETE FROM tab3 WHERE col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81)
----

query I rowsort label-4115
SELECT pk FROM tab3 WHERE NOT (col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81))
----
1

statement ok
DELETE FROM tab4 WHERE col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81)
----

query I rowsort label-4115
SELECT pk FROM tab4 WHERE NOT (col0 = 66 AND col3 <= 97 AND col3 IN (90,77,77,8,26,81))
----
1

statement ok
DELETE FROM tab0 WHERE ((col1 < 98.18))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 < 98.18))
----

query I rowsort label-4130
SELECT pk FROM tab0 WHERE NOT (((col1 < 98.18)))
----

statement ok
DELETE FROM tab1 WHERE ((col1 < 98.18))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 < 98.18))
----

query I rowsort label-4130
SELECT pk FROM tab1 WHERE NOT (((col1 < 98.18)))
----

statement ok
DELETE FROM tab2 WHERE ((col1 < 98.18))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 < 98.18))
----

query I rowsort label-4130
SELECT pk FROM tab2 WHERE NOT (((col1 < 98.18)))
----

statement ok
DELETE FROM tab3 WHERE ((col1 < 98.18))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 < 98.18))
----

query I rowsort label-4130
SELECT pk FROM tab3 WHERE NOT (((col1 < 98.18)))
----

statement ok
DELETE FROM tab4 WHERE ((col1 < 98.18))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 < 98.18))
----

query I rowsort label-4130
SELECT pk FROM tab4 WHERE NOT (((col1 < 98.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,97,90.24,'irqym',76,23.72,'xwkhp')

statement ok
INSERT INTO tab0 VALUES(1,70,25.78,'hfvjy',52,31.89,'susoe')

statement ok
INSERT INTO tab0 VALUES(2,3,59.51,'qbbhy',87,96.78,'ompfd')

statement ok
INSERT INTO tab0 VALUES(3,36,34.22,'zrdry',51,76.70,'lggao')

statement ok
INSERT INTO tab0 VALUES(4,9,1.40,'sdzgi',92,93.99,'furrs')

statement ok
INSERT INTO tab0 VALUES(5,18,32.90,'ftvws',97,48.69,'rzomd')

statement ok
INSERT INTO tab0 VALUES(6,84,35.58,'ushkc',60,30.12,'ufpys')

statement ok
INSERT INTO tab0 VALUES(7,12,58.90,'ysiew',37,32.53,'sknjx')

statement ok
INSERT INTO tab0 VALUES(8,51,17.56,'pqtqz',14,63.71,'xfhou')

statement ok
INSERT INTO tab0 VALUES(9,64,92.10,'wywbd',69,56.65,'labic')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1 DESC,col3 DESC,col0)

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 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4 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 INDEX idx_tab4_1 ON tab4 (col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 > 94 OR col3 = 63 AND (col1 < 64.26)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 94 OR col3 = 63 AND (col1 < 64.26)
----

query I rowsort label-4145
SELECT pk FROM tab0 WHERE NOT (col0 > 94 OR col3 = 63 AND (col1 < 64.26))
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab1 WHERE col0 > 94 OR col3 = 63 AND (col1 < 64.26)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 94 OR col3 = 63 AND (col1 < 64.26)
----

query I rowsort label-4145
SELECT pk FROM tab1 WHERE NOT (col0 > 94 OR col3 = 63 AND (col1 < 64.26))
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab2 WHERE col0 > 94 OR col3 = 63 AND (col1 < 64.26)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 94 OR col3 = 63 AND (col1 < 64.26)
----

query I rowsort label-4145
SELECT pk FROM tab2 WHERE NOT (col0 > 94 OR col3 = 63 AND (col1 < 64.26))
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab3 WHERE col0 > 94 OR col3 = 63 AND (col1 < 64.26)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 94 OR col3 = 63 AND (col1 < 64.26)
----

query I rowsort label-4145
SELECT pk FROM tab3 WHERE NOT (col0 > 94 OR col3 = 63 AND (col1 < 64.26))
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab4 WHERE col0 > 94 OR col3 = 63 AND (col1 < 64.26)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 94 OR col3 = 63 AND (col1 < 64.26)
----

query I rowsort label-4145
SELECT pk FROM tab4 WHERE NOT (col0 > 94 OR col3 = 63 AND (col1 < 64.26))
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab0 WHERE col0 > 62

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 62
----

query I rowsort label-4160
SELECT pk FROM tab0 WHERE NOT (col0 > 62)
----
2
3
4
5
7
8

statement ok
DELETE FROM tab1 WHERE col0 > 62

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 62
----

query I rowsort label-4160
SELECT pk FROM tab1 WHERE NOT (col0 > 62)
----
2
3
4
5
7
8

statement ok
DELETE FROM tab2 WHERE col0 > 62

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 62
----

query I rowsort label-4160
SELECT pk FROM tab2 WHERE NOT (col0 > 62)
----
2
3
4
5
7
8

statement ok
DELETE FROM tab3 WHERE col0 > 62

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 62
----

query I rowsort label-4160
SELECT pk FROM tab3 WHERE NOT (col0 > 62)
----
2
3
4
5
7
8

statement ok
DELETE FROM tab4 WHERE col0 > 62

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 62
----

query I rowsort label-4160
SELECT pk FROM tab4 WHERE NOT (col0 > 62)
----
2
3
4
5
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,44,76.10,'dqttm',60,87.53,'buchz')

statement ok
INSERT INTO tab0 VALUES(1,16,97.99,'awfja',92,6.40,'lnhae')

statement ok
INSERT INTO tab0 VALUES(2,86,11.98,'jdybv',67,70.20,'uqxdv')

statement ok
INSERT INTO tab0 VALUES(3,75,83.35,'vuvaf',93,86.83,'xgmqf')

statement ok
INSERT INTO tab0 VALUES(4,77,55.94,'keqqd',54,24.35,'emkzr')

statement ok
INSERT INTO tab0 VALUES(5,73,16.25,'dtrla',29,82.3,'hrlni')

statement ok
INSERT INTO tab0 VALUES(6,41,60.62,'ngpif',99,42.51,'vmlnm')

statement ok
INSERT INTO tab0 VALUES(7,69,51.30,'jturs',62,38.95,'xzvfj')

statement ok
INSERT INTO tab0 VALUES(8,68,84.61,'gyfir',46,17.10,'uwjav')

statement ok
INSERT INTO tab0 VALUES(9,84,46.3,'fbvbf',18,99.47,'lnrpw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_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 UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3,col0 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 (col0,col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC,col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,58,3.98,'dshnp',93,76.50,'ejkqt')

statement ok
INSERT INTO tab0 VALUES(1,49,83.75,'aezty',22,79.78,'frwoh')

statement ok
INSERT INTO tab0 VALUES(2,64,7.27,'ayrqm',91,89.50,'nyupd')

statement ok
INSERT INTO tab0 VALUES(3,38,44.8,'msmhk',92,10.18,'opect')

statement ok
INSERT INTO tab0 VALUES(4,72,76.45,'qsbor',85,37.60,'aomts')

statement ok
INSERT INTO tab0 VALUES(5,39,53.48,'gqqfo',15,20.96,'jjkqg')

statement ok
INSERT INTO tab0 VALUES(6,6,62.24,'dwhyl',18,24.97,'mgmjz')

statement ok
INSERT INTO tab0 VALUES(7,35,87.86,'wpwqh',40,90.0,'gjphk')

statement ok
INSERT INTO tab0 VALUES(8,7,70.73,'kwhjj',45,4.19,'iuuoq')

statement ok
INSERT INTO tab0 VALUES(9,23,77.53,'rvnov',31,52.59,'pssgb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0 DESC,col4 DESC,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC,col3,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 (col0 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4,col1 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 >= 3.67) OR col4 > 99.33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 3.67) OR col4 > 99.33
----

query I rowsort label-4175
SELECT pk FROM tab0 WHERE NOT ((col4 >= 3.67) OR col4 > 99.33)
----

statement ok
DELETE FROM tab1 WHERE (col4 >= 3.67) OR col4 > 99.33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 3.67) OR col4 > 99.33
----

query I rowsort label-4175
SELECT pk FROM tab1 WHERE NOT ((col4 >= 3.67) OR col4 > 99.33)
----

statement ok
DELETE FROM tab2 WHERE (col4 >= 3.67) OR col4 > 99.33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 3.67) OR col4 > 99.33
----

query I rowsort label-4175
SELECT pk FROM tab2 WHERE NOT ((col4 >= 3.67) OR col4 > 99.33)
----

statement ok
DELETE FROM tab3 WHERE (col4 >= 3.67) OR col4 > 99.33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 3.67) OR col4 > 99.33
----

query I rowsort label-4175
SELECT pk FROM tab3 WHERE NOT ((col4 >= 3.67) OR col4 > 99.33)
----

statement ok
DELETE FROM tab4 WHERE (col4 >= 3.67) OR col4 > 99.33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 3.67) OR col4 > 99.33
----

query I rowsort label-4175
SELECT pk FROM tab4 WHERE NOT ((col4 >= 3.67) OR col4 > 99.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,67,34.43,'vcgvf',55,46.79,'ureln')

statement ok
INSERT INTO tab0 VALUES(1,78,23.11,'scgri',67,47.93,'arkqy')

statement ok
INSERT INTO tab0 VALUES(2,18,3.27,'xjjlw',64,89.46,'rfeaa')

statement ok
INSERT INTO tab0 VALUES(3,47,80.7,'bmcgy',12,64.92,'gehyj')

statement ok
INSERT INTO tab0 VALUES(4,2,35.32,'zsack',82,50.29,'zlrir')

statement ok
INSERT INTO tab0 VALUES(5,55,44.6,'ppait',13,20.60,'zinld')

statement ok
INSERT INTO tab0 VALUES(6,77,84.24,'hpdjk',73,59.57,'enlfh')

statement ok
INSERT INTO tab0 VALUES(7,99,51.28,'zqzgx',23,77.25,'pkofh')

statement ok
INSERT INTO tab0 VALUES(8,79,68.74,'btsjv',80,16.63,'mwnaa')

statement ok
INSERT INTO tab0 VALUES(9,54,1.92,'vwdxb',75,67.24,'ixwyd')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0,col3)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30
----

query I rowsort label-4190
SELECT pk FROM tab0 WHERE NOT ((col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30)
----

statement ok
DELETE FROM tab1 WHERE (col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30
----

query I rowsort label-4190
SELECT pk FROM tab1 WHERE NOT ((col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30)
----

statement ok
DELETE FROM tab2 WHERE (col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30
----

query I rowsort label-4190
SELECT pk FROM tab2 WHERE NOT ((col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30)
----

statement ok
DELETE FROM tab3 WHERE (col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30
----

query I rowsort label-4190
SELECT pk FROM tab3 WHERE NOT ((col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30)
----

statement ok
DELETE FROM tab4 WHERE (col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30
----

query I rowsort label-4190
SELECT pk FROM tab4 WHERE NOT ((col3 > 3 OR col0 < 51) OR col3 < 56 AND (col0 <= 55) AND col3 <= 30)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,4.22,'aesjk',79,80.45,'xrpcn')

statement ok
INSERT INTO tab0 VALUES(1,28,18.60,'hytxj',5,1.58,'glytf')

statement ok
INSERT INTO tab0 VALUES(2,18,5.17,'hyvlh',83,95.6,'lnkoj')

statement ok
INSERT INTO tab0 VALUES(3,68,91.94,'rovqo',51,92.76,'mvcnc')

statement ok
INSERT INTO tab0 VALUES(4,94,65.5,'qxcth',23,93.46,'tmofu')

statement ok
INSERT INTO tab0 VALUES(5,23,90.34,'jtlom',50,78.48,'xiajh')

statement ok
INSERT INTO tab0 VALUES(6,50,21.0,'xwlue',89,26.30,'eviqc')

statement ok
INSERT INTO tab0 VALUES(7,4,10.20,'ktksl',57,21.17,'lggaf')

statement ok
INSERT INTO tab0 VALUES(8,9,26.70,'ghmar',0,65.76,'ksnoq')

statement ok
INSERT INTO tab0 VALUES(9,48,62.47,'flado',54,96.77,'pnzbc')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1,col4 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4,col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 BETWEEN 91.45 AND 88.40

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 BETWEEN 91.45 AND 88.40
----

query I rowsort label-4205
SELECT pk FROM tab0 WHERE NOT (col1 BETWEEN 91.45 AND 88.40)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 BETWEEN 91.45 AND 88.40

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 BETWEEN 91.45 AND 88.40
----

query I rowsort label-4205
SELECT pk FROM tab1 WHERE NOT (col1 BETWEEN 91.45 AND 88.40)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 BETWEEN 91.45 AND 88.40

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 BETWEEN 91.45 AND 88.40
----

query I rowsort label-4205
SELECT pk FROM tab2 WHERE NOT (col1 BETWEEN 91.45 AND 88.40)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 BETWEEN 91.45 AND 88.40

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 BETWEEN 91.45 AND 88.40
----

query I rowsort label-4205
SELECT pk FROM tab3 WHERE NOT (col1 BETWEEN 91.45 AND 88.40)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 BETWEEN 91.45 AND 88.40

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 BETWEEN 91.45 AND 88.40
----

query I rowsort label-4205
SELECT pk FROM tab4 WHERE NOT (col1 BETWEEN 91.45 AND 88.40)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 > 72

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 72
----

query I rowsort label-4220
SELECT pk FROM tab0 WHERE NOT (col3 > 72)
----
1
3
4
5
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 > 72

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 72
----

query I rowsort label-4220
SELECT pk FROM tab1 WHERE NOT (col3 > 72)
----
1
3
4
5
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 > 72

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 72
----

query I rowsort label-4220
SELECT pk FROM tab2 WHERE NOT (col3 > 72)
----
1
3
4
5
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 > 72

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 72
----

query I rowsort label-4220
SELECT pk FROM tab3 WHERE NOT (col3 > 72)
----
1
3
4
5
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 > 72

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 72
----

query I rowsort label-4220
SELECT pk FROM tab4 WHERE NOT (col3 > 72)
----
1
3
4
5
7
8
9

statement ok
DELETE FROM tab0 WHERE (col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8))
----

query I rowsort label-4235
SELECT pk FROM tab0 WHERE NOT ((col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8)))
----
3
4
5
7
9

statement ok
DELETE FROM tab1 WHERE (col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8))
----

query I rowsort label-4235
SELECT pk FROM tab1 WHERE NOT ((col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8)))
----
3
4
5
7
9

statement ok
DELETE FROM tab2 WHERE (col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8))
----

query I rowsort label-4235
SELECT pk FROM tab2 WHERE NOT ((col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8)))
----
3
4
5
7
9

statement ok
DELETE FROM tab3 WHERE (col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8))
----

query I rowsort label-4235
SELECT pk FROM tab3 WHERE NOT ((col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8)))
----
3
4
5
7
9

statement ok
DELETE FROM tab4 WHERE (col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8))
----

query I rowsort label-4235
SELECT pk FROM tab4 WHERE NOT ((col3 = 45 AND (col3 = 9)) AND ((((col3 >= 30)))) OR col3 < 21 AND ((col3 < 8)))
----
3
4
5
7
9

statement ok
DELETE FROM tab0 WHERE col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23
----

query I rowsort label-4250
SELECT pk FROM tab0 WHERE NOT (col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23)
----
3
5
9

statement ok
DELETE FROM tab1 WHERE col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23
----

query I rowsort label-4250
SELECT pk FROM tab1 WHERE NOT (col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23)
----
3
5
9

statement ok
DELETE FROM tab2 WHERE col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23
----

query I rowsort label-4250
SELECT pk FROM tab2 WHERE NOT (col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23)
----
3
5
9

statement ok
DELETE FROM tab3 WHERE col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23
----

query I rowsort label-4250
SELECT pk FROM tab3 WHERE NOT (col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23)
----
3
5
9

statement ok
DELETE FROM tab4 WHERE col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23
----

query I rowsort label-4250
SELECT pk FROM tab4 WHERE NOT (col1 < 33.89 OR (col4 < 33.76) AND (col0 >= 30 AND col1 >= 13.82) OR (col3 < 89) AND col1 BETWEEN 64.63 AND 73.23)
----
3
5
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-4265
SELECT pk FROM tab0 WHERE NOT ((col0 = 57))
----
3
5
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-4265
SELECT pk FROM tab1 WHERE NOT ((col0 = 57))
----
3
5
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-4265
SELECT pk FROM tab2 WHERE NOT ((col0 = 57))
----
3
5
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-4265
SELECT pk FROM tab3 WHERE NOT ((col0 = 57))
----
3
5
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-4265
SELECT pk FROM tab4 WHERE NOT ((col0 = 57))
----
3
5
9

statement ok
DELETE FROM tab0 WHERE (col1 < 73.8)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 73.8)
----

query I rowsort label-4280
SELECT pk FROM tab0 WHERE NOT ((col1 < 73.8))
----
3
5

statement ok
DELETE FROM tab1 WHERE (col1 < 73.8)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 73.8)
----

query I rowsort label-4280
SELECT pk FROM tab1 WHERE NOT ((col1 < 73.8))
----
3
5

statement ok
DELETE FROM tab2 WHERE (col1 < 73.8)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 73.8)
----

query I rowsort label-4280
SELECT pk FROM tab2 WHERE NOT ((col1 < 73.8))
----
3
5

statement ok
DELETE FROM tab3 WHERE (col1 < 73.8)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 73.8)
----

query I rowsort label-4280
SELECT pk FROM tab3 WHERE NOT ((col1 < 73.8))
----
3
5

statement ok
DELETE FROM tab4 WHERE (col1 < 73.8)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 73.8)
----

query I rowsort label-4280
SELECT pk FROM tab4 WHERE NOT ((col1 < 73.8))
----
3
5

statement ok
DELETE FROM tab0 WHERE ((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99))
----

query I rowsort label-4295
SELECT pk FROM tab0 WHERE NOT (((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99)))
----

statement ok
DELETE FROM tab1 WHERE ((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99))
----

query I rowsort label-4295
SELECT pk FROM tab1 WHERE NOT (((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99)))
----

statement ok
DELETE FROM tab2 WHERE ((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99))
----

query I rowsort label-4295
SELECT pk FROM tab2 WHERE NOT (((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99)))
----

statement ok
DELETE FROM tab3 WHERE ((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99))
----

query I rowsort label-4295
SELECT pk FROM tab3 WHERE NOT (((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99)))
----

statement ok
DELETE FROM tab4 WHERE ((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99))
----

query I rowsort label-4295
SELECT pk FROM tab4 WHERE NOT (((col0 IN (39)) AND col3 <= 43 AND (col0 > 88)) OR col4 >= 68.97 AND ((col0 <= 99)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,17,86.36,'ugfwh',80,6.89,'qfqyh')

statement ok
INSERT INTO tab0 VALUES(1,73,70.22,'jjxae',53,71.67,'riwpl')

statement ok
INSERT INTO tab0 VALUES(2,43,7.8,'patmx',49,55.61,'mckpf')

statement ok
INSERT INTO tab0 VALUES(3,72,4.56,'hxsvd',48,63.37,'rjgdj')

statement ok
INSERT INTO tab0 VALUES(4,89,16.75,'uxzsa',43,56.89,'erxgt')

statement ok
INSERT INTO tab0 VALUES(5,66,64.84,'euemm',4,66.1,'ctdor')

statement ok
INSERT INTO tab0 VALUES(6,86,43.75,'lvmyj',39,7.11,'wznyt')

statement ok
INSERT INTO tab0 VALUES(7,1,36.72,'ljswl',60,84.73,'qifag')

statement ok
INSERT INTO tab0 VALUES(8,95,31.98,'dmnss',41,16.19,'bshwc')

statement ok
INSERT INTO tab0 VALUES(9,50,24.36,'tpkch',84,36.22,'ptupy')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4,col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0 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 UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0)

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 (col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0
----

query I rowsort label-4310
SELECT pk FROM tab0 WHERE NOT (col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0)
----
0
6
8

statement ok
DELETE FROM tab1 WHERE col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0
----

query I rowsort label-4310
SELECT pk FROM tab1 WHERE NOT (col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0)
----
0
6
8

statement ok
DELETE FROM tab2 WHERE col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0
----

query I rowsort label-4310
SELECT pk FROM tab2 WHERE NOT (col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0)
----
0
6
8

statement ok
DELETE FROM tab3 WHERE col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0
----

query I rowsort label-4310
SELECT pk FROM tab3 WHERE NOT (col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0)
----
0
6
8

statement ok
DELETE FROM tab4 WHERE col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0
----

query I rowsort label-4310
SELECT pk FROM tab4 WHERE NOT (col4 <= 30.8 AND col1 <= 22.84 AND ((col3 > 45)) OR col4 > 26.0)
----
0
6
8

statement ok
DELETE FROM tab0 WHERE (col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1)
----

query I rowsort label-4325
SELECT pk FROM tab0 WHERE NOT ((col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1))
----
0
6
8

statement ok
DELETE FROM tab1 WHERE (col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1)
----

query I rowsort label-4325
SELECT pk FROM tab1 WHERE NOT ((col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1))
----
0
6
8

statement ok
DELETE FROM tab2 WHERE (col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1)
----

query I rowsort label-4325
SELECT pk FROM tab2 WHERE NOT ((col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1))
----
0
6
8

statement ok
DELETE FROM tab3 WHERE (col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1)
----

query I rowsort label-4325
SELECT pk FROM tab3 WHERE NOT ((col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1))
----
0
6
8

statement ok
DELETE FROM tab4 WHERE (col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1)
----

query I rowsort label-4325
SELECT pk FROM tab4 WHERE NOT ((col3 <= 1 AND (col3 > 67 OR (col0 IS NULL) AND col0 <= 14 AND col0 < 20 AND col4 >= 50.91 AND col4 = 75.11 AND col3 < 11 OR col1 < 35.64 AND col4 <= 51.82 AND col1 <= 72.1) AND col3 > 23 AND col4 > 8.1))
----
0
6
8

statement ok
DELETE FROM tab0 WHERE (((col1 < 13.86)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 < 13.86)))
----

query I rowsort label-4340
SELECT pk FROM tab0 WHERE NOT ((((col1 < 13.86))))
----
0
6
8

statement ok
DELETE FROM tab1 WHERE (((col1 < 13.86)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 < 13.86)))
----

query I rowsort label-4340
SELECT pk FROM tab1 WHERE NOT ((((col1 < 13.86))))
----
0
6
8

statement ok
DELETE FROM tab2 WHERE (((col1 < 13.86)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 < 13.86)))
----

query I rowsort label-4340
SELECT pk FROM tab2 WHERE NOT ((((col1 < 13.86))))
----
0
6
8

statement ok
DELETE FROM tab3 WHERE (((col1 < 13.86)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 < 13.86)))
----

query I rowsort label-4340
SELECT pk FROM tab3 WHERE NOT ((((col1 < 13.86))))
----
0
6
8

statement ok
DELETE FROM tab4 WHERE (((col1 < 13.86)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 < 13.86)))
----

query I rowsort label-4340
SELECT pk FROM tab4 WHERE NOT ((((col1 < 13.86))))
----
0
6
8

statement ok
DELETE FROM tab0 WHERE col3 < 78

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 78
----

query I rowsort label-4355
SELECT pk FROM tab0 WHERE NOT (col3 < 78)
----
0

statement ok
DELETE FROM tab1 WHERE col3 < 78

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 78
----

query I rowsort label-4355
SELECT pk FROM tab1 WHERE NOT (col3 < 78)
----
0

statement ok
DELETE FROM tab2 WHERE col3 < 78

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 78
----

query I rowsort label-4355
SELECT pk FROM tab2 WHERE NOT (col3 < 78)
----
0

statement ok
DELETE FROM tab3 WHERE col3 < 78

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 78
----

query I rowsort label-4355
SELECT pk FROM tab3 WHERE NOT (col3 < 78)
----
0

statement ok
DELETE FROM tab4 WHERE col3 < 78

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 78
----

query I rowsort label-4355
SELECT pk FROM tab4 WHERE NOT (col3 < 78)
----
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,20,83.47,'jprze',48,84.84,'dmmgc')

statement ok
INSERT INTO tab0 VALUES(1,72,90.95,'fmnea',70,73.42,'gxoin')

statement ok
INSERT INTO tab0 VALUES(2,39,10.86,'ssnzb',35,62.50,'tzvwx')

statement ok
INSERT INTO tab0 VALUES(3,81,61.55,'frybg',24,15.10,'xbtao')

statement ok
INSERT INTO tab0 VALUES(4,75,19.72,'wynqr',88,82.63,'shmpq')

statement ok
INSERT INTO tab0 VALUES(5,25,72.54,'jnasb',63,61.7,'pqojy')

statement ok
INSERT INTO tab0 VALUES(6,76,93.80,'trzeo',78,60.3,'wcqwi')

statement ok
INSERT INTO tab0 VALUES(7,24,94.1,'rjfyf',75,64.95,'qsywn')

statement ok
INSERT INTO tab0 VALUES(8,30,95.53,'jcnas',14,89.15,'cxyfo')

statement ok
INSERT INTO tab0 VALUES(9,34,77.70,'chhsz',92,56.2,'libep')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab2_5 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,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC,col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 > 3.0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 3.0
----

query I rowsort label-4370
SELECT pk FROM tab0 WHERE NOT (col4 > 3.0)
----

statement ok
DELETE FROM tab1 WHERE col4 > 3.0

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 3.0
----

query I rowsort label-4370
SELECT pk FROM tab1 WHERE NOT (col4 > 3.0)
----

statement ok
DELETE FROM tab2 WHERE col4 > 3.0

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 3.0
----

query I rowsort label-4370
SELECT pk FROM tab2 WHERE NOT (col4 > 3.0)
----

statement ok
DELETE FROM tab3 WHERE col4 > 3.0

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 3.0
----

query I rowsort label-4370
SELECT pk FROM tab3 WHERE NOT (col4 > 3.0)
----

statement ok
DELETE FROM tab4 WHERE col4 > 3.0

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 3.0
----

query I rowsort label-4370
SELECT pk FROM tab4 WHERE NOT (col4 > 3.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,24,49.13,'vcidt',82,89.65,'ohaaf')

statement ok
INSERT INTO tab0 VALUES(1,12,78.38,'viipk',3,23.85,'sllxy')

statement ok
INSERT INTO tab0 VALUES(2,8,5.49,'jbzbr',2,1.98,'uaqyr')

statement ok
INSERT INTO tab0 VALUES(3,3,17.26,'wseri',58,34.12,'kthhl')

statement ok
INSERT INTO tab0 VALUES(4,94,66.53,'ngxmp',21,29.45,'vrjwo')

statement ok
INSERT INTO tab0 VALUES(5,9,29.37,'zmunt',20,51.42,'ketsd')

statement ok
INSERT INTO tab0 VALUES(6,10,75.14,'xduvu',77,87.86,'mbcby')

statement ok
INSERT INTO tab0 VALUES(7,4,22.68,'nxsta',22,4.12,'usfkt')

statement ok
INSERT INTO tab0 VALUES(8,67,6.37,'nraap',96,18.17,'dhrpc')

statement ok
INSERT INTO tab0 VALUES(9,47,35.31,'jqgtk',81,50.76,'dstdz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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_4 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 >= 70 OR col3 >= 91 OR col3 IN (4,10)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 70 OR col3 >= 91 OR col3 IN (4,10)
----

query I rowsort label-4385
SELECT pk FROM tab0 WHERE NOT (col3 >= 70 OR col3 >= 91 OR col3 IN (4,10))
----
1
2
3
4
5
7

statement ok
DELETE FROM tab1 WHERE col3 >= 70 OR col3 >= 91 OR col3 IN (4,10)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 70 OR col3 >= 91 OR col3 IN (4,10)
----

query I rowsort label-4385
SELECT pk FROM tab1 WHERE NOT (col3 >= 70 OR col3 >= 91 OR col3 IN (4,10))
----
1
2
3
4
5
7

statement ok
DELETE FROM tab2 WHERE col3 >= 70 OR col3 >= 91 OR col3 IN (4,10)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 70 OR col3 >= 91 OR col3 IN (4,10)
----

query I rowsort label-4385
SELECT pk FROM tab2 WHERE NOT (col3 >= 70 OR col3 >= 91 OR col3 IN (4,10))
----
1
2
3
4
5
7

statement ok
DELETE FROM tab3 WHERE col3 >= 70 OR col3 >= 91 OR col3 IN (4,10)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 70 OR col3 >= 91 OR col3 IN (4,10)
----

query I rowsort label-4385
SELECT pk FROM tab3 WHERE NOT (col3 >= 70 OR col3 >= 91 OR col3 IN (4,10))
----
1
2
3
4
5
7

statement ok
DELETE FROM tab4 WHERE col3 >= 70 OR col3 >= 91 OR col3 IN (4,10)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 70 OR col3 >= 91 OR col3 IN (4,10)
----

query I rowsort label-4385
SELECT pk FROM tab4 WHERE NOT (col3 >= 70 OR col3 >= 91 OR col3 IN (4,10))
----
1
2
3
4
5
7

statement ok
DELETE FROM tab0 WHERE col0 >= 16 AND col1 > 34.95

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 16 AND col1 > 34.95
----

query I rowsort label-4400
SELECT pk FROM tab0 WHERE NOT (col0 >= 16 AND col1 > 34.95)
----
1
2
3
5
7

statement ok
DELETE FROM tab1 WHERE col0 >= 16 AND col1 > 34.95

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 16 AND col1 > 34.95
----

query I rowsort label-4400
SELECT pk FROM tab1 WHERE NOT (col0 >= 16 AND col1 > 34.95)
----
1
2
3
5
7

statement ok
DELETE FROM tab2 WHERE col0 >= 16 AND col1 > 34.95

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 16 AND col1 > 34.95
----

query I rowsort label-4400
SELECT pk FROM tab2 WHERE NOT (col0 >= 16 AND col1 > 34.95)
----
1
2
3
5
7

statement ok
DELETE FROM tab3 WHERE col0 >= 16 AND col1 > 34.95

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 16 AND col1 > 34.95
----

query I rowsort label-4400
SELECT pk FROM tab3 WHERE NOT (col0 >= 16 AND col1 > 34.95)
----
1
2
3
5
7

statement ok
DELETE FROM tab4 WHERE col0 >= 16 AND col1 > 34.95

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 16 AND col1 > 34.95
----

query I rowsort label-4400
SELECT pk FROM tab4 WHERE NOT (col0 >= 16 AND col1 > 34.95)
----
1
2
3
5
7

statement ok
DELETE FROM tab0 WHERE col1 <= 26.24

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 26.24
----

query I rowsort label-4415
SELECT pk FROM tab0 WHERE NOT (col1 <= 26.24)
----
1
5

statement ok
DELETE FROM tab1 WHERE col1 <= 26.24

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 26.24
----

query I rowsort label-4415
SELECT pk FROM tab1 WHERE NOT (col1 <= 26.24)
----
1
5

statement ok
DELETE FROM tab2 WHERE col1 <= 26.24

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 26.24
----

query I rowsort label-4415
SELECT pk FROM tab2 WHERE NOT (col1 <= 26.24)
----
1
5

statement ok
DELETE FROM tab3 WHERE col1 <= 26.24

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 26.24
----

query I rowsort label-4415
SELECT pk FROM tab3 WHERE NOT (col1 <= 26.24)
----
1
5

statement ok
DELETE FROM tab4 WHERE col1 <= 26.24

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 26.24
----

query I rowsort label-4415
SELECT pk FROM tab4 WHERE NOT (col1 <= 26.24)
----
1
5

statement ok
DELETE FROM tab0 WHERE col3 >= 79

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 79
----

query I rowsort label-4430
SELECT pk FROM tab0 WHERE NOT (col3 >= 79)
----
1
5

statement ok
DELETE FROM tab1 WHERE col3 >= 79

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 79
----

query I rowsort label-4430
SELECT pk FROM tab1 WHERE NOT (col3 >= 79)
----
1
5

statement ok
DELETE FROM tab2 WHERE col3 >= 79

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 79
----

query I rowsort label-4430
SELECT pk FROM tab2 WHERE NOT (col3 >= 79)
----
1
5

statement ok
DELETE FROM tab3 WHERE col3 >= 79

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 79
----

query I rowsort label-4430
SELECT pk FROM tab3 WHERE NOT (col3 >= 79)
----
1
5

statement ok
DELETE FROM tab4 WHERE col3 >= 79

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 79
----

query I rowsort label-4430
SELECT pk FROM tab4 WHERE NOT (col3 >= 79)
----
1
5

statement ok
DELETE FROM tab0 WHERE ((col3 >= 93))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 93))
----

query I rowsort label-4445
SELECT pk FROM tab0 WHERE NOT (((col3 >= 93)))
----
1
5

statement ok
DELETE FROM tab1 WHERE ((col3 >= 93))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 93))
----

query I rowsort label-4445
SELECT pk FROM tab1 WHERE NOT (((col3 >= 93)))
----
1
5

statement ok
DELETE FROM tab2 WHERE ((col3 >= 93))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 93))
----

query I rowsort label-4445
SELECT pk FROM tab2 WHERE NOT (((col3 >= 93)))
----
1
5

statement ok
DELETE FROM tab3 WHERE ((col3 >= 93))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 93))
----

query I rowsort label-4445
SELECT pk FROM tab3 WHERE NOT (((col3 >= 93)))
----
1
5

statement ok
DELETE FROM tab4 WHERE ((col3 >= 93))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 93))
----

query I rowsort label-4445
SELECT pk FROM tab4 WHERE NOT (((col3 >= 93)))
----
1
5

statement ok
DELETE FROM tab0 WHERE ((col3 < 10))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 10))
----

query I rowsort label-4460
SELECT pk FROM tab0 WHERE NOT (((col3 < 10)))
----
5

statement ok
DELETE FROM tab1 WHERE ((col3 < 10))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 10))
----

query I rowsort label-4460
SELECT pk FROM tab1 WHERE NOT (((col3 < 10)))
----
5

statement ok
DELETE FROM tab2 WHERE ((col3 < 10))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 10))
----

query I rowsort label-4460
SELECT pk FROM tab2 WHERE NOT (((col3 < 10)))
----
5

statement ok
DELETE FROM tab3 WHERE ((col3 < 10))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 10))
----

query I rowsort label-4460
SELECT pk FROM tab3 WHERE NOT (((col3 < 10)))
----
5

statement ok
DELETE FROM tab4 WHERE ((col3 < 10))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 10))
----

query I rowsort label-4460
SELECT pk FROM tab4 WHERE NOT (((col3 < 10)))
----
5

statement ok
DELETE FROM tab0 WHERE (col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14)))
----

query I rowsort label-4475
SELECT pk FROM tab0 WHERE NOT ((col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14))))
----
5

statement ok
DELETE FROM tab1 WHERE (col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14)))
----

query I rowsort label-4475
SELECT pk FROM tab1 WHERE NOT ((col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14))))
----
5

statement ok
DELETE FROM tab2 WHERE (col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14)))
----

query I rowsort label-4475
SELECT pk FROM tab2 WHERE NOT ((col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14))))
----
5

statement ok
DELETE FROM tab3 WHERE (col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14)))
----

query I rowsort label-4475
SELECT pk FROM tab3 WHERE NOT ((col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14))))
----
5

statement ok
DELETE FROM tab4 WHERE (col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14)))
----

query I rowsort label-4475
SELECT pk FROM tab4 WHERE NOT ((col3 = 43 OR (col3 >= 2 AND col4 IN (30.38,0.14))))
----
5

statement ok
DELETE FROM tab0 WHERE ((col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 IS NULL))
----

query I rowsort label-4490
SELECT pk FROM tab0 WHERE NOT (((col3 IS NULL)))
----
5

statement ok
DELETE FROM tab1 WHERE ((col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 IS NULL))
----

query I rowsort label-4490
SELECT pk FROM tab1 WHERE NOT (((col3 IS NULL)))
----
5

statement ok
DELETE FROM tab2 WHERE ((col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 IS NULL))
----

query I rowsort label-4490
SELECT pk FROM tab2 WHERE NOT (((col3 IS NULL)))
----
5

statement ok
DELETE FROM tab3 WHERE ((col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 IS NULL))
----

query I rowsort label-4490
SELECT pk FROM tab3 WHERE NOT (((col3 IS NULL)))
----
5

statement ok
DELETE FROM tab4 WHERE ((col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 IS NULL))
----

query I rowsort label-4490
SELECT pk FROM tab4 WHERE NOT (((col3 IS NULL)))
----
5

statement ok
DELETE FROM tab0 WHERE (((col4 > 81.24)) AND (((col3 IN (89,44,35)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 > 81.24)) AND (((col3 IN (89,44,35)))))
----

query I rowsort label-4505
SELECT pk FROM tab0 WHERE NOT ((((col4 > 81.24)) AND (((col3 IN (89,44,35))))))
----
5

statement ok
DELETE FROM tab1 WHERE (((col4 > 81.24)) AND (((col3 IN (89,44,35)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 > 81.24)) AND (((col3 IN (89,44,35)))))
----

query I rowsort label-4505
SELECT pk FROM tab1 WHERE NOT ((((col4 > 81.24)) AND (((col3 IN (89,44,35))))))
----
5

statement ok
DELETE FROM tab2 WHERE (((col4 > 81.24)) AND (((col3 IN (89,44,35)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 > 81.24)) AND (((col3 IN (89,44,35)))))
----

query I rowsort label-4505
SELECT pk FROM tab2 WHERE NOT ((((col4 > 81.24)) AND (((col3 IN (89,44,35))))))
----
5

statement ok
DELETE FROM tab3 WHERE (((col4 > 81.24)) AND (((col3 IN (89,44,35)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 > 81.24)) AND (((col3 IN (89,44,35)))))
----

query I rowsort label-4505
SELECT pk FROM tab3 WHERE NOT ((((col4 > 81.24)) AND (((col3 IN (89,44,35))))))
----
5

statement ok
DELETE FROM tab4 WHERE (((col4 > 81.24)) AND (((col3 IN (89,44,35)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 > 81.24)) AND (((col3 IN (89,44,35)))))
----

query I rowsort label-4505
SELECT pk FROM tab4 WHERE NOT ((((col4 > 81.24)) AND (((col3 IN (89,44,35))))))
----
5

statement ok
DELETE FROM tab0 WHERE col3 > 60 OR col3 = 75

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 60 OR col3 = 75
----

query I rowsort label-4520
SELECT pk FROM tab0 WHERE NOT (col3 > 60 OR col3 = 75)
----
5

statement ok
DELETE FROM tab1 WHERE col3 > 60 OR col3 = 75

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 60 OR col3 = 75
----

query I rowsort label-4520
SELECT pk FROM tab1 WHERE NOT (col3 > 60 OR col3 = 75)
----
5

statement ok
DELETE FROM tab2 WHERE col3 > 60 OR col3 = 75

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 60 OR col3 = 75
----

query I rowsort label-4520
SELECT pk FROM tab2 WHERE NOT (col3 > 60 OR col3 = 75)
----
5

statement ok
DELETE FROM tab3 WHERE col3 > 60 OR col3 = 75

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 60 OR col3 = 75
----

query I rowsort label-4520
SELECT pk FROM tab3 WHERE NOT (col3 > 60 OR col3 = 75)
----
5

statement ok
DELETE FROM tab4 WHERE col3 > 60 OR col3 = 75

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 60 OR col3 = 75
----

query I rowsort label-4520
SELECT pk FROM tab4 WHERE NOT (col3 > 60 OR col3 = 75)
----
5

statement ok
DELETE FROM tab0 WHERE col0 IN (78,14,86)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (78,14,86)
----

query I rowsort label-4535
SELECT pk FROM tab0 WHERE NOT (col0 IN (78,14,86))
----
5

statement ok
DELETE FROM tab1 WHERE col0 IN (78,14,86)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (78,14,86)
----

query I rowsort label-4535
SELECT pk FROM tab1 WHERE NOT (col0 IN (78,14,86))
----
5

statement ok
DELETE FROM tab2 WHERE col0 IN (78,14,86)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (78,14,86)
----

query I rowsort label-4535
SELECT pk FROM tab2 WHERE NOT (col0 IN (78,14,86))
----
5

statement ok
DELETE FROM tab3 WHERE col0 IN (78,14,86)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (78,14,86)
----

query I rowsort label-4535
SELECT pk FROM tab3 WHERE NOT (col0 IN (78,14,86))
----
5

statement ok
DELETE FROM tab4 WHERE col0 IN (78,14,86)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (78,14,86)
----

query I rowsort label-4535
SELECT pk FROM tab4 WHERE NOT (col0 IN (78,14,86))
----
5

statement ok
DELETE FROM tab0 WHERE col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44
----

query I rowsort label-4550
SELECT pk FROM tab0 WHERE NOT (col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44)
----
5

statement ok
DELETE FROM tab1 WHERE col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44
----

query I rowsort label-4550
SELECT pk FROM tab1 WHERE NOT (col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44)
----
5

statement ok
DELETE FROM tab2 WHERE col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44
----

query I rowsort label-4550
SELECT pk FROM tab2 WHERE NOT (col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44)
----
5

statement ok
DELETE FROM tab3 WHERE col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44
----

query I rowsort label-4550
SELECT pk FROM tab3 WHERE NOT (col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44)
----
5

statement ok
DELETE FROM tab4 WHERE col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44
----

query I rowsort label-4550
SELECT pk FROM tab4 WHERE NOT (col4 BETWEEN 97.41 AND 39.98 OR col0 > 92 AND col3 >= 44)
----
5

statement ok
DELETE FROM tab0 WHERE col3 < 54

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 54
----

query I rowsort label-4565
SELECT pk FROM tab0 WHERE NOT (col3 < 54)
----

statement ok
DELETE FROM tab1 WHERE col3 < 54

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 54
----

query I rowsort label-4565
SELECT pk FROM tab1 WHERE NOT (col3 < 54)
----

statement ok
DELETE FROM tab2 WHERE col3 < 54

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 54
----

query I rowsort label-4565
SELECT pk FROM tab2 WHERE NOT (col3 < 54)
----

statement ok
DELETE FROM tab3 WHERE col3 < 54

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 54
----

query I rowsort label-4565
SELECT pk FROM tab3 WHERE NOT (col3 < 54)
----

statement ok
DELETE FROM tab4 WHERE col3 < 54

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 54
----

query I rowsort label-4565
SELECT pk FROM tab4 WHERE NOT (col3 < 54)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,97,76.90,'gmdir',97,51.86,'kafdb')

statement ok
INSERT INTO tab0 VALUES(1,50,19.54,'kdqio',12,33.90,'yaleo')

statement ok
INSERT INTO tab0 VALUES(2,99,69.67,'nbmxn',6,91.71,'lxkgt')

statement ok
INSERT INTO tab0 VALUES(3,28,65.39,'meavw',4,41.14,'mjnue')

statement ok
INSERT INTO tab0 VALUES(4,68,0.18,'zzimg',13,57.23,'dsfll')

statement ok
INSERT INTO tab0 VALUES(5,64,34.53,'rwohw',78,87.83,'aqvwc')

statement ok
INSERT INTO tab0 VALUES(6,33,5.56,'lxwom',53,64.21,'luvka')

statement ok
INSERT INTO tab0 VALUES(7,29,45.64,'hmqyu',58,19.72,'mjani')

statement ok
INSERT INTO tab0 VALUES(8,2,88.99,'rvnfg',43,94.41,'guoos')

statement ok
INSERT INTO tab0 VALUES(9,67,86.37,'nsrrl',49,53.64,'thbij')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC,col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4,col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1 DESC,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC,col0)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5
----

query I rowsort label-4580
SELECT pk FROM tab0 WHERE NOT ((((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5)
----
0
2
4
5
9

statement ok
DELETE FROM tab1 WHERE (((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5
----

query I rowsort label-4580
SELECT pk FROM tab1 WHERE NOT ((((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5)
----
0
2
4
5
9

statement ok
DELETE FROM tab2 WHERE (((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5
----

query I rowsort label-4580
SELECT pk FROM tab2 WHERE NOT ((((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5)
----
0
2
4
5
9

statement ok
DELETE FROM tab3 WHERE (((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5
----

query I rowsort label-4580
SELECT pk FROM tab3 WHERE NOT ((((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5)
----
0
2
4
5
9

statement ok
DELETE FROM tab4 WHERE (((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5
----

query I rowsort label-4580
SELECT pk FROM tab4 WHERE NOT ((((col3 < 68 AND col0 < 55))) OR (col4 <= 46.9) OR col4 = 13.5)
----
0
2
4
5
9

statement ok
DELETE FROM tab0 WHERE (col0 > 72)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 72)
----

query I rowsort label-4595
SELECT pk FROM tab0 WHERE NOT ((col0 > 72))
----
4
5
9

statement ok
DELETE FROM tab1 WHERE (col0 > 72)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 72)
----

query I rowsort label-4595
SELECT pk FROM tab1 WHERE NOT ((col0 > 72))
----
4
5
9

statement ok
DELETE FROM tab2 WHERE (col0 > 72)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 72)
----

query I rowsort label-4595
SELECT pk FROM tab2 WHERE NOT ((col0 > 72))
----
4
5
9

statement ok
DELETE FROM tab3 WHERE (col0 > 72)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 72)
----

query I rowsort label-4595
SELECT pk FROM tab3 WHERE NOT ((col0 > 72))
----
4
5
9

statement ok
DELETE FROM tab4 WHERE (col0 > 72)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 72)
----

query I rowsort label-4595
SELECT pk FROM tab4 WHERE NOT ((col0 > 72))
----
4
5
9

statement ok
DELETE FROM tab0 WHERE ((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63
----

query I rowsort label-4610
SELECT pk FROM tab0 WHERE NOT (((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63)
----
4
9

statement ok
DELETE FROM tab1 WHERE ((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63
----

query I rowsort label-4610
SELECT pk FROM tab1 WHERE NOT (((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63)
----
4
9

statement ok
DELETE FROM tab2 WHERE ((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63
----

query I rowsort label-4610
SELECT pk FROM tab2 WHERE NOT (((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63)
----
4
9

statement ok
DELETE FROM tab3 WHERE ((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63
----

query I rowsort label-4610
SELECT pk FROM tab3 WHERE NOT (((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63)
----
4
9

statement ok
DELETE FROM tab4 WHERE ((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63
----

query I rowsort label-4610
SELECT pk FROM tab4 WHERE NOT (((col0 < 46 OR ((col3 IN (35,58,92)) AND col4 > 79.2))) AND ((col1 <= 57.15 AND col0 <= 43)) OR col3 >= 63)
----
4
9

statement ok
DELETE FROM tab0 WHERE col4 < 8.67 AND col0 > 60

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 8.67 AND col0 > 60
----

query I rowsort label-4625
SELECT pk FROM tab0 WHERE NOT (col4 < 8.67 AND col0 > 60)
----
4
9

statement ok
DELETE FROM tab1 WHERE col4 < 8.67 AND col0 > 60

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 8.67 AND col0 > 60
----

query I rowsort label-4625
SELECT pk FROM tab1 WHERE NOT (col4 < 8.67 AND col0 > 60)
----
4
9

statement ok
DELETE FROM tab2 WHERE col4 < 8.67 AND col0 > 60

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 8.67 AND col0 > 60
----

query I rowsort label-4625
SELECT pk FROM tab2 WHERE NOT (col4 < 8.67 AND col0 > 60)
----
4
9

statement ok
DELETE FROM tab3 WHERE col4 < 8.67 AND col0 > 60

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 8.67 AND col0 > 60
----

query I rowsort label-4625
SELECT pk FROM tab3 WHERE NOT (col4 < 8.67 AND col0 > 60)
----
4
9

statement ok
DELETE FROM tab4 WHERE col4 < 8.67 AND col0 > 60

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 8.67 AND col0 > 60
----

query I rowsort label-4625
SELECT pk FROM tab4 WHERE NOT (col4 < 8.67 AND col0 > 60)
----
4
9

statement ok
DELETE FROM tab0 WHERE col3 > 90

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 90
----

query I rowsort label-4640
SELECT pk FROM tab0 WHERE NOT (col3 > 90)
----
4
9

statement ok
DELETE FROM tab1 WHERE col3 > 90

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 90
----

query I rowsort label-4640
SELECT pk FROM tab1 WHERE NOT (col3 > 90)
----
4
9

statement ok
DELETE FROM tab2 WHERE col3 > 90

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 90
----

query I rowsort label-4640
SELECT pk FROM tab2 WHERE NOT (col3 > 90)
----
4
9

statement ok
DELETE FROM tab3 WHERE col3 > 90

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 90
----

query I rowsort label-4640
SELECT pk FROM tab3 WHERE NOT (col3 > 90)
----
4
9

statement ok
DELETE FROM tab4 WHERE col3 > 90

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 90
----

query I rowsort label-4640
SELECT pk FROM tab4 WHERE NOT (col3 > 90)
----
4
9

statement ok
DELETE FROM tab0 WHERE col4 < 53.57

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 53.57
----

query I rowsort label-4655
SELECT pk FROM tab0 WHERE NOT (col4 < 53.57)
----
4
9

statement ok
DELETE FROM tab1 WHERE col4 < 53.57

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 53.57
----

query I rowsort label-4655
SELECT pk FROM tab1 WHERE NOT (col4 < 53.57)
----
4
9

statement ok
DELETE FROM tab2 WHERE col4 < 53.57

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 53.57
----

query I rowsort label-4655
SELECT pk FROM tab2 WHERE NOT (col4 < 53.57)
----
4
9

statement ok
DELETE FROM tab3 WHERE col4 < 53.57

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 53.57
----

query I rowsort label-4655
SELECT pk FROM tab3 WHERE NOT (col4 < 53.57)
----
4
9

statement ok
DELETE FROM tab4 WHERE col4 < 53.57

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 53.57
----

query I rowsort label-4655
SELECT pk FROM tab4 WHERE NOT (col4 < 53.57)
----
4
9

statement ok
DELETE FROM tab0 WHERE col4 < 63.0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 63.0
----

query I rowsort label-4670
SELECT pk FROM tab0 WHERE NOT (col4 < 63.0)
----

statement ok
DELETE FROM tab1 WHERE col4 < 63.0

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 63.0
----

query I rowsort label-4670
SELECT pk FROM tab1 WHERE NOT (col4 < 63.0)
----

statement ok
DELETE FROM tab2 WHERE col4 < 63.0

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 63.0
----

query I rowsort label-4670
SELECT pk FROM tab2 WHERE NOT (col4 < 63.0)
----

statement ok
DELETE FROM tab3 WHERE col4 < 63.0

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 63.0
----

query I rowsort label-4670
SELECT pk FROM tab3 WHERE NOT (col4 < 63.0)
----

statement ok
DELETE FROM tab4 WHERE col4 < 63.0

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 63.0
----

query I rowsort label-4670
SELECT pk FROM tab4 WHERE NOT (col4 < 63.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,91,27.0,'nueny',68,80.69,'nfigj')

statement ok
INSERT INTO tab0 VALUES(1,13,53.53,'wrtjk',61,31.54,'vnvhs')

statement ok
INSERT INTO tab0 VALUES(2,29,0.84,'ctzpn',42,99.3,'ilqra')

statement ok
INSERT INTO tab0 VALUES(3,1,85.33,'gxqcm',34,12.18,'hgjtz')

statement ok
INSERT INTO tab0 VALUES(4,94,18.63,'ubkhv',23,26.25,'dwwno')

statement ok
INSERT INTO tab0 VALUES(5,86,62.72,'bjkei',60,81.97,'bytoo')

statement ok
INSERT INTO tab0 VALUES(6,87,1.6,'xgwnj',85,62.57,'nzzjk')

statement ok
INSERT INTO tab0 VALUES(7,40,92.71,'mpsbt',32,74.97,'ennis')

statement ok
INSERT INTO tab0 VALUES(8,48,43.46,'rwdke',44,88.86,'ddbzs')

statement ok
INSERT INTO tab0 VALUES(9,76,61.96,'vckjz',87,13.87,'vsnyf')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3,col0)

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)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26
----

query I rowsort label-4685
SELECT pk FROM tab0 WHERE NOT (col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26)
----
4

statement ok
DELETE FROM tab1 WHERE col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26
----

query I rowsort label-4685
SELECT pk FROM tab1 WHERE NOT (col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26)
----
4

statement ok
DELETE FROM tab2 WHERE col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26
----

query I rowsort label-4685
SELECT pk FROM tab2 WHERE NOT (col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26)
----
4

statement ok
DELETE FROM tab3 WHERE col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26
----

query I rowsort label-4685
SELECT pk FROM tab3 WHERE NOT (col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26)
----
4

statement ok
DELETE FROM tab4 WHERE col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26
----

query I rowsort label-4685
SELECT pk FROM tab4 WHERE NOT (col0 < 81 AND col3 >= 58 OR col3 IS NULL OR col3 > 26)
----
4

statement ok
DELETE FROM tab0 WHERE (col4 > 6.5)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 6.5)
----

query I rowsort label-4700
SELECT pk FROM tab0 WHERE NOT ((col4 > 6.5))
----

statement ok
DELETE FROM tab1 WHERE (col4 > 6.5)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 6.5)
----

query I rowsort label-4700
SELECT pk FROM tab1 WHERE NOT ((col4 > 6.5))
----

statement ok
DELETE FROM tab2 WHERE (col4 > 6.5)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 6.5)
----

query I rowsort label-4700
SELECT pk FROM tab2 WHERE NOT ((col4 > 6.5))
----

statement ok
DELETE FROM tab3 WHERE (col4 > 6.5)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 6.5)
----

query I rowsort label-4700
SELECT pk FROM tab3 WHERE NOT ((col4 > 6.5))
----

statement ok
DELETE FROM tab4 WHERE (col4 > 6.5)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 6.5)
----

query I rowsort label-4700
SELECT pk FROM tab4 WHERE NOT ((col4 > 6.5))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,8,78.56,'gqzfg',55,77.70,'lkkay')

statement ok
INSERT INTO tab0 VALUES(1,50,60.20,'cronj',70,37.37,'gmcje')

statement ok
INSERT INTO tab0 VALUES(2,85,4.22,'odoud',39,99.44,'bsqwc')

statement ok
INSERT INTO tab0 VALUES(3,88,88.18,'fkhps',5,46.33,'uknly')

statement ok
INSERT INTO tab0 VALUES(4,44,64.46,'gcrqx',71,63.36,'vohap')

statement ok
INSERT INTO tab0 VALUES(5,56,20.31,'dyxra',22,6.81,'pbyvd')

statement ok
INSERT INTO tab0 VALUES(6,64,42.6,'fdawj',30,59.4,'gpunn')

statement ok
INSERT INTO tab0 VALUES(7,54,77.18,'igqww',72,97.68,'gbwee')

statement ok
INSERT INTO tab0 VALUES(8,69,97.46,'kpnvv',33,53.70,'yjuon')

statement ok
INSERT INTO tab0 VALUES(9,25,59.7,'ffeqk',38,75.52,'iwdfv')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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_2 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3,col4 DESC,col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1,col0)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1,col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1 DESC,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL
----

query I rowsort label-4715
SELECT pk FROM tab0 WHERE NOT ((col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL
----

query I rowsort label-4715
SELECT pk FROM tab1 WHERE NOT ((col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL
----

query I rowsort label-4715
SELECT pk FROM tab2 WHERE NOT ((col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL
----

query I rowsort label-4715
SELECT pk FROM tab3 WHERE NOT ((col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL
----

query I rowsort label-4715
SELECT pk FROM tab4 WHERE NOT ((col0 < 84) AND col0 = 0 OR ((((col3 > 7) AND col0 >= 65 AND (col3 < 63))) AND col0 <= 56 OR col3 >= 5 OR col3 <= 24) AND col0 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 > 41 AND (col3 = 2)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 41 AND (col3 = 2)
----

query I rowsort label-4730
SELECT pk FROM tab0 WHERE NOT (col3 > 41 AND (col3 = 2))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 > 41 AND (col3 = 2)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 41 AND (col3 = 2)
----

query I rowsort label-4730
SELECT pk FROM tab1 WHERE NOT (col3 > 41 AND (col3 = 2))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 > 41 AND (col3 = 2)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 41 AND (col3 = 2)
----

query I rowsort label-4730
SELECT pk FROM tab2 WHERE NOT (col3 > 41 AND (col3 = 2))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 > 41 AND (col3 = 2)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 41 AND (col3 = 2)
----

query I rowsort label-4730
SELECT pk FROM tab3 WHERE NOT (col3 > 41 AND (col3 = 2))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 > 41 AND (col3 = 2)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 41 AND (col3 = 2)
----

query I rowsort label-4730
SELECT pk FROM tab4 WHERE NOT (col3 > 41 AND (col3 = 2))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 <= 61 OR col3 IS NULL AND col0 > 13

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 61 OR col3 IS NULL AND col0 > 13
----

query I rowsort label-4745
SELECT pk FROM tab0 WHERE NOT (col3 <= 61 OR col3 IS NULL AND col0 > 13)
----
1
4
7

statement ok
DELETE FROM tab1 WHERE col3 <= 61 OR col3 IS NULL AND col0 > 13

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 61 OR col3 IS NULL AND col0 > 13
----

query I rowsort label-4745
SELECT pk FROM tab1 WHERE NOT (col3 <= 61 OR col3 IS NULL AND col0 > 13)
----
1
4
7

statement ok
DELETE FROM tab2 WHERE col3 <= 61 OR col3 IS NULL AND col0 > 13

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 61 OR col3 IS NULL AND col0 > 13
----

query I rowsort label-4745
SELECT pk FROM tab2 WHERE NOT (col3 <= 61 OR col3 IS NULL AND col0 > 13)
----
1
4
7

statement ok
DELETE FROM tab3 WHERE col3 <= 61 OR col3 IS NULL AND col0 > 13

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 61 OR col3 IS NULL AND col0 > 13
----

query I rowsort label-4745
SELECT pk FROM tab3 WHERE NOT (col3 <= 61 OR col3 IS NULL AND col0 > 13)
----
1
4
7

statement ok
DELETE FROM tab4 WHERE col3 <= 61 OR col3 IS NULL AND col0 > 13

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 61 OR col3 IS NULL AND col0 > 13
----

query I rowsort label-4745
SELECT pk FROM tab4 WHERE NOT (col3 <= 61 OR col3 IS NULL AND col0 > 13)
----
1
4
7

statement ok
DELETE FROM tab0 WHERE col1 < 70.89 OR col4 > 23.43

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 70.89 OR col4 > 23.43
----

query I rowsort label-4760
SELECT pk FROM tab0 WHERE NOT (col1 < 70.89 OR col4 > 23.43)
----

statement ok
DELETE FROM tab1 WHERE col1 < 70.89 OR col4 > 23.43

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 70.89 OR col4 > 23.43
----

query I rowsort label-4760
SELECT pk FROM tab1 WHERE NOT (col1 < 70.89 OR col4 > 23.43)
----

statement ok
DELETE FROM tab2 WHERE col1 < 70.89 OR col4 > 23.43

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 70.89 OR col4 > 23.43
----

query I rowsort label-4760
SELECT pk FROM tab2 WHERE NOT (col1 < 70.89 OR col4 > 23.43)
----

statement ok
DELETE FROM tab3 WHERE col1 < 70.89 OR col4 > 23.43

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 70.89 OR col4 > 23.43
----

query I rowsort label-4760
SELECT pk FROM tab3 WHERE NOT (col1 < 70.89 OR col4 > 23.43)
----

statement ok
DELETE FROM tab4 WHERE col1 < 70.89 OR col4 > 23.43

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 70.89 OR col4 > 23.43
----

query I rowsort label-4760
SELECT pk FROM tab4 WHERE NOT (col1 < 70.89 OR col4 > 23.43)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,22,22.3,'yigsh',2,43.82,'kzuzx')

statement ok
INSERT INTO tab0 VALUES(1,99,4.86,'kqpsu',76,40.34,'slzpd')

statement ok
INSERT INTO tab0 VALUES(2,12,53.94,'vkbjo',49,73.26,'rrhnb')

statement ok
INSERT INTO tab0 VALUES(3,50,69.31,'amery',80,28.13,'qugnb')

statement ok
INSERT INTO tab0 VALUES(4,86,98.61,'yhyfv',97,90.36,'gjqzy')

statement ok
INSERT INTO tab0 VALUES(5,39,45.72,'vizpo',54,61.94,'ltfag')

statement ok
INSERT INTO tab0 VALUES(6,40,86.40,'kvrhi',98,69.4,'qzfof')

statement ok
INSERT INTO tab0 VALUES(7,91,81.87,'wmfca',25,85.62,'wgela')

statement ok
INSERT INTO tab0 VALUES(8,27,87.48,'bwwwn',51,29.5,'wogst')

statement ok
INSERT INTO tab0 VALUES(9,83,67.30,'rizcu',70,89.76,'hiils')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1 DESC,col3 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 35 AND col1 > 87.33 AND col4 > 27.12

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 35 AND col1 > 87.33 AND col4 > 27.12
----

query I rowsort label-4775
SELECT pk FROM tab0 WHERE NOT (col0 < 35 AND col1 > 87.33 AND col4 > 27.12)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab1 WHERE col0 < 35 AND col1 > 87.33 AND col4 > 27.12

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 35 AND col1 > 87.33 AND col4 > 27.12
----

query I rowsort label-4775
SELECT pk FROM tab1 WHERE NOT (col0 < 35 AND col1 > 87.33 AND col4 > 27.12)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab2 WHERE col0 < 35 AND col1 > 87.33 AND col4 > 27.12

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 35 AND col1 > 87.33 AND col4 > 27.12
----

query I rowsort label-4775
SELECT pk FROM tab2 WHERE NOT (col0 < 35 AND col1 > 87.33 AND col4 > 27.12)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab3 WHERE col0 < 35 AND col1 > 87.33 AND col4 > 27.12

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 35 AND col1 > 87.33 AND col4 > 27.12
----

query I rowsort label-4775
SELECT pk FROM tab3 WHERE NOT (col0 < 35 AND col1 > 87.33 AND col4 > 27.12)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab4 WHERE col0 < 35 AND col1 > 87.33 AND col4 > 27.12

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 35 AND col1 > 87.33 AND col4 > 27.12
----

query I rowsort label-4775
SELECT pk FROM tab4 WHERE NOT (col0 < 35 AND col1 > 87.33 AND col4 > 27.12)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,65,81.66,'rvzxl',82,52.17,'hebpk')

statement ok
INSERT INTO tab0 VALUES(1,8,41.94,'kinwf',15,58.83,'xjaeb')

statement ok
INSERT INTO tab0 VALUES(2,95,67.73,'pdzku',9,38.2,'cuwza')

statement ok
INSERT INTO tab0 VALUES(3,48,62.2,'eqdtx',7,29.70,'xsyjn')

statement ok
INSERT INTO tab0 VALUES(4,72,72.41,'gvgov',19,69.77,'nrspj')

statement ok
INSERT INTO tab0 VALUES(5,22,5.73,'evftj',81,9.66,'ofvhw')

statement ok
INSERT INTO tab0 VALUES(6,58,38.68,'vlrza',23,33.99,'bjegg')

statement ok
INSERT INTO tab0 VALUES(7,17,33.45,'nwcfc',26,59.17,'tmcxm')

statement ok
INSERT INTO tab0 VALUES(8,67,47.33,'hjaov',87,60.3,'zoocq')

statement ok
INSERT INTO tab0 VALUES(9,74,48.35,'yuarq',83,76.46,'bddmw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col3 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3,col4)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4 DESC,col0)

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_1 ON tab4 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL
----

query I rowsort label-4790
SELECT pk FROM tab0 WHERE NOT (col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL
----

query I rowsort label-4790
SELECT pk FROM tab1 WHERE NOT (col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL
----

query I rowsort label-4790
SELECT pk FROM tab2 WHERE NOT (col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL
----

query I rowsort label-4790
SELECT pk FROM tab3 WHERE NOT (col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL
----

query I rowsort label-4790
SELECT pk FROM tab4 WHERE NOT (col0 < 39 AND (col0 < 53) AND ((col4 > 91.57)) OR col3 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61
----

query I rowsort label-4805
SELECT pk FROM tab0 WHERE NOT (col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61
----

query I rowsort label-4805
SELECT pk FROM tab1 WHERE NOT (col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61
----

query I rowsort label-4805
SELECT pk FROM tab2 WHERE NOT (col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61
----

query I rowsort label-4805
SELECT pk FROM tab3 WHERE NOT (col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 25.57 OR ((col3 < 98)) OR col0 < 61
----

query I rowsort label-4805
SELECT pk FROM tab4 WHERE NOT (col1 >= 25.57 OR ((col3 < 98)) OR 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,26,12.28,'pakrl',23,16.0,'wrape')

statement ok
INSERT INTO tab0 VALUES(1,88,88.15,'syegl',91,42.51,'yizrl')

statement ok
INSERT INTO tab0 VALUES(2,62,81.34,'upguc',94,71.22,'btxqo')

statement ok
INSERT INTO tab0 VALUES(3,24,16.55,'pobex',62,64.71,'dpyvp')

statement ok
INSERT INTO tab0 VALUES(4,89,6.78,'uffjh',19,2.96,'bwwvz')

statement ok
INSERT INTO tab0 VALUES(5,19,14.52,'udfqu',95,50.46,'fispj')

statement ok
INSERT INTO tab0 VALUES(6,39,21.78,'gxgna',38,17.33,'yhije')

statement ok
INSERT INTO tab0 VALUES(7,48,82.31,'umoca',26,19.44,'lbcad')

statement ok
INSERT INTO tab0 VALUES(8,31,91.66,'mdgzf',81,46.56,'ftlab')

statement ok
INSERT INTO tab0 VALUES(9,75,46.34,'qtvpq',80,18.46,'rqprh')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3,col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3,col4)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 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 (col0)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77))
----

query I rowsort label-4820
SELECT pk FROM tab0 WHERE NOT (((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77)))
----

statement ok
DELETE FROM tab1 WHERE ((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77))
----

query I rowsort label-4820
SELECT pk FROM tab1 WHERE NOT (((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77)))
----

statement ok
DELETE FROM tab2 WHERE ((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77))
----

query I rowsort label-4820
SELECT pk FROM tab2 WHERE NOT (((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77)))
----

statement ok
DELETE FROM tab3 WHERE ((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77))
----

query I rowsort label-4820
SELECT pk FROM tab3 WHERE NOT (((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77)))
----

statement ok
DELETE FROM tab4 WHERE ((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77))
----

query I rowsort label-4820
SELECT pk FROM tab4 WHERE NOT (((col1 < 80.88 OR ((((col3 = 28 OR col0 < 56 AND col3 > 73 OR (((col0 > 14 AND (col0 < 84) OR col0 IN (45,13) AND col4 < 54.44))) OR col4 > 98.89 AND col3 > 58 OR col1 BETWEEN 84.78 AND 0.3 AND col3 < 45 OR col3 > 47 OR col4 <= 57.35)))) OR col3 >= 77)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,81,24.15,'xokob',44,85.13,'pkjlc')

statement ok
INSERT INTO tab0 VALUES(1,96,41.5,'djnkk',94,82.28,'jyovx')

statement ok
INSERT INTO tab0 VALUES(2,91,84.66,'jjaum',53,36.79,'lyrws')

statement ok
INSERT INTO tab0 VALUES(3,52,74.96,'qivbt',17,34.68,'ukyed')

statement ok
INSERT INTO tab0 VALUES(4,41,6.80,'lpgnb',65,17.37,'earvl')

statement ok
INSERT INTO tab0 VALUES(5,8,8.97,'ndqii',71,41.81,'tdcni')

statement ok
INSERT INTO tab0 VALUES(6,2,7.35,'dtwuc',18,43.61,'uyuni')

statement ok
INSERT INTO tab0 VALUES(7,89,85.5,'cceoe',2,99.14,'cslxp')

statement ok
INSERT INTO tab0 VALUES(8,59,52.49,'czqnf',60,86.67,'zskvo')

statement ok
INSERT INTO tab0 VALUES(9,40,0.58,'lfudl',68,51.52,'nmjij')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col0,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3,col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (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 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col4 = 10.15))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 = 10.15))
----

query I rowsort label-4835
SELECT pk FROM tab0 WHERE NOT (((col4 = 10.15)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col4 = 10.15))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 = 10.15))
----

query I rowsort label-4835
SELECT pk FROM tab1 WHERE NOT (((col4 = 10.15)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col4 = 10.15))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 = 10.15))
----

query I rowsort label-4835
SELECT pk FROM tab2 WHERE NOT (((col4 = 10.15)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col4 = 10.15))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 = 10.15))
----

query I rowsort label-4835
SELECT pk FROM tab3 WHERE NOT (((col4 = 10.15)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col4 = 10.15))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 = 10.15))
----

query I rowsort label-4835
SELECT pk FROM tab4 WHERE NOT (((col4 = 10.15)))
----
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-4850
SELECT pk FROM tab0 WHERE NOT (col3 > 55)
----
0
2
3
6
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-4850
SELECT pk FROM tab1 WHERE NOT (col3 > 55)
----
0
2
3
6
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-4850
SELECT pk FROM tab2 WHERE NOT (col3 > 55)
----
0
2
3
6
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-4850
SELECT pk FROM tab3 WHERE NOT (col3 > 55)
----
0
2
3
6
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-4850
SELECT pk FROM tab4 WHERE NOT (col3 > 55)
----
0
2
3
6
7

statement ok
DELETE FROM tab0 WHERE (col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56)
----

query I rowsort label-4865
SELECT pk FROM tab0 WHERE NOT ((col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56))
----
0
2
3
6
7

statement ok
DELETE FROM tab1 WHERE (col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56)
----

query I rowsort label-4865
SELECT pk FROM tab1 WHERE NOT ((col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56))
----
0
2
3
6
7

statement ok
DELETE FROM tab2 WHERE (col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56)
----

query I rowsort label-4865
SELECT pk FROM tab2 WHERE NOT ((col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56))
----
0
2
3
6
7

statement ok
DELETE FROM tab3 WHERE (col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56)
----

query I rowsort label-4865
SELECT pk FROM tab3 WHERE NOT ((col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56))
----
0
2
3
6
7

statement ok
DELETE FROM tab4 WHERE (col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56)
----

query I rowsort label-4865
SELECT pk FROM tab4 WHERE NOT ((col0 = 59 AND ((col4 <= 57.74)) AND col3 > 56))
----
0
2
3
6
7

statement ok
DELETE FROM tab0 WHERE col0 >= 0 AND col1 IS NULL AND col3 <= 53

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 0 AND col1 IS NULL AND col3 <= 53
----

query I rowsort label-4880
SELECT pk FROM tab0 WHERE NOT (col0 >= 0 AND col1 IS NULL AND col3 <= 53)
----
0
2
3
6
7

statement ok
DELETE FROM tab1 WHERE col0 >= 0 AND col1 IS NULL AND col3 <= 53

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 0 AND col1 IS NULL AND col3 <= 53
----

query I rowsort label-4880
SELECT pk FROM tab1 WHERE NOT (col0 >= 0 AND col1 IS NULL AND col3 <= 53)
----
0
2
3
6
7

statement ok
DELETE FROM tab2 WHERE col0 >= 0 AND col1 IS NULL AND col3 <= 53

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 0 AND col1 IS NULL AND col3 <= 53
----

query I rowsort label-4880
SELECT pk FROM tab2 WHERE NOT (col0 >= 0 AND col1 IS NULL AND col3 <= 53)
----
0
2
3
6
7

statement ok
DELETE FROM tab3 WHERE col0 >= 0 AND col1 IS NULL AND col3 <= 53

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 0 AND col1 IS NULL AND col3 <= 53
----

query I rowsort label-4880
SELECT pk FROM tab3 WHERE NOT (col0 >= 0 AND col1 IS NULL AND col3 <= 53)
----
0
2
3
6
7

statement ok
DELETE FROM tab4 WHERE col0 >= 0 AND col1 IS NULL AND col3 <= 53

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 0 AND col1 IS NULL AND col3 <= 53
----

query I rowsort label-4880
SELECT pk FROM tab4 WHERE NOT (col0 >= 0 AND col1 IS NULL AND col3 <= 53)
----
0
2
3
6
7

statement ok
DELETE FROM tab0 WHERE (col3 <= 93)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 93)
----

query I rowsort label-4895
SELECT pk FROM tab0 WHERE NOT ((col3 <= 93))
----

statement ok
DELETE FROM tab1 WHERE (col3 <= 93)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 93)
----

query I rowsort label-4895
SELECT pk FROM tab1 WHERE NOT ((col3 <= 93))
----

statement ok
DELETE FROM tab2 WHERE (col3 <= 93)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 93)
----

query I rowsort label-4895
SELECT pk FROM tab2 WHERE NOT ((col3 <= 93))
----

statement ok
DELETE FROM tab3 WHERE (col3 <= 93)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 93)
----

query I rowsort label-4895
SELECT pk FROM tab3 WHERE NOT ((col3 <= 93))
----

statement ok
DELETE FROM tab4 WHERE (col3 <= 93)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 93)
----

query I rowsort label-4895
SELECT pk FROM tab4 WHERE NOT ((col3 <= 93))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,45,53.5,'olrvt',18,34.67,'jncap')

statement ok
INSERT INTO tab0 VALUES(1,60,93.0,'xkypl',67,86.21,'kojqv')

statement ok
INSERT INTO tab0 VALUES(2,80,86.95,'evjgc',91,89.36,'szhga')

statement ok
INSERT INTO tab0 VALUES(3,99,23.77,'qnrth',41,71.96,'tipde')

statement ok
INSERT INTO tab0 VALUES(4,76,7.7,'nthwm',38,47.15,'eolui')

statement ok
INSERT INTO tab0 VALUES(5,46,10.30,'nicdk',84,90.47,'kkgcd')

statement ok
INSERT INTO tab0 VALUES(6,33,42.87,'nszcy',76,85.98,'hdgps')

statement ok
INSERT INTO tab0 VALUES(7,61,8.26,'zfknm',19,97.39,'szcla')

statement ok
INSERT INTO tab0 VALUES(8,65,72.19,'vzchu',37,32.18,'gdnqs')

statement ok
INSERT INTO tab0 VALUES(9,12,22.70,'zfstl',86,0.74,'uxybn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC,col4 DESC,col1)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4,col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC,col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC,col3,col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 <= 16

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 16
----

query I rowsort label-4910
SELECT pk FROM tab0 WHERE NOT (col0 <= 16)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab1 WHERE col0 <= 16

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 16
----

query I rowsort label-4910
SELECT pk FROM tab1 WHERE NOT (col0 <= 16)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab2 WHERE col0 <= 16

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 16
----

query I rowsort label-4910
SELECT pk FROM tab2 WHERE NOT (col0 <= 16)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab3 WHERE col0 <= 16

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 16
----

query I rowsort label-4910
SELECT pk FROM tab3 WHERE NOT (col0 <= 16)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab4 WHERE col0 <= 16

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 16
----

query I rowsort label-4910
SELECT pk FROM tab4 WHERE NOT (col0 <= 16)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab0 WHERE col1 = 65.8 AND col0 = 76

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 65.8 AND col0 = 76
----

query I rowsort label-4925
SELECT pk FROM tab0 WHERE NOT (col1 = 65.8 AND col0 = 76)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab1 WHERE col1 = 65.8 AND col0 = 76

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 65.8 AND col0 = 76
----

query I rowsort label-4925
SELECT pk FROM tab1 WHERE NOT (col1 = 65.8 AND col0 = 76)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab2 WHERE col1 = 65.8 AND col0 = 76

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 65.8 AND col0 = 76
----

query I rowsort label-4925
SELECT pk FROM tab2 WHERE NOT (col1 = 65.8 AND col0 = 76)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab3 WHERE col1 = 65.8 AND col0 = 76

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 65.8 AND col0 = 76
----

query I rowsort label-4925
SELECT pk FROM tab3 WHERE NOT (col1 = 65.8 AND col0 = 76)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab4 WHERE col1 = 65.8 AND col0 = 76

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 65.8 AND col0 = 76
----

query I rowsort label-4925
SELECT pk FROM tab4 WHERE NOT (col1 = 65.8 AND col0 = 76)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab0 WHERE col4 = 26.59

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 26.59
----

query I rowsort label-4940
SELECT pk FROM tab0 WHERE NOT (col4 = 26.59)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab1 WHERE col4 = 26.59

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 26.59
----

query I rowsort label-4940
SELECT pk FROM tab1 WHERE NOT (col4 = 26.59)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab2 WHERE col4 = 26.59

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 26.59
----

query I rowsort label-4940
SELECT pk FROM tab2 WHERE NOT (col4 = 26.59)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab3 WHERE col4 = 26.59

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 26.59
----

query I rowsort label-4940
SELECT pk FROM tab3 WHERE NOT (col4 = 26.59)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab4 WHERE col4 = 26.59

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 26.59
----

query I rowsort label-4940
SELECT pk FROM tab4 WHERE NOT (col4 = 26.59)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab0 WHERE col3 < 4

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 4
----

query I rowsort label-4955
SELECT pk FROM tab0 WHERE NOT (col3 < 4)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab1 WHERE col3 < 4

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 4
----

query I rowsort label-4955
SELECT pk FROM tab1 WHERE NOT (col3 < 4)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab2 WHERE col3 < 4

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 4
----

query I rowsort label-4955
SELECT pk FROM tab2 WHERE NOT (col3 < 4)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab3 WHERE col3 < 4

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 4
----

query I rowsort label-4955
SELECT pk FROM tab3 WHERE NOT (col3 < 4)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab4 WHERE col3 < 4

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 4
----

query I rowsort label-4955
SELECT pk FROM tab4 WHERE NOT (col3 < 4)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab0 WHERE col0 > 3

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 3
----

query I rowsort label-4970
SELECT pk FROM tab0 WHERE NOT (col0 > 3)
----

statement ok
DELETE FROM tab1 WHERE col0 > 3

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 3
----

query I rowsort label-4970
SELECT pk FROM tab1 WHERE NOT (col0 > 3)
----

statement ok
DELETE FROM tab2 WHERE col0 > 3

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 3
----

query I rowsort label-4970
SELECT pk FROM tab2 WHERE NOT (col0 > 3)
----

statement ok
DELETE FROM tab3 WHERE col0 > 3

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 3
----

query I rowsort label-4970
SELECT pk FROM tab3 WHERE NOT (col0 > 3)
----

statement ok
DELETE FROM tab4 WHERE col0 > 3

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 3
----

query I rowsort label-4970
SELECT pk FROM tab4 WHERE NOT (col0 > 3)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,38,92.0,'vgujz',8,2.2,'zhyde')

statement ok
INSERT INTO tab0 VALUES(1,12,23.44,'nybro',83,48.74,'yiice')

statement ok
INSERT INTO tab0 VALUES(2,76,14.78,'vdcmt',80,63.84,'tzjse')

statement ok
INSERT INTO tab0 VALUES(3,45,76.72,'rnycc',16,60.2,'iazbq')

statement ok
INSERT INTO tab0 VALUES(4,81,0.59,'wvnjk',32,82.96,'mcjzg')

statement ok
INSERT INTO tab0 VALUES(5,44,64.6,'ioqku',53,22.94,'hjexf')

statement ok
INSERT INTO tab0 VALUES(6,62,51.70,'hkeca',49,30.49,'dcujf')

statement ok
INSERT INTO tab0 VALUES(7,92,56.65,'fcfui',3,28.99,'rjhtt')

statement ok
INSERT INTO tab0 VALUES(8,82,5.19,'dxbyx',69,20.31,'gmora')

statement ok
INSERT INTO tab0 VALUES(9,29,61.43,'rhnsp',33,9.43,'vyoyh')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 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)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0,col3 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4,col3,col1 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28
----

query I rowsort label-4985
SELECT pk FROM tab0 WHERE NOT (col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28)
----
1
2
4
8

statement ok
DELETE FROM tab1 WHERE col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28
----

query I rowsort label-4985
SELECT pk FROM tab1 WHERE NOT (col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28)
----
1
2
4
8

statement ok
DELETE FROM tab2 WHERE col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28
----

query I rowsort label-4985
SELECT pk FROM tab2 WHERE NOT (col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28)
----
1
2
4
8

statement ok
DELETE FROM tab3 WHERE col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28
----

query I rowsort label-4985
SELECT pk FROM tab3 WHERE NOT (col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28)
----
1
2
4
8

statement ok
DELETE FROM tab4 WHERE col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28
----

query I rowsort label-4985
SELECT pk FROM tab4 WHERE NOT (col1 > 26.7 AND (((col1 > 49.79))) OR col1 > 83.21 AND col3 IN (49) AND col1 >= 2.28)
----
1
2
4
8

statement ok
DELETE FROM tab0 WHERE col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24)
----

query I rowsort label-5000
SELECT pk FROM tab0 WHERE NOT (col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24))
----

statement ok
DELETE FROM tab1 WHERE col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24)
----

query I rowsort label-5000
SELECT pk FROM tab1 WHERE NOT (col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24))
----

statement ok
DELETE FROM tab2 WHERE col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24)
----

query I rowsort label-5000
SELECT pk FROM tab2 WHERE NOT (col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24))
----

statement ok
DELETE FROM tab3 WHERE col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24)
----

query I rowsort label-5000
SELECT pk FROM tab3 WHERE NOT (col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24))
----

statement ok
DELETE FROM tab4 WHERE col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24)
----

query I rowsort label-5000
SELECT pk FROM tab4 WHERE NOT (col4 IN (59.38,15.58,83.53,18.10,85.46) AND (col3 > 52) OR (col3 >= 24))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,53,1.47,'crezu',64,71.37,'gbaru')

statement ok
INSERT INTO tab0 VALUES(1,29,74.49,'sqlac',61,75.83,'tftmm')

statement ok
INSERT INTO tab0 VALUES(2,52,15.69,'runex',94,42.87,'nztpn')

statement ok
INSERT INTO tab0 VALUES(3,19,97.92,'gkpjx',49,73.52,'kethl')

statement ok
INSERT INTO tab0 VALUES(4,51,27.3,'ushka',18,59.10,'hikcf')

statement ok
INSERT INTO tab0 VALUES(5,54,55.48,'vjqqq',60,91.86,'kfnig')

statement ok
INSERT INTO tab0 VALUES(6,73,94.96,'fghmt',62,78.61,'eoxuo')

statement ok
INSERT INTO tab0 VALUES(7,75,26.4,'dythb',96,54.31,'rswiz')

statement ok
INSERT INTO tab0 VALUES(8,92,18.76,'ligpa',97,96.73,'kdbmf')

statement ok
INSERT INTO tab0 VALUES(9,91,31.27,'mkcdb',8,31.7,'ueqez')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col1 > 65.32)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 65.32)
----

query I rowsort label-5015
SELECT pk FROM tab0 WHERE NOT ((col1 > 65.32))
----
0
2
4
5
7
8
9

statement ok
DELETE FROM tab1 WHERE (col1 > 65.32)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 65.32)
----

query I rowsort label-5015
SELECT pk FROM tab1 WHERE NOT ((col1 > 65.32))
----
0
2
4
5
7
8
9

statement ok
DELETE FROM tab2 WHERE (col1 > 65.32)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 65.32)
----

query I rowsort label-5015
SELECT pk FROM tab2 WHERE NOT ((col1 > 65.32))
----
0
2
4
5
7
8
9

statement ok
DELETE FROM tab3 WHERE (col1 > 65.32)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 65.32)
----

query I rowsort label-5015
SELECT pk FROM tab3 WHERE NOT ((col1 > 65.32))
----
0
2
4
5
7
8
9

statement ok
DELETE FROM tab4 WHERE (col1 > 65.32)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 65.32)
----

query I rowsort label-5015
SELECT pk FROM tab4 WHERE NOT ((col1 > 65.32))
----
0
2
4
5
7
8
9

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,31,23.40,'sisrf',85,65.83,'cnvar')

statement ok
INSERT INTO tab0 VALUES(1,16,19.60,'axxwx',42,58.93,'pnsud')

statement ok
INSERT INTO tab0 VALUES(2,15,55.60,'lhfat',18,12.23,'xcvhn')

statement ok
INSERT INTO tab0 VALUES(3,65,38.73,'kwyco',25,4.94,'vvgmy')

statement ok
INSERT INTO tab0 VALUES(4,46,44.26,'lsqow',1,35.55,'hptwn')

statement ok
INSERT INTO tab0 VALUES(5,44,27.4,'lcdvl',73,43.44,'plblo')

statement ok
INSERT INTO tab0 VALUES(6,17,39.14,'qcvyb',15,17.52,'lzxxm')

statement ok
INSERT INTO tab0 VALUES(7,47,30.44,'sipdw',19,7.81,'bdfsd')

statement ok
INSERT INTO tab0 VALUES(8,18,77.30,'bkcml',43,36.14,'ntciv')

statement ok
INSERT INTO tab0 VALUES(9,67,81.13,'uuurv',94,14.69,'oeeel')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 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 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC,col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col0 = 14 OR col4 = 45.17) AND col3 >= 11)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 = 14 OR col4 = 45.17) AND col3 >= 11)
----

query I rowsort label-5030
SELECT pk FROM tab0 WHERE NOT (((col0 = 14 OR col4 = 45.17) AND col3 >= 11))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col0 = 14 OR col4 = 45.17) AND col3 >= 11)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 = 14 OR col4 = 45.17) AND col3 >= 11)
----

query I rowsort label-5030
SELECT pk FROM tab1 WHERE NOT (((col0 = 14 OR col4 = 45.17) AND col3 >= 11))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col0 = 14 OR col4 = 45.17) AND col3 >= 11)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 = 14 OR col4 = 45.17) AND col3 >= 11)
----

query I rowsort label-5030
SELECT pk FROM tab2 WHERE NOT (((col0 = 14 OR col4 = 45.17) AND col3 >= 11))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col0 = 14 OR col4 = 45.17) AND col3 >= 11)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 = 14 OR col4 = 45.17) AND col3 >= 11)
----

query I rowsort label-5030
SELECT pk FROM tab3 WHERE NOT (((col0 = 14 OR col4 = 45.17) AND col3 >= 11))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col0 = 14 OR col4 = 45.17) AND col3 >= 11)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 = 14 OR col4 = 45.17) AND col3 >= 11)
----

query I rowsort label-5030
SELECT pk FROM tab4 WHERE NOT (((col0 = 14 OR col4 = 45.17) AND col3 >= 11))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 >= 92

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 92
----

query I rowsort label-5045
SELECT pk FROM tab0 WHERE NOT (col0 >= 92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 >= 92

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 92
----

query I rowsort label-5045
SELECT pk FROM tab1 WHERE NOT (col0 >= 92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 >= 92

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 92
----

query I rowsort label-5045
SELECT pk FROM tab2 WHERE NOT (col0 >= 92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 >= 92

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 92
----

query I rowsort label-5045
SELECT pk FROM tab3 WHERE NOT (col0 >= 92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 >= 92

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 92
----

query I rowsort label-5045
SELECT pk FROM tab4 WHERE NOT (col0 >= 92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 < 96

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 96
----

query I rowsort label-5060
SELECT pk FROM tab0 WHERE NOT (col3 < 96)
----

statement ok
DELETE FROM tab1 WHERE col3 < 96

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 96
----

query I rowsort label-5060
SELECT pk FROM tab1 WHERE NOT (col3 < 96)
----

statement ok
DELETE FROM tab2 WHERE col3 < 96

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 96
----

query I rowsort label-5060
SELECT pk FROM tab2 WHERE NOT (col3 < 96)
----

statement ok
DELETE FROM tab3 WHERE col3 < 96

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 96
----

query I rowsort label-5060
SELECT pk FROM tab3 WHERE NOT (col3 < 96)
----

statement ok
DELETE FROM tab4 WHERE col3 < 96

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 96
----

query I rowsort label-5060
SELECT pk FROM tab4 WHERE NOT (col3 < 96)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,85,6.91,'ckfcd',58,63.73,'tdgrk')

statement ok
INSERT INTO tab0 VALUES(1,77,18.64,'sfzcz',78,61.92,'bsfws')

statement ok
INSERT INTO tab0 VALUES(2,61,8.79,'dpgjb',34,58.57,'fqabj')

statement ok
INSERT INTO tab0 VALUES(3,71,21.84,'trntb',86,6.88,'gvyzl')

statement ok
INSERT INTO tab0 VALUES(4,14,70.13,'avsry',6,34.79,'bqrra')

statement ok
INSERT INTO tab0 VALUES(5,39,53.56,'zcksa',35,59.55,'lpreb')

statement ok
INSERT INTO tab0 VALUES(6,96,60.19,'dbxhg',48,0.42,'jycet')

statement ok
INSERT INTO tab0 VALUES(7,0,88.86,'pijff',14,86.22,'zgcok')

statement ok
INSERT INTO tab0 VALUES(8,90,57.79,'hcwmk',60,77.2,'ucueu')

statement ok
INSERT INTO tab0 VALUES(9,97,15.28,'bzqpc',36,68.73,'rsnhd')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0,col4)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col1 DESC,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,9,94.79,'sxxps',39,70.55,'cheqw')

statement ok
INSERT INTO tab0 VALUES(1,46,67.81,'uefrj',82,69.80,'socsm')

statement ok
INSERT INTO tab0 VALUES(2,86,60.89,'cwiqt',86,23.63,'givmr')

statement ok
INSERT INTO tab0 VALUES(3,61,51.38,'ruang',66,71.61,'dkhnm')

statement ok
INSERT INTO tab0 VALUES(4,19,78.82,'xtgon',55,88.6,'ipkdk')

statement ok
INSERT INTO tab0 VALUES(5,34,97.10,'eoukf',19,56.22,'gvuog')

statement ok
INSERT INTO tab0 VALUES(6,16,54.58,'kebfj',69,22.33,'dcldo')

statement ok
INSERT INTO tab0 VALUES(7,28,39.20,'vwluh',71,60.81,'uzfjk')

statement ok
INSERT INTO tab0 VALUES(8,95,52.60,'njfoy',64,37.34,'eipzy')

statement ok
INSERT INTO tab0 VALUES(9,21,63.28,'bwyzs',67,72.99,'dtehz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0,col4)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25
----

query I rowsort label-5075
SELECT pk FROM tab0 WHERE NOT ((((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab1 WHERE (((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25
----

query I rowsort label-5075
SELECT pk FROM tab1 WHERE NOT ((((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab2 WHERE (((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25
----

query I rowsort label-5075
SELECT pk FROM tab2 WHERE NOT ((((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab3 WHERE (((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25
----

query I rowsort label-5075
SELECT pk FROM tab3 WHERE NOT ((((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab4 WHERE (((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25
----

query I rowsort label-5075
SELECT pk FROM tab4 WHERE NOT ((((col1 >= 55.87))) AND ((col3 <= 41)) AND col0 < 25)
----
9 values hashing to 22e400a2ddbb013acf2a5852d6ab69fc

statement ok
DELETE FROM tab0 WHERE col0 > 21

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 21
----

query I rowsort label-5090
SELECT pk FROM tab0 WHERE NOT (col0 > 21)
----
4
6
9

statement ok
DELETE FROM tab1 WHERE col0 > 21

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 21
----

query I rowsort label-5090
SELECT pk FROM tab1 WHERE NOT (col0 > 21)
----
4
6
9

statement ok
DELETE FROM tab2 WHERE col0 > 21

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 21
----

query I rowsort label-5090
SELECT pk FROM tab2 WHERE NOT (col0 > 21)
----
4
6
9

statement ok
DELETE FROM tab3 WHERE col0 > 21

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 21
----

query I rowsort label-5090
SELECT pk FROM tab3 WHERE NOT (col0 > 21)
----
4
6
9

statement ok
DELETE FROM tab4 WHERE col0 > 21

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 21
----

query I rowsort label-5090
SELECT pk FROM tab4 WHERE NOT (col0 > 21)
----
4
6
9

statement ok
DELETE FROM tab0 WHERE (col4 > 37.99)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 37.99)
----

query I rowsort label-5105
SELECT pk FROM tab0 WHERE NOT ((col4 > 37.99))
----
6

statement ok
DELETE FROM tab1 WHERE (col4 > 37.99)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 37.99)
----

query I rowsort label-5105
SELECT pk FROM tab1 WHERE NOT ((col4 > 37.99))
----
6

statement ok
DELETE FROM tab2 WHERE (col4 > 37.99)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 37.99)
----

query I rowsort label-5105
SELECT pk FROM tab2 WHERE NOT ((col4 > 37.99))
----
6

statement ok
DELETE FROM tab3 WHERE (col4 > 37.99)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 37.99)
----

query I rowsort label-5105
SELECT pk FROM tab3 WHERE NOT ((col4 > 37.99))
----
6

statement ok
DELETE FROM tab4 WHERE (col4 > 37.99)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 37.99)
----

query I rowsort label-5105
SELECT pk FROM tab4 WHERE NOT ((col4 > 37.99))
----
6

statement ok
DELETE FROM tab0 WHERE col4 < 70.42

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 70.42
----

query I rowsort label-5120
SELECT pk FROM tab0 WHERE NOT (col4 < 70.42)
----

statement ok
DELETE FROM tab1 WHERE col4 < 70.42

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 70.42
----

query I rowsort label-5120
SELECT pk FROM tab1 WHERE NOT (col4 < 70.42)
----

statement ok
DELETE FROM tab2 WHERE col4 < 70.42

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 70.42
----

query I rowsort label-5120
SELECT pk FROM tab2 WHERE NOT (col4 < 70.42)
----

statement ok
DELETE FROM tab3 WHERE col4 < 70.42

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 70.42
----

query I rowsort label-5120
SELECT pk FROM tab3 WHERE NOT (col4 < 70.42)
----

statement ok
DELETE FROM tab4 WHERE col4 < 70.42

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 70.42
----

query I rowsort label-5120
SELECT pk FROM tab4 WHERE NOT (col4 < 70.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,1.98,'vgdvd',5,20.88,'fhwid')

statement ok
INSERT INTO tab0 VALUES(1,93,9.59,'cfpde',30,79.10,'mcrjh')

statement ok
INSERT INTO tab0 VALUES(2,22,84.78,'iuiag',47,63.6,'oxnph')

statement ok
INSERT INTO tab0 VALUES(3,28,48.22,'qcibi',1,29.36,'tktve')

statement ok
INSERT INTO tab0 VALUES(4,11,92.39,'sprvg',10,9.26,'lytur')

statement ok
INSERT INTO tab0 VALUES(5,74,96.23,'zspng',29,31.28,'hdbmd')

statement ok
INSERT INTO tab0 VALUES(6,89,37.71,'oinmu',12,24.78,'hlocy')

statement ok
INSERT INTO tab0 VALUES(7,58,0.53,'qtiyw',73,34.67,'xzqil')

statement ok
INSERT INTO tab0 VALUES(8,75,95.67,'ixkqz',52,38.94,'jvdhf')

statement ok
INSERT INTO tab0 VALUES(9,86,67.8,'zhrik',71,52.36,'kyswy')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1 DESC,col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,55,4.54,'novgl',56,68.63,'ftpls')

statement ok
INSERT INTO tab0 VALUES(1,8,51.61,'zvafl',50,21.88,'iqdqd')

statement ok
INSERT INTO tab0 VALUES(2,33,74.14,'jbvdj',12,51.86,'oxgmy')

statement ok
INSERT INTO tab0 VALUES(3,7,70.38,'lfewa',17,64.59,'jijlp')

statement ok
INSERT INTO tab0 VALUES(4,5,42.36,'pmhma',41,53.42,'gbwas')

statement ok
INSERT INTO tab0 VALUES(5,11,65.5,'nlfnt',82,60.23,'crury')

statement ok
INSERT INTO tab0 VALUES(6,35,41.50,'pfjft',62,43.48,'agmbl')

statement ok
INSERT INTO tab0 VALUES(7,19,69.91,'snljk',47,31.41,'wsfan')

statement ok
INSERT INTO tab0 VALUES(8,54,3.81,'vvssr',57,93.11,'xstwj')

statement ok
INSERT INTO tab0 VALUES(9,92,18.13,'rnvyn',79,99.67,'jvbml')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 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 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 82 AND 88

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 82 AND 88
----

query I rowsort label-5135
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 82 AND 88)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 82 AND 88

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 82 AND 88
----

query I rowsort label-5135
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 82 AND 88)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 82 AND 88

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 82 AND 88
----

query I rowsort label-5135
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 82 AND 88)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 82 AND 88

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 82 AND 88
----

query I rowsort label-5135
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 82 AND 88)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 82 AND 88

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 82 AND 88
----

query I rowsort label-5135
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 82 AND 88)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE ((col4 = 12.63)) AND (col0 > 50)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 = 12.63)) AND (col0 > 50)
----

query I rowsort label-5150
SELECT pk FROM tab0 WHERE NOT (((col4 = 12.63)) AND (col0 > 50))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE ((col4 = 12.63)) AND (col0 > 50)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 = 12.63)) AND (col0 > 50)
----

query I rowsort label-5150
SELECT pk FROM tab1 WHERE NOT (((col4 = 12.63)) AND (col0 > 50))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE ((col4 = 12.63)) AND (col0 > 50)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 = 12.63)) AND (col0 > 50)
----

query I rowsort label-5150
SELECT pk FROM tab2 WHERE NOT (((col4 = 12.63)) AND (col0 > 50))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE ((col4 = 12.63)) AND (col0 > 50)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 = 12.63)) AND (col0 > 50)
----

query I rowsort label-5150
SELECT pk FROM tab3 WHERE NOT (((col4 = 12.63)) AND (col0 > 50))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE ((col4 = 12.63)) AND (col0 > 50)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 = 12.63)) AND (col0 > 50)
----

query I rowsort label-5150
SELECT pk FROM tab4 WHERE NOT (((col4 = 12.63)) AND (col0 > 50))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE ((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28
----

query I rowsort label-5165
SELECT pk FROM tab0 WHERE NOT (((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28)
----

statement ok
DELETE FROM tab1 WHERE ((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28
----

query I rowsort label-5165
SELECT pk FROM tab1 WHERE NOT (((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28)
----

statement ok
DELETE FROM tab2 WHERE ((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28
----

query I rowsort label-5165
SELECT pk FROM tab2 WHERE NOT (((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28)
----

statement ok
DELETE FROM tab3 WHERE ((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28
----

query I rowsort label-5165
SELECT pk FROM tab3 WHERE NOT (((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28)
----

statement ok
DELETE FROM tab4 WHERE ((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 28
----

query I rowsort label-5165
SELECT pk FROM tab4 WHERE NOT (((col3 < 70) OR col3 >= 94) OR col0 >= 73 OR col1 > 1.40 AND col0 > 86 AND col0 <= 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,7,6.97,'ifhmh',46,68.99,'yjzhi')

statement ok
INSERT INTO tab0 VALUES(1,44,53.90,'iojrq',21,34.54,'tmgis')

statement ok
INSERT INTO tab0 VALUES(2,20,78.8,'fsdbo',71,50.91,'qfuyt')

statement ok
INSERT INTO tab0 VALUES(3,24,21.27,'brxjx',34,4.35,'exagc')

statement ok
INSERT INTO tab0 VALUES(4,21,86.19,'xllmp',80,85.10,'xhinl')

statement ok
INSERT INTO tab0 VALUES(5,66,10.70,'nuvul',29,42.62,'spnqc')

statement ok
INSERT INTO tab0 VALUES(6,22,20.84,'aqwbu',57,47.62,'tqrxu')

statement ok
INSERT INTO tab0 VALUES(7,54,0.5,'kbxuz',12,60.25,'xznla')

statement ok
INSERT INTO tab0 VALUES(8,70,49.21,'hkied',26,87.19,'jdgew')

statement ok
INSERT INTO tab0 VALUES(9,9,50.82,'mngiu',27,48.78,'knayp')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE 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 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4,col1)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 <= 35

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 35
----

query I rowsort label-5180
SELECT pk FROM tab0 WHERE NOT (col0 <= 35)
----
1
5
7
8

statement ok
DELETE FROM tab1 WHERE col0 <= 35

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 35
----

query I rowsort label-5180
SELECT pk FROM tab1 WHERE NOT (col0 <= 35)
----
1
5
7
8

statement ok
DELETE FROM tab2 WHERE col0 <= 35

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 35
----

query I rowsort label-5180
SELECT pk FROM tab2 WHERE NOT (col0 <= 35)
----
1
5
7
8

statement ok
DELETE FROM tab3 WHERE col0 <= 35

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 35
----

query I rowsort label-5180
SELECT pk FROM tab3 WHERE NOT (col0 <= 35)
----
1
5
7
8

statement ok
DELETE FROM tab4 WHERE col0 <= 35

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 35
----

query I rowsort label-5180
SELECT pk FROM tab4 WHERE NOT (col0 <= 35)
----
1
5
7
8

statement ok
DELETE FROM tab0 WHERE ((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54)
----

query I rowsort label-5195
SELECT pk FROM tab0 WHERE NOT (((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54))
----

statement ok
DELETE FROM tab1 WHERE ((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54)
----

query I rowsort label-5195
SELECT pk FROM tab1 WHERE NOT (((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54))
----

statement ok
DELETE FROM tab2 WHERE ((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54)
----

query I rowsort label-5195
SELECT pk FROM tab2 WHERE NOT (((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54))
----

statement ok
DELETE FROM tab3 WHERE ((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54)
----

query I rowsort label-5195
SELECT pk FROM tab3 WHERE NOT (((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54))
----

statement ok
DELETE FROM tab4 WHERE ((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54)
----

query I rowsort label-5195
SELECT pk FROM tab4 WHERE NOT (((col3 > 83) AND col3 > 72) OR (((col0 = 30 AND col3 < 65 AND col4 BETWEEN 77.29 AND 54.56 OR (col3 <= 74 AND (col3 < 17 AND (((col0 BETWEEN 56 AND 25))) AND ((col4 < 12.3 OR (col4 <= 30.57 AND (col1 > 71.44 OR (col0 < 62)) AND col4 = 83.39 AND col0 > 17) OR (col1 = 74.69))) AND col1 < 85.85)) AND ((col4 > 20.96 OR col0 > 18) OR (col1 < 8.43 AND col0 < 30 OR col0 < 22 AND col0 >= 29)) AND col3 > 67)) AND (col0 < 38)) OR ((col0 > 71) AND col4 < 49.31 AND (col3 > 38) AND col0 >= 29 OR col1 > 68.43 OR (col0 IN (84,60,41,30,40) AND (col3 < 71)) OR (col0 < 98 AND col4 BETWEEN 16.11 AND 82.46 AND col0 >= 12 AND (col4 >= 60.79) AND ((((col0 = 43) AND ((((col3 <= 52)) AND col1 < 5.12))) OR col0 < 74 AND col4 >= 13.74) AND (col4 > 69.51 AND col3 <= 41 AND col0 > 46 OR col0 > 36 OR ((((col0 < 85 AND (((col4 = 8.51))) AND (col0 IS NULL OR col0 > 8 AND col1 = 39.14 AND col3 IN (13,40,55) AND col3 < 71 AND col3 <= 50 AND col4 > 48.67 OR col3 < 40 OR col1 < 22.3 AND (col3 > 81)) AND (col3 <= 56) AND col3 IS NULL))) AND (col3 < 15)) AND col3 >= 1 OR col3 < 27) AND col0 BETWEEN 55 AND 32) AND ((col0 IS NULL)) AND ((col3 < 57 AND (col4 < 26.42 OR col4 < 49.33)) AND col3 = 56) OR col3 > 37 AND col3 <= 84) AND col0 > 65 OR col1 < 59.54))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,29,38.25,'idznw',89,25.93,'fbakb')

statement ok
INSERT INTO tab0 VALUES(1,96,43.27,'ptisl',44,29.44,'yudpz')

statement ok
INSERT INTO tab0 VALUES(2,76,37.27,'lrmzw',16,45.4,'lojbz')

statement ok
INSERT INTO tab0 VALUES(3,63,68.0,'diwup',45,90.44,'crpsb')

statement ok
INSERT INTO tab0 VALUES(4,41,8.44,'hkflw',64,84.18,'wsyyh')

statement ok
INSERT INTO tab0 VALUES(5,1,16.94,'jwkdc',21,16.71,'wqjnf')

statement ok
INSERT INTO tab0 VALUES(6,48,4.36,'jexbs',85,9.54,'cvhws')

statement ok
INSERT INTO tab0 VALUES(7,17,94.15,'khlor',60,77.38,'amebm')

statement ok
INSERT INTO tab0 VALUES(8,84,84.52,'jzthc',97,93.23,'diict')

statement ok
INSERT INTO tab0 VALUES(9,82,10.56,'pszhx',9,46.52,'rfhvv')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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_3 ON tab2 (col1 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3,col4 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0,col1)

statement ok
CREATE INDEX idx_tab3_3 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 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,91,4.47,'npvyq',71,64.0,'xpxxx')

statement ok
INSERT INTO tab0 VALUES(1,92,54.84,'xwahc',50,16.38,'hcdcx')

statement ok
INSERT INTO tab0 VALUES(2,90,35.88,'wbcpc',70,1.58,'elzpf')

statement ok
INSERT INTO tab0 VALUES(3,9,87.33,'nxjmq',92,38.95,'xasys')

statement ok
INSERT INTO tab0 VALUES(4,29,74.18,'etedz',93,2.19,'ombmn')

statement ok
INSERT INTO tab0 VALUES(5,0,44.85,'uutjk',75,81.48,'ytudk')

statement ok
INSERT INTO tab0 VALUES(6,58,97.32,'uyrxp',86,48.60,'zckwk')

statement ok
INSERT INTO tab0 VALUES(7,34,40.21,'ofnjl',19,17.6,'kmums')

statement ok
INSERT INTO tab0 VALUES(8,67,58.95,'drokr',38,3.21,'llrcx')

statement ok
INSERT INTO tab0 VALUES(9,20,69.86,'ssfzi',82,94.41,'jkmzz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col0)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3 DESC,col0 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)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3 DESC,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 >= 74

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 74
----

query I rowsort label-5210
SELECT pk FROM tab0 WHERE NOT (col3 >= 74)
----
0
1
2
7
8

statement ok
DELETE FROM tab1 WHERE col3 >= 74

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 74
----

query I rowsort label-5210
SELECT pk FROM tab1 WHERE NOT (col3 >= 74)
----
0
1
2
7
8

statement ok
DELETE FROM tab2 WHERE col3 >= 74

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 74
----

query I rowsort label-5210
SELECT pk FROM tab2 WHERE NOT (col3 >= 74)
----
0
1
2
7
8

statement ok
DELETE FROM tab3 WHERE col3 >= 74

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 74
----

query I rowsort label-5210
SELECT pk FROM tab3 WHERE NOT (col3 >= 74)
----
0
1
2
7
8

statement ok
DELETE FROM tab4 WHERE col3 >= 74

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 74
----

query I rowsort label-5210
SELECT pk FROM tab4 WHERE NOT (col3 >= 74)
----
0
1
2
7
8

statement ok
DELETE FROM tab0 WHERE col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21)
----

query I rowsort label-5225
SELECT pk FROM tab0 WHERE NOT (col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21))
----
1
2
7
8

statement ok
DELETE FROM tab1 WHERE col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21)
----

query I rowsort label-5225
SELECT pk FROM tab1 WHERE NOT (col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21))
----
1
2
7
8

statement ok
DELETE FROM tab2 WHERE col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21)
----

query I rowsort label-5225
SELECT pk FROM tab2 WHERE NOT (col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21))
----
1
2
7
8

statement ok
DELETE FROM tab3 WHERE col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21)
----

query I rowsort label-5225
SELECT pk FROM tab3 WHERE NOT (col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21))
----
1
2
7
8

statement ok
DELETE FROM tab4 WHERE col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21)
----

query I rowsort label-5225
SELECT pk FROM tab4 WHERE NOT (col4 > 29.74 OR col0 <= 32 OR col3 > 84 AND (col0 < 21))
----
1
2
7
8

statement ok
DELETE FROM tab0 WHERE ((col4 IS NULL AND col3 >= 51 OR col3 <= 7))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 IS NULL AND col3 >= 51 OR col3 <= 7))
----

query I rowsort label-5240
SELECT pk FROM tab0 WHERE NOT (((col4 IS NULL AND col3 >= 51 OR col3 <= 7)))
----
1
2
7
8

statement ok
DELETE FROM tab1 WHERE ((col4 IS NULL AND col3 >= 51 OR col3 <= 7))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 IS NULL AND col3 >= 51 OR col3 <= 7))
----

query I rowsort label-5240
SELECT pk FROM tab1 WHERE NOT (((col4 IS NULL AND col3 >= 51 OR col3 <= 7)))
----
1
2
7
8

statement ok
DELETE FROM tab2 WHERE ((col4 IS NULL AND col3 >= 51 OR col3 <= 7))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 IS NULL AND col3 >= 51 OR col3 <= 7))
----

query I rowsort label-5240
SELECT pk FROM tab2 WHERE NOT (((col4 IS NULL AND col3 >= 51 OR col3 <= 7)))
----
1
2
7
8

statement ok
DELETE FROM tab3 WHERE ((col4 IS NULL AND col3 >= 51 OR col3 <= 7))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 IS NULL AND col3 >= 51 OR col3 <= 7))
----

query I rowsort label-5240
SELECT pk FROM tab3 WHERE NOT (((col4 IS NULL AND col3 >= 51 OR col3 <= 7)))
----
1
2
7
8

statement ok
DELETE FROM tab4 WHERE ((col4 IS NULL AND col3 >= 51 OR col3 <= 7))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 IS NULL AND col3 >= 51 OR col3 <= 7))
----

query I rowsort label-5240
SELECT pk FROM tab4 WHERE NOT (((col4 IS NULL AND col3 >= 51 OR col3 <= 7)))
----
1
2
7
8

statement ok
DELETE FROM tab0 WHERE (col0 > 73)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 73)
----

query I rowsort label-5255
SELECT pk FROM tab0 WHERE NOT ((col0 > 73))
----
7
8

statement ok
DELETE FROM tab1 WHERE (col0 > 73)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 73)
----

query I rowsort label-5255
SELECT pk FROM tab1 WHERE NOT ((col0 > 73))
----
7
8

statement ok
DELETE FROM tab2 WHERE (col0 > 73)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 73)
----

query I rowsort label-5255
SELECT pk FROM tab2 WHERE NOT ((col0 > 73))
----
7
8

statement ok
DELETE FROM tab3 WHERE (col0 > 73)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 73)
----

query I rowsort label-5255
SELECT pk FROM tab3 WHERE NOT ((col0 > 73))
----
7
8

statement ok
DELETE FROM tab4 WHERE (col0 > 73)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 73)
----

query I rowsort label-5255
SELECT pk FROM tab4 WHERE NOT ((col0 > 73))
----
7
8

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IS NULL)
----

query I rowsort label-5270
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL))
----
7
8

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IS NULL)
----

query I rowsort label-5270
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL))
----
7
8

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IS NULL)
----

query I rowsort label-5270
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL))
----
7
8

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IS NULL)
----

query I rowsort label-5270
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL))
----
7
8

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IS NULL)
----

query I rowsort label-5270
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL))
----
7
8

statement ok
DELETE FROM tab0 WHERE col3 >= 68

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 68
----

query I rowsort label-5285
SELECT pk FROM tab0 WHERE NOT (col3 >= 68)
----
7
8

statement ok
DELETE FROM tab1 WHERE col3 >= 68

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 68
----

query I rowsort label-5285
SELECT pk FROM tab1 WHERE NOT (col3 >= 68)
----
7
8

statement ok
DELETE FROM tab2 WHERE col3 >= 68

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 68
----

query I rowsort label-5285
SELECT pk FROM tab2 WHERE NOT (col3 >= 68)
----
7
8

statement ok
DELETE FROM tab3 WHERE col3 >= 68

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 68
----

query I rowsort label-5285
SELECT pk FROM tab3 WHERE NOT (col3 >= 68)
----
7
8

statement ok
DELETE FROM tab4 WHERE col3 >= 68

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 68
----

query I rowsort label-5285
SELECT pk FROM tab4 WHERE NOT (col3 >= 68)
----
7
8

statement ok
DELETE FROM tab0 WHERE (col1 > 46.56)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 46.56)
----

query I rowsort label-5300
SELECT pk FROM tab0 WHERE NOT ((col1 > 46.56))
----
7

statement ok
DELETE FROM tab1 WHERE (col1 > 46.56)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 46.56)
----

query I rowsort label-5300
SELECT pk FROM tab1 WHERE NOT ((col1 > 46.56))
----
7

statement ok
DELETE FROM tab2 WHERE (col1 > 46.56)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 46.56)
----

query I rowsort label-5300
SELECT pk FROM tab2 WHERE NOT ((col1 > 46.56))
----
7

statement ok
DELETE FROM tab3 WHERE (col1 > 46.56)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 46.56)
----

query I rowsort label-5300
SELECT pk FROM tab3 WHERE NOT ((col1 > 46.56))
----
7

statement ok
DELETE FROM tab4 WHERE (col1 > 46.56)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 46.56)
----

query I rowsort label-5300
SELECT pk FROM tab4 WHERE NOT ((col1 > 46.56))
----
7

statement ok
DELETE FROM tab0 WHERE col1 < 89.93

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 89.93
----

query I rowsort label-5315
SELECT pk FROM tab0 WHERE NOT (col1 < 89.93)
----

statement ok
DELETE FROM tab1 WHERE col1 < 89.93

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 89.93
----

query I rowsort label-5315
SELECT pk FROM tab1 WHERE NOT (col1 < 89.93)
----

statement ok
DELETE FROM tab2 WHERE col1 < 89.93

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 89.93
----

query I rowsort label-5315
SELECT pk FROM tab2 WHERE NOT (col1 < 89.93)
----

statement ok
DELETE FROM tab3 WHERE col1 < 89.93

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 89.93
----

query I rowsort label-5315
SELECT pk FROM tab3 WHERE NOT (col1 < 89.93)
----

statement ok
DELETE FROM tab4 WHERE col1 < 89.93

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 89.93
----

query I rowsort label-5315
SELECT pk FROM tab4 WHERE NOT (col1 < 89.93)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,0,33.98,'xtcqh',35,77.76,'jgvho')

statement ok
INSERT INTO tab0 VALUES(1,64,54.69,'fwlzq',91,28.75,'rixtt')

statement ok
INSERT INTO tab0 VALUES(2,43,40.77,'bythi',86,95.74,'ythsf')

statement ok
INSERT INTO tab0 VALUES(3,78,69.73,'ftjwy',8,18.44,'lbbcw')

statement ok
INSERT INTO tab0 VALUES(4,80,9.46,'hskvy',72,56.1,'zzmqf')

statement ok
INSERT INTO tab0 VALUES(5,46,75.42,'dfjcl',32,46.20,'nrlze')

statement ok
INSERT INTO tab0 VALUES(6,67,93.71,'upsnp',98,69.51,'wzgur')

statement ok
INSERT INTO tab0 VALUES(7,47,63.25,'ugrbj',40,11.29,'ghcud')

statement ok
INSERT INTO tab0 VALUES(8,3,22.85,'xzqwe',9,23.86,'zvtzh')

statement ok
INSERT INTO tab0 VALUES(9,96,4.38,'wuyik',46,89.66,'bvgvq')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3,col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1)

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 UNIQUE INDEX idx_tab4_0 ON tab4 (col0,col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 > 8 AND (col0 IN (76)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 8 AND (col0 IN (76)))
----

query I rowsort label-5330
SELECT pk FROM tab0 WHERE NOT ((col3 > 8 AND (col0 IN (76))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 > 8 AND (col0 IN (76)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 8 AND (col0 IN (76)))
----

query I rowsort label-5330
SELECT pk FROM tab1 WHERE NOT ((col3 > 8 AND (col0 IN (76))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 > 8 AND (col0 IN (76)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 8 AND (col0 IN (76)))
----

query I rowsort label-5330
SELECT pk FROM tab2 WHERE NOT ((col3 > 8 AND (col0 IN (76))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 > 8 AND (col0 IN (76)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 8 AND (col0 IN (76)))
----

query I rowsort label-5330
SELECT pk FROM tab3 WHERE NOT ((col3 > 8 AND (col0 IN (76))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 > 8 AND (col0 IN (76)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 8 AND (col0 IN (76)))
----

query I rowsort label-5330
SELECT pk FROM tab4 WHERE NOT ((col3 > 8 AND (col0 IN (76))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 > 9

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 9
----

query I rowsort label-5345
SELECT pk FROM tab0 WHERE NOT (col3 > 9)
----
3
8

statement ok
DELETE FROM tab1 WHERE col3 > 9

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 9
----

query I rowsort label-5345
SELECT pk FROM tab1 WHERE NOT (col3 > 9)
----
3
8

statement ok
DELETE FROM tab2 WHERE col3 > 9

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 9
----

query I rowsort label-5345
SELECT pk FROM tab2 WHERE NOT (col3 > 9)
----
3
8

statement ok
DELETE FROM tab3 WHERE col3 > 9

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 9
----

query I rowsort label-5345
SELECT pk FROM tab3 WHERE NOT (col3 > 9)
----
3
8

statement ok
DELETE FROM tab4 WHERE col3 > 9

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 9
----

query I rowsort label-5345
SELECT pk FROM tab4 WHERE NOT (col3 > 9)
----
3
8

statement ok
DELETE FROM tab0 WHERE col0 <= 38

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 38
----

query I rowsort label-5360
SELECT pk FROM tab0 WHERE NOT (col0 <= 38)
----
3

statement ok
DELETE FROM tab1 WHERE col0 <= 38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 38
----

query I rowsort label-5360
SELECT pk FROM tab1 WHERE NOT (col0 <= 38)
----
3

statement ok
DELETE FROM tab2 WHERE col0 <= 38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 38
----

query I rowsort label-5360
SELECT pk FROM tab2 WHERE NOT (col0 <= 38)
----
3

statement ok
DELETE FROM tab3 WHERE col0 <= 38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 38
----

query I rowsort label-5360
SELECT pk FROM tab3 WHERE NOT (col0 <= 38)
----
3

statement ok
DELETE FROM tab4 WHERE col0 <= 38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 38
----

query I rowsort label-5360
SELECT pk FROM tab4 WHERE NOT (col0 <= 38)
----
3

statement ok
DELETE FROM tab0 WHERE (col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL))
----

query I rowsort label-5375
SELECT pk FROM tab0 WHERE NOT ((col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL)))
----
3

statement ok
DELETE FROM tab1 WHERE (col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL))
----

query I rowsort label-5375
SELECT pk FROM tab1 WHERE NOT ((col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL)))
----
3

statement ok
DELETE FROM tab2 WHERE (col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL))
----

query I rowsort label-5375
SELECT pk FROM tab2 WHERE NOT ((col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL)))
----
3

statement ok
DELETE FROM tab3 WHERE (col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL))
----

query I rowsort label-5375
SELECT pk FROM tab3 WHERE NOT ((col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL)))
----
3

statement ok
DELETE FROM tab4 WHERE (col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL))
----

query I rowsort label-5375
SELECT pk FROM tab4 WHERE NOT ((col0 BETWEEN 72 AND 61 AND ((col1 > 7.75 AND col3 >= 89 OR col3 = 88 OR col4 > 30.91 OR (col0 IS NULL OR (col3 >= 65 AND ((col0 > 63) OR col1 >= 56.58) OR (col3 >= 69) AND col4 IS NULL AND ((((col0 > 28)))) AND ((col0 <= 34)) OR col3 <= 44 AND (col1 = 63.2 AND col1 >= 47.47) AND col3 < 43 AND ((col0 = 69)) OR (((col3 > 83)) OR (col0 < 75)) OR col0 <= 88 AND (col3 < 91 OR col1 <= 95.48 AND (col1 > 37.70 AND col4 > 64.7 AND col0 <= 92) AND col3 = 40 AND col1 > 58.1) AND (col3 > 27) AND col0 < 65 OR (((col1 >= 87.73))) OR col3 = 5 AND col0 < 18 AND col1 <= 9.31 AND (col4 = 3.66) AND (col3 > 95 OR (col0 BETWEEN 38 AND 13 AND col4 > 47.49)) AND ((col0 > 42)) AND col1 <= 3.6 OR col4 = 26.5 OR col0 IN (44,64,36,79) OR (col4 IN (30.83,80.14,19.37,13.81,51.92,72.14))) OR col3 > 84 AND col0 >= 50) OR col3 IN (42,80) AND (col1 IN (71.29,21.87)) OR col0 < 16 OR (col1 < 94.56 OR col1 <= 98.14) AND (col1 > 90.20) OR (col3 < 22) OR ((((col3 > 9) OR ((col3 IN (84,89))) AND col3 > 53))) OR col3 < 82 OR col1 > 23.43 OR col4 > 37.32 OR col3 >= 76 AND col1 < 21.25 OR ((col0 >= 61))) AND col4 IS NULL)))
----
3

statement ok
DELETE FROM tab0 WHERE ((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95))
----

query I rowsort label-5390
SELECT pk FROM tab0 WHERE NOT (((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95)))
----
3

statement ok
DELETE FROM tab1 WHERE ((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95))
----

query I rowsort label-5390
SELECT pk FROM tab1 WHERE NOT (((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95)))
----
3

statement ok
DELETE FROM tab2 WHERE ((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95))
----

query I rowsort label-5390
SELECT pk FROM tab2 WHERE NOT (((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95)))
----
3

statement ok
DELETE FROM tab3 WHERE ((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95))
----

query I rowsort label-5390
SELECT pk FROM tab3 WHERE NOT (((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95)))
----
3

statement ok
DELETE FROM tab4 WHERE ((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95))
----

query I rowsort label-5390
SELECT pk FROM tab4 WHERE NOT (((col1 BETWEEN 66.25 AND 51.96 AND col4 > 0.95)))
----
3

statement ok
DELETE FROM tab0 WHERE (col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99)))
----

query I rowsort label-5405
SELECT pk FROM tab0 WHERE NOT ((col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99))))
----

statement ok
DELETE FROM tab1 WHERE (col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99)))
----

query I rowsort label-5405
SELECT pk FROM tab1 WHERE NOT ((col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99))))
----

statement ok
DELETE FROM tab2 WHERE (col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99)))
----

query I rowsort label-5405
SELECT pk FROM tab2 WHERE NOT ((col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99))))
----

statement ok
DELETE FROM tab3 WHERE (col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99)))
----

query I rowsort label-5405
SELECT pk FROM tab3 WHERE NOT ((col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99))))
----

statement ok
DELETE FROM tab4 WHERE (col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99)))
----

query I rowsort label-5405
SELECT pk FROM tab4 WHERE NOT ((col1 BETWEEN 27.88 AND 7.71) OR ((((col0 IS NULL OR col3 <= 15) OR col3 > 99))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,44,19.57,'ivjdl',98,58.24,'cakij')

statement ok
INSERT INTO tab0 VALUES(1,17,96.81,'sowlz',80,64.16,'ddgmb')

statement ok
INSERT INTO tab0 VALUES(2,3,54.50,'uzzql',16,70.76,'qabmj')

statement ok
INSERT INTO tab0 VALUES(3,10,98.58,'dpwui',44,86.86,'pwxwr')

statement ok
INSERT INTO tab0 VALUES(4,12,36.3,'kwwro',76,7.85,'matib')

statement ok
INSERT INTO tab0 VALUES(5,62,37.93,'wkcpd',11,67.79,'ougqb')

statement ok
INSERT INTO tab0 VALUES(6,4,92.60,'cyarr',42,9.54,'uxebc')

statement ok
INSERT INTO tab0 VALUES(7,88,87.75,'noeze',75,47.92,'gieei')

statement ok
INSERT INTO tab0 VALUES(8,78,53.56,'cvvom',40,21.79,'yrmga')

statement ok
INSERT INTO tab0 VALUES(9,69,34.84,'xtkpa',99,71.17,'fbggj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4,col0)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col1,col0)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3 DESC,col0 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,4,34.51,'xfynf',90,74.80,'izysl')

statement ok
INSERT INTO tab0 VALUES(1,96,10.75,'ttovj',85,84.90,'eygom')

statement ok
INSERT INTO tab0 VALUES(2,26,51.4,'wtqwp',44,94.77,'vrjcs')

statement ok
INSERT INTO tab0 VALUES(3,2,2.12,'yjwbd',86,10.30,'pokmu')

statement ok
INSERT INTO tab0 VALUES(4,98,7.63,'ybbop',77,96.57,'aacfz')

statement ok
INSERT INTO tab0 VALUES(5,15,28.80,'dedck',97,88.55,'ehwig')

statement ok
INSERT INTO tab0 VALUES(6,46,53.98,'isilq',92,5.69,'paalj')

statement ok
INSERT INTO tab0 VALUES(7,36,11.37,'wwjcf',46,63.56,'nvyda')

statement ok
INSERT INTO tab0 VALUES(8,47,83.56,'volvf',40,87.44,'xxbnb')

statement ok
INSERT INTO tab0 VALUES(9,19,14.20,'fgoks',13,21.0,'uuaem')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (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 UNIQUE 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 INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 IN (8,66))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IN (8,66))
----

query I rowsort label-5420
SELECT pk FROM tab0 WHERE NOT ((col0 IN (8,66)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 IN (8,66))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IN (8,66))
----

query I rowsort label-5420
SELECT pk FROM tab1 WHERE NOT ((col0 IN (8,66)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 IN (8,66))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IN (8,66))
----

query I rowsort label-5420
SELECT pk FROM tab2 WHERE NOT ((col0 IN (8,66)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 IN (8,66))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IN (8,66))
----

query I rowsort label-5420
SELECT pk FROM tab3 WHERE NOT ((col0 IN (8,66)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 IN (8,66))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IN (8,66))
----

query I rowsort label-5420
SELECT pk FROM tab4 WHERE NOT ((col0 IN (8,66)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 >= 64.0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 64.0
----

query I rowsort label-5435
SELECT pk FROM tab0 WHERE NOT (col4 >= 64.0)
----
3
6
7
9

statement ok
DELETE FROM tab1 WHERE col4 >= 64.0

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 64.0
----

query I rowsort label-5435
SELECT pk FROM tab1 WHERE NOT (col4 >= 64.0)
----
3
6
7
9

statement ok
DELETE FROM tab2 WHERE col4 >= 64.0

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 64.0
----

query I rowsort label-5435
SELECT pk FROM tab2 WHERE NOT (col4 >= 64.0)
----
3
6
7
9

statement ok
DELETE FROM tab3 WHERE col4 >= 64.0

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 64.0
----

query I rowsort label-5435
SELECT pk FROM tab3 WHERE NOT (col4 >= 64.0)
----
3
6
7
9

statement ok
DELETE FROM tab4 WHERE col4 >= 64.0

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 64.0
----

query I rowsort label-5435
SELECT pk FROM tab4 WHERE NOT (col4 >= 64.0)
----
3
6
7
9

statement ok
DELETE FROM tab0 WHERE (col1 < 17.66) AND (col0 = 65)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 17.66) AND (col0 = 65)
----

query I rowsort label-5450
SELECT pk FROM tab0 WHERE NOT ((col1 < 17.66) AND (col0 = 65))
----
3
6
7
9

statement ok
DELETE FROM tab1 WHERE (col1 < 17.66) AND (col0 = 65)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 17.66) AND (col0 = 65)
----

query I rowsort label-5450
SELECT pk FROM tab1 WHERE NOT ((col1 < 17.66) AND (col0 = 65))
----
3
6
7
9

statement ok
DELETE FROM tab2 WHERE (col1 < 17.66) AND (col0 = 65)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 17.66) AND (col0 = 65)
----

query I rowsort label-5450
SELECT pk FROM tab2 WHERE NOT ((col1 < 17.66) AND (col0 = 65))
----
3
6
7
9

statement ok
DELETE FROM tab3 WHERE (col1 < 17.66) AND (col0 = 65)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 17.66) AND (col0 = 65)
----

query I rowsort label-5450
SELECT pk FROM tab3 WHERE NOT ((col1 < 17.66) AND (col0 = 65))
----
3
6
7
9

statement ok
DELETE FROM tab4 WHERE (col1 < 17.66) AND (col0 = 65)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 17.66) AND (col0 = 65)
----

query I rowsort label-5450
SELECT pk FROM tab4 WHERE NOT ((col1 < 17.66) AND (col0 = 65))
----
3
6
7
9

statement ok
DELETE FROM tab0 WHERE col3 > 35

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 35
----

query I rowsort label-5465
SELECT pk FROM tab0 WHERE NOT (col3 > 35)
----
9

statement ok
DELETE FROM tab1 WHERE col3 > 35

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 35
----

query I rowsort label-5465
SELECT pk FROM tab1 WHERE NOT (col3 > 35)
----
9

statement ok
DELETE FROM tab2 WHERE col3 > 35

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 35
----

query I rowsort label-5465
SELECT pk FROM tab2 WHERE NOT (col3 > 35)
----
9

statement ok
DELETE FROM tab3 WHERE col3 > 35

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 35
----

query I rowsort label-5465
SELECT pk FROM tab3 WHERE NOT (col3 > 35)
----
9

statement ok
DELETE FROM tab4 WHERE col3 > 35

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 35
----

query I rowsort label-5465
SELECT pk FROM tab4 WHERE NOT (col3 > 35)
----
9

statement ok
DELETE FROM tab0 WHERE (col1 > 41.58)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 41.58)
----

query I rowsort label-5480
SELECT pk FROM tab0 WHERE NOT ((col1 > 41.58))
----
9

statement ok
DELETE FROM tab1 WHERE (col1 > 41.58)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 41.58)
----

query I rowsort label-5480
SELECT pk FROM tab1 WHERE NOT ((col1 > 41.58))
----
9

statement ok
DELETE FROM tab2 WHERE (col1 > 41.58)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 41.58)
----

query I rowsort label-5480
SELECT pk FROM tab2 WHERE NOT ((col1 > 41.58))
----
9

statement ok
DELETE FROM tab3 WHERE (col1 > 41.58)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 41.58)
----

query I rowsort label-5480
SELECT pk FROM tab3 WHERE NOT ((col1 > 41.58))
----
9

statement ok
DELETE FROM tab4 WHERE (col1 > 41.58)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 41.58)
----

query I rowsort label-5480
SELECT pk FROM tab4 WHERE NOT ((col1 > 41.58))
----
9

statement ok
DELETE FROM tab0 WHERE ((col0 <= 2))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 <= 2))
----

query I rowsort label-5495
SELECT pk FROM tab0 WHERE NOT (((col0 <= 2)))
----
9

statement ok
DELETE FROM tab1 WHERE ((col0 <= 2))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 <= 2))
----

query I rowsort label-5495
SELECT pk FROM tab1 WHERE NOT (((col0 <= 2)))
----
9

statement ok
DELETE FROM tab2 WHERE ((col0 <= 2))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 <= 2))
----

query I rowsort label-5495
SELECT pk FROM tab2 WHERE NOT (((col0 <= 2)))
----
9

statement ok
DELETE FROM tab3 WHERE ((col0 <= 2))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 <= 2))
----

query I rowsort label-5495
SELECT pk FROM tab3 WHERE NOT (((col0 <= 2)))
----
9

statement ok
DELETE FROM tab4 WHERE ((col0 <= 2))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 <= 2))
----

query I rowsort label-5495
SELECT pk FROM tab4 WHERE NOT (((col0 <= 2)))
----
9

statement ok
DELETE FROM tab0 WHERE (col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20)
----

query I rowsort label-5510
SELECT pk FROM tab0 WHERE NOT ((col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20))
----

statement ok
DELETE FROM tab1 WHERE (col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20)
----

query I rowsort label-5510
SELECT pk FROM tab1 WHERE NOT ((col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20))
----

statement ok
DELETE FROM tab2 WHERE (col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20)
----

query I rowsort label-5510
SELECT pk FROM tab2 WHERE NOT ((col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20))
----

statement ok
DELETE FROM tab3 WHERE (col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20)
----

query I rowsort label-5510
SELECT pk FROM tab3 WHERE NOT ((col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20))
----

statement ok
DELETE FROM tab4 WHERE (col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20)
----

query I rowsort label-5510
SELECT pk FROM tab4 WHERE NOT ((col0 > 76) OR ((col3 > 81)) AND col0 IS NULL OR col1 > 3.31 OR (col1 >= 13.38) AND col0 < 32 AND (col3 >= 20))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,91,56.84,'erkpt',47,19.28,'epsmm')

statement ok
INSERT INTO tab0 VALUES(1,29,74.38,'ctovw',87,11.47,'ucpva')

statement ok
INSERT INTO tab0 VALUES(2,85,24.93,'pdswu',77,13.7,'qesbb')

statement ok
INSERT INTO tab0 VALUES(3,30,95.76,'apytc',14,37.58,'loekx')

statement ok
INSERT INTO tab0 VALUES(4,62,91.63,'lhmjb',79,46.3,'kblwh')

statement ok
INSERT INTO tab0 VALUES(5,23,97.91,'bugji',48,14.15,'rhakb')

statement ok
INSERT INTO tab0 VALUES(6,3,40.67,'xdkmn',5,87.42,'ababa')

statement ok
INSERT INTO tab0 VALUES(7,60,53.87,'jcepu',58,48.26,'nkuae')

statement ok
INSERT INTO tab0 VALUES(8,28,34.41,'bjhvo',49,79.13,'btrwt')

statement ok
INSERT INTO tab0 VALUES(9,31,15.32,'cjtsc',61,22.65,'bbmpl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC,col0)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col0 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21)
----

query I rowsort label-5525
SELECT pk FROM tab0 WHERE NOT (col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21)
----

query I rowsort label-5525
SELECT pk FROM tab1 WHERE NOT (col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21)
----

query I rowsort label-5525
SELECT pk FROM tab2 WHERE NOT (col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21)
----

query I rowsort label-5525
SELECT pk FROM tab3 WHERE NOT (col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21)
----

query I rowsort label-5525
SELECT pk FROM tab4 WHERE NOT (col3 <= 39 AND col4 IN (16.94,41.38,52.19,17.21))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 6 AND 31

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 6 AND 31
----

query I rowsort label-5540
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 6 AND 31)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 6 AND 31

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 6 AND 31
----

query I rowsort label-5540
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 6 AND 31)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 6 AND 31

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 6 AND 31
----

query I rowsort label-5540
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 6 AND 31)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 6 AND 31

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 6 AND 31
----

query I rowsort label-5540
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 6 AND 31)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 6 AND 31

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 6 AND 31
----

query I rowsort label-5540
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 6 AND 31)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab0 WHERE ((col0 = 77)) OR (((col1 >= 31.94)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 = 77)) OR (((col1 >= 31.94)))
----

query I rowsort label-5555
SELECT pk FROM tab0 WHERE NOT (((col0 = 77)) OR (((col1 >= 31.94))))
----
2
9

statement ok
DELETE FROM tab1 WHERE ((col0 = 77)) OR (((col1 >= 31.94)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 = 77)) OR (((col1 >= 31.94)))
----

query I rowsort label-5555
SELECT pk FROM tab1 WHERE NOT (((col0 = 77)) OR (((col1 >= 31.94))))
----
2
9

statement ok
DELETE FROM tab2 WHERE ((col0 = 77)) OR (((col1 >= 31.94)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 = 77)) OR (((col1 >= 31.94)))
----

query I rowsort label-5555
SELECT pk FROM tab2 WHERE NOT (((col0 = 77)) OR (((col1 >= 31.94))))
----
2
9

statement ok
DELETE FROM tab3 WHERE ((col0 = 77)) OR (((col1 >= 31.94)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 = 77)) OR (((col1 >= 31.94)))
----

query I rowsort label-5555
SELECT pk FROM tab3 WHERE NOT (((col0 = 77)) OR (((col1 >= 31.94))))
----
2
9

statement ok
DELETE FROM tab4 WHERE ((col0 = 77)) OR (((col1 >= 31.94)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 = 77)) OR (((col1 >= 31.94)))
----

query I rowsort label-5555
SELECT pk FROM tab4 WHERE NOT (((col0 = 77)) OR (((col1 >= 31.94))))
----
2
9

statement ok
DELETE FROM tab0 WHERE ((col3 IS NULL OR ((col4 > 52.78))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 IS NULL OR ((col4 > 52.78))))
----

query I rowsort label-5570
SELECT pk FROM tab0 WHERE NOT (((col3 IS NULL OR ((col4 > 52.78)))))
----
2
9

statement ok
DELETE FROM tab1 WHERE ((col3 IS NULL OR ((col4 > 52.78))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 IS NULL OR ((col4 > 52.78))))
----

query I rowsort label-5570
SELECT pk FROM tab1 WHERE NOT (((col3 IS NULL OR ((col4 > 52.78)))))
----
2
9

statement ok
DELETE FROM tab2 WHERE ((col3 IS NULL OR ((col4 > 52.78))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 IS NULL OR ((col4 > 52.78))))
----

query I rowsort label-5570
SELECT pk FROM tab2 WHERE NOT (((col3 IS NULL OR ((col4 > 52.78)))))
----
2
9

statement ok
DELETE FROM tab3 WHERE ((col3 IS NULL OR ((col4 > 52.78))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 IS NULL OR ((col4 > 52.78))))
----

query I rowsort label-5570
SELECT pk FROM tab3 WHERE NOT (((col3 IS NULL OR ((col4 > 52.78)))))
----
2
9

statement ok
DELETE FROM tab4 WHERE ((col3 IS NULL OR ((col4 > 52.78))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 IS NULL OR ((col4 > 52.78))))
----

query I rowsort label-5570
SELECT pk FROM tab4 WHERE NOT (((col3 IS NULL OR ((col4 > 52.78)))))
----
2
9

statement ok
DELETE FROM tab0 WHERE ((col3 = 82))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 = 82))
----

query I rowsort label-5585
SELECT pk FROM tab0 WHERE NOT (((col3 = 82)))
----
2
9

statement ok
DELETE FROM tab1 WHERE ((col3 = 82))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 = 82))
----

query I rowsort label-5585
SELECT pk FROM tab1 WHERE NOT (((col3 = 82)))
----
2
9

statement ok
DELETE FROM tab2 WHERE ((col3 = 82))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 = 82))
----

query I rowsort label-5585
SELECT pk FROM tab2 WHERE NOT (((col3 = 82)))
----
2
9

statement ok
DELETE FROM tab3 WHERE ((col3 = 82))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 = 82))
----

query I rowsort label-5585
SELECT pk FROM tab3 WHERE NOT (((col3 = 82)))
----
2
9

statement ok
DELETE FROM tab4 WHERE ((col3 = 82))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 = 82))
----

query I rowsort label-5585
SELECT pk FROM tab4 WHERE NOT (((col3 = 82)))
----
2
9

statement ok
DELETE FROM tab0 WHERE ((col0 < 24)) OR col3 <= 37 OR col0 > 77

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 24)) OR col3 <= 37 OR col0 > 77
----

query I rowsort label-5600
SELECT pk FROM tab0 WHERE NOT (((col0 < 24)) OR col3 <= 37 OR col0 > 77)
----
9

statement ok
DELETE FROM tab1 WHERE ((col0 < 24)) OR col3 <= 37 OR col0 > 77

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 24)) OR col3 <= 37 OR col0 > 77
----

query I rowsort label-5600
SELECT pk FROM tab1 WHERE NOT (((col0 < 24)) OR col3 <= 37 OR col0 > 77)
----
9

statement ok
DELETE FROM tab2 WHERE ((col0 < 24)) OR col3 <= 37 OR col0 > 77

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 24)) OR col3 <= 37 OR col0 > 77
----

query I rowsort label-5600
SELECT pk FROM tab2 WHERE NOT (((col0 < 24)) OR col3 <= 37 OR col0 > 77)
----
9

statement ok
DELETE FROM tab3 WHERE ((col0 < 24)) OR col3 <= 37 OR col0 > 77

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 24)) OR col3 <= 37 OR col0 > 77
----

query I rowsort label-5600
SELECT pk FROM tab3 WHERE NOT (((col0 < 24)) OR col3 <= 37 OR col0 > 77)
----
9

statement ok
DELETE FROM tab4 WHERE ((col0 < 24)) OR col3 <= 37 OR col0 > 77

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 24)) OR col3 <= 37 OR col0 > 77
----

query I rowsort label-5600
SELECT pk FROM tab4 WHERE NOT (((col0 < 24)) OR col3 <= 37 OR col0 > 77)
----
9

statement ok
DELETE FROM tab0 WHERE col4 < 14.93 OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 14.93 OR col3 IS NULL
----

query I rowsort label-5615
SELECT pk FROM tab0 WHERE NOT (col4 < 14.93 OR col3 IS NULL)
----
9

statement ok
DELETE FROM tab1 WHERE col4 < 14.93 OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 14.93 OR col3 IS NULL
----

query I rowsort label-5615
SELECT pk FROM tab1 WHERE NOT (col4 < 14.93 OR col3 IS NULL)
----
9

statement ok
DELETE FROM tab2 WHERE col4 < 14.93 OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 14.93 OR col3 IS NULL
----

query I rowsort label-5615
SELECT pk FROM tab2 WHERE NOT (col4 < 14.93 OR col3 IS NULL)
----
9

statement ok
DELETE FROM tab3 WHERE col4 < 14.93 OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 14.93 OR col3 IS NULL
----

query I rowsort label-5615
SELECT pk FROM tab3 WHERE NOT (col4 < 14.93 OR col3 IS NULL)
----
9

statement ok
DELETE FROM tab4 WHERE col4 < 14.93 OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 14.93 OR col3 IS NULL
----

query I rowsort label-5615
SELECT pk FROM tab4 WHERE NOT (col4 < 14.93 OR col3 IS NULL)
----
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-5630
SELECT pk FROM tab0 WHERE NOT ((((col3 > 78))))
----
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-5630
SELECT pk FROM tab1 WHERE NOT ((((col3 > 78))))
----
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-5630
SELECT pk FROM tab2 WHERE NOT ((((col3 > 78))))
----
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-5630
SELECT pk FROM tab3 WHERE NOT ((((col3 > 78))))
----
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-5630
SELECT pk FROM tab4 WHERE NOT ((((col3 > 78))))
----
9

statement ok
DELETE FROM tab0 WHERE ((col3 >= 20))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 20))
----

query I rowsort label-5645
SELECT pk FROM tab0 WHERE NOT (((col3 >= 20)))
----

statement ok
DELETE FROM tab1 WHERE ((col3 >= 20))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 20))
----

query I rowsort label-5645
SELECT pk FROM tab1 WHERE NOT (((col3 >= 20)))
----

statement ok
DELETE FROM tab2 WHERE ((col3 >= 20))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 20))
----

query I rowsort label-5645
SELECT pk FROM tab2 WHERE NOT (((col3 >= 20)))
----

statement ok
DELETE FROM tab3 WHERE ((col3 >= 20))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 20))
----

query I rowsort label-5645
SELECT pk FROM tab3 WHERE NOT (((col3 >= 20)))
----

statement ok
DELETE FROM tab4 WHERE ((col3 >= 20))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 20))
----

query I rowsort label-5645
SELECT pk FROM tab4 WHERE NOT (((col3 >= 20)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,67,92.19,'pmyns',93,52.28,'vcbgx')

statement ok
INSERT INTO tab0 VALUES(1,6,69.64,'gpznp',35,66.46,'ycwyf')

statement ok
INSERT INTO tab0 VALUES(2,30,59.17,'vahoq',6,38.10,'tlvuh')

statement ok
INSERT INTO tab0 VALUES(3,43,56.84,'ktlce',53,30.16,'oiade')

statement ok
INSERT INTO tab0 VALUES(4,11,60.58,'llctg',43,44.56,'zdtkf')

statement ok
INSERT INTO tab0 VALUES(5,81,35.31,'nnljb',77,78.23,'lrfkx')

statement ok
INSERT INTO tab0 VALUES(6,87,81.1,'yjver',5,92.28,'yedih')

statement ok
INSERT INTO tab0 VALUES(7,69,86.94,'fkmyp',30,70.10,'onjzu')

statement ok
INSERT INTO tab0 VALUES(8,79,94.68,'xhbbm',33,81.52,'ckoxq')

statement ok
INSERT INTO tab0 VALUES(9,97,65.29,'byjqr',74,45.87,'vgtkr')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 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 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 IN (49.5,12.32,43.15,25.77,75.34,74.40)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (49.5,12.32,43.15,25.77,75.34,74.40)
----

query I rowsort label-5660
SELECT pk FROM tab0 WHERE NOT (col4 IN (49.5,12.32,43.15,25.77,75.34,74.40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 IN (49.5,12.32,43.15,25.77,75.34,74.40)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (49.5,12.32,43.15,25.77,75.34,74.40)
----

query I rowsort label-5660
SELECT pk FROM tab1 WHERE NOT (col4 IN (49.5,12.32,43.15,25.77,75.34,74.40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 IN (49.5,12.32,43.15,25.77,75.34,74.40)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (49.5,12.32,43.15,25.77,75.34,74.40)
----

query I rowsort label-5660
SELECT pk FROM tab2 WHERE NOT (col4 IN (49.5,12.32,43.15,25.77,75.34,74.40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 IN (49.5,12.32,43.15,25.77,75.34,74.40)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (49.5,12.32,43.15,25.77,75.34,74.40)
----

query I rowsort label-5660
SELECT pk FROM tab3 WHERE NOT (col4 IN (49.5,12.32,43.15,25.77,75.34,74.40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 IN (49.5,12.32,43.15,25.77,75.34,74.40)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (49.5,12.32,43.15,25.77,75.34,74.40)
----

query I rowsort label-5660
SELECT pk FROM tab4 WHERE NOT (col4 IN (49.5,12.32,43.15,25.77,75.34,74.40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 IN (65))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IN (65))
----

query I rowsort label-5675
SELECT pk FROM tab0 WHERE NOT ((col0 IN (65)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 IN (65))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IN (65))
----

query I rowsort label-5675
SELECT pk FROM tab1 WHERE NOT ((col0 IN (65)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 IN (65))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IN (65))
----

query I rowsort label-5675
SELECT pk FROM tab2 WHERE NOT ((col0 IN (65)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 IN (65))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IN (65))
----

query I rowsort label-5675
SELECT pk FROM tab3 WHERE NOT ((col0 IN (65)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 IN (65))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IN (65))
----

query I rowsort label-5675
SELECT pk FROM tab4 WHERE NOT ((col0 IN (65)))
----
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,94,98.70,'lqtzn',25,70.22,'tjbpb')

statement ok
INSERT INTO tab0 VALUES(1,8,56.96,'qkpsl',61,99.52,'nhkwk')

statement ok
INSERT INTO tab0 VALUES(2,68,16.43,'wgokh',39,7.81,'vumtt')

statement ok
INSERT INTO tab0 VALUES(3,33,83.61,'tleng',49,100.57,'faukz')

statement ok
INSERT INTO tab0 VALUES(4,78,4.75,'mfbiz',10,2.65,'ehzmx')

statement ok
INSERT INTO tab0 VALUES(5,15,28.3,'qwpzm',77,29.32,'yyaau')

statement ok
INSERT INTO tab0 VALUES(6,97,70.64,'qzjto',55,40.47,'xuata')

statement ok
INSERT INTO tab0 VALUES(7,35,75.92,'mjybl',14,3.68,'hxzcw')

statement ok
INSERT INTO tab0 VALUES(8,11,77.49,'jnmrk',0,56.38,'wycjx')

statement ok
INSERT INTO tab0 VALUES(9,88,64.38,'gjitm',48,79.97,'mgrxs')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4,col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0,col4 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC,col0 DESC,col3)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4,col1)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col1,col4 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 < 54)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 54)
----

query I rowsort label-5690
SELECT pk FROM tab0 WHERE NOT ((col3 < 54))
----
1
5
6

statement ok
DELETE FROM tab1 WHERE (col3 < 54)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 54)
----

query I rowsort label-5690
SELECT pk FROM tab1 WHERE NOT ((col3 < 54))
----
1
5
6

statement ok
DELETE FROM tab2 WHERE (col3 < 54)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 54)
----

query I rowsort label-5690
SELECT pk FROM tab2 WHERE NOT ((col3 < 54))
----
1
5
6

statement ok
DELETE FROM tab3 WHERE (col3 < 54)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 54)
----

query I rowsort label-5690
SELECT pk FROM tab3 WHERE NOT ((col3 < 54))
----
1
5
6

statement ok
DELETE FROM tab4 WHERE (col3 < 54)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 54)
----

query I rowsort label-5690
SELECT pk FROM tab4 WHERE NOT ((col3 < 54))
----
1
5
6

statement ok
DELETE FROM tab0 WHERE col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71
----

query I rowsort label-5705
SELECT pk FROM tab0 WHERE NOT (col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71)
----
1
5
6

statement ok
DELETE FROM tab1 WHERE col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71
----

query I rowsort label-5705
SELECT pk FROM tab1 WHERE NOT (col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71)
----
1
5
6

statement ok
DELETE FROM tab2 WHERE col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71
----

query I rowsort label-5705
SELECT pk FROM tab2 WHERE NOT (col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71)
----
1
5
6

statement ok
DELETE FROM tab3 WHERE col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71
----

query I rowsort label-5705
SELECT pk FROM tab3 WHERE NOT (col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71)
----
1
5
6

statement ok
DELETE FROM tab4 WHERE col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71
----

query I rowsort label-5705
SELECT pk FROM tab4 WHERE NOT (col0 <= 31 AND col3 BETWEEN 14 AND 34 OR col0 <= 41 AND col1 > 68.71)
----
1
5
6

statement ok
DELETE FROM tab0 WHERE (col0 < 97)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 97)
----

query I rowsort label-5720
SELECT pk FROM tab0 WHERE NOT ((col0 < 97))
----
6

statement ok
DELETE FROM tab1 WHERE (col0 < 97)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 97)
----

query I rowsort label-5720
SELECT pk FROM tab1 WHERE NOT ((col0 < 97))
----
6

statement ok
DELETE FROM tab2 WHERE (col0 < 97)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 97)
----

query I rowsort label-5720
SELECT pk FROM tab2 WHERE NOT ((col0 < 97))
----
6

statement ok
DELETE FROM tab3 WHERE (col0 < 97)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 97)
----

query I rowsort label-5720
SELECT pk FROM tab3 WHERE NOT ((col0 < 97))
----
6

statement ok
DELETE FROM tab4 WHERE (col0 < 97)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 97)
----

query I rowsort label-5720
SELECT pk FROM tab4 WHERE NOT ((col0 < 97))
----
6

statement ok
DELETE FROM tab0 WHERE col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65
----

query I rowsort label-5735
SELECT pk FROM tab0 WHERE NOT (col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65)
----
6

statement ok
DELETE FROM tab1 WHERE col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65
----

query I rowsort label-5735
SELECT pk FROM tab1 WHERE NOT (col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65)
----
6

statement ok
DELETE FROM tab2 WHERE col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65
----

query I rowsort label-5735
SELECT pk FROM tab2 WHERE NOT (col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65)
----
6

statement ok
DELETE FROM tab3 WHERE col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65
----

query I rowsort label-5735
SELECT pk FROM tab3 WHERE NOT (col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65)
----
6

statement ok
DELETE FROM tab4 WHERE col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65
----

query I rowsort label-5735
SELECT pk FROM tab4 WHERE NOT (col0 = 21 OR col4 < 13.79 AND col1 > 66.30 AND col1 >= 91.28 AND col3 <= 65)
----
6

statement ok
DELETE FROM tab0 WHERE ((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12)
----

query I rowsort label-5750
SELECT pk FROM tab0 WHERE NOT (((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12))
----
6

statement ok
DELETE FROM tab1 WHERE ((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12)
----

query I rowsort label-5750
SELECT pk FROM tab1 WHERE NOT (((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12))
----
6

statement ok
DELETE FROM tab2 WHERE ((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12)
----

query I rowsort label-5750
SELECT pk FROM tab2 WHERE NOT (((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12))
----
6

statement ok
DELETE FROM tab3 WHERE ((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12)
----

query I rowsort label-5750
SELECT pk FROM tab3 WHERE NOT (((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12))
----
6

statement ok
DELETE FROM tab4 WHERE ((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12)
----

query I rowsort label-5750
SELECT pk FROM tab4 WHERE NOT (((col0 >= 13) AND col0 IS NULL AND col3 >= 84 AND col4 = 37.12))
----
6

statement ok
DELETE FROM tab0 WHERE (col3 >= 15)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 15)
----

query I rowsort label-5765
SELECT pk FROM tab0 WHERE NOT ((col3 >= 15))
----

statement ok
DELETE FROM tab1 WHERE (col3 >= 15)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 15)
----

query I rowsort label-5765
SELECT pk FROM tab1 WHERE NOT ((col3 >= 15))
----

statement ok
DELETE FROM tab2 WHERE (col3 >= 15)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 15)
----

query I rowsort label-5765
SELECT pk FROM tab2 WHERE NOT ((col3 >= 15))
----

statement ok
DELETE FROM tab3 WHERE (col3 >= 15)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 15)
----

query I rowsort label-5765
SELECT pk FROM tab3 WHERE NOT ((col3 >= 15))
----

statement ok
DELETE FROM tab4 WHERE (col3 >= 15)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 15)
----

query I rowsort label-5765
SELECT pk FROM tab4 WHERE NOT ((col3 >= 15))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,44,44.14,'nsrjv',87,34.25,'lbbqt')

statement ok
INSERT INTO tab0 VALUES(1,88,49.44,'uwjxa',10,67.96,'wxwvi')

statement ok
INSERT INTO tab0 VALUES(2,18,43.1,'vqfli',8,89.10,'jarsz')

statement ok
INSERT INTO tab0 VALUES(3,13,74.15,'spxcy',62,37.13,'npgie')

statement ok
INSERT INTO tab0 VALUES(4,7,13.33,'doaep',14,62.27,'thzlz')

statement ok
INSERT INTO tab0 VALUES(5,6,25.26,'yyufx',83,82.54,'agtux')

statement ok
INSERT INTO tab0 VALUES(6,95,28.7,'usphk',78,54.95,'hgjzm')

statement ok
INSERT INTO tab0 VALUES(7,56,54.43,'snpzw',6,30.59,'ixhww')

statement ok
INSERT INTO tab0 VALUES(8,79,17.63,'vzkoy',91,22.75,'iufko')

statement ok
INSERT INTO tab0 VALUES(9,72,68.75,'zpuca',79,63.9,'jktav')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC,col3,col4 DESC)

statement ok
CREATE 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 UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,41.32,'yhgwq',82,44.43,'empye')

statement ok
INSERT INTO tab0 VALUES(1,97,49.51,'bfmtu',17,17.48,'nidwp')

statement ok
INSERT INTO tab0 VALUES(2,62,9.88,'wndag',70,46.9,'ygban')

statement ok
INSERT INTO tab0 VALUES(3,87,31.65,'fsilr',78,34.72,'lzywl')

statement ok
INSERT INTO tab0 VALUES(4,36,38.68,'weuun',22,51.79,'evnew')

statement ok
INSERT INTO tab0 VALUES(5,99,76.9,'xnaoh',92,48.30,'oiuug')

statement ok
INSERT INTO tab0 VALUES(6,53,29.92,'pomno',43,70.44,'lukdi')

statement ok
INSERT INTO tab0 VALUES(7,25,32.68,'urokc',65,67.25,'bdkuz')

statement ok
INSERT INTO tab0 VALUES(8,55,77.8,'voxlb',40,7.20,'lgqjr')

statement ok
INSERT INTO tab0 VALUES(9,60,34.54,'uviac',7,89.88,'fvvug')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (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 DESC,col3 DESC)

statement ok
CREATE 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

statement ok
DELETE FROM tab0 WHERE col3 > 18

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 18
----

query I rowsort label-5780
SELECT pk FROM tab0 WHERE NOT (col3 > 18)
----
1
9

statement ok
DELETE FROM tab1 WHERE col3 > 18

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 18
----

query I rowsort label-5780
SELECT pk FROM tab1 WHERE NOT (col3 > 18)
----
1
9

statement ok
DELETE FROM tab2 WHERE col3 > 18

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 18
----

query I rowsort label-5780
SELECT pk FROM tab2 WHERE NOT (col3 > 18)
----
1
9

statement ok
DELETE FROM tab3 WHERE col3 > 18

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 18
----

query I rowsort label-5780
SELECT pk FROM tab3 WHERE NOT (col3 > 18)
----
1
9

statement ok
DELETE FROM tab4 WHERE col3 > 18

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 18
----

query I rowsort label-5780
SELECT pk FROM tab4 WHERE NOT (col3 > 18)
----
1
9

statement ok
DELETE FROM tab0 WHERE col0 IN (93,1,83,94,26,94)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (93,1,83,94,26,94)
----

query I rowsort label-5795
SELECT pk FROM tab0 WHERE NOT (col0 IN (93,1,83,94,26,94))
----
1
9

statement ok
DELETE FROM tab1 WHERE col0 IN (93,1,83,94,26,94)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (93,1,83,94,26,94)
----

query I rowsort label-5795
SELECT pk FROM tab1 WHERE NOT (col0 IN (93,1,83,94,26,94))
----
1
9

statement ok
DELETE FROM tab2 WHERE col0 IN (93,1,83,94,26,94)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (93,1,83,94,26,94)
----

query I rowsort label-5795
SELECT pk FROM tab2 WHERE NOT (col0 IN (93,1,83,94,26,94))
----
1
9

statement ok
DELETE FROM tab3 WHERE col0 IN (93,1,83,94,26,94)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (93,1,83,94,26,94)
----

query I rowsort label-5795
SELECT pk FROM tab3 WHERE NOT (col0 IN (93,1,83,94,26,94))
----
1
9

statement ok
DELETE FROM tab4 WHERE col0 IN (93,1,83,94,26,94)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (93,1,83,94,26,94)
----

query I rowsort label-5795
SELECT pk FROM tab4 WHERE NOT (col0 IN (93,1,83,94,26,94))
----
1
9

statement ok
DELETE FROM tab0 WHERE col3 <= 79

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 79
----

query I rowsort label-5810
SELECT pk FROM tab0 WHERE NOT (col3 <= 79)
----

statement ok
DELETE FROM tab1 WHERE col3 <= 79

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 79
----

query I rowsort label-5810
SELECT pk FROM tab1 WHERE NOT (col3 <= 79)
----

statement ok
DELETE FROM tab2 WHERE col3 <= 79

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 79
----

query I rowsort label-5810
SELECT pk FROM tab2 WHERE NOT (col3 <= 79)
----

statement ok
DELETE FROM tab3 WHERE col3 <= 79

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 79
----

query I rowsort label-5810
SELECT pk FROM tab3 WHERE NOT (col3 <= 79)
----

statement ok
DELETE FROM tab4 WHERE col3 <= 79

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 79
----

query I rowsort label-5810
SELECT pk FROM tab4 WHERE NOT (col3 <= 79)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,59,93.94,'lashi',37,40.74,'oosbt')

statement ok
INSERT INTO tab0 VALUES(1,37,69.77,'pvbkd',2,56.48,'xjqsh')

statement ok
INSERT INTO tab0 VALUES(2,69,19.73,'uttvp',40,76.97,'vflvt')

statement ok
INSERT INTO tab0 VALUES(3,86,68.63,'ytqze',42,41.51,'xjquu')

statement ok
INSERT INTO tab0 VALUES(4,31,0.43,'qbrat',93,11.88,'ejnyl')

statement ok
INSERT INTO tab0 VALUES(5,24,77.87,'btean',35,73.91,'njcbf')

statement ok
INSERT INTO tab0 VALUES(6,19,44.7,'gnvck',30,62.17,'sxnaj')

statement ok
INSERT INTO tab0 VALUES(7,74,49.16,'efvpa',19,65.53,'lnvkz')

statement ok
INSERT INTO tab0 VALUES(8,8,50.93,'yjaax',90,38.84,'rhkgy')

statement ok
INSERT INTO tab0 VALUES(9,65,29.43,'ubzok',36,20.51,'onyng')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 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 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC,col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0 DESC,col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1,col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC,col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 = 29 OR col3 < 78

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 29 OR col3 < 78
----

query I rowsort label-5825
SELECT pk FROM tab0 WHERE NOT (col0 = 29 OR col3 < 78)
----
4
8

statement ok
DELETE FROM tab1 WHERE col0 = 29 OR col3 < 78

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 29 OR col3 < 78
----

query I rowsort label-5825
SELECT pk FROM tab1 WHERE NOT (col0 = 29 OR col3 < 78)
----
4
8

statement ok
DELETE FROM tab2 WHERE col0 = 29 OR col3 < 78

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 29 OR col3 < 78
----

query I rowsort label-5825
SELECT pk FROM tab2 WHERE NOT (col0 = 29 OR col3 < 78)
----
4
8

statement ok
DELETE FROM tab3 WHERE col0 = 29 OR col3 < 78

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 29 OR col3 < 78
----

query I rowsort label-5825
SELECT pk FROM tab3 WHERE NOT (col0 = 29 OR col3 < 78)
----
4
8

statement ok
DELETE FROM tab4 WHERE col0 = 29 OR col3 < 78

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 29 OR col3 < 78
----

query I rowsort label-5825
SELECT pk FROM tab4 WHERE NOT (col0 = 29 OR col3 < 78)
----
4
8

statement ok
DELETE FROM tab0 WHERE (col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46
----

query I rowsort label-5840
SELECT pk FROM tab0 WHERE NOT ((col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46)
----
4
8

statement ok
DELETE FROM tab1 WHERE (col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46
----

query I rowsort label-5840
SELECT pk FROM tab1 WHERE NOT ((col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46)
----
4
8

statement ok
DELETE FROM tab2 WHERE (col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46
----

query I rowsort label-5840
SELECT pk FROM tab2 WHERE NOT ((col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46)
----
4
8

statement ok
DELETE FROM tab3 WHERE (col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46
----

query I rowsort label-5840
SELECT pk FROM tab3 WHERE NOT ((col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46)
----
4
8

statement ok
DELETE FROM tab4 WHERE (col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46
----

query I rowsort label-5840
SELECT pk FROM tab4 WHERE NOT ((col0 = 93) AND (col1 > 84.36) AND col0 > 57 AND col3 > 97 AND col3 < 46)
----
4
8

statement ok
DELETE FROM tab0 WHERE col4 >= 38.22

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 38.22
----

query I rowsort label-5855
SELECT pk FROM tab0 WHERE NOT (col4 >= 38.22)
----
4

statement ok
DELETE FROM tab1 WHERE col4 >= 38.22

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 38.22
----

query I rowsort label-5855
SELECT pk FROM tab1 WHERE NOT (col4 >= 38.22)
----
4

statement ok
DELETE FROM tab2 WHERE col4 >= 38.22

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 38.22
----

query I rowsort label-5855
SELECT pk FROM tab2 WHERE NOT (col4 >= 38.22)
----
4

statement ok
DELETE FROM tab3 WHERE col4 >= 38.22

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 38.22
----

query I rowsort label-5855
SELECT pk FROM tab3 WHERE NOT (col4 >= 38.22)
----
4

statement ok
DELETE FROM tab4 WHERE col4 >= 38.22

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 38.22
----

query I rowsort label-5855
SELECT pk FROM tab4 WHERE NOT (col4 >= 38.22)
----
4

statement ok
DELETE FROM tab0 WHERE col0 > 75

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 75
----

query I rowsort label-5870
SELECT pk FROM tab0 WHERE NOT (col0 > 75)
----
4

statement ok
DELETE FROM tab1 WHERE col0 > 75

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 75
----

query I rowsort label-5870
SELECT pk FROM tab1 WHERE NOT (col0 > 75)
----
4

statement ok
DELETE FROM tab2 WHERE col0 > 75

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 75
----

query I rowsort label-5870
SELECT pk FROM tab2 WHERE NOT (col0 > 75)
----
4

statement ok
DELETE FROM tab3 WHERE col0 > 75

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 75
----

query I rowsort label-5870
SELECT pk FROM tab3 WHERE NOT (col0 > 75)
----
4

statement ok
DELETE FROM tab4 WHERE col0 > 75

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 75
----

query I rowsort label-5870
SELECT pk FROM tab4 WHERE NOT (col0 > 75)
----
4

statement ok
DELETE FROM tab0 WHERE ((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93
----

query I rowsort label-5885
SELECT pk FROM tab0 WHERE NOT (((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93)
----
4

statement ok
DELETE FROM tab1 WHERE ((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93
----

query I rowsort label-5885
SELECT pk FROM tab1 WHERE NOT (((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93)
----
4

statement ok
DELETE FROM tab2 WHERE ((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93
----

query I rowsort label-5885
SELECT pk FROM tab2 WHERE NOT (((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93)
----
4

statement ok
DELETE FROM tab3 WHERE ((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93
----

query I rowsort label-5885
SELECT pk FROM tab3 WHERE NOT (((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93)
----
4

statement ok
DELETE FROM tab4 WHERE ((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93
----

query I rowsort label-5885
SELECT pk FROM tab4 WHERE NOT (((col4 = 4.85)) AND (((col3 = 22) OR col0 >= 39 OR (col1 = 79.95) OR (col1 > 14.40 AND ((col0 >= 24) AND (col0 = 62 OR ((col4 <= 13.51)))) OR ((col0 > 37 OR (col4 > 26.49 OR col0 = 55) OR (col0 >= 58 OR ((((col1 > 78.63))))) OR (col3 IS NULL) AND (col0 <= 17 OR (((col3 < 42)))))) OR col0 > 95 AND col0 >= 56 OR col1 >= 26.16 OR col0 > 89 AND (col0 = 52) OR col3 > 14) OR col4 > 34.37 AND ((col3 IS NULL AND ((col0 = 58 AND col4 > 94.91)))) OR (col4 >= 92.48) AND col3 >= 1 AND col3 > 84 AND col1 >= 0.93 AND col0 IN (20,46) AND col1 > 49.31) OR ((col4 < 25.93) AND col0 <= 27) AND (((col3 < 32)) AND col3 < 54) AND ((((((col1 > 27.74)))))) AND (col4 < 45.16)) AND col3 BETWEEN 18 AND 29 AND col3 > 93)
----
4

statement ok
DELETE FROM tab0 WHERE col1 <= 98.6

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 98.6
----

query I rowsort label-5900
SELECT pk FROM tab0 WHERE NOT (col1 <= 98.6)
----

statement ok
DELETE FROM tab1 WHERE col1 <= 98.6

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 98.6
----

query I rowsort label-5900
SELECT pk FROM tab1 WHERE NOT (col1 <= 98.6)
----

statement ok
DELETE FROM tab2 WHERE col1 <= 98.6

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 98.6
----

query I rowsort label-5900
SELECT pk FROM tab2 WHERE NOT (col1 <= 98.6)
----

statement ok
DELETE FROM tab3 WHERE col1 <= 98.6

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 98.6
----

query I rowsort label-5900
SELECT pk FROM tab3 WHERE NOT (col1 <= 98.6)
----

statement ok
DELETE FROM tab4 WHERE col1 <= 98.6

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 98.6
----

query I rowsort label-5900
SELECT pk FROM tab4 WHERE NOT (col1 <= 98.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,91,23.61,'zmrfu',98,68.23,'vdzpn')

statement ok
INSERT INTO tab0 VALUES(1,35,55.8,'ocscn',71,98.29,'fvqsm')

statement ok
INSERT INTO tab0 VALUES(2,79,57.71,'iqbon',14,10.75,'ibxij')

statement ok
INSERT INTO tab0 VALUES(3,47,43.76,'nhktu',70,45.5,'xnhcx')

statement ok
INSERT INTO tab0 VALUES(4,59,24.58,'dazzy',95,22.24,'upthu')

statement ok
INSERT INTO tab0 VALUES(5,54,66.74,'muivw',59,2.18,'lsiyg')

statement ok
INSERT INTO tab0 VALUES(6,92,64.15,'xnxfk',68,48.60,'sksdt')

statement ok
INSERT INTO tab0 VALUES(7,75,94.18,'gipmu',72,90.29,'gkxyq')

statement ok
INSERT INTO tab0 VALUES(8,53,79.78,'urmsn',76,86.17,'kvypp')

statement ok
INSERT INTO tab0 VALUES(9,43,52.61,'mihrt',58,84.42,'ohhrn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1,col4,col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 >= 12.26

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 12.26
----

query I rowsort label-5915
SELECT pk FROM tab0 WHERE NOT (col4 >= 12.26)
----
2
5

statement ok
DELETE FROM tab1 WHERE col4 >= 12.26

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 12.26
----

query I rowsort label-5915
SELECT pk FROM tab1 WHERE NOT (col4 >= 12.26)
----
2
5

statement ok
DELETE FROM tab2 WHERE col4 >= 12.26

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 12.26
----

query I rowsort label-5915
SELECT pk FROM tab2 WHERE NOT (col4 >= 12.26)
----
2
5

statement ok
DELETE FROM tab3 WHERE col4 >= 12.26

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 12.26
----

query I rowsort label-5915
SELECT pk FROM tab3 WHERE NOT (col4 >= 12.26)
----
2
5

statement ok
DELETE FROM tab4 WHERE col4 >= 12.26

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 12.26
----

query I rowsort label-5915
SELECT pk FROM tab4 WHERE NOT (col4 >= 12.26)
----
2
5

statement ok
DELETE FROM tab0 WHERE col1 <= 12.16

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 12.16
----

query I rowsort label-5930
SELECT pk FROM tab0 WHERE NOT (col1 <= 12.16)
----
2
5

statement ok
DELETE FROM tab1 WHERE col1 <= 12.16

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 12.16
----

query I rowsort label-5930
SELECT pk FROM tab1 WHERE NOT (col1 <= 12.16)
----
2
5

statement ok
DELETE FROM tab2 WHERE col1 <= 12.16

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 12.16
----

query I rowsort label-5930
SELECT pk FROM tab2 WHERE NOT (col1 <= 12.16)
----
2
5

statement ok
DELETE FROM tab3 WHERE col1 <= 12.16

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 12.16
----

query I rowsort label-5930
SELECT pk FROM tab3 WHERE NOT (col1 <= 12.16)
----
2
5

statement ok
DELETE FROM tab4 WHERE col1 <= 12.16

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 12.16
----

query I rowsort label-5930
SELECT pk FROM tab4 WHERE NOT (col1 <= 12.16)
----
2
5

statement ok
DELETE FROM tab0 WHERE (((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL)))
----

query I rowsort label-5945
SELECT pk FROM tab0 WHERE NOT ((((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL))))
----
2
5

statement ok
DELETE FROM tab1 WHERE (((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL)))
----

query I rowsort label-5945
SELECT pk FROM tab1 WHERE NOT ((((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL))))
----
2
5

statement ok
DELETE FROM tab2 WHERE (((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL)))
----

query I rowsort label-5945
SELECT pk FROM tab2 WHERE NOT ((((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL))))
----
2
5

statement ok
DELETE FROM tab3 WHERE (((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL)))
----

query I rowsort label-5945
SELECT pk FROM tab3 WHERE NOT ((((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL))))
----
2
5

statement ok
DELETE FROM tab4 WHERE (((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL)))
----

query I rowsort label-5945
SELECT pk FROM tab4 WHERE NOT ((((col3 IS NULL)) OR col1 > 36.50 AND ((col3 IS NULL))))
----
2
5

statement ok
DELETE FROM tab0 WHERE (col3 < 4) AND col3 > 49

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 4) AND col3 > 49
----

query I rowsort label-5960
SELECT pk FROM tab0 WHERE NOT ((col3 < 4) AND col3 > 49)
----
2
5

statement ok
DELETE FROM tab1 WHERE (col3 < 4) AND col3 > 49

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 4) AND col3 > 49
----

query I rowsort label-5960
SELECT pk FROM tab1 WHERE NOT ((col3 < 4) AND col3 > 49)
----
2
5

statement ok
DELETE FROM tab2 WHERE (col3 < 4) AND col3 > 49

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 4) AND col3 > 49
----

query I rowsort label-5960
SELECT pk FROM tab2 WHERE NOT ((col3 < 4) AND col3 > 49)
----
2
5

statement ok
DELETE FROM tab3 WHERE (col3 < 4) AND col3 > 49

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 4) AND col3 > 49
----

query I rowsort label-5960
SELECT pk FROM tab3 WHERE NOT ((col3 < 4) AND col3 > 49)
----
2
5

statement ok
DELETE FROM tab4 WHERE (col3 < 4) AND col3 > 49

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 4) AND col3 > 49
----

query I rowsort label-5960
SELECT pk FROM tab4 WHERE NOT ((col3 < 4) AND col3 > 49)
----
2
5

statement ok
DELETE FROM tab0 WHERE col0 > 88

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 88
----

query I rowsort label-5975
SELECT pk FROM tab0 WHERE NOT (col0 > 88)
----
2
5

statement ok
DELETE FROM tab1 WHERE col0 > 88

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 88
----

query I rowsort label-5975
SELECT pk FROM tab1 WHERE NOT (col0 > 88)
----
2
5

statement ok
DELETE FROM tab2 WHERE col0 > 88

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 88
----

query I rowsort label-5975
SELECT pk FROM tab2 WHERE NOT (col0 > 88)
----
2
5

statement ok
DELETE FROM tab3 WHERE col0 > 88

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 88
----

query I rowsort label-5975
SELECT pk FROM tab3 WHERE NOT (col0 > 88)
----
2
5

statement ok
DELETE FROM tab4 WHERE col0 > 88

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 88
----

query I rowsort label-5975
SELECT pk FROM tab4 WHERE NOT (col0 > 88)
----
2
5

statement ok
DELETE FROM tab0 WHERE col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58))
----

query I rowsort label-5990
SELECT pk FROM tab0 WHERE NOT (col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58)))
----
2

statement ok
DELETE FROM tab1 WHERE col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58))
----

query I rowsort label-5990
SELECT pk FROM tab1 WHERE NOT (col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58)))
----
2

statement ok
DELETE FROM tab2 WHERE col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58))
----

query I rowsort label-5990
SELECT pk FROM tab2 WHERE NOT (col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58)))
----
2

statement ok
DELETE FROM tab3 WHERE col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58))
----

query I rowsort label-5990
SELECT pk FROM tab3 WHERE NOT (col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58)))
----
2

statement ok
DELETE FROM tab4 WHERE col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58))
----

query I rowsort label-5990
SELECT pk FROM tab4 WHERE NOT (col3 > 27 OR ((col1 = 88.2)) OR ((col3 = 58)))
----
2

statement ok
DELETE FROM tab0 WHERE (col3 < 74 OR ((col3 <= 84)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 74 OR ((col3 <= 84)))
----

query I rowsort label-6005
SELECT pk FROM tab0 WHERE NOT ((col3 < 74 OR ((col3 <= 84))))
----

statement ok
DELETE FROM tab1 WHERE (col3 < 74 OR ((col3 <= 84)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 74 OR ((col3 <= 84)))
----

query I rowsort label-6005
SELECT pk FROM tab1 WHERE NOT ((col3 < 74 OR ((col3 <= 84))))
----

statement ok
DELETE FROM tab2 WHERE (col3 < 74 OR ((col3 <= 84)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 74 OR ((col3 <= 84)))
----

query I rowsort label-6005
SELECT pk FROM tab2 WHERE NOT ((col3 < 74 OR ((col3 <= 84))))
----

statement ok
DELETE FROM tab3 WHERE (col3 < 74 OR ((col3 <= 84)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 74 OR ((col3 <= 84)))
----

query I rowsort label-6005
SELECT pk FROM tab3 WHERE NOT ((col3 < 74 OR ((col3 <= 84))))
----

statement ok
DELETE FROM tab4 WHERE (col3 < 74 OR ((col3 <= 84)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 74 OR ((col3 <= 84)))
----

query I rowsort label-6005
SELECT pk FROM tab4 WHERE NOT ((col3 < 74 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,44,11.5,'srcyi',65,82.28,'rwfem')

statement ok
INSERT INTO tab0 VALUES(1,8,61.26,'bqddm',83,54.59,'rcrmc')

statement ok
INSERT INTO tab0 VALUES(2,70,75.31,'aovfx',78,59.45,'wnkza')

statement ok
INSERT INTO tab0 VALUES(3,23,40.66,'efacj',7,94.97,'xrcyy')

statement ok
INSERT INTO tab0 VALUES(4,26,42.70,'hrsmc',72,16.48,'rcese')

statement ok
INSERT INTO tab0 VALUES(5,66,87.37,'jyana',87,55.17,'mctks')

statement ok
INSERT INTO tab0 VALUES(6,24,3.78,'aphms',35,18.73,'elvok')

statement ok
INSERT INTO tab0 VALUES(7,27,62.84,'kkmjs',36,17.96,'gwktz')

statement ok
INSERT INTO tab0 VALUES(8,28,86.89,'myxkp',6,66.39,'crqdi')

statement ok
INSERT INTO tab0 VALUES(9,47,65.31,'xgtvb',22,4.90,'vmuel')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4,col1,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0,col3)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col3 DESC)

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 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 < 84.2

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 84.2
----

query I rowsort label-6020
SELECT pk FROM tab0 WHERE NOT (col1 < 84.2)
----
5
8

statement ok
DELETE FROM tab1 WHERE col1 < 84.2

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 84.2
----

query I rowsort label-6020
SELECT pk FROM tab1 WHERE NOT (col1 < 84.2)
----
5
8

statement ok
DELETE FROM tab2 WHERE col1 < 84.2

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 84.2
----

query I rowsort label-6020
SELECT pk FROM tab2 WHERE NOT (col1 < 84.2)
----
5
8

statement ok
DELETE FROM tab3 WHERE col1 < 84.2

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 84.2
----

query I rowsort label-6020
SELECT pk FROM tab3 WHERE NOT (col1 < 84.2)
----
5
8

statement ok
DELETE FROM tab4 WHERE col1 < 84.2

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 84.2
----

query I rowsort label-6020
SELECT pk FROM tab4 WHERE NOT (col1 < 84.2)
----
5
8

statement ok
DELETE FROM tab0 WHERE col0 <= 79

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 79
----

query I rowsort label-6035
SELECT pk FROM tab0 WHERE NOT (col0 <= 79)
----

statement ok
DELETE FROM tab1 WHERE col0 <= 79

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 79
----

query I rowsort label-6035
SELECT pk FROM tab1 WHERE NOT (col0 <= 79)
----

statement ok
DELETE FROM tab2 WHERE col0 <= 79

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 79
----

query I rowsort label-6035
SELECT pk FROM tab2 WHERE NOT (col0 <= 79)
----

statement ok
DELETE FROM tab3 WHERE col0 <= 79

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 79
----

query I rowsort label-6035
SELECT pk FROM tab3 WHERE NOT (col0 <= 79)
----

statement ok
DELETE FROM tab4 WHERE col0 <= 79

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 79
----

query I rowsort label-6035
SELECT pk FROM tab4 WHERE NOT (col0 <= 79)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,27,22.22,'fgyvu',79,66.6,'ttlae')

statement ok
INSERT INTO tab0 VALUES(1,58,25.16,'muwxe',95,85.74,'kphbr')

statement ok
INSERT INTO tab0 VALUES(2,62,59.20,'unrnt',39,16.54,'rarlz')

statement ok
INSERT INTO tab0 VALUES(3,29,7.28,'dbmhd',45,17.17,'goxcn')

statement ok
INSERT INTO tab0 VALUES(4,60,16.39,'jsmpi',13,38.46,'mzrxx')

statement ok
INSERT INTO tab0 VALUES(5,83,60.73,'rolvm',23,93.50,'umpur')

statement ok
INSERT INTO tab0 VALUES(6,61,0.80,'fnomk',50,10.76,'pozwu')

statement ok
INSERT INTO tab0 VALUES(7,4,52.58,'yqwhf',73,4.23,'smiml')

statement ok
INSERT INTO tab0 VALUES(8,91,46.61,'azzgz',90,35.52,'bbamm')

statement ok
INSERT INTO tab0 VALUES(9,68,87.11,'nbsah',29,71.2,'gbwee')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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_2 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4,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 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 IN (91.81,48.49,89.54,98.22)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (91.81,48.49,89.54,98.22)
----

query I rowsort label-6050
SELECT pk FROM tab0 WHERE NOT (col4 IN (91.81,48.49,89.54,98.22))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 IN (91.81,48.49,89.54,98.22)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (91.81,48.49,89.54,98.22)
----

query I rowsort label-6050
SELECT pk FROM tab1 WHERE NOT (col4 IN (91.81,48.49,89.54,98.22))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 IN (91.81,48.49,89.54,98.22)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (91.81,48.49,89.54,98.22)
----

query I rowsort label-6050
SELECT pk FROM tab2 WHERE NOT (col4 IN (91.81,48.49,89.54,98.22))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 IN (91.81,48.49,89.54,98.22)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (91.81,48.49,89.54,98.22)
----

query I rowsort label-6050
SELECT pk FROM tab3 WHERE NOT (col4 IN (91.81,48.49,89.54,98.22))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 IN (91.81,48.49,89.54,98.22)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (91.81,48.49,89.54,98.22)
----

query I rowsort label-6050
SELECT pk FROM tab4 WHERE NOT (col4 IN (91.81,48.49,89.54,98.22))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 <= 15

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 15
----

query I rowsort label-6065
SELECT pk FROM tab0 WHERE NOT (col0 <= 15)
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab1 WHERE col0 <= 15

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 15
----

query I rowsort label-6065
SELECT pk FROM tab1 WHERE NOT (col0 <= 15)
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab2 WHERE col0 <= 15

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 15
----

query I rowsort label-6065
SELECT pk FROM tab2 WHERE NOT (col0 <= 15)
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab3 WHERE col0 <= 15

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 15
----

query I rowsort label-6065
SELECT pk FROM tab3 WHERE NOT (col0 <= 15)
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab4 WHERE col0 <= 15

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 15
----

query I rowsort label-6065
SELECT pk FROM tab4 WHERE NOT (col0 <= 15)
----
9 values hashing to 771a06029c003358acd302c0ec942a73

statement ok
DELETE FROM tab0 WHERE col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48
----

query I rowsort label-6080
SELECT pk FROM tab0 WHERE NOT (col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48)
----

statement ok
DELETE FROM tab1 WHERE col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48
----

query I rowsort label-6080
SELECT pk FROM tab1 WHERE NOT (col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48)
----

statement ok
DELETE FROM tab2 WHERE col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48
----

query I rowsort label-6080
SELECT pk FROM tab2 WHERE NOT (col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48)
----

statement ok
DELETE FROM tab3 WHERE col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48
----

query I rowsort label-6080
SELECT pk FROM tab3 WHERE NOT (col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48)
----

statement ok
DELETE FROM tab4 WHERE col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 48
----

query I rowsort label-6080
SELECT pk FROM tab4 WHERE NOT (col3 > 97 OR ((col0 >= 15 OR col0 >= 98) OR col0 < 42 AND col4 IS NULL) OR col0 > 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,6,99.18,'cybfg',52,39.4,'dxlrv')

statement ok
INSERT INTO tab0 VALUES(1,57,96.67,'nychm',64,82.57,'heige')

statement ok
INSERT INTO tab0 VALUES(2,31,72.94,'pfpbi',94,23.13,'dpmju')

statement ok
INSERT INTO tab0 VALUES(3,41,49.36,'ergge',96,69.46,'indsv')

statement ok
INSERT INTO tab0 VALUES(4,18,2.73,'uyewm',17,40.3,'ivqsn')

statement ok
INSERT INTO tab0 VALUES(5,71,71.88,'wdguv',67,74.71,'nrrah')

statement ok
INSERT INTO tab0 VALUES(6,49,73.31,'skdpz',76,45.32,'hefew')

statement ok
INSERT INTO tab0 VALUES(7,4,13.85,'vpmaf',61,73.30,'fwthm')

statement ok
INSERT INTO tab0 VALUES(8,55,5.22,'ywwpe',82,36.34,'dkiox')

statement ok
INSERT INTO tab0 VALUES(9,50,74.70,'cjfkh',12,83.97,'kgxyo')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC,col4 DESC,col1 DESC,col3)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4,col3 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0 DESC,col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1,col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col3 DESC,col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 > 41)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 41)
----

query I rowsort label-6095
SELECT pk FROM tab0 WHERE NOT ((col3 > 41))
----
4
9

statement ok
DELETE FROM tab1 WHERE (col3 > 41)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 41)
----

query I rowsort label-6095
SELECT pk FROM tab1 WHERE NOT ((col3 > 41))
----
4
9

statement ok
DELETE FROM tab2 WHERE (col3 > 41)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 41)
----

query I rowsort label-6095
SELECT pk FROM tab2 WHERE NOT ((col3 > 41))
----
4
9

statement ok
DELETE FROM tab3 WHERE (col3 > 41)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 41)
----

query I rowsort label-6095
SELECT pk FROM tab3 WHERE NOT ((col3 > 41))
----
4
9

statement ok
DELETE FROM tab4 WHERE (col3 > 41)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 41)
----

query I rowsort label-6095
SELECT pk FROM tab4 WHERE NOT ((col3 > 41))
----
4
9

statement ok
DELETE FROM tab0 WHERE col4 = 27.38

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 27.38
----

query I rowsort label-6110
SELECT pk FROM tab0 WHERE NOT (col4 = 27.38)
----
4
9

statement ok
DELETE FROM tab1 WHERE col4 = 27.38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 27.38
----

query I rowsort label-6110
SELECT pk FROM tab1 WHERE NOT (col4 = 27.38)
----
4
9

statement ok
DELETE FROM tab2 WHERE col4 = 27.38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 27.38
----

query I rowsort label-6110
SELECT pk FROM tab2 WHERE NOT (col4 = 27.38)
----
4
9

statement ok
DELETE FROM tab3 WHERE col4 = 27.38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 27.38
----

query I rowsort label-6110
SELECT pk FROM tab3 WHERE NOT (col4 = 27.38)
----
4
9

statement ok
DELETE FROM tab4 WHERE col4 = 27.38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 27.38
----

query I rowsort label-6110
SELECT pk FROM tab4 WHERE NOT (col4 = 27.38)
----
4
9

statement ok
DELETE FROM tab0 WHERE (col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80)
----

query I rowsort label-6125
SELECT pk FROM tab0 WHERE NOT ((col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80))
----
4

statement ok
DELETE FROM tab1 WHERE (col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80)
----

query I rowsort label-6125
SELECT pk FROM tab1 WHERE NOT ((col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80))
----
4

statement ok
DELETE FROM tab2 WHERE (col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80)
----

query I rowsort label-6125
SELECT pk FROM tab2 WHERE NOT ((col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80))
----
4

statement ok
DELETE FROM tab3 WHERE (col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80)
----

query I rowsort label-6125
SELECT pk FROM tab3 WHERE NOT ((col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80))
----
4

statement ok
DELETE FROM tab4 WHERE (col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80)
----

query I rowsort label-6125
SELECT pk FROM tab4 WHERE NOT ((col3 BETWEEN 77 AND 94) OR col3 < 50 AND ((((col4 < 7.19)))) AND (col3 >= 50 AND col4 = 4.83) AND col4 IS NULL AND (col3 < 3) AND (((col4 > 65.70)) OR col1 IN (56.83,48.69,25.65)) OR col4 > 42.15 OR col3 > 65 AND col3 < 28 OR (((((col4 >= 27.83))))) AND ((col0 > 89)) AND col4 <= 3.40 AND col4 >= 25.54 AND ((col0 > 91) OR col0 <= 80))
----
4

statement ok
DELETE FROM tab0 WHERE (((col1 <= 94.70) OR col0 > 73))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 <= 94.70) OR col0 > 73))
----

query I rowsort label-6140
SELECT pk FROM tab0 WHERE NOT ((((col1 <= 94.70) OR col0 > 73)))
----

statement ok
DELETE FROM tab1 WHERE (((col1 <= 94.70) OR col0 > 73))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 <= 94.70) OR col0 > 73))
----

query I rowsort label-6140
SELECT pk FROM tab1 WHERE NOT ((((col1 <= 94.70) OR col0 > 73)))
----

statement ok
DELETE FROM tab2 WHERE (((col1 <= 94.70) OR col0 > 73))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 <= 94.70) OR col0 > 73))
----

query I rowsort label-6140
SELECT pk FROM tab2 WHERE NOT ((((col1 <= 94.70) OR col0 > 73)))
----

statement ok
DELETE FROM tab3 WHERE (((col1 <= 94.70) OR col0 > 73))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 <= 94.70) OR col0 > 73))
----

query I rowsort label-6140
SELECT pk FROM tab3 WHERE NOT ((((col1 <= 94.70) OR col0 > 73)))
----

statement ok
DELETE FROM tab4 WHERE (((col1 <= 94.70) OR col0 > 73))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 <= 94.70) OR col0 > 73))
----

query I rowsort label-6140
SELECT pk FROM tab4 WHERE NOT ((((col1 <= 94.70) OR col0 > 73)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,78,53.44,'dogwp',82,86.78,'ybego')

statement ok
INSERT INTO tab0 VALUES(1,50,89.88,'djohy',8,62.22,'mtpjy')

statement ok
INSERT INTO tab0 VALUES(2,51,67.70,'lhydf',57,73.99,'lqwno')

statement ok
INSERT INTO tab0 VALUES(3,68,26.70,'yspws',29,20.97,'jzneo')

statement ok
INSERT INTO tab0 VALUES(4,93,94.89,'ydsnc',86,27.35,'ctkmo')

statement ok
INSERT INTO tab0 VALUES(5,33,56.65,'ofwuc',56,3.71,'boaez')

statement ok
INSERT INTO tab0 VALUES(6,21,14.83,'owrch',58,9.19,'eaiwt')

statement ok
INSERT INTO tab0 VALUES(7,30,50.87,'vnosm',96,15.59,'gohcb')

statement ok
INSERT INTO tab0 VALUES(8,88,88.97,'cbfan',95,64.51,'xxlnu')

statement ok
INSERT INTO tab0 VALUES(9,85,58.15,'pffku',97,36.46,'uxrxg')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3,col4 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4,col0,col3 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 INDEX idx_tab4_0 ON tab4 (col1,col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1 DESC,col0,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20
----

query I rowsort label-6155
SELECT pk FROM tab0 WHERE NOT ((((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20)
----
1
2
5
6
7

statement ok
DELETE FROM tab1 WHERE (((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20
----

query I rowsort label-6155
SELECT pk FROM tab1 WHERE NOT ((((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20)
----
1
2
5
6
7

statement ok
DELETE FROM tab2 WHERE (((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20
----

query I rowsort label-6155
SELECT pk FROM tab2 WHERE NOT ((((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20)
----
1
2
5
6
7

statement ok
DELETE FROM tab3 WHERE (((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20
----

query I rowsort label-6155
SELECT pk FROM tab3 WHERE NOT ((((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20)
----
1
2
5
6
7

statement ok
DELETE FROM tab4 WHERE (((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20
----

query I rowsort label-6155
SELECT pk FROM tab4 WHERE NOT ((((col0 >= 59))) OR col0 = 34 AND col4 > 73.92 OR col0 < 20)
----
1
2
5
6
7

statement ok
DELETE FROM tab0 WHERE (col3 <= 30)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 30)
----

query I rowsort label-6170
SELECT pk FROM tab0 WHERE NOT ((col3 <= 30))
----
2
5
6
7

statement ok
DELETE FROM tab1 WHERE (col3 <= 30)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 30)
----

query I rowsort label-6170
SELECT pk FROM tab1 WHERE NOT ((col3 <= 30))
----
2
5
6
7

statement ok
DELETE FROM tab2 WHERE (col3 <= 30)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 30)
----

query I rowsort label-6170
SELECT pk FROM tab2 WHERE NOT ((col3 <= 30))
----
2
5
6
7

statement ok
DELETE FROM tab3 WHERE (col3 <= 30)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 30)
----

query I rowsort label-6170
SELECT pk FROM tab3 WHERE NOT ((col3 <= 30))
----
2
5
6
7

statement ok
DELETE FROM tab4 WHERE (col3 <= 30)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 30)
----

query I rowsort label-6170
SELECT pk FROM tab4 WHERE NOT ((col3 <= 30))
----
2
5
6
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-6185
SELECT pk FROM tab0 WHERE NOT ((col0 > 31))
----
6
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-6185
SELECT pk FROM tab1 WHERE NOT ((col0 > 31))
----
6
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-6185
SELECT pk FROM tab2 WHERE NOT ((col0 > 31))
----
6
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-6185
SELECT pk FROM tab3 WHERE NOT ((col0 > 31))
----
6
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-6185
SELECT pk FROM tab4 WHERE NOT ((col0 > 31))
----
6
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-6200
SELECT pk FROM tab0 WHERE NOT (col0 >= 82)
----
6
7

statement ok
DELETE FROM tab1 WHERE col0 >= 82

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 82
----

query I rowsort label-6200
SELECT pk FROM tab1 WHERE NOT (col0 >= 82)
----
6
7

statement ok
DELETE FROM tab2 WHERE col0 >= 82

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 82
----

query I rowsort label-6200
SELECT pk FROM tab2 WHERE NOT (col0 >= 82)
----
6
7

statement ok
DELETE FROM tab3 WHERE col0 >= 82

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 82
----

query I rowsort label-6200
SELECT pk FROM tab3 WHERE NOT (col0 >= 82)
----
6
7

statement ok
DELETE FROM tab4 WHERE col0 >= 82

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 82
----

query I rowsort label-6200
SELECT pk FROM tab4 WHERE NOT (col0 >= 82)
----
6
7

statement ok
DELETE FROM tab0 WHERE (col4 < 62.71 OR col1 < 24.74 OR (col3 > 7))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 62.71 OR col1 < 24.74 OR (col3 > 7))
----

query I rowsort label-6215
SELECT pk FROM tab0 WHERE NOT ((col4 < 62.71 OR col1 < 24.74 OR (col3 > 7)))
----

statement ok
DELETE FROM tab1 WHERE (col4 < 62.71 OR col1 < 24.74 OR (col3 > 7))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 62.71 OR col1 < 24.74 OR (col3 > 7))
----

query I rowsort label-6215
SELECT pk FROM tab1 WHERE NOT ((col4 < 62.71 OR col1 < 24.74 OR (col3 > 7)))
----

statement ok
DELETE FROM tab2 WHERE (col4 < 62.71 OR col1 < 24.74 OR (col3 > 7))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 62.71 OR col1 < 24.74 OR (col3 > 7))
----

query I rowsort label-6215
SELECT pk FROM tab2 WHERE NOT ((col4 < 62.71 OR col1 < 24.74 OR (col3 > 7)))
----

statement ok
DELETE FROM tab3 WHERE (col4 < 62.71 OR col1 < 24.74 OR (col3 > 7))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 62.71 OR col1 < 24.74 OR (col3 > 7))
----

query I rowsort label-6215
SELECT pk FROM tab3 WHERE NOT ((col4 < 62.71 OR col1 < 24.74 OR (col3 > 7)))
----

statement ok
DELETE FROM tab4 WHERE (col4 < 62.71 OR col1 < 24.74 OR (col3 > 7))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 62.71 OR col1 < 24.74 OR (col3 > 7))
----

query I rowsort label-6215
SELECT pk FROM tab4 WHERE NOT ((col4 < 62.71 OR col1 < 24.74 OR (col3 > 7)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,40,60.85,'wfrqr',49,10.36,'gmfci')

statement ok
INSERT INTO tab0 VALUES(1,63,6.32,'xolvo',81,94.1,'acchr')

statement ok
INSERT INTO tab0 VALUES(2,55,25.73,'genhs',68,17.83,'uqwjc')

statement ok
INSERT INTO tab0 VALUES(3,77,35.46,'bsmtt',13,76.82,'wkdbc')

statement ok
INSERT INTO tab0 VALUES(4,51,77.17,'plzml',33,22.33,'lywtf')

statement ok
INSERT INTO tab0 VALUES(5,67,78.93,'yknno',73,25.20,'iaequ')

statement ok
INSERT INTO tab0 VALUES(6,2,14.38,'mmxsj',17,32.86,'mwusm')

statement ok
INSERT INTO tab0 VALUES(7,28,74.79,'rpcvh',2,37.47,'rjwcw')

statement ok
INSERT INTO tab0 VALUES(8,25,18.24,'nrntn',32,34.7,'cymze')

statement ok
INSERT INTO tab0 VALUES(9,96,43.73,'kbant',84,88.64,'cxgtv')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4,col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1,col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4,col3 DESC,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((((col1 IS NULL))) AND col3 > 79))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col1 IS NULL))) AND col3 > 79))
----

query I rowsort label-6230
SELECT pk FROM tab0 WHERE NOT ((((((col1 IS NULL))) AND col3 > 79)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (((((col1 IS NULL))) AND col3 > 79))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col1 IS NULL))) AND col3 > 79))
----

query I rowsort label-6230
SELECT pk FROM tab1 WHERE NOT ((((((col1 IS NULL))) AND col3 > 79)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (((((col1 IS NULL))) AND col3 > 79))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col1 IS NULL))) AND col3 > 79))
----

query I rowsort label-6230
SELECT pk FROM tab2 WHERE NOT ((((((col1 IS NULL))) AND col3 > 79)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (((((col1 IS NULL))) AND col3 > 79))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col1 IS NULL))) AND col3 > 79))
----

query I rowsort label-6230
SELECT pk FROM tab3 WHERE NOT ((((((col1 IS NULL))) AND col3 > 79)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (((((col1 IS NULL))) AND col3 > 79))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col1 IS NULL))) AND col3 > 79))
----

query I rowsort label-6230
SELECT pk FROM tab4 WHERE NOT ((((((col1 IS NULL))) AND col3 > 79)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 > 24 OR col4 < 8.52)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 24 OR col4 < 8.52)
----

query I rowsort label-6245
SELECT pk FROM tab0 WHERE NOT ((col0 > 24 OR col4 < 8.52))
----
6

statement ok
DELETE FROM tab1 WHERE (col0 > 24 OR col4 < 8.52)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 24 OR col4 < 8.52)
----

query I rowsort label-6245
SELECT pk FROM tab1 WHERE NOT ((col0 > 24 OR col4 < 8.52))
----
6

statement ok
DELETE FROM tab2 WHERE (col0 > 24 OR col4 < 8.52)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 24 OR col4 < 8.52)
----

query I rowsort label-6245
SELECT pk FROM tab2 WHERE NOT ((col0 > 24 OR col4 < 8.52))
----
6

statement ok
DELETE FROM tab3 WHERE (col0 > 24 OR col4 < 8.52)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 24 OR col4 < 8.52)
----

query I rowsort label-6245
SELECT pk FROM tab3 WHERE NOT ((col0 > 24 OR col4 < 8.52))
----
6

statement ok
DELETE FROM tab4 WHERE (col0 > 24 OR col4 < 8.52)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 24 OR col4 < 8.52)
----

query I rowsort label-6245
SELECT pk FROM tab4 WHERE NOT ((col0 > 24 OR col4 < 8.52))
----
6

statement ok
DELETE FROM tab0 WHERE (col4 >= 39.67)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 39.67)
----

query I rowsort label-6260
SELECT pk FROM tab0 WHERE NOT ((col4 >= 39.67))
----
6

statement ok
DELETE FROM tab1 WHERE (col4 >= 39.67)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 39.67)
----

query I rowsort label-6260
SELECT pk FROM tab1 WHERE NOT ((col4 >= 39.67))
----
6

statement ok
DELETE FROM tab2 WHERE (col4 >= 39.67)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 39.67)
----

query I rowsort label-6260
SELECT pk FROM tab2 WHERE NOT ((col4 >= 39.67))
----
6

statement ok
DELETE FROM tab3 WHERE (col4 >= 39.67)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 39.67)
----

query I rowsort label-6260
SELECT pk FROM tab3 WHERE NOT ((col4 >= 39.67))
----
6

statement ok
DELETE FROM tab4 WHERE (col4 >= 39.67)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 39.67)
----

query I rowsort label-6260
SELECT pk FROM tab4 WHERE NOT ((col4 >= 39.67))
----
6

statement ok
DELETE FROM tab0 WHERE (col3 = 72 OR col3 = 12)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 72 OR col3 = 12)
----

query I rowsort label-6275
SELECT pk FROM tab0 WHERE NOT ((col3 = 72 OR col3 = 12))
----
6

statement ok
DELETE FROM tab1 WHERE (col3 = 72 OR col3 = 12)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 72 OR col3 = 12)
----

query I rowsort label-6275
SELECT pk FROM tab1 WHERE NOT ((col3 = 72 OR col3 = 12))
----
6

statement ok
DELETE FROM tab2 WHERE (col3 = 72 OR col3 = 12)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 72 OR col3 = 12)
----

query I rowsort label-6275
SELECT pk FROM tab2 WHERE NOT ((col3 = 72 OR col3 = 12))
----
6

statement ok
DELETE FROM tab3 WHERE (col3 = 72 OR col3 = 12)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 72 OR col3 = 12)
----

query I rowsort label-6275
SELECT pk FROM tab3 WHERE NOT ((col3 = 72 OR col3 = 12))
----
6

statement ok
DELETE FROM tab4 WHERE (col3 = 72 OR col3 = 12)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 72 OR col3 = 12)
----

query I rowsort label-6275
SELECT pk FROM tab4 WHERE NOT ((col3 = 72 OR col3 = 12))
----
6

statement ok
DELETE FROM tab0 WHERE col1 >= 64.74

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 64.74
----

query I rowsort label-6290
SELECT pk FROM tab0 WHERE NOT (col1 >= 64.74)
----
6

statement ok
DELETE FROM tab1 WHERE col1 >= 64.74

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 64.74
----

query I rowsort label-6290
SELECT pk FROM tab1 WHERE NOT (col1 >= 64.74)
----
6

statement ok
DELETE FROM tab2 WHERE col1 >= 64.74

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 64.74
----

query I rowsort label-6290
SELECT pk FROM tab2 WHERE NOT (col1 >= 64.74)
----
6

statement ok
DELETE FROM tab3 WHERE col1 >= 64.74

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 64.74
----

query I rowsort label-6290
SELECT pk FROM tab3 WHERE NOT (col1 >= 64.74)
----
6

statement ok
DELETE FROM tab4 WHERE col1 >= 64.74

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 64.74
----

query I rowsort label-6290
SELECT pk FROM tab4 WHERE NOT (col1 >= 64.74)
----
6

statement ok
DELETE FROM tab0 WHERE ((col3 < 84))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 84))
----

query I rowsort label-6305
SELECT pk FROM tab0 WHERE NOT (((col3 < 84)))
----

statement ok
DELETE FROM tab1 WHERE ((col3 < 84))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 84))
----

query I rowsort label-6305
SELECT pk FROM tab1 WHERE NOT (((col3 < 84)))
----

statement ok
DELETE FROM tab2 WHERE ((col3 < 84))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 84))
----

query I rowsort label-6305
SELECT pk FROM tab2 WHERE NOT (((col3 < 84)))
----

statement ok
DELETE FROM tab3 WHERE ((col3 < 84))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 84))
----

query I rowsort label-6305
SELECT pk FROM tab3 WHERE NOT (((col3 < 84)))
----

statement ok
DELETE FROM tab4 WHERE ((col3 < 84))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 84))
----

query I rowsort label-6305
SELECT pk FROM tab4 WHERE NOT (((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,90,29.80,'rbcux',35,41.74,'zumix')

statement ok
INSERT INTO tab0 VALUES(1,5,41.24,'ndvza',12,55.62,'fznda')

statement ok
INSERT INTO tab0 VALUES(2,75,9.79,'eemwo',0,70.7,'nfojf')

statement ok
INSERT INTO tab0 VALUES(3,85,48.7,'plgia',26,65.69,'zggqz')

statement ok
INSERT INTO tab0 VALUES(4,47,84.29,'cgmwo',29,95.92,'guyip')

statement ok
INSERT INTO tab0 VALUES(5,64,74.79,'nkwyb',17,96.70,'irwgd')

statement ok
INSERT INTO tab0 VALUES(6,94,13.75,'hxmth',36,0.7,'bzidp')

statement ok
INSERT INTO tab0 VALUES(7,8,50.75,'opavb',24,49.82,'zhqmc')

statement ok
INSERT INTO tab0 VALUES(8,57,98.42,'itush',85,6.8,'pklzy')

statement ok
INSERT INTO tab0 VALUES(9,34,47.7,'psame',42,69.98,'jcrfr')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4,col0,col1,col3)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3,col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4,col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0,col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48
----

query I rowsort label-6320
SELECT pk FROM tab0 WHERE NOT ((col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48)
----
1
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48
----

query I rowsort label-6320
SELECT pk FROM tab1 WHERE NOT ((col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48)
----
1
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48
----

query I rowsort label-6320
SELECT pk FROM tab2 WHERE NOT ((col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48)
----
1
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48
----

query I rowsort label-6320
SELECT pk FROM tab3 WHERE NOT ((col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48)
----
1
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48
----

query I rowsort label-6320
SELECT pk FROM tab4 WHERE NOT ((col0 BETWEEN 72 AND 90) OR col0 IS NULL AND col3 IN (25,34,33,4,8,24) OR ((col3 <= 20) AND (col4 IN (47.89,66.43,49.41,41.10,33.4)) OR (col0 = 47)) AND col0 > 48)
----
1
4
5
6
7
8
9

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,10,10.62,'vnmhs',59,73.1,'kyplb')

statement ok
INSERT INTO tab0 VALUES(1,92,64.16,'mpiaf',16,63.79,'njlzu')

statement ok
INSERT INTO tab0 VALUES(2,39,51.28,'dezna',44,3.71,'wpupx')

statement ok
INSERT INTO tab0 VALUES(3,64,52.11,'txdwu',76,10.74,'zxrgt')

statement ok
INSERT INTO tab0 VALUES(4,9,53.61,'waajl',57,66.98,'ysgjx')

statement ok
INSERT INTO tab0 VALUES(5,12,58.17,'trpgk',6,27.30,'nlbmn')

statement ok
INSERT INTO tab0 VALUES(6,66,1.30,'gwqem',81,34.96,'jayah')

statement ok
INSERT INTO tab0 VALUES(7,83,61.18,'gwwxh',40,29.25,'bmivr')

statement ok
INSERT INTO tab0 VALUES(8,59,72.34,'ozdyf',5,67.8,'fugty')

statement ok
INSERT INTO tab0 VALUES(9,31,34.25,'ebofm',20,22.64,'rdnil')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE 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 INDEX idx_tab3_0 ON tab3 (col4,col3)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98))
----

query I rowsort label-6335
SELECT pk FROM tab0 WHERE NOT (col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98))
----

query I rowsort label-6335
SELECT pk FROM tab1 WHERE NOT (col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98))
----

query I rowsort label-6335
SELECT pk FROM tab2 WHERE NOT (col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98))
----

query I rowsort label-6335
SELECT pk FROM tab3 WHERE NOT (col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98))
----

query I rowsort label-6335
SELECT pk FROM tab4 WHERE NOT (col0 <= 68 AND col3 >= 99 AND ((col1 > 93.98)))
----
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-6350
SELECT pk FROM tab0 WHERE NOT (col3 < 38)
----
0
2
3
4
6
7

statement ok
DELETE FROM tab1 WHERE col3 < 38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 38
----

query I rowsort label-6350
SELECT pk FROM tab1 WHERE NOT (col3 < 38)
----
0
2
3
4
6
7

statement ok
DELETE FROM tab2 WHERE col3 < 38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 38
----

query I rowsort label-6350
SELECT pk FROM tab2 WHERE NOT (col3 < 38)
----
0
2
3
4
6
7

statement ok
DELETE FROM tab3 WHERE col3 < 38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 38
----

query I rowsort label-6350
SELECT pk FROM tab3 WHERE NOT (col3 < 38)
----
0
2
3
4
6
7

statement ok
DELETE FROM tab4 WHERE col3 < 38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 38
----

query I rowsort label-6350
SELECT pk FROM tab4 WHERE NOT (col3 < 38)
----
0
2
3
4
6
7

statement ok
DELETE FROM tab0 WHERE (col1 < 63.0 OR col1 >= 10.42)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 63.0 OR col1 >= 10.42)
----

query I rowsort label-6365
SELECT pk FROM tab0 WHERE NOT ((col1 < 63.0 OR col1 >= 10.42))
----

statement ok
DELETE FROM tab1 WHERE (col1 < 63.0 OR col1 >= 10.42)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 63.0 OR col1 >= 10.42)
----

query I rowsort label-6365
SELECT pk FROM tab1 WHERE NOT ((col1 < 63.0 OR col1 >= 10.42))
----

statement ok
DELETE FROM tab2 WHERE (col1 < 63.0 OR col1 >= 10.42)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 63.0 OR col1 >= 10.42)
----

query I rowsort label-6365
SELECT pk FROM tab2 WHERE NOT ((col1 < 63.0 OR col1 >= 10.42))
----

statement ok
DELETE FROM tab3 WHERE (col1 < 63.0 OR col1 >= 10.42)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 63.0 OR col1 >= 10.42)
----

query I rowsort label-6365
SELECT pk FROM tab3 WHERE NOT ((col1 < 63.0 OR col1 >= 10.42))
----

statement ok
DELETE FROM tab4 WHERE (col1 < 63.0 OR col1 >= 10.42)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 63.0 OR col1 >= 10.42)
----

query I rowsort label-6365
SELECT pk FROM tab4 WHERE NOT ((col1 < 63.0 OR col1 >= 10.42))
----

