sqllogictest
Artifact Content
Not logged in

Artifact 30d53e7bbcbee904e37533bf8a4b16f44b31be2c:


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,91,74.83,'wgzmh',27,21.19,'nzsqj')

statement ok
INSERT INTO tab0 VALUES(1,51,88.41,'vipif',32,79.21,'aebzr')

statement ok
INSERT INTO tab0 VALUES(2,12,85.37,'kxeqo',10,77.85,'sbxmw')

statement ok
INSERT INTO tab0 VALUES(3,38,63.13,'lvyvu',26,8.61,'ichze')

statement ok
INSERT INTO tab0 VALUES(4,62,15.17,'tjgnr',45,68.84,'vslhr')

statement ok
INSERT INTO tab0 VALUES(5,46,44.64,'ycxen',91,73.43,'wsezp')

statement ok
INSERT INTO tab0 VALUES(6,45,77.2,'tjcsd',16,63.35,'nevtg')

statement ok
INSERT INTO tab0 VALUES(7,68,78.75,'bbveb',53,25.37,'uvkie')

statement ok
INSERT INTO tab0 VALUES(8,43,53.78,'catit',87,95.60,'kytxj')

statement ok
INSERT INTO tab0 VALUES(9,75,76.31,'nykgn',13,81.18,'drrxk')

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_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 INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

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

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL))))
----

query I rowsort label-0
SELECT pk FROM tab0 WHERE NOT (col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL)))))
----
1
2

statement ok
DELETE FROM tab1 WHERE col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL))))
----

query I rowsort label-0
SELECT pk FROM tab1 WHERE NOT (col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL)))))
----
1
2

statement ok
DELETE FROM tab2 WHERE col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL))))
----

query I rowsort label-0
SELECT pk FROM tab2 WHERE NOT (col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL)))))
----
1
2

statement ok
DELETE FROM tab3 WHERE col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL))))
----

query I rowsort label-0
SELECT pk FROM tab3 WHERE NOT (col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL)))))
----
1
2

statement ok
DELETE FROM tab4 WHERE col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL))))
----

query I rowsort label-0
SELECT pk FROM tab4 WHERE NOT (col1 < 58.33 OR (((col3 <= 45 AND col3 BETWEEN 34 AND 27 OR col0 >= 81 AND col1 = 84.30 OR (col0 > 6 OR (col3 <= 52) OR col1 < 43.21)) AND col3 > 52 OR col1 < 82.89 AND col0 >= 11 AND col3 < 62 OR ((col4 IS NULL)))))
----
1
2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

query I rowsort label-15
SELECT pk FROM tab4 WHERE NOT (((col0 > 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,71,93.92,'zbdgc',42,38.19,'fxazn')

statement ok
INSERT INTO tab0 VALUES(1,30,54.28,'dknbu',88,7.57,'usbxv')

statement ok
INSERT INTO tab0 VALUES(2,43,95.57,'dtqux',35,51.82,'ytshq')

statement ok
INSERT INTO tab0 VALUES(3,2,67.32,'yrpue',44,17.68,'xtthm')

statement ok
INSERT INTO tab0 VALUES(4,38,3.80,'glivp',23,8.23,'bctxi')

statement ok
INSERT INTO tab0 VALUES(5,40,68.15,'edlzw',43,45.96,'kcqdj')

statement ok
INSERT INTO tab0 VALUES(6,60,28.51,'wunwd',41,32.94,'izgzk')

statement ok
INSERT INTO tab0 VALUES(7,32,17.14,'aoctq',48,18.88,'ehaur')

statement ok
INSERT INTO tab0 VALUES(8,80,87.52,'trasg',87,53.34,'trsdk')

statement ok
INSERT INTO tab0 VALUES(9,33,82.54,'yueqe',93,62.80,'hfubj')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79))
----

query I rowsort label-30
SELECT pk FROM tab0 WHERE NOT ((((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79))
----

query I rowsort label-30
SELECT pk FROM tab1 WHERE NOT ((((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79))
----

query I rowsort label-30
SELECT pk FROM tab2 WHERE NOT ((((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79))
----

query I rowsort label-30
SELECT pk FROM tab3 WHERE NOT ((((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79))
----

query I rowsort label-30
SELECT pk FROM tab4 WHERE NOT ((((col4 > 93.60) AND (col0 < 22) OR col0 IS NULL AND ((col0 >= 73 OR col1 > 69.81 AND (col4 < 39.77 OR (col0 < 40)) OR col3 = 84)))) AND (col0 < 55 AND col3 < 32 OR (col1 < 18.79)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 > 7

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

query I rowsort label-45
SELECT pk FROM tab0 WHERE NOT (col3 > 7)
----

statement ok
DELETE FROM tab1 WHERE col3 > 7

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

query I rowsort label-45
SELECT pk FROM tab1 WHERE NOT (col3 > 7)
----

statement ok
DELETE FROM tab2 WHERE col3 > 7

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

query I rowsort label-45
SELECT pk FROM tab2 WHERE NOT (col3 > 7)
----

statement ok
DELETE FROM tab3 WHERE col3 > 7

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

query I rowsort label-45
SELECT pk FROM tab3 WHERE NOT (col3 > 7)
----

statement ok
DELETE FROM tab4 WHERE col3 > 7

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

query I rowsort label-45
SELECT pk FROM tab4 WHERE NOT (col3 > 7)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,24,84.10,'iltjz',86,53.90,'bvxtg')

statement ok
INSERT INTO tab0 VALUES(1,43,13.24,'ldxiq',66,30.77,'owwbk')

statement ok
INSERT INTO tab0 VALUES(2,32,17.94,'uupxx',61,15.37,'ospwo')

statement ok
INSERT INTO tab0 VALUES(3,18,96.93,'guzao',75,73.36,'dgwuj')

statement ok
INSERT INTO tab0 VALUES(4,36,25.59,'rjmhj',26,31.63,'qfusu')

statement ok
INSERT INTO tab0 VALUES(5,40,20.9,'qtubq',57,35.38,'mhjvs')

statement ok
INSERT INTO tab0 VALUES(6,15,1.47,'yicty',49,18.30,'pmbxn')

statement ok
INSERT INTO tab0 VALUES(7,92,55.83,'mqaro',36,62.66,'hzmfq')

statement ok
INSERT INTO tab0 VALUES(8,59,95.39,'mobmj',13,54.45,'plzxk')

statement ok
INSERT INTO tab0 VALUES(9,74,26.67,'mojzg',54,55.47,'cbhxm')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC)

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3)

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,87,47.86,'badoh',14,87.26,'gqjlp')

statement ok
INSERT INTO tab0 VALUES(1,1,55.79,'spsqn',34,35.50,'salpr')

statement ok
INSERT INTO tab0 VALUES(2,46,93.57,'fhwok',8,91.91,'bxpgv')

statement ok
INSERT INTO tab0 VALUES(3,37,62.91,'ytrrg',19,50.33,'lcizq')

statement ok
INSERT INTO tab0 VALUES(4,38,9.22,'lmhph',29,63.9,'nppjk')

statement ok
INSERT INTO tab0 VALUES(5,28,36.15,'iqiwb',48,40.62,'qhrub')

statement ok
INSERT INTO tab0 VALUES(6,62,19.29,'omvph',95,69.7,'bnjbn')

statement ok
INSERT INTO tab0 VALUES(7,36,12.76,'lckdf',56,28.91,'ytfxq')

statement ok
INSERT INTO tab0 VALUES(8,47,65.82,'tanpq',54,93.62,'pfnti')

statement ok
INSERT INTO tab0 VALUES(9,53,37.54,'btjoz',5,56.24,'mklgv')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1 DESC)

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

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

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 <= 5

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

query I rowsort label-60
SELECT pk FROM tab0 WHERE NOT (col3 <= 5)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab1 WHERE col3 <= 5

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

query I rowsort label-60
SELECT pk FROM tab1 WHERE NOT (col3 <= 5)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab2 WHERE col3 <= 5

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

query I rowsort label-60
SELECT pk FROM tab2 WHERE NOT (col3 <= 5)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab3 WHERE col3 <= 5

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

query I rowsort label-60
SELECT pk FROM tab3 WHERE NOT (col3 <= 5)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab4 WHERE col3 <= 5

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

query I rowsort label-60
SELECT pk FROM tab4 WHERE NOT (col3 <= 5)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab0 WHERE col1 <= 23.47

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

query I rowsort label-75
SELECT pk FROM tab0 WHERE NOT (col1 <= 23.47)
----
0
1
2
3
5
8

statement ok
DELETE FROM tab1 WHERE col1 <= 23.47

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

query I rowsort label-75
SELECT pk FROM tab1 WHERE NOT (col1 <= 23.47)
----
0
1
2
3
5
8

statement ok
DELETE FROM tab2 WHERE col1 <= 23.47

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

query I rowsort label-75
SELECT pk FROM tab2 WHERE NOT (col1 <= 23.47)
----
0
1
2
3
5
8

statement ok
DELETE FROM tab3 WHERE col1 <= 23.47

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

query I rowsort label-75
SELECT pk FROM tab3 WHERE NOT (col1 <= 23.47)
----
0
1
2
3
5
8

statement ok
DELETE FROM tab4 WHERE col1 <= 23.47

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

query I rowsort label-75
SELECT pk FROM tab4 WHERE NOT (col1 <= 23.47)
----
0
1
2
3
5
8

statement ok
DELETE FROM tab0 WHERE (col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0)
----

query I rowsort label-90
SELECT pk FROM tab0 WHERE NOT ((col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0))
----
0
2
8

statement ok
DELETE FROM tab1 WHERE (col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0)
----

query I rowsort label-90
SELECT pk FROM tab1 WHERE NOT ((col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0))
----
0
2
8

statement ok
DELETE FROM tab2 WHERE (col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0)
----

query I rowsort label-90
SELECT pk FROM tab2 WHERE NOT ((col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0))
----
0
2
8

statement ok
DELETE FROM tab3 WHERE (col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0)
----

query I rowsort label-90
SELECT pk FROM tab3 WHERE NOT ((col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0))
----
0
2
8

statement ok
DELETE FROM tab4 WHERE (col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0)
----

query I rowsort label-90
SELECT pk FROM tab4 WHERE NOT ((col4 <= 78.82) OR (col3 >= 59 AND (((col4 < 86.31))) OR col3 BETWEEN 17 AND 0))
----
0
2
8

statement ok
DELETE FROM tab0 WHERE (col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73))
----

query I rowsort label-105
SELECT pk FROM tab0 WHERE NOT ((col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73)))
----
0
8

statement ok
DELETE FROM tab1 WHERE (col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73))
----

query I rowsort label-105
SELECT pk FROM tab1 WHERE NOT ((col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73)))
----
0
8

statement ok
DELETE FROM tab2 WHERE (col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73))
----

query I rowsort label-105
SELECT pk FROM tab2 WHERE NOT ((col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73)))
----
0
8

statement ok
DELETE FROM tab3 WHERE (col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73))
----

query I rowsort label-105
SELECT pk FROM tab3 WHERE NOT ((col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73)))
----
0
8

statement ok
DELETE FROM tab4 WHERE (col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73))
----

query I rowsort label-105
SELECT pk FROM tab4 WHERE NOT ((col1 >= 68.96 OR col1 IN (71.23,29.32,27.92,45.50,55.73)))
----
0
8

statement ok
DELETE FROM tab0 WHERE col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20)))))
----

query I rowsort label-120
SELECT pk FROM tab0 WHERE NOT (col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20))))))
----
0
8

statement ok
DELETE FROM tab1 WHERE col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20)))))
----

query I rowsort label-120
SELECT pk FROM tab1 WHERE NOT (col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20))))))
----
0
8

statement ok
DELETE FROM tab2 WHERE col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20)))))
----

query I rowsort label-120
SELECT pk FROM tab2 WHERE NOT (col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20))))))
----
0
8

statement ok
DELETE FROM tab3 WHERE col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20)))))
----

query I rowsort label-120
SELECT pk FROM tab3 WHERE NOT (col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20))))))
----
0
8

statement ok
DELETE FROM tab4 WHERE col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20)))))
----

query I rowsort label-120
SELECT pk FROM tab4 WHERE NOT (col1 > 15.48 AND col3 >= 51 AND ((((col3 > 78) AND ((col3 BETWEEN 63 AND 20))))))
----
0
8

statement ok
DELETE FROM tab0 WHERE col3 <= 35

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

query I rowsort label-135
SELECT pk FROM tab0 WHERE NOT (col3 <= 35)
----
8

statement ok
DELETE FROM tab1 WHERE col3 <= 35

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

query I rowsort label-135
SELECT pk FROM tab1 WHERE NOT (col3 <= 35)
----
8

statement ok
DELETE FROM tab2 WHERE col3 <= 35

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

query I rowsort label-135
SELECT pk FROM tab2 WHERE NOT (col3 <= 35)
----
8

statement ok
DELETE FROM tab3 WHERE col3 <= 35

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

query I rowsort label-135
SELECT pk FROM tab3 WHERE NOT (col3 <= 35)
----
8

statement ok
DELETE FROM tab4 WHERE col3 <= 35

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

query I rowsort label-135
SELECT pk FROM tab4 WHERE NOT (col3 <= 35)
----
8

statement ok
DELETE FROM tab0 WHERE col3 >= 41 AND col0 = 89

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

query I rowsort label-150
SELECT pk FROM tab0 WHERE NOT (col3 >= 41 AND col0 = 89)
----
8

statement ok
DELETE FROM tab1 WHERE col3 >= 41 AND col0 = 89

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

query I rowsort label-150
SELECT pk FROM tab1 WHERE NOT (col3 >= 41 AND col0 = 89)
----
8

statement ok
DELETE FROM tab2 WHERE col3 >= 41 AND col0 = 89

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

query I rowsort label-150
SELECT pk FROM tab2 WHERE NOT (col3 >= 41 AND col0 = 89)
----
8

statement ok
DELETE FROM tab3 WHERE col3 >= 41 AND col0 = 89

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

query I rowsort label-150
SELECT pk FROM tab3 WHERE NOT (col3 >= 41 AND col0 = 89)
----
8

statement ok
DELETE FROM tab4 WHERE col3 >= 41 AND col0 = 89

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

query I rowsort label-150
SELECT pk FROM tab4 WHERE NOT (col3 >= 41 AND col0 = 89)
----
8

statement ok
DELETE FROM tab0 WHERE col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68
----

query I rowsort label-165
SELECT pk FROM tab0 WHERE NOT (col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68)
----
8

statement ok
DELETE FROM tab1 WHERE col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68
----

query I rowsort label-165
SELECT pk FROM tab1 WHERE NOT (col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68)
----
8

statement ok
DELETE FROM tab2 WHERE col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68
----

query I rowsort label-165
SELECT pk FROM tab2 WHERE NOT (col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68)
----
8

statement ok
DELETE FROM tab3 WHERE col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68
----

query I rowsort label-165
SELECT pk FROM tab3 WHERE NOT (col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68)
----
8

statement ok
DELETE FROM tab4 WHERE col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68
----

query I rowsort label-165
SELECT pk FROM tab4 WHERE NOT (col4 > 67.68 AND (col0 <= 5) OR ((col4 < 3.49 AND (col0 < 20) AND col3 >= 83 OR (col3 = 48 AND ((col1 < 53.39 OR (col4 = 8.41 AND (col4 < 8.42) AND ((((col3 <= 22 AND col3 > 66 AND col0 >= 67) OR ((col0 > 1) AND col1 >= 35.84 AND (col3 <= 16) AND col0 >= 43 AND col1 < 93.6)))) OR ((col0 >= 21))) AND ((col3 > 82)) OR col4 < 81.46 OR col0 < 8 OR col0 <= 25 AND ((col0 > 44 AND col4 <= 86.46 AND (col4 < 91.99)) OR col0 >= 19 AND col1 > 8.12) OR (col0 IS NULL))) AND col4 < 93.6 AND ((col1 < 74.7)) AND ((col0 > 77))) AND col4 > 1.24)) AND (col3 < 81) OR col3 >= 68)
----
8

statement ok
DELETE FROM tab0 WHERE col1 > 99.29

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

query I rowsort label-180
SELECT pk FROM tab0 WHERE NOT (col1 > 99.29)
----
8

statement ok
DELETE FROM tab1 WHERE col1 > 99.29

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

query I rowsort label-180
SELECT pk FROM tab1 WHERE NOT (col1 > 99.29)
----
8

statement ok
DELETE FROM tab2 WHERE col1 > 99.29

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

query I rowsort label-180
SELECT pk FROM tab2 WHERE NOT (col1 > 99.29)
----
8

statement ok
DELETE FROM tab3 WHERE col1 > 99.29

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

query I rowsort label-180
SELECT pk FROM tab3 WHERE NOT (col1 > 99.29)
----
8

statement ok
DELETE FROM tab4 WHERE col1 > 99.29

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

query I rowsort label-180
SELECT pk FROM tab4 WHERE NOT (col1 > 99.29)
----
8

statement ok
DELETE FROM tab0 WHERE col4 = 64.32

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

query I rowsort label-195
SELECT pk FROM tab0 WHERE NOT (col4 = 64.32)
----
8

statement ok
DELETE FROM tab1 WHERE col4 = 64.32

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

query I rowsort label-195
SELECT pk FROM tab1 WHERE NOT (col4 = 64.32)
----
8

statement ok
DELETE FROM tab2 WHERE col4 = 64.32

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

query I rowsort label-195
SELECT pk FROM tab2 WHERE NOT (col4 = 64.32)
----
8

statement ok
DELETE FROM tab3 WHERE col4 = 64.32

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

query I rowsort label-195
SELECT pk FROM tab3 WHERE NOT (col4 = 64.32)
----
8

statement ok
DELETE FROM tab4 WHERE col4 = 64.32

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

query I rowsort label-195
SELECT pk FROM tab4 WHERE NOT (col4 = 64.32)
----
8

statement ok
DELETE FROM tab0 WHERE col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL
----

query I rowsort label-210
SELECT pk FROM tab0 WHERE NOT (col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL)
----
8

statement ok
DELETE FROM tab1 WHERE col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL
----

query I rowsort label-210
SELECT pk FROM tab1 WHERE NOT (col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL)
----
8

statement ok
DELETE FROM tab2 WHERE col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL
----

query I rowsort label-210
SELECT pk FROM tab2 WHERE NOT (col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL)
----
8

statement ok
DELETE FROM tab3 WHERE col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL
----

query I rowsort label-210
SELECT pk FROM tab3 WHERE NOT (col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL)
----
8

statement ok
DELETE FROM tab4 WHERE col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL
----

query I rowsort label-210
SELECT pk FROM tab4 WHERE NOT (col4 = 40.53 AND (((((((col0 = 54) AND col4 < 62.74))) AND col3 IS NULL OR col3 = 63 AND col4 <= 23.60))) OR col3 IS NULL)
----
8

statement ok
DELETE FROM tab0 WHERE ((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41
----

query I rowsort label-225
SELECT pk FROM tab0 WHERE NOT (((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41)
----
8

statement ok
DELETE FROM tab1 WHERE ((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41
----

query I rowsort label-225
SELECT pk FROM tab1 WHERE NOT (((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41)
----
8

statement ok
DELETE FROM tab2 WHERE ((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41
----

query I rowsort label-225
SELECT pk FROM tab2 WHERE NOT (((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41)
----
8

statement ok
DELETE FROM tab3 WHERE ((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41
----

query I rowsort label-225
SELECT pk FROM tab3 WHERE NOT (((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41)
----
8

statement ok
DELETE FROM tab4 WHERE ((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41
----

query I rowsort label-225
SELECT pk FROM tab4 WHERE NOT (((((col4 < 56.2)) AND col1 > 59.21 OR col0 >= 5) AND (((col4 = 52.57))) AND (col0 < 16) OR (col1 = 88.63)) OR col1 < 49.41)
----
8

statement ok
DELETE FROM tab0 WHERE col3 > 94

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

query I rowsort label-240
SELECT pk FROM tab0 WHERE NOT (col3 > 94)
----
8

statement ok
DELETE FROM tab1 WHERE col3 > 94

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

query I rowsort label-240
SELECT pk FROM tab1 WHERE NOT (col3 > 94)
----
8

statement ok
DELETE FROM tab2 WHERE col3 > 94

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

query I rowsort label-240
SELECT pk FROM tab2 WHERE NOT (col3 > 94)
----
8

statement ok
DELETE FROM tab3 WHERE col3 > 94

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

query I rowsort label-240
SELECT pk FROM tab3 WHERE NOT (col3 > 94)
----
8

statement ok
DELETE FROM tab4 WHERE col3 > 94

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

query I rowsort label-240
SELECT pk FROM tab4 WHERE NOT (col3 > 94)
----
8

statement ok
DELETE FROM tab0 WHERE (((col0 >= 34 AND col3 < 95 OR ((col0 >= 25)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 >= 34 AND col3 < 95 OR ((col0 >= 25)))))
----

query I rowsort label-255
SELECT pk FROM tab0 WHERE NOT ((((col0 >= 34 AND col3 < 95 OR ((col0 >= 25))))))
----

statement ok
DELETE FROM tab1 WHERE (((col0 >= 34 AND col3 < 95 OR ((col0 >= 25)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 >= 34 AND col3 < 95 OR ((col0 >= 25)))))
----

query I rowsort label-255
SELECT pk FROM tab1 WHERE NOT ((((col0 >= 34 AND col3 < 95 OR ((col0 >= 25))))))
----

statement ok
DELETE FROM tab2 WHERE (((col0 >= 34 AND col3 < 95 OR ((col0 >= 25)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 >= 34 AND col3 < 95 OR ((col0 >= 25)))))
----

query I rowsort label-255
SELECT pk FROM tab2 WHERE NOT ((((col0 >= 34 AND col3 < 95 OR ((col0 >= 25))))))
----

statement ok
DELETE FROM tab3 WHERE (((col0 >= 34 AND col3 < 95 OR ((col0 >= 25)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 >= 34 AND col3 < 95 OR ((col0 >= 25)))))
----

query I rowsort label-255
SELECT pk FROM tab3 WHERE NOT ((((col0 >= 34 AND col3 < 95 OR ((col0 >= 25))))))
----

statement ok
DELETE FROM tab4 WHERE (((col0 >= 34 AND col3 < 95 OR ((col0 >= 25)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 >= 34 AND col3 < 95 OR ((col0 >= 25)))))
----

query I rowsort label-255
SELECT pk FROM tab4 WHERE NOT ((((col0 >= 34 AND col3 < 95 OR ((col0 >= 25))))))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,1,94.5,'uvpmw',54,35.7,'gvrax')

statement ok
INSERT INTO tab0 VALUES(1,24,81.42,'yvsgd',76,5.78,'dtevv')

statement ok
INSERT INTO tab0 VALUES(2,8,98.93,'arfbw',91,42.56,'cfjao')

statement ok
INSERT INTO tab0 VALUES(3,27,40.28,'hkjhd',13,22.66,'tbijs')

statement ok
INSERT INTO tab0 VALUES(4,25,95.43,'hawtd',4,70.85,'fvgnc')

statement ok
INSERT INTO tab0 VALUES(5,74,51.13,'daapj',42,74.5,'chjtz')

statement ok
INSERT INTO tab0 VALUES(6,44,22.61,'oxwwt',78,95.94,'veely')

statement ok
INSERT INTO tab0 VALUES(7,61,47.17,'dzezt',0,82.59,'nrruj')

statement ok
INSERT INTO tab0 VALUES(8,68,12.81,'evwpo',98,83.10,'jgime')

statement ok
INSERT INTO tab0 VALUES(9,89,56.86,'dbtzz',23,57.20,'naeeh')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 >= 64.22

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

query I rowsort label-270
SELECT pk FROM tab0 WHERE NOT (col4 >= 64.22)
----
0
1
2
3
9

statement ok
DELETE FROM tab1 WHERE col4 >= 64.22

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

query I rowsort label-270
SELECT pk FROM tab1 WHERE NOT (col4 >= 64.22)
----
0
1
2
3
9

statement ok
DELETE FROM tab2 WHERE col4 >= 64.22

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

query I rowsort label-270
SELECT pk FROM tab2 WHERE NOT (col4 >= 64.22)
----
0
1
2
3
9

statement ok
DELETE FROM tab3 WHERE col4 >= 64.22

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

query I rowsort label-270
SELECT pk FROM tab3 WHERE NOT (col4 >= 64.22)
----
0
1
2
3
9

statement ok
DELETE FROM tab4 WHERE col4 >= 64.22

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

query I rowsort label-270
SELECT pk FROM tab4 WHERE NOT (col4 >= 64.22)
----
0
1
2
3
9

statement ok
DELETE FROM tab0 WHERE col1 >= 87.71

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

query I rowsort label-285
SELECT pk FROM tab0 WHERE NOT (col1 >= 87.71)
----
1
3
9

statement ok
DELETE FROM tab1 WHERE col1 >= 87.71

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

query I rowsort label-285
SELECT pk FROM tab1 WHERE NOT (col1 >= 87.71)
----
1
3
9

statement ok
DELETE FROM tab2 WHERE col1 >= 87.71

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

query I rowsort label-285
SELECT pk FROM tab2 WHERE NOT (col1 >= 87.71)
----
1
3
9

statement ok
DELETE FROM tab3 WHERE col1 >= 87.71

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

query I rowsort label-285
SELECT pk FROM tab3 WHERE NOT (col1 >= 87.71)
----
1
3
9

statement ok
DELETE FROM tab4 WHERE col1 >= 87.71

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

query I rowsort label-285
SELECT pk FROM tab4 WHERE NOT (col1 >= 87.71)
----
1
3
9

statement ok
DELETE FROM tab0 WHERE col3 > 91

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

query I rowsort label-300
SELECT pk FROM tab0 WHERE NOT (col3 > 91)
----
1
3
9

statement ok
DELETE FROM tab1 WHERE col3 > 91

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

query I rowsort label-300
SELECT pk FROM tab1 WHERE NOT (col3 > 91)
----
1
3
9

statement ok
DELETE FROM tab2 WHERE col3 > 91

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

query I rowsort label-300
SELECT pk FROM tab2 WHERE NOT (col3 > 91)
----
1
3
9

statement ok
DELETE FROM tab3 WHERE col3 > 91

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

query I rowsort label-300
SELECT pk FROM tab3 WHERE NOT (col3 > 91)
----
1
3
9

statement ok
DELETE FROM tab4 WHERE col3 > 91

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

query I rowsort label-300
SELECT pk FROM tab4 WHERE NOT (col3 > 91)
----
1
3
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-315
SELECT pk FROM tab0 WHERE NOT (col0 > 57)
----
1
3

statement ok
DELETE FROM tab1 WHERE col0 > 57

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

query I rowsort label-315
SELECT pk FROM tab1 WHERE NOT (col0 > 57)
----
1
3

statement ok
DELETE FROM tab2 WHERE col0 > 57

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

query I rowsort label-315
SELECT pk FROM tab2 WHERE NOT (col0 > 57)
----
1
3

statement ok
DELETE FROM tab3 WHERE col0 > 57

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

query I rowsort label-315
SELECT pk FROM tab3 WHERE NOT (col0 > 57)
----
1
3

statement ok
DELETE FROM tab4 WHERE col0 > 57

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

query I rowsort label-315
SELECT pk FROM tab4 WHERE NOT (col0 > 57)
----
1
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,9,94.75,'xdjca',93,51.66,'ohixj')

statement ok
INSERT INTO tab0 VALUES(1,14,72.10,'mnbzk',15,75.96,'ptpqp')

statement ok
INSERT INTO tab0 VALUES(2,67,61.84,'dnubn',4,7.21,'pdvop')

statement ok
INSERT INTO tab0 VALUES(3,17,73.8,'hltww',19,26.48,'ejhta')

statement ok
INSERT INTO tab0 VALUES(4,61,69.38,'bsxhh',23,91.37,'jzmtt')

statement ok
INSERT INTO tab0 VALUES(5,57,24.87,'vswkn',99,11.7,'iftlj')

statement ok
INSERT INTO tab0 VALUES(6,39,92.37,'wgjyz',59,98.56,'xdwgx')

statement ok
INSERT INTO tab0 VALUES(7,27,63.54,'cnzde',60,39.71,'htvhi')

statement ok
INSERT INTO tab0 VALUES(8,42,33.97,'ldsxk',14,52.36,'rfgkg')

statement ok
INSERT INTO tab0 VALUES(9,15,58.33,'rlndn',0,47.54,'wwemn')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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_4 ON tab2 (col4,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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 >= 70

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

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

statement ok
DELETE FROM tab1 WHERE col0 >= 70

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

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

statement ok
DELETE FROM tab2 WHERE col0 >= 70

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

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

statement ok
DELETE FROM tab3 WHERE col0 >= 70

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

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

statement ok
DELETE FROM tab4 WHERE col0 >= 70

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

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

statement ok
DELETE FROM tab0 WHERE (col0 >= 1 OR col4 = 12.7)

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

query I rowsort label-345
SELECT pk FROM tab0 WHERE NOT ((col0 >= 1 OR col4 = 12.7))
----

statement ok
DELETE FROM tab1 WHERE (col0 >= 1 OR col4 = 12.7)

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

query I rowsort label-345
SELECT pk FROM tab1 WHERE NOT ((col0 >= 1 OR col4 = 12.7))
----

statement ok
DELETE FROM tab2 WHERE (col0 >= 1 OR col4 = 12.7)

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

query I rowsort label-345
SELECT pk FROM tab2 WHERE NOT ((col0 >= 1 OR col4 = 12.7))
----

statement ok
DELETE FROM tab3 WHERE (col0 >= 1 OR col4 = 12.7)

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

query I rowsort label-345
SELECT pk FROM tab3 WHERE NOT ((col0 >= 1 OR col4 = 12.7))
----

statement ok
DELETE FROM tab4 WHERE (col0 >= 1 OR col4 = 12.7)

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

query I rowsort label-345
SELECT pk FROM tab4 WHERE NOT ((col0 >= 1 OR col4 = 12.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,2,66.10,'tjzys',22,36.73,'yvuzn')

statement ok
INSERT INTO tab0 VALUES(1,22,95.81,'yhruc',6,68.73,'kylpy')

statement ok
INSERT INTO tab0 VALUES(2,14,75.59,'tryrs',51,53.63,'gafun')

statement ok
INSERT INTO tab0 VALUES(3,30,36.80,'dywzc',17,99.43,'rfvzt')

statement ok
INSERT INTO tab0 VALUES(4,4,68.1,'qgnlq',77,82.15,'stcrv')

statement ok
INSERT INTO tab0 VALUES(5,11,34.60,'faxvx',74,57.45,'qnvdk')

statement ok
INSERT INTO tab0 VALUES(6,34,84.39,'pqdjo',91,69.21,'wpbda')

statement ok
INSERT INTO tab0 VALUES(7,18,65.26,'iesqu',8,70.20,'gbcjd')

statement ok
INSERT INTO tab0 VALUES(8,43,32.77,'uvjza',67,24.71,'ekugd')

statement ok
INSERT INTO tab0 VALUES(9,78,67.82,'oolgm',31,29.13,'nilmr')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,8,21.16,'kmgqv',23,48.5,'quzen')

statement ok
INSERT INTO tab0 VALUES(1,11,83.67,'akwsb',68,40.37,'bwqyt')

statement ok
INSERT INTO tab0 VALUES(2,91,96.76,'ejsms',20,67.40,'myrwb')

statement ok
INSERT INTO tab0 VALUES(3,36,98.14,'yiodv',35,63.4,'mlmfi')

statement ok
INSERT INTO tab0 VALUES(4,50,84.93,'jkmqm',42,49.61,'llebh')

statement ok
INSERT INTO tab0 VALUES(5,61,63.68,'zzuno',53,91.95,'cyhdj')

statement ok
INSERT INTO tab0 VALUES(6,42,28.56,'pzlkg',74,71.60,'czjhy')

statement ok
INSERT INTO tab0 VALUES(7,15,12.48,'uttur',22,41.86,'vqpii')

statement ok
INSERT INTO tab0 VALUES(8,69,54.19,'olxjr',37,89.95,'whlhd')

statement ok
INSERT INTO tab0 VALUES(9,70,59.42,'zytce',88,6.15,'trgnc')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

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

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 > 76

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

query I rowsort label-360
SELECT pk FROM tab0 WHERE NOT (col3 > 76)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab1 WHERE col3 > 76

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

query I rowsort label-360
SELECT pk FROM tab1 WHERE NOT (col3 > 76)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab2 WHERE col3 > 76

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

query I rowsort label-360
SELECT pk FROM tab2 WHERE NOT (col3 > 76)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab3 WHERE col3 > 76

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

query I rowsort label-360
SELECT pk FROM tab3 WHERE NOT (col3 > 76)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab4 WHERE col3 > 76

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

query I rowsort label-360
SELECT pk FROM tab4 WHERE NOT (col3 > 76)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab0 WHERE col1 < 99.76

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

query I rowsort label-375
SELECT pk FROM tab0 WHERE NOT (col1 < 99.76)
----

statement ok
DELETE FROM tab1 WHERE col1 < 99.76

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

query I rowsort label-375
SELECT pk FROM tab1 WHERE NOT (col1 < 99.76)
----

statement ok
DELETE FROM tab2 WHERE col1 < 99.76

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

query I rowsort label-375
SELECT pk FROM tab2 WHERE NOT (col1 < 99.76)
----

statement ok
DELETE FROM tab3 WHERE col1 < 99.76

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

query I rowsort label-375
SELECT pk FROM tab3 WHERE NOT (col1 < 99.76)
----

statement ok
DELETE FROM tab4 WHERE col1 < 99.76

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

query I rowsort label-375
SELECT pk FROM tab4 WHERE NOT (col1 < 99.76)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,20,62.63,'rcgnd',1,95.69,'hxnbh')

statement ok
INSERT INTO tab0 VALUES(1,92,94.57,'gcnzb',75,53.11,'yphet')

statement ok
INSERT INTO tab0 VALUES(2,48,91.53,'gvbrq',95,19.48,'odrcy')

statement ok
INSERT INTO tab0 VALUES(3,36,12.70,'lesow',23,4.37,'utemo')

statement ok
INSERT INTO tab0 VALUES(4,13,87.3,'dfxqn',89,26.18,'soiev')

statement ok
INSERT INTO tab0 VALUES(5,58,85.42,'bejbu',99,68.31,'lghfi')

statement ok
INSERT INTO tab0 VALUES(6,83,71.79,'qrujx',50,45.25,'sqiej')

statement ok
INSERT INTO tab0 VALUES(7,49,73.23,'yxhmu',40,61.72,'tnoyu')

statement ok
INSERT INTO tab0 VALUES(8,69,40.11,'bndap',84,79.78,'nwqen')

statement ok
INSERT INTO tab0 VALUES(9,35,11.25,'xckej',24,76.1,'syfhe')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0)

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

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

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

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

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 < 16.41)

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

query I rowsort label-390
SELECT pk FROM tab0 WHERE NOT ((col4 < 16.41))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab1 WHERE (col4 < 16.41)

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

query I rowsort label-390
SELECT pk FROM tab1 WHERE NOT ((col4 < 16.41))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab2 WHERE (col4 < 16.41)

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

query I rowsort label-390
SELECT pk FROM tab2 WHERE NOT ((col4 < 16.41))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab3 WHERE (col4 < 16.41)

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

query I rowsort label-390
SELECT pk FROM tab3 WHERE NOT ((col4 < 16.41))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab4 WHERE (col4 < 16.41)

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

query I rowsort label-390
SELECT pk FROM tab4 WHERE NOT ((col4 < 16.41))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab0 WHERE (col4 > 35.41)

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

query I rowsort label-405
SELECT pk FROM tab0 WHERE NOT ((col4 > 35.41))
----
2
4

statement ok
DELETE FROM tab1 WHERE (col4 > 35.41)

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

query I rowsort label-405
SELECT pk FROM tab1 WHERE NOT ((col4 > 35.41))
----
2
4

statement ok
DELETE FROM tab2 WHERE (col4 > 35.41)

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

query I rowsort label-405
SELECT pk FROM tab2 WHERE NOT ((col4 > 35.41))
----
2
4

statement ok
DELETE FROM tab3 WHERE (col4 > 35.41)

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

query I rowsort label-405
SELECT pk FROM tab3 WHERE NOT ((col4 > 35.41))
----
2
4

statement ok
DELETE FROM tab4 WHERE (col4 > 35.41)

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

query I rowsort label-405
SELECT pk FROM tab4 WHERE NOT ((col4 > 35.41))
----
2
4

statement ok
DELETE FROM tab0 WHERE col1 > 80.24

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

query I rowsort label-420
SELECT pk FROM tab0 WHERE NOT (col1 > 80.24)
----

statement ok
DELETE FROM tab1 WHERE col1 > 80.24

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

query I rowsort label-420
SELECT pk FROM tab1 WHERE NOT (col1 > 80.24)
----

statement ok
DELETE FROM tab2 WHERE col1 > 80.24

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

query I rowsort label-420
SELECT pk FROM tab2 WHERE NOT (col1 > 80.24)
----

statement ok
DELETE FROM tab3 WHERE col1 > 80.24

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

query I rowsort label-420
SELECT pk FROM tab3 WHERE NOT (col1 > 80.24)
----

statement ok
DELETE FROM tab4 WHERE col1 > 80.24

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

query I rowsort label-420
SELECT pk FROM tab4 WHERE NOT (col1 > 80.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,55,0.12,'acooq',50,14.3,'ibcqq')

statement ok
INSERT INTO tab0 VALUES(1,88,73.51,'sojpm',31,97.88,'rqjyr')

statement ok
INSERT INTO tab0 VALUES(2,25,60.30,'ijcgq',5,93.1,'qpmly')

statement ok
INSERT INTO tab0 VALUES(3,4,33.57,'tlnak',87,48.34,'phssh')

statement ok
INSERT INTO tab0 VALUES(4,83,13.98,'fsfbw',42,61.17,'ulkzx')

statement ok
INSERT INTO tab0 VALUES(5,97,82.37,'gvnwf',43,99.80,'nvplo')

statement ok
INSERT INTO tab0 VALUES(6,26,94.41,'duzyn',40,6.15,'dupgp')

statement ok
INSERT INTO tab0 VALUES(7,52,87.19,'sobkg',18,20.40,'gbvxg')

statement ok
INSERT INTO tab0 VALUES(8,28,1.87,'pqqnc',59,81.61,'xcaxp')

statement ok
INSERT INTO tab0 VALUES(9,34,79.31,'luxmh',7,46.32,'objlr')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE UNIQUE 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 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25))))
----

query I rowsort label-435
SELECT pk FROM tab0 WHERE NOT ((col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25))))
----

query I rowsort label-435
SELECT pk FROM tab1 WHERE NOT ((col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25))))
----

query I rowsort label-435
SELECT pk FROM tab2 WHERE NOT ((col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25))))
----

query I rowsort label-435
SELECT pk FROM tab3 WHERE NOT ((col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25))))
----

query I rowsort label-435
SELECT pk FROM tab4 WHERE NOT ((col4 IS NULL OR ((col3 > 62))) AND (col1 <= 62.98 AND ((col0 = 8 OR (col3 IN (85,35,96) OR col0 > 25)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51
----

query I rowsort label-450
SELECT pk FROM tab0 WHERE NOT ((((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51
----

query I rowsort label-450
SELECT pk FROM tab1 WHERE NOT ((((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51
----

query I rowsort label-450
SELECT pk FROM tab2 WHERE NOT ((((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51
----

query I rowsort label-450
SELECT pk FROM tab3 WHERE NOT ((((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51
----

query I rowsort label-450
SELECT pk FROM tab4 WHERE NOT ((((col1 <= 77.50 AND col4 IN (46.6)) OR (col3 >= 74) AND col3 IS NULL AND col1 > 91.93 AND ((col0 >= 27 OR col4 > 55.61 OR col3 > 51)) AND col3 >= 85)) AND col3 < 51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col1 > 41.57)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 41.57)
----

query I rowsort label-465
SELECT pk FROM tab0 WHERE NOT ((col1 > 41.57))
----
0
3
4
8

statement ok
DELETE FROM tab1 WHERE (col1 > 41.57)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 41.57)
----

query I rowsort label-465
SELECT pk FROM tab1 WHERE NOT ((col1 > 41.57))
----
0
3
4
8

statement ok
DELETE FROM tab2 WHERE (col1 > 41.57)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 41.57)
----

query I rowsort label-465
SELECT pk FROM tab2 WHERE NOT ((col1 > 41.57))
----
0
3
4
8

statement ok
DELETE FROM tab3 WHERE (col1 > 41.57)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 41.57)
----

query I rowsort label-465
SELECT pk FROM tab3 WHERE NOT ((col1 > 41.57))
----
0
3
4
8

statement ok
DELETE FROM tab4 WHERE (col1 > 41.57)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 41.57)
----

query I rowsort label-465
SELECT pk FROM tab4 WHERE NOT ((col1 > 41.57))
----
0
3
4
8

statement ok
DELETE FROM tab0 WHERE col0 <= 74

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

query I rowsort label-480
SELECT pk FROM tab0 WHERE NOT (col0 <= 74)
----
4

statement ok
DELETE FROM tab1 WHERE col0 <= 74

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

query I rowsort label-480
SELECT pk FROM tab1 WHERE NOT (col0 <= 74)
----
4

statement ok
DELETE FROM tab2 WHERE col0 <= 74

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

query I rowsort label-480
SELECT pk FROM tab2 WHERE NOT (col0 <= 74)
----
4

statement ok
DELETE FROM tab3 WHERE col0 <= 74

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

query I rowsort label-480
SELECT pk FROM tab3 WHERE NOT (col0 <= 74)
----
4

statement ok
DELETE FROM tab4 WHERE col0 <= 74

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

query I rowsort label-480
SELECT pk FROM tab4 WHERE NOT (col0 <= 74)
----
4

statement ok
DELETE FROM tab0 WHERE col4 IN (75.71)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (75.71)
----

query I rowsort label-495
SELECT pk FROM tab0 WHERE NOT (col4 IN (75.71))
----
4

statement ok
DELETE FROM tab1 WHERE col4 IN (75.71)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (75.71)
----

query I rowsort label-495
SELECT pk FROM tab1 WHERE NOT (col4 IN (75.71))
----
4

statement ok
DELETE FROM tab2 WHERE col4 IN (75.71)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (75.71)
----

query I rowsort label-495
SELECT pk FROM tab2 WHERE NOT (col4 IN (75.71))
----
4

statement ok
DELETE FROM tab3 WHERE col4 IN (75.71)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (75.71)
----

query I rowsort label-495
SELECT pk FROM tab3 WHERE NOT (col4 IN (75.71))
----
4

statement ok
DELETE FROM tab4 WHERE col4 IN (75.71)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (75.71)
----

query I rowsort label-495
SELECT pk FROM tab4 WHERE NOT (col4 IN (75.71))
----
4

statement ok
DELETE FROM tab0 WHERE col3 < 8

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

query I rowsort label-510
SELECT pk FROM tab0 WHERE NOT (col3 < 8)
----
4

statement ok
DELETE FROM tab1 WHERE col3 < 8

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

query I rowsort label-510
SELECT pk FROM tab1 WHERE NOT (col3 < 8)
----
4

statement ok
DELETE FROM tab2 WHERE col3 < 8

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

query I rowsort label-510
SELECT pk FROM tab2 WHERE NOT (col3 < 8)
----
4

statement ok
DELETE FROM tab3 WHERE col3 < 8

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

query I rowsort label-510
SELECT pk FROM tab3 WHERE NOT (col3 < 8)
----
4

statement ok
DELETE FROM tab4 WHERE col3 < 8

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

query I rowsort label-510
SELECT pk FROM tab4 WHERE NOT (col3 < 8)
----
4

statement ok
DELETE FROM tab0 WHERE col4 = 47.78

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

query I rowsort label-525
SELECT pk FROM tab0 WHERE NOT (col4 = 47.78)
----
4

statement ok
DELETE FROM tab1 WHERE col4 = 47.78

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

query I rowsort label-525
SELECT pk FROM tab1 WHERE NOT (col4 = 47.78)
----
4

statement ok
DELETE FROM tab2 WHERE col4 = 47.78

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

query I rowsort label-525
SELECT pk FROM tab2 WHERE NOT (col4 = 47.78)
----
4

statement ok
DELETE FROM tab3 WHERE col4 = 47.78

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

query I rowsort label-525
SELECT pk FROM tab3 WHERE NOT (col4 = 47.78)
----
4

statement ok
DELETE FROM tab4 WHERE col4 = 47.78

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

query I rowsort label-525
SELECT pk FROM tab4 WHERE NOT (col4 = 47.78)
----
4

statement ok
DELETE FROM tab0 WHERE col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14))
----

query I rowsort label-540
SELECT pk FROM tab0 WHERE NOT (col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14)))
----
4

statement ok
DELETE FROM tab1 WHERE col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14))
----

query I rowsort label-540
SELECT pk FROM tab1 WHERE NOT (col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14)))
----
4

statement ok
DELETE FROM tab2 WHERE col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14))
----

query I rowsort label-540
SELECT pk FROM tab2 WHERE NOT (col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14)))
----
4

statement ok
DELETE FROM tab3 WHERE col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14))
----

query I rowsort label-540
SELECT pk FROM tab3 WHERE NOT (col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14)))
----
4

statement ok
DELETE FROM tab4 WHERE col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14))
----

query I rowsort label-540
SELECT pk FROM tab4 WHERE NOT (col0 < 45 AND col3 > 9 OR ((col0 < 33 AND col3 > 14)))
----
4

statement ok
DELETE FROM tab0 WHERE col3 > 43

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

query I rowsort label-555
SELECT pk FROM tab0 WHERE NOT (col3 > 43)
----
4

statement ok
DELETE FROM tab1 WHERE col3 > 43

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

query I rowsort label-555
SELECT pk FROM tab1 WHERE NOT (col3 > 43)
----
4

statement ok
DELETE FROM tab2 WHERE col3 > 43

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

query I rowsort label-555
SELECT pk FROM tab2 WHERE NOT (col3 > 43)
----
4

statement ok
DELETE FROM tab3 WHERE col3 > 43

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

query I rowsort label-555
SELECT pk FROM tab3 WHERE NOT (col3 > 43)
----
4

statement ok
DELETE FROM tab4 WHERE col3 > 43

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

query I rowsort label-555
SELECT pk FROM tab4 WHERE NOT (col3 > 43)
----
4

statement ok
DELETE FROM tab0 WHERE col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79)
----

query I rowsort label-570
SELECT pk FROM tab0 WHERE NOT (col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79))
----

statement ok
DELETE FROM tab1 WHERE col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79)
----

query I rowsort label-570
SELECT pk FROM tab1 WHERE NOT (col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79))
----

statement ok
DELETE FROM tab2 WHERE col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79)
----

query I rowsort label-570
SELECT pk FROM tab2 WHERE NOT (col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79))
----

statement ok
DELETE FROM tab3 WHERE col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79)
----

query I rowsort label-570
SELECT pk FROM tab3 WHERE NOT (col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79))
----

statement ok
DELETE FROM tab4 WHERE col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND col3 > 79)
----

query I rowsort label-570
SELECT pk FROM tab4 WHERE NOT (col1 > 35.97 AND (col1 > 36.85) OR col3 >= 92 AND col3 > 64 OR col3 >= 80 OR (col0 BETWEEN 89 AND 69) OR (col0 > 80) OR col3 < 83 AND (col4 <= 50.36 OR ((col0 >= 64)) AND col0 < 27 OR ((col1 < 98.42 OR (((col0 > 43)) AND ((col0 <= 45))) OR col4 >= 73.46)) OR ((col4 > 7.25) OR col3 > 48 OR (col3 > 35) AND col4 < 33.89 OR col1 >= 20.69 OR col3 < 36)) AND (col0 < 36 AND 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,64,30.70,'vpmem',94,5.11,'vetvc')

statement ok
INSERT INTO tab0 VALUES(1,17,97.69,'lgpyq',20,21.90,'mtiqw')

statement ok
INSERT INTO tab0 VALUES(2,45,75.86,'lqtpm',1,29.64,'prrra')

statement ok
INSERT INTO tab0 VALUES(3,26,28.21,'bbkgh',14,4.3,'ilncp')

statement ok
INSERT INTO tab0 VALUES(4,11,5.18,'irsui',64,36.24,'kbsyk')

statement ok
INSERT INTO tab0 VALUES(5,37,6.72,'qlhxh',93,96.7,'vurcn')

statement ok
INSERT INTO tab0 VALUES(6,33,38.46,'jjrfb',99,98.2,'hohmb')

statement ok
INSERT INTO tab0 VALUES(7,40,84.82,'nndkj',43,59.44,'azids')

statement ok
INSERT INTO tab0 VALUES(8,20,65.15,'jgejg',65,65.70,'gkfhi')

statement ok
INSERT INTO tab0 VALUES(9,67,96.81,'chfjx',95,31.21,'yelsr')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4)

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 < 81

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

query I rowsort label-585
SELECT pk FROM tab0 WHERE NOT (col3 < 81)
----
0
5
6
9

statement ok
DELETE FROM tab1 WHERE col3 < 81

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

query I rowsort label-585
SELECT pk FROM tab1 WHERE NOT (col3 < 81)
----
0
5
6
9

statement ok
DELETE FROM tab2 WHERE col3 < 81

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

query I rowsort label-585
SELECT pk FROM tab2 WHERE NOT (col3 < 81)
----
0
5
6
9

statement ok
DELETE FROM tab3 WHERE col3 < 81

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

query I rowsort label-585
SELECT pk FROM tab3 WHERE NOT (col3 < 81)
----
0
5
6
9

statement ok
DELETE FROM tab4 WHERE col3 < 81

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

query I rowsort label-585
SELECT pk FROM tab4 WHERE NOT (col3 < 81)
----
0
5
6
9

statement ok
DELETE FROM tab0 WHERE col3 < 97 AND (col3 IN (42,55,21,23))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 97 AND (col3 IN (42,55,21,23))
----

query I rowsort label-600
SELECT pk FROM tab0 WHERE NOT (col3 < 97 AND (col3 IN (42,55,21,23)))
----
0
5
6
9

statement ok
DELETE FROM tab1 WHERE col3 < 97 AND (col3 IN (42,55,21,23))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 97 AND (col3 IN (42,55,21,23))
----

query I rowsort label-600
SELECT pk FROM tab1 WHERE NOT (col3 < 97 AND (col3 IN (42,55,21,23)))
----
0
5
6
9

statement ok
DELETE FROM tab2 WHERE col3 < 97 AND (col3 IN (42,55,21,23))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 97 AND (col3 IN (42,55,21,23))
----

query I rowsort label-600
SELECT pk FROM tab2 WHERE NOT (col3 < 97 AND (col3 IN (42,55,21,23)))
----
0
5
6
9

statement ok
DELETE FROM tab3 WHERE col3 < 97 AND (col3 IN (42,55,21,23))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 97 AND (col3 IN (42,55,21,23))
----

query I rowsort label-600
SELECT pk FROM tab3 WHERE NOT (col3 < 97 AND (col3 IN (42,55,21,23)))
----
0
5
6
9

statement ok
DELETE FROM tab4 WHERE col3 < 97 AND (col3 IN (42,55,21,23))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 97 AND (col3 IN (42,55,21,23))
----

query I rowsort label-600
SELECT pk FROM tab4 WHERE NOT (col3 < 97 AND (col3 IN (42,55,21,23)))
----
0
5
6
9

statement ok
DELETE FROM tab0 WHERE col0 > 98

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

query I rowsort label-615
SELECT pk FROM tab0 WHERE NOT (col0 > 98)
----
0
5
6
9

statement ok
DELETE FROM tab1 WHERE col0 > 98

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

query I rowsort label-615
SELECT pk FROM tab1 WHERE NOT (col0 > 98)
----
0
5
6
9

statement ok
DELETE FROM tab2 WHERE col0 > 98

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

query I rowsort label-615
SELECT pk FROM tab2 WHERE NOT (col0 > 98)
----
0
5
6
9

statement ok
DELETE FROM tab3 WHERE col0 > 98

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

query I rowsort label-615
SELECT pk FROM tab3 WHERE NOT (col0 > 98)
----
0
5
6
9

statement ok
DELETE FROM tab4 WHERE col0 > 98

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

query I rowsort label-615
SELECT pk FROM tab4 WHERE NOT (col0 > 98)
----
0
5
6
9

statement ok
DELETE FROM tab0 WHERE col0 <= 10

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

query I rowsort label-630
SELECT pk FROM tab0 WHERE NOT (col0 <= 10)
----
0
5
6
9

statement ok
DELETE FROM tab1 WHERE col0 <= 10

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

query I rowsort label-630
SELECT pk FROM tab1 WHERE NOT (col0 <= 10)
----
0
5
6
9

statement ok
DELETE FROM tab2 WHERE col0 <= 10

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

query I rowsort label-630
SELECT pk FROM tab2 WHERE NOT (col0 <= 10)
----
0
5
6
9

statement ok
DELETE FROM tab3 WHERE col0 <= 10

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

query I rowsort label-630
SELECT pk FROM tab3 WHERE NOT (col0 <= 10)
----
0
5
6
9

statement ok
DELETE FROM tab4 WHERE col0 <= 10

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

query I rowsort label-630
SELECT pk FROM tab4 WHERE NOT (col0 <= 10)
----
0
5
6
9

statement ok
DELETE FROM tab0 WHERE col0 < 48

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

query I rowsort label-645
SELECT pk FROM tab0 WHERE NOT (col0 < 48)
----
0
9

statement ok
DELETE FROM tab1 WHERE col0 < 48

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

query I rowsort label-645
SELECT pk FROM tab1 WHERE NOT (col0 < 48)
----
0
9

statement ok
DELETE FROM tab2 WHERE col0 < 48

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

query I rowsort label-645
SELECT pk FROM tab2 WHERE NOT (col0 < 48)
----
0
9

statement ok
DELETE FROM tab3 WHERE col0 < 48

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

query I rowsort label-645
SELECT pk FROM tab3 WHERE NOT (col0 < 48)
----
0
9

statement ok
DELETE FROM tab4 WHERE col0 < 48

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

query I rowsort label-645
SELECT pk FROM tab4 WHERE NOT (col0 < 48)
----
0
9

statement ok
DELETE FROM tab0 WHERE col1 < 93.13 AND ((col0 < 52))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 93.13 AND ((col0 < 52))
----

query I rowsort label-660
SELECT pk FROM tab0 WHERE NOT (col1 < 93.13 AND ((col0 < 52)))
----
0
9

statement ok
DELETE FROM tab1 WHERE col1 < 93.13 AND ((col0 < 52))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 93.13 AND ((col0 < 52))
----

query I rowsort label-660
SELECT pk FROM tab1 WHERE NOT (col1 < 93.13 AND ((col0 < 52)))
----
0
9

statement ok
DELETE FROM tab2 WHERE col1 < 93.13 AND ((col0 < 52))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 93.13 AND ((col0 < 52))
----

query I rowsort label-660
SELECT pk FROM tab2 WHERE NOT (col1 < 93.13 AND ((col0 < 52)))
----
0
9

statement ok
DELETE FROM tab3 WHERE col1 < 93.13 AND ((col0 < 52))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 93.13 AND ((col0 < 52))
----

query I rowsort label-660
SELECT pk FROM tab3 WHERE NOT (col1 < 93.13 AND ((col0 < 52)))
----
0
9

statement ok
DELETE FROM tab4 WHERE col1 < 93.13 AND ((col0 < 52))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 93.13 AND ((col0 < 52))
----

query I rowsort label-660
SELECT pk FROM tab4 WHERE NOT (col1 < 93.13 AND ((col0 < 52)))
----
0
9

statement ok
DELETE FROM tab0 WHERE (((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27)
----

query I rowsort label-675
SELECT pk FROM tab0 WHERE NOT ((((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27))
----
0
9

statement ok
DELETE FROM tab1 WHERE (((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27)
----

query I rowsort label-675
SELECT pk FROM tab1 WHERE NOT ((((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27))
----
0
9

statement ok
DELETE FROM tab2 WHERE (((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27)
----

query I rowsort label-675
SELECT pk FROM tab2 WHERE NOT ((((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27))
----
0
9

statement ok
DELETE FROM tab3 WHERE (((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27)
----

query I rowsort label-675
SELECT pk FROM tab3 WHERE NOT ((((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27))
----
0
9

statement ok
DELETE FROM tab4 WHERE (((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27)
----

query I rowsort label-675
SELECT pk FROM tab4 WHERE NOT ((((col4 > 79.25 OR col3 >= 53 OR ((col0 > 15))) AND col4 > 16.57 OR col1 < 41.63 OR (col0 >= 33) OR (col3 < 67) AND (col4 > 42.49 AND col1 <= 89.95 AND ((col0 >= 98 AND col1 > 46.62 OR (col3 >= 83) AND (col3 > 8))) OR col0 < 63 AND col3 = 71 AND ((col4 IS NULL))) AND (((col4 IS NULL))) AND (col0 < 61) AND (col3 IN (61,77)) AND (col0 <= 53 AND col0 >= 95) OR col3 > 50) AND col1 < 23.75 AND col0 >= 27))
----
0
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,84,21.56,'kdhyg',17,52.61,'uwdwx')

statement ok
INSERT INTO tab0 VALUES(1,27,20.57,'cyzqg',16,78.13,'fwxdy')

statement ok
INSERT INTO tab0 VALUES(2,29,59.34,'brtru',9,12.28,'qvwou')

statement ok
INSERT INTO tab0 VALUES(3,61,15.87,'mnoyc',30,40.78,'bdaxp')

statement ok
INSERT INTO tab0 VALUES(4,88,87.48,'nlzqa',38,76.45,'dlykq')

statement ok
INSERT INTO tab0 VALUES(5,28,8.44,'nwcez',77,77.90,'gdvam')

statement ok
INSERT INTO tab0 VALUES(6,17,60.57,'fguqm',41,53.9,'qzuhc')

statement ok
INSERT INTO tab0 VALUES(7,72,85.88,'qwxmt',35,81.0,'nuuay')

statement ok
INSERT INTO tab0 VALUES(8,51,99.22,'nfedf',36,18.22,'izase')

statement ok
INSERT INTO tab0 VALUES(9,18,1.85,'evnpo',60,11.59,'phrfr')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4)

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69)
----

query I rowsort label-690
SELECT pk FROM tab0 WHERE NOT (col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69)
----

query I rowsort label-690
SELECT pk FROM tab1 WHERE NOT (col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69)
----

query I rowsort label-690
SELECT pk FROM tab2 WHERE NOT (col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69)
----

query I rowsort label-690
SELECT pk FROM tab3 WHERE NOT (col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69)
----

query I rowsort label-690
SELECT pk FROM tab4 WHERE NOT (col3 > 77 OR col0 > 97 OR ((col0 > 4 AND ((col4 > 28.93)))) AND (col3 = 69))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47
----

query I rowsort label-705
SELECT pk FROM tab0 WHERE NOT ((col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47)
----

statement ok
DELETE FROM tab1 WHERE (col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47
----

query I rowsort label-705
SELECT pk FROM tab1 WHERE NOT ((col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47)
----

statement ok
DELETE FROM tab2 WHERE (col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47
----

query I rowsort label-705
SELECT pk FROM tab2 WHERE NOT ((col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47)
----

statement ok
DELETE FROM tab3 WHERE (col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47
----

query I rowsort label-705
SELECT pk FROM tab3 WHERE NOT ((col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47)
----

statement ok
DELETE FROM tab4 WHERE (col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47
----

query I rowsort label-705
SELECT pk FROM tab4 WHERE NOT ((col3 < 55 AND (col0 < 75 OR col3 <= 29 OR col0 < 6 AND ((col0 < 62)))) OR (col3 > 6) OR (col3 = 19) AND col0 BETWEEN 56 AND 47)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,83.69,'xbgfm',77,45.92,'gwgyg')

statement ok
INSERT INTO tab0 VALUES(1,22,0.45,'ozabp',80,62.95,'pnser')

statement ok
INSERT INTO tab0 VALUES(2,7,63.58,'jaclc',34,63.90,'iwvbd')

statement ok
INSERT INTO tab0 VALUES(3,2,57.42,'qjjee',52,9.82,'qquda')

statement ok
INSERT INTO tab0 VALUES(4,74,86.76,'hqtxs',31,13.30,'alkrd')

statement ok
INSERT INTO tab0 VALUES(5,30,34.0,'jswez',66,94.60,'zxiwo')

statement ok
INSERT INTO tab0 VALUES(6,28,25.29,'sdrmd',59,49.75,'rsydb')

statement ok
INSERT INTO tab0 VALUES(7,92,91.61,'rddmb',35,8.72,'mxxzw')

statement ok
INSERT INTO tab0 VALUES(8,25,29.93,'ptrds',49,3.52,'strfe')

statement ok
INSERT INTO tab0 VALUES(9,18,67.31,'qvbrz',8,24.31,'ccidz')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22
----

query I rowsort label-720
SELECT pk FROM tab0 WHERE NOT ((col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22
----

query I rowsort label-720
SELECT pk FROM tab1 WHERE NOT ((col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22
----

query I rowsort label-720
SELECT pk FROM tab2 WHERE NOT ((col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22
----

query I rowsort label-720
SELECT pk FROM tab3 WHERE NOT ((col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22
----

query I rowsort label-720
SELECT pk FROM tab4 WHERE NOT ((col1 > 99.98 AND col4 <= 94.87 AND col1 < 76.62) AND col3 >= 22)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

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

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

query I rowsort label-735
SELECT pk FROM tab0 WHERE NOT ((col0 >= 39))
----
0
1
2
3
5
6
8
9

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

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

query I rowsort label-735
SELECT pk FROM tab1 WHERE NOT ((col0 >= 39))
----
0
1
2
3
5
6
8
9

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

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

query I rowsort label-735
SELECT pk FROM tab2 WHERE NOT ((col0 >= 39))
----
0
1
2
3
5
6
8
9

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

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

query I rowsort label-735
SELECT pk FROM tab3 WHERE NOT ((col0 >= 39))
----
0
1
2
3
5
6
8
9

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

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

query I rowsort label-735
SELECT pk FROM tab4 WHERE NOT ((col0 >= 39))
----
0
1
2
3
5
6
8
9

statement ok
DELETE FROM tab0 WHERE (((col3 < 38)))

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

query I rowsort label-750
SELECT pk FROM tab0 WHERE NOT ((((col3 < 38))))
----
0
1
3
5
6
8

statement ok
DELETE FROM tab1 WHERE (((col3 < 38)))

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

query I rowsort label-750
SELECT pk FROM tab1 WHERE NOT ((((col3 < 38))))
----
0
1
3
5
6
8

statement ok
DELETE FROM tab2 WHERE (((col3 < 38)))

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

query I rowsort label-750
SELECT pk FROM tab2 WHERE NOT ((((col3 < 38))))
----
0
1
3
5
6
8

statement ok
DELETE FROM tab3 WHERE (((col3 < 38)))

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

query I rowsort label-750
SELECT pk FROM tab3 WHERE NOT ((((col3 < 38))))
----
0
1
3
5
6
8

statement ok
DELETE FROM tab4 WHERE (((col3 < 38)))

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

query I rowsort label-750
SELECT pk FROM tab4 WHERE NOT ((((col3 < 38))))
----
0
1
3
5
6
8

statement ok
DELETE FROM tab0 WHERE col0 = 75

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

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

statement ok
DELETE FROM tab1 WHERE col0 = 75

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

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

statement ok
DELETE FROM tab2 WHERE col0 = 75

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

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

statement ok
DELETE FROM tab3 WHERE col0 = 75

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

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

statement ok
DELETE FROM tab4 WHERE col0 = 75

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

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

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,82,60.58,'whwhh',98,90.25,'kgrly')

statement ok
INSERT INTO tab0 VALUES(1,15,27.1,'xfxqh',11,89.82,'bpcan')

statement ok
INSERT INTO tab0 VALUES(2,29,61.72,'vwjtv',10,92.97,'hoaud')

statement ok
INSERT INTO tab0 VALUES(3,93,4.80,'dfery',74,11.75,'utmld')

statement ok
INSERT INTO tab0 VALUES(4,27,53.76,'ckesc',90,42.71,'rlwvx')

statement ok
INSERT INTO tab0 VALUES(5,11,18.72,'dovlq',61,25.2,'gphks')

statement ok
INSERT INTO tab0 VALUES(6,1,87.46,'reszo',22,9.63,'kylad')

statement ok
INSERT INTO tab0 VALUES(7,39,85.61,'pefdx',51,15.36,'lhchs')

statement ok
INSERT INTO tab0 VALUES(8,66,41.72,'bxfgr',82,93.5,'rlunq')

statement ok
INSERT INTO tab0 VALUES(9,37,46.45,'xlmsg',17,94.67,'ymkzl')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC)

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

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 > 49)

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

query I rowsort label-780
SELECT pk FROM tab0 WHERE NOT ((col0 > 49))
----
1
2
4
5
6
7
9

statement ok
DELETE FROM tab1 WHERE (col0 > 49)

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

query I rowsort label-780
SELECT pk FROM tab1 WHERE NOT ((col0 > 49))
----
1
2
4
5
6
7
9

statement ok
DELETE FROM tab2 WHERE (col0 > 49)

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

query I rowsort label-780
SELECT pk FROM tab2 WHERE NOT ((col0 > 49))
----
1
2
4
5
6
7
9

statement ok
DELETE FROM tab3 WHERE (col0 > 49)

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

query I rowsort label-780
SELECT pk FROM tab3 WHERE NOT ((col0 > 49))
----
1
2
4
5
6
7
9

statement ok
DELETE FROM tab4 WHERE (col0 > 49)

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

query I rowsort label-780
SELECT pk FROM tab4 WHERE NOT ((col0 > 49))
----
1
2
4
5
6
7
9

statement ok
DELETE FROM tab0 WHERE ((col1 > 3.10))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 > 3.10))
----

query I rowsort label-795
SELECT pk FROM tab0 WHERE NOT (((col1 > 3.10)))
----

statement ok
DELETE FROM tab1 WHERE ((col1 > 3.10))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 > 3.10))
----

query I rowsort label-795
SELECT pk FROM tab1 WHERE NOT (((col1 > 3.10)))
----

statement ok
DELETE FROM tab2 WHERE ((col1 > 3.10))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 > 3.10))
----

query I rowsort label-795
SELECT pk FROM tab2 WHERE NOT (((col1 > 3.10)))
----

statement ok
DELETE FROM tab3 WHERE ((col1 > 3.10))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 > 3.10))
----

query I rowsort label-795
SELECT pk FROM tab3 WHERE NOT (((col1 > 3.10)))
----

statement ok
DELETE FROM tab4 WHERE ((col1 > 3.10))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 > 3.10))
----

query I rowsort label-795
SELECT pk FROM tab4 WHERE NOT (((col1 > 3.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,66,28.26,'gwcpu',95,70.31,'rzipc')

statement ok
INSERT INTO tab0 VALUES(1,30,89.31,'fhnnn',98,41.44,'ntfhz')

statement ok
INSERT INTO tab0 VALUES(2,88,9.79,'uwmyj',35,48.86,'yzuba')

statement ok
INSERT INTO tab0 VALUES(3,17,99.18,'dzlmr',61,67.3,'funcy')

statement ok
INSERT INTO tab0 VALUES(4,65,56.32,'kfsst',32,71.57,'dvniy')

statement ok
INSERT INTO tab0 VALUES(5,13,79.1,'wxgya',68,39.87,'fsrez')

statement ok
INSERT INTO tab0 VALUES(6,36,83.66,'zqaof',17,72.73,'qtzdu')

statement ok
INSERT INTO tab0 VALUES(7,69,4.87,'ndzaj',15,97.1,'pqkiz')

statement ok
INSERT INTO tab0 VALUES(8,67,20.13,'upgda',49,95.20,'ewihh')

statement ok
INSERT INTO tab0 VALUES(9,63,60.35,'oohxj',23,98.8,'tnglq')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3
----

query I rowsort label-810
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3
----

query I rowsort label-810
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3
----

query I rowsort label-810
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3
----

query I rowsort label-810
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3
----

query I rowsort label-810
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL) OR col1 BETWEEN 49.24 AND 67.23 AND col4 IN (98.56,51.68,52.44,1.55,10.76) AND col3 < 3)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47
----

query I rowsort label-825
SELECT pk FROM tab0 WHERE NOT ((col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47)
----
1
3
5

statement ok
DELETE FROM tab1 WHERE (col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47
----

query I rowsort label-825
SELECT pk FROM tab1 WHERE NOT ((col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47)
----
1
3
5

statement ok
DELETE FROM tab2 WHERE (col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47
----

query I rowsort label-825
SELECT pk FROM tab2 WHERE NOT ((col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47)
----
1
3
5

statement ok
DELETE FROM tab3 WHERE (col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47
----

query I rowsort label-825
SELECT pk FROM tab3 WHERE NOT ((col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47)
----
1
3
5

statement ok
DELETE FROM tab4 WHERE (col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47
----

query I rowsort label-825
SELECT pk FROM tab4 WHERE NOT ((col0 >= 82) OR (col0 = 20) AND col3 <= 32 OR ((col1 < 49.30)) OR col3 <= 47)
----
1
3
5

statement ok
DELETE FROM tab0 WHERE (col3 < 49 AND (((col4 = 56.36))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 49 AND (((col4 = 56.36))))
----

query I rowsort label-840
SELECT pk FROM tab0 WHERE NOT ((col3 < 49 AND (((col4 = 56.36)))))
----
1
3
5

statement ok
DELETE FROM tab1 WHERE (col3 < 49 AND (((col4 = 56.36))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 49 AND (((col4 = 56.36))))
----

query I rowsort label-840
SELECT pk FROM tab1 WHERE NOT ((col3 < 49 AND (((col4 = 56.36)))))
----
1
3
5

statement ok
DELETE FROM tab2 WHERE (col3 < 49 AND (((col4 = 56.36))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 49 AND (((col4 = 56.36))))
----

query I rowsort label-840
SELECT pk FROM tab2 WHERE NOT ((col3 < 49 AND (((col4 = 56.36)))))
----
1
3
5

statement ok
DELETE FROM tab3 WHERE (col3 < 49 AND (((col4 = 56.36))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 49 AND (((col4 = 56.36))))
----

query I rowsort label-840
SELECT pk FROM tab3 WHERE NOT ((col3 < 49 AND (((col4 = 56.36)))))
----
1
3
5

statement ok
DELETE FROM tab4 WHERE (col3 < 49 AND (((col4 = 56.36))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 49 AND (((col4 = 56.36))))
----

query I rowsort label-840
SELECT pk FROM tab4 WHERE NOT ((col3 < 49 AND (((col4 = 56.36)))))
----
1
3
5

statement ok
DELETE FROM tab0 WHERE col0 < 24

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

query I rowsort label-855
SELECT pk FROM tab0 WHERE NOT (col0 < 24)
----
1

statement ok
DELETE FROM tab1 WHERE col0 < 24

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

query I rowsort label-855
SELECT pk FROM tab1 WHERE NOT (col0 < 24)
----
1

statement ok
DELETE FROM tab2 WHERE col0 < 24

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

query I rowsort label-855
SELECT pk FROM tab2 WHERE NOT (col0 < 24)
----
1

statement ok
DELETE FROM tab3 WHERE col0 < 24

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

query I rowsort label-855
SELECT pk FROM tab3 WHERE NOT (col0 < 24)
----
1

statement ok
DELETE FROM tab4 WHERE col0 < 24

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

query I rowsort label-855
SELECT pk FROM tab4 WHERE NOT (col0 < 24)
----
1

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-870
SELECT pk FROM tab0 WHERE NOT ((((col3 IS NULL))))
----
1

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-870
SELECT pk FROM tab1 WHERE NOT ((((col3 IS NULL))))
----
1

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-870
SELECT pk FROM tab2 WHERE NOT ((((col3 IS NULL))))
----
1

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-870
SELECT pk FROM tab3 WHERE NOT ((((col3 IS NULL))))
----
1

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-870
SELECT pk FROM tab4 WHERE NOT ((((col3 IS NULL))))
----
1

statement ok
DELETE FROM tab0 WHERE col3 >= 6

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

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

statement ok
DELETE FROM tab1 WHERE col3 >= 6

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

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

statement ok
DELETE FROM tab2 WHERE col3 >= 6

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

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

statement ok
DELETE FROM tab3 WHERE col3 >= 6

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

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

statement ok
DELETE FROM tab4 WHERE col3 >= 6

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

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

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,91,76.93,'wkhgp',99,7.97,'yhlow')

statement ok
INSERT INTO tab0 VALUES(1,13,23.6,'gbhap',50,17.98,'pkccd')

statement ok
INSERT INTO tab0 VALUES(2,28,45.76,'xcocs',21,59.68,'uvaes')

statement ok
INSERT INTO tab0 VALUES(3,78,46.8,'itfvy',6,85.65,'fpqcj')

statement ok
INSERT INTO tab0 VALUES(4,10,16.43,'snkko',5,16.41,'xievo')

statement ok
INSERT INTO tab0 VALUES(5,84,97.74,'ymyet',46,6.56,'qyjty')

statement ok
INSERT INTO tab0 VALUES(6,93,44.51,'xewnj',87,99.83,'qdbbb')

statement ok
INSERT INTO tab0 VALUES(7,69,86.4,'ivedh',38,1.31,'giuux')

statement ok
INSERT INTO tab0 VALUES(8,99,90.45,'ipkdg',67,32.48,'nulwq')

statement ok
INSERT INTO tab0 VALUES(9,37,24.88,'alfdl',16,95.41,'vvyjb')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC)

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0)

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 (((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4))
----

query I rowsort label-900
SELECT pk FROM tab0 WHERE NOT ((((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4)))
----

statement ok
DELETE FROM tab1 WHERE (((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4))
----

query I rowsort label-900
SELECT pk FROM tab1 WHERE NOT ((((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4)))
----

statement ok
DELETE FROM tab2 WHERE (((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4))
----

query I rowsort label-900
SELECT pk FROM tab2 WHERE NOT ((((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4)))
----

statement ok
DELETE FROM tab3 WHERE (((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4))
----

query I rowsort label-900
SELECT pk FROM tab3 WHERE NOT ((((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4)))
----

statement ok
DELETE FROM tab4 WHERE (((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.4))
----

query I rowsort label-900
SELECT pk FROM tab4 WHERE NOT ((((col3 <= 32)) OR (((((col3 > 0))))) AND ((col0 > 2)) OR (col0 < 43) AND (col3 >= 42) AND (col3 >= 58) AND col3 < 27 AND col3 > 84) OR ((col1 <= 54.36 OR col3 >= 55 OR col4 > 54.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,48,83.95,'djbgv',23,36.8,'iupwn')

statement ok
INSERT INTO tab0 VALUES(1,39,61.38,'rtzqz',67,23.47,'pnhxx')

statement ok
INSERT INTO tab0 VALUES(2,40,15.78,'ackyo',32,25.53,'wpewo')

statement ok
INSERT INTO tab0 VALUES(3,41,69.73,'qqaur',1,83.36,'axcbb')

statement ok
INSERT INTO tab0 VALUES(4,86,82.72,'cahrc',44,78.80,'tcotd')

statement ok
INSERT INTO tab0 VALUES(5,35,62.85,'izhbl',80,46.6,'mewvb')

statement ok
INSERT INTO tab0 VALUES(6,29,74.37,'sbdpg',38,88.37,'tfhfn')

statement ok
INSERT INTO tab0 VALUES(7,53,60.37,'eztxg',21,86.57,'dweqy')

statement ok
INSERT INTO tab0 VALUES(8,95,44.36,'hmkih',69,12.76,'ndbjl')

statement ok
INSERT INTO tab0 VALUES(9,10,49.93,'lymho',19,43.92,'evtmd')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0)

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3)

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26
----

query I rowsort label-915
SELECT pk FROM tab0 WHERE NOT (col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26
----

query I rowsort label-915
SELECT pk FROM tab1 WHERE NOT (col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26
----

query I rowsort label-915
SELECT pk FROM tab2 WHERE NOT (col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26
----

query I rowsort label-915
SELECT pk FROM tab3 WHERE NOT (col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26
----

query I rowsort label-915
SELECT pk FROM tab4 WHERE NOT (col3 >= 92 OR ((((col1 BETWEEN 45.47 AND 21.25 OR col0 > 32)))) AND col0 < 26)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 = 35)

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

query I rowsort label-930
SELECT pk FROM tab0 WHERE NOT ((col0 = 35))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE (col0 = 35)

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

query I rowsort label-930
SELECT pk FROM tab1 WHERE NOT ((col0 = 35))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE (col0 = 35)

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

query I rowsort label-930
SELECT pk FROM tab2 WHERE NOT ((col0 = 35))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE (col0 = 35)

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

query I rowsort label-930
SELECT pk FROM tab3 WHERE NOT ((col0 = 35))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE (col0 = 35)

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

query I rowsort label-930
SELECT pk FROM tab4 WHERE NOT ((col0 = 35))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE ((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99
----

query I rowsort label-945
SELECT pk FROM tab0 WHERE NOT (((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99)
----
0
1
2
8
9

statement ok
DELETE FROM tab1 WHERE ((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99
----

query I rowsort label-945
SELECT pk FROM tab1 WHERE NOT (((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99)
----
0
1
2
8
9

statement ok
DELETE FROM tab2 WHERE ((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99
----

query I rowsort label-945
SELECT pk FROM tab2 WHERE NOT (((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99)
----
0
1
2
8
9

statement ok
DELETE FROM tab3 WHERE ((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99
----

query I rowsort label-945
SELECT pk FROM tab3 WHERE NOT (((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99)
----
0
1
2
8
9

statement ok
DELETE FROM tab4 WHERE ((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99
----

query I rowsort label-945
SELECT pk FROM tab4 WHERE NOT (((col3 IN (57,13,56,61)) OR (col4 > 48.22 AND ((col1 > 28.32)) OR (col0 <= 7))) AND col3 < 99)
----
0
1
2
8
9

statement ok
DELETE FROM tab0 WHERE (col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68))
----

query I rowsort label-960
SELECT pk FROM tab0 WHERE NOT ((col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68)))
----
0
1
2
9

statement ok
DELETE FROM tab1 WHERE (col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68))
----

query I rowsort label-960
SELECT pk FROM tab1 WHERE NOT ((col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68)))
----
0
1
2
9

statement ok
DELETE FROM tab2 WHERE (col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68))
----

query I rowsort label-960
SELECT pk FROM tab2 WHERE NOT ((col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68)))
----
0
1
2
9

statement ok
DELETE FROM tab3 WHERE (col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68))
----

query I rowsort label-960
SELECT pk FROM tab3 WHERE NOT ((col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68)))
----
0
1
2
9

statement ok
DELETE FROM tab4 WHERE (col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68))
----

query I rowsort label-960
SELECT pk FROM tab4 WHERE NOT ((col4 > 67.89 OR col4 < 81.62 AND col0 > 15 AND (((col0 > 87 OR ((col3 >= 43 AND col0 = 50 OR (col3 > 96))) OR col3 <= 24 AND col1 >= 78.47 AND ((col0 IN (99)) AND col4 < 5.90 AND (col0 IN (71,23,97,44,64,50) AND (col0 > 46) AND (col1 BETWEEN 56.61 AND 17.76) OR col0 <= 69 AND col0 IS NULL OR col0 < 56 OR col4 > 24.33)) AND ((col3 > 40 OR ((col1 IS NULL) AND (col4 < 38.57 OR col3 > 33 AND ((col3 < 44))) AND col0 = 9 OR (col0 < 8 AND ((col0 > 43) OR col0 < 48)) AND col4 < 59.64 OR (col1 > 69.85 OR col4 > 1.3 OR col0 <= 51)) AND col3 IN (42) AND ((col0 IS NULL))))))) OR (col3 > 68)))
----
0
1
2
9

statement ok
DELETE FROM tab0 WHERE col3 >= 31 AND col3 <= 25

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

query I rowsort label-975
SELECT pk FROM tab0 WHERE NOT (col3 >= 31 AND col3 <= 25)
----
0
1
2
9

statement ok
DELETE FROM tab1 WHERE col3 >= 31 AND col3 <= 25

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

query I rowsort label-975
SELECT pk FROM tab1 WHERE NOT (col3 >= 31 AND col3 <= 25)
----
0
1
2
9

statement ok
DELETE FROM tab2 WHERE col3 >= 31 AND col3 <= 25

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

query I rowsort label-975
SELECT pk FROM tab2 WHERE NOT (col3 >= 31 AND col3 <= 25)
----
0
1
2
9

statement ok
DELETE FROM tab3 WHERE col3 >= 31 AND col3 <= 25

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

query I rowsort label-975
SELECT pk FROM tab3 WHERE NOT (col3 >= 31 AND col3 <= 25)
----
0
1
2
9

statement ok
DELETE FROM tab4 WHERE col3 >= 31 AND col3 <= 25

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

query I rowsort label-975
SELECT pk FROM tab4 WHERE NOT (col3 >= 31 AND col3 <= 25)
----
0
1
2
9

statement ok
DELETE FROM tab0 WHERE col0 > 99

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

query I rowsort label-990
SELECT pk FROM tab0 WHERE NOT (col0 > 99)
----
0
1
2
9

statement ok
DELETE FROM tab1 WHERE col0 > 99

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

query I rowsort label-990
SELECT pk FROM tab1 WHERE NOT (col0 > 99)
----
0
1
2
9

statement ok
DELETE FROM tab2 WHERE col0 > 99

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

query I rowsort label-990
SELECT pk FROM tab2 WHERE NOT (col0 > 99)
----
0
1
2
9

statement ok
DELETE FROM tab3 WHERE col0 > 99

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

query I rowsort label-990
SELECT pk FROM tab3 WHERE NOT (col0 > 99)
----
0
1
2
9

statement ok
DELETE FROM tab4 WHERE col0 > 99

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

query I rowsort label-990
SELECT pk FROM tab4 WHERE NOT (col0 > 99)
----
0
1
2
9

statement ok
DELETE FROM tab0 WHERE col0 > 96

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

query I rowsort label-1005
SELECT pk FROM tab0 WHERE NOT (col0 > 96)
----
0
1
2
9

statement ok
DELETE FROM tab1 WHERE col0 > 96

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

query I rowsort label-1005
SELECT pk FROM tab1 WHERE NOT (col0 > 96)
----
0
1
2
9

statement ok
DELETE FROM tab2 WHERE col0 > 96

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

query I rowsort label-1005
SELECT pk FROM tab2 WHERE NOT (col0 > 96)
----
0
1
2
9

statement ok
DELETE FROM tab3 WHERE col0 > 96

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

query I rowsort label-1005
SELECT pk FROM tab3 WHERE NOT (col0 > 96)
----
0
1
2
9

statement ok
DELETE FROM tab4 WHERE col0 > 96

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

query I rowsort label-1005
SELECT pk FROM tab4 WHERE NOT (col0 > 96)
----
0
1
2
9

statement ok
DELETE FROM tab0 WHERE col0 IN (68,23,71,15) AND col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (68,23,71,15) AND col3 <= 96
----

query I rowsort label-1020
SELECT pk FROM tab0 WHERE NOT (col0 IN (68,23,71,15) AND col3 <= 96)
----
0
1
2
9

statement ok
DELETE FROM tab1 WHERE col0 IN (68,23,71,15) AND col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (68,23,71,15) AND col3 <= 96
----

query I rowsort label-1020
SELECT pk FROM tab1 WHERE NOT (col0 IN (68,23,71,15) AND col3 <= 96)
----
0
1
2
9

statement ok
DELETE FROM tab2 WHERE col0 IN (68,23,71,15) AND col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (68,23,71,15) AND col3 <= 96
----

query I rowsort label-1020
SELECT pk FROM tab2 WHERE NOT (col0 IN (68,23,71,15) AND col3 <= 96)
----
0
1
2
9

statement ok
DELETE FROM tab3 WHERE col0 IN (68,23,71,15) AND col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (68,23,71,15) AND col3 <= 96
----

query I rowsort label-1020
SELECT pk FROM tab3 WHERE NOT (col0 IN (68,23,71,15) AND col3 <= 96)
----
0
1
2
9

statement ok
DELETE FROM tab4 WHERE col0 IN (68,23,71,15) AND col3 <= 96

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (68,23,71,15) AND col3 <= 96
----

query I rowsort label-1020
SELECT pk FROM tab4 WHERE NOT (col0 IN (68,23,71,15) AND col3 <= 96)
----
0
1
2
9

statement ok
DELETE FROM tab0 WHERE ((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61))))
----

query I rowsort label-1035
SELECT pk FROM tab0 WHERE NOT (((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61)))))
----

statement ok
DELETE FROM tab1 WHERE ((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61))))
----

query I rowsort label-1035
SELECT pk FROM tab1 WHERE NOT (((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61)))))
----

statement ok
DELETE FROM tab2 WHERE ((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61))))
----

query I rowsort label-1035
SELECT pk FROM tab2 WHERE NOT (((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61)))))
----

statement ok
DELETE FROM tab3 WHERE ((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61))))
----

query I rowsort label-1035
SELECT pk FROM tab3 WHERE NOT (((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61)))))
----

statement ok
DELETE FROM tab4 WHERE ((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 61))))
----

query I rowsort label-1035
SELECT pk FROM tab4 WHERE NOT (((col3 IN (76,54,89) AND col3 IN (59,33) OR col1 <= 60.60 AND col4 >= 41.16 AND ((((col0 > 68)))) OR (col0 <= 99) OR (col1 = 31.0) AND col4 < 5.62 OR ((col0 IS NULL AND ((col3 < 84)) AND col0 < 55 AND ((col3 IS NULL)) AND col1 < 25.33 OR (col4 < 90.56) OR (col0 >= 40 OR (col4 >= 18.92)) OR col4 < 3.14 AND ((col1 < 45.55)) AND col3 >= 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,94,19.11,'peuhf',15,49.61,'kjksc')

statement ok
INSERT INTO tab0 VALUES(1,13,27.37,'xfxzg',16,86.96,'sxzpl')

statement ok
INSERT INTO tab0 VALUES(2,84,72.25,'qsxgd',49,30.65,'zcfqu')

statement ok
INSERT INTO tab0 VALUES(3,59,62.55,'hkyji',46,43.79,'uopen')

statement ok
INSERT INTO tab0 VALUES(4,95,96.35,'nsyxs',28,36.9,'wiacm')

statement ok
INSERT INTO tab0 VALUES(5,11,74.67,'dgaeq',58,79.53,'grxid')

statement ok
INSERT INTO tab0 VALUES(6,60,11.7,'lskze',13,11.92,'jopso')

statement ok
INSERT INTO tab0 VALUES(7,79,51.30,'bgpfa',39,56.57,'ehfjt')

statement ok
INSERT INTO tab0 VALUES(8,67,77.88,'hirlw',18,35.91,'jfwln')

statement ok
INSERT INTO tab0 VALUES(9,30,24.78,'fccok',30,77.9,'ijtty')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC)

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

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 (col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80
----

query I rowsort label-1050
SELECT pk FROM tab0 WHERE NOT ((col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80)
----

statement ok
DELETE FROM tab1 WHERE (col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80
----

query I rowsort label-1050
SELECT pk FROM tab1 WHERE NOT ((col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80)
----

statement ok
DELETE FROM tab2 WHERE (col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80
----

query I rowsort label-1050
SELECT pk FROM tab2 WHERE NOT ((col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80)
----

statement ok
DELETE FROM tab3 WHERE (col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80
----

query I rowsort label-1050
SELECT pk FROM tab3 WHERE NOT ((col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80)
----

statement ok
DELETE FROM tab4 WHERE (col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.80
----

query I rowsort label-1050
SELECT pk FROM tab4 WHERE NOT ((col1 >= 40.22 OR col0 = 79 AND col0 < 46 OR (col3 BETWEEN 70 AND 9) OR (col3 < 81)) OR col4 >= 67.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,1,17.2,'uiokb',66,30.20,'fzbbt')

statement ok
INSERT INTO tab0 VALUES(1,61,36.19,'cyftv',11,59.29,'itrlw')

statement ok
INSERT INTO tab0 VALUES(2,77,31.24,'txzwg',99,51.32,'saqvh')

statement ok
INSERT INTO tab0 VALUES(3,58,14.58,'gzlln',45,99.21,'fcynk')

statement ok
INSERT INTO tab0 VALUES(4,42,18.4,'rpbeo',21,27.11,'dfroy')

statement ok
INSERT INTO tab0 VALUES(5,52,6.46,'fpmng',22,93.98,'ehaqf')

statement ok
INSERT INTO tab0 VALUES(6,67,87.37,'yppfl',23,9.29,'qmmna')

statement ok
INSERT INTO tab0 VALUES(7,79,28.56,'cwnyi',48,50.58,'nuara')

statement ok
INSERT INTO tab0 VALUES(8,54,65.74,'gvyzg',25,65.11,'srcbs')

statement ok
INSERT INTO tab0 VALUES(9,2,15.14,'irfsc',56,94.51,'zsumn')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3)

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 < 79

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

query I rowsort label-1065
SELECT pk FROM tab0 WHERE NOT (col0 < 79)
----
7

statement ok
DELETE FROM tab1 WHERE col0 < 79

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

query I rowsort label-1065
SELECT pk FROM tab1 WHERE NOT (col0 < 79)
----
7

statement ok
DELETE FROM tab2 WHERE col0 < 79

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

query I rowsort label-1065
SELECT pk FROM tab2 WHERE NOT (col0 < 79)
----
7

statement ok
DELETE FROM tab3 WHERE col0 < 79

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

query I rowsort label-1065
SELECT pk FROM tab3 WHERE NOT (col0 < 79)
----
7

statement ok
DELETE FROM tab4 WHERE col0 < 79

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

query I rowsort label-1065
SELECT pk FROM tab4 WHERE NOT (col0 < 79)
----
7

statement ok
DELETE FROM tab0 WHERE col1 <= 22.1

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

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

statement ok
DELETE FROM tab1 WHERE col1 <= 22.1

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

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

statement ok
DELETE FROM tab2 WHERE col1 <= 22.1

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

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

statement ok
DELETE FROM tab3 WHERE col1 <= 22.1

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

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

statement ok
DELETE FROM tab4 WHERE col1 <= 22.1

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

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

statement ok
DELETE FROM tab0 WHERE (col3 <= 28 AND col0 IS NULL OR (col1 IS NULL))

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

query I rowsort label-1095
SELECT pk FROM tab0 WHERE NOT ((col3 <= 28 AND col0 IS NULL OR (col1 IS NULL)))
----
7

statement ok
DELETE FROM tab1 WHERE (col3 <= 28 AND col0 IS NULL OR (col1 IS NULL))

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

query I rowsort label-1095
SELECT pk FROM tab1 WHERE NOT ((col3 <= 28 AND col0 IS NULL OR (col1 IS NULL)))
----
7

statement ok
DELETE FROM tab2 WHERE (col3 <= 28 AND col0 IS NULL OR (col1 IS NULL))

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

query I rowsort label-1095
SELECT pk FROM tab2 WHERE NOT ((col3 <= 28 AND col0 IS NULL OR (col1 IS NULL)))
----
7

statement ok
DELETE FROM tab3 WHERE (col3 <= 28 AND col0 IS NULL OR (col1 IS NULL))

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

query I rowsort label-1095
SELECT pk FROM tab3 WHERE NOT ((col3 <= 28 AND col0 IS NULL OR (col1 IS NULL)))
----
7

statement ok
DELETE FROM tab4 WHERE (col3 <= 28 AND col0 IS NULL OR (col1 IS NULL))

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

query I rowsort label-1095
SELECT pk FROM tab4 WHERE NOT ((col3 <= 28 AND col0 IS NULL OR (col1 IS NULL)))
----
7

statement ok
DELETE FROM tab0 WHERE (((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51)))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51)))))))
----

query I rowsort label-1110
SELECT pk FROM tab0 WHERE NOT ((((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51))))))))
----
7

statement ok
DELETE FROM tab1 WHERE (((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51)))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51)))))))
----

query I rowsort label-1110
SELECT pk FROM tab1 WHERE NOT ((((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51))))))))
----
7

statement ok
DELETE FROM tab2 WHERE (((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51)))))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51)))))))
----

query I rowsort label-1110
SELECT pk FROM tab2 WHERE NOT ((((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51))))))))
----
7

statement ok
DELETE FROM tab3 WHERE (((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51)))))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51)))))))
----

query I rowsort label-1110
SELECT pk FROM tab3 WHERE NOT ((((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51))))))))
----
7

statement ok
DELETE FROM tab4 WHERE (((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51)))))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51)))))))
----

query I rowsort label-1110
SELECT pk FROM tab4 WHERE NOT ((((((col4 >= 54.24 AND col0 < 99 AND col3 >= 81) OR (((col0 > 52) AND col0 = 13)) OR col4 = 38.15 AND (col3 > 10 OR col0 < 90) AND col1 >= 49.27 OR (col0 IN (6,58,91,97))) AND col0 <= 49 OR col3 < 7 AND (col1 >= 5.31)))) OR col3 > 84 OR ((col1 BETWEEN 65.40 AND 27.70) OR col0 > 81 AND col0 > 71) AND ((((col0 >= 18 AND (((col0 = 51))))))))
----
7

statement ok
DELETE FROM tab0 WHERE col0 <= 75

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

query I rowsort label-1125
SELECT pk FROM tab0 WHERE NOT (col0 <= 75)
----
7

statement ok
DELETE FROM tab1 WHERE col0 <= 75

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

query I rowsort label-1125
SELECT pk FROM tab1 WHERE NOT (col0 <= 75)
----
7

statement ok
DELETE FROM tab2 WHERE col0 <= 75

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

query I rowsort label-1125
SELECT pk FROM tab2 WHERE NOT (col0 <= 75)
----
7

statement ok
DELETE FROM tab3 WHERE col0 <= 75

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

query I rowsort label-1125
SELECT pk FROM tab3 WHERE NOT (col0 <= 75)
----
7

statement ok
DELETE FROM tab4 WHERE col0 <= 75

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

query I rowsort label-1125
SELECT pk FROM tab4 WHERE NOT (col0 <= 75)
----
7

statement ok
DELETE FROM tab0 WHERE (col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5)
----

query I rowsort label-1140
SELECT pk FROM tab0 WHERE NOT ((col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5))
----

statement ok
DELETE FROM tab1 WHERE (col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5)
----

query I rowsort label-1140
SELECT pk FROM tab1 WHERE NOT ((col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5))
----

statement ok
DELETE FROM tab2 WHERE (col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5)
----

query I rowsort label-1140
SELECT pk FROM tab2 WHERE NOT ((col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5))
----

statement ok
DELETE FROM tab3 WHERE (col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5)
----

query I rowsort label-1140
SELECT pk FROM tab3 WHERE NOT ((col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5))
----

statement ok
DELETE FROM tab4 WHERE (col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.5)
----

query I rowsort label-1140
SELECT pk FROM tab4 WHERE NOT ((col4 < 57.97 OR col4 > 26.22 AND col4 IS NULL OR (col1 < 25.76) OR (col1 < 58.35) AND (col0 <= 42) AND ((col4 IN (76.98,73.27,28.63,5.61,56.2,59.53))) AND ((col0 > 4)) OR col3 <= 3 AND col0 > 35 OR col1 >= 77.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,42,38.91,'xhjts',37,19.52,'pnfrx')

statement ok
INSERT INTO tab0 VALUES(1,9,50.93,'dycdu',46,81.7,'noowr')

statement ok
INSERT INTO tab0 VALUES(2,91,67.80,'mbsgq',92,11.73,'deblx')

statement ok
INSERT INTO tab0 VALUES(3,16,13.68,'prsdw',34,32.75,'xzkyv')

statement ok
INSERT INTO tab0 VALUES(4,55,71.96,'tibhw',36,58.62,'rqbig')

statement ok
INSERT INTO tab0 VALUES(5,41,52.26,'fcxuh',75,57.17,'fbxfa')

statement ok
INSERT INTO tab0 VALUES(6,75,49.65,'dxchp',58,16.74,'vjzau')

statement ok
INSERT INTO tab0 VALUES(7,45,7.74,'zmxlx',31,0.23,'bfzbm')

statement ok
INSERT INTO tab0 VALUES(8,33,79.80,'eqrtl',90,20.31,'ftzpa')

statement ok
INSERT INTO tab0 VALUES(9,31,94.88,'wdhve',1,86.46,'bvxaw')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1)

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

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

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 > 78 AND (col1 >= 50.12)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 78 AND (col1 >= 50.12)
----

query I rowsort label-1155
SELECT pk FROM tab0 WHERE NOT (col3 > 78 AND (col1 >= 50.12))
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col3 > 78 AND (col1 >= 50.12)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 78 AND (col1 >= 50.12)
----

query I rowsort label-1155
SELECT pk FROM tab1 WHERE NOT (col3 > 78 AND (col1 >= 50.12))
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col3 > 78 AND (col1 >= 50.12)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 78 AND (col1 >= 50.12)
----

query I rowsort label-1155
SELECT pk FROM tab2 WHERE NOT (col3 > 78 AND (col1 >= 50.12))
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col3 > 78 AND (col1 >= 50.12)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 78 AND (col1 >= 50.12)
----

query I rowsort label-1155
SELECT pk FROM tab3 WHERE NOT (col3 > 78 AND (col1 >= 50.12))
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col3 > 78 AND (col1 >= 50.12)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 78 AND (col1 >= 50.12)
----

query I rowsort label-1155
SELECT pk FROM tab4 WHERE NOT (col3 > 78 AND (col1 >= 50.12))
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab0 WHERE col4 > 83.4

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

query I rowsort label-1170
SELECT pk FROM tab0 WHERE NOT (col4 > 83.4)
----
0
1
3
4
5
6
7

statement ok
DELETE FROM tab1 WHERE col4 > 83.4

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

query I rowsort label-1170
SELECT pk FROM tab1 WHERE NOT (col4 > 83.4)
----
0
1
3
4
5
6
7

statement ok
DELETE FROM tab2 WHERE col4 > 83.4

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

query I rowsort label-1170
SELECT pk FROM tab2 WHERE NOT (col4 > 83.4)
----
0
1
3
4
5
6
7

statement ok
DELETE FROM tab3 WHERE col4 > 83.4

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

query I rowsort label-1170
SELECT pk FROM tab3 WHERE NOT (col4 > 83.4)
----
0
1
3
4
5
6
7

statement ok
DELETE FROM tab4 WHERE col4 > 83.4

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

query I rowsort label-1170
SELECT pk FROM tab4 WHERE NOT (col4 > 83.4)
----
0
1
3
4
5
6
7

statement ok
DELETE FROM tab0 WHERE (col0 <= 38)

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

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

statement ok
DELETE FROM tab1 WHERE (col0 <= 38)

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

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

statement ok
DELETE FROM tab2 WHERE (col0 <= 38)

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

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

statement ok
DELETE FROM tab3 WHERE (col0 <= 38)

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

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

statement ok
DELETE FROM tab4 WHERE (col0 <= 38)

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

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

statement ok
DELETE FROM tab0 WHERE col4 >= 54.1

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

query I rowsort label-1200
SELECT pk FROM tab0 WHERE NOT (col4 >= 54.1)
----
0
6
7

statement ok
DELETE FROM tab1 WHERE col4 >= 54.1

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

query I rowsort label-1200
SELECT pk FROM tab1 WHERE NOT (col4 >= 54.1)
----
0
6
7

statement ok
DELETE FROM tab2 WHERE col4 >= 54.1

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

query I rowsort label-1200
SELECT pk FROM tab2 WHERE NOT (col4 >= 54.1)
----
0
6
7

statement ok
DELETE FROM tab3 WHERE col4 >= 54.1

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

query I rowsort label-1200
SELECT pk FROM tab3 WHERE NOT (col4 >= 54.1)
----
0
6
7

statement ok
DELETE FROM tab4 WHERE col4 >= 54.1

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

query I rowsort label-1200
SELECT pk FROM tab4 WHERE NOT (col4 >= 54.1)
----
0
6
7

statement ok
DELETE FROM tab0 WHERE ((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61
----

query I rowsort label-1215
SELECT pk FROM tab0 WHERE NOT (((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61)
----
0
6

statement ok
DELETE FROM tab1 WHERE ((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61
----

query I rowsort label-1215
SELECT pk FROM tab1 WHERE NOT (((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61)
----
0
6

statement ok
DELETE FROM tab2 WHERE ((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61
----

query I rowsort label-1215
SELECT pk FROM tab2 WHERE NOT (((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61)
----
0
6

statement ok
DELETE FROM tab3 WHERE ((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61
----

query I rowsort label-1215
SELECT pk FROM tab3 WHERE NOT (((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61)
----
0
6

statement ok
DELETE FROM tab4 WHERE ((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61
----

query I rowsort label-1215
SELECT pk FROM tab4 WHERE NOT (((col0 <= 2)) OR (((col1 < 20.36))) OR col3 > 61)
----
0
6

statement ok
DELETE FROM tab0 WHERE col0 IN (59,68,74,19,57) AND col1 >= 8.3

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (59,68,74,19,57) AND col1 >= 8.3
----

query I rowsort label-1230
SELECT pk FROM tab0 WHERE NOT (col0 IN (59,68,74,19,57) AND col1 >= 8.3)
----
0
6

statement ok
DELETE FROM tab1 WHERE col0 IN (59,68,74,19,57) AND col1 >= 8.3

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (59,68,74,19,57) AND col1 >= 8.3
----

query I rowsort label-1230
SELECT pk FROM tab1 WHERE NOT (col0 IN (59,68,74,19,57) AND col1 >= 8.3)
----
0
6

statement ok
DELETE FROM tab2 WHERE col0 IN (59,68,74,19,57) AND col1 >= 8.3

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (59,68,74,19,57) AND col1 >= 8.3
----

query I rowsort label-1230
SELECT pk FROM tab2 WHERE NOT (col0 IN (59,68,74,19,57) AND col1 >= 8.3)
----
0
6

statement ok
DELETE FROM tab3 WHERE col0 IN (59,68,74,19,57) AND col1 >= 8.3

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (59,68,74,19,57) AND col1 >= 8.3
----

query I rowsort label-1230
SELECT pk FROM tab3 WHERE NOT (col0 IN (59,68,74,19,57) AND col1 >= 8.3)
----
0
6

statement ok
DELETE FROM tab4 WHERE col0 IN (59,68,74,19,57) AND col1 >= 8.3

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (59,68,74,19,57) AND col1 >= 8.3
----

query I rowsort label-1230
SELECT pk FROM tab4 WHERE NOT (col0 IN (59,68,74,19,57) AND col1 >= 8.3)
----
0
6

statement ok
DELETE FROM tab0 WHERE (((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51
----

query I rowsort label-1245
SELECT pk FROM tab0 WHERE NOT ((((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51)
----
0
6

statement ok
DELETE FROM tab1 WHERE (((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51
----

query I rowsort label-1245
SELECT pk FROM tab1 WHERE NOT ((((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51)
----
0
6

statement ok
DELETE FROM tab2 WHERE (((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51
----

query I rowsort label-1245
SELECT pk FROM tab2 WHERE NOT ((((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51)
----
0
6

statement ok
DELETE FROM tab3 WHERE (((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51
----

query I rowsort label-1245
SELECT pk FROM tab3 WHERE NOT ((((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51)
----
0
6

statement ok
DELETE FROM tab4 WHERE (((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51
----

query I rowsort label-1245
SELECT pk FROM tab4 WHERE NOT ((((col4 < 76.97))) AND col0 IN (90,35,48) OR col1 <= 19.79 AND (col0 IN (51,27,7,39,78,53) AND (col3 IS NULL) AND col4 BETWEEN 56.24 AND 72.70) AND col3 < 51)
----
0
6

statement ok
DELETE FROM tab0 WHERE col0 <= 67

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

query I rowsort label-1260
SELECT pk FROM tab0 WHERE NOT (col0 <= 67)
----
6

statement ok
DELETE FROM tab1 WHERE col0 <= 67

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

query I rowsort label-1260
SELECT pk FROM tab1 WHERE NOT (col0 <= 67)
----
6

statement ok
DELETE FROM tab2 WHERE col0 <= 67

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

query I rowsort label-1260
SELECT pk FROM tab2 WHERE NOT (col0 <= 67)
----
6

statement ok
DELETE FROM tab3 WHERE col0 <= 67

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

query I rowsort label-1260
SELECT pk FROM tab3 WHERE NOT (col0 <= 67)
----
6

statement ok
DELETE FROM tab4 WHERE col0 <= 67

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

query I rowsort label-1260
SELECT pk FROM tab4 WHERE NOT (col0 <= 67)
----
6

statement ok
DELETE FROM tab0 WHERE (col1 <= 66.43)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 <= 66.43)
----

query I rowsort label-1275
SELECT pk FROM tab0 WHERE NOT ((col1 <= 66.43))
----

statement ok
DELETE FROM tab1 WHERE (col1 <= 66.43)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 <= 66.43)
----

query I rowsort label-1275
SELECT pk FROM tab1 WHERE NOT ((col1 <= 66.43))
----

statement ok
DELETE FROM tab2 WHERE (col1 <= 66.43)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 <= 66.43)
----

query I rowsort label-1275
SELECT pk FROM tab2 WHERE NOT ((col1 <= 66.43))
----

statement ok
DELETE FROM tab3 WHERE (col1 <= 66.43)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 <= 66.43)
----

query I rowsort label-1275
SELECT pk FROM tab3 WHERE NOT ((col1 <= 66.43))
----

statement ok
DELETE FROM tab4 WHERE (col1 <= 66.43)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 <= 66.43)
----

query I rowsort label-1275
SELECT pk FROM tab4 WHERE NOT ((col1 <= 66.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,64,77.57,'qrsxc',68,76.72,'nszsp')

statement ok
INSERT INTO tab0 VALUES(1,99,26.54,'nmrbi',96,47.21,'nkqqz')

statement ok
INSERT INTO tab0 VALUES(2,51,14.96,'ootow',74,69.61,'ajwqk')

statement ok
INSERT INTO tab0 VALUES(3,59,99.17,'tllns',77,84.64,'uotyp')

statement ok
INSERT INTO tab0 VALUES(4,73,90.91,'roskz',76,45.76,'irmlk')

statement ok
INSERT INTO tab0 VALUES(5,24,61.1,'uriqt',2,27.78,'eopfv')

statement ok
INSERT INTO tab0 VALUES(6,85,64.93,'qsufl',6,37.50,'tawhf')

statement ok
INSERT INTO tab0 VALUES(7,28,40.45,'sgnhx',27,29.34,'uhqgk')

statement ok
INSERT INTO tab0 VALUES(8,95,33.28,'wcazk',49,15.94,'gvxss')

statement ok
INSERT INTO tab0 VALUES(9,54,4.68,'geasy',65,81.81,'luief')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col1 < 11.60)) AND col1 = 52.90

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 < 11.60)) AND col1 = 52.90
----

query I rowsort label-1290
SELECT pk FROM tab0 WHERE NOT (((col1 < 11.60)) AND col1 = 52.90)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col1 < 11.60)) AND col1 = 52.90

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 < 11.60)) AND col1 = 52.90
----

query I rowsort label-1290
SELECT pk FROM tab1 WHERE NOT (((col1 < 11.60)) AND col1 = 52.90)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col1 < 11.60)) AND col1 = 52.90

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 < 11.60)) AND col1 = 52.90
----

query I rowsort label-1290
SELECT pk FROM tab2 WHERE NOT (((col1 < 11.60)) AND col1 = 52.90)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col1 < 11.60)) AND col1 = 52.90

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 < 11.60)) AND col1 = 52.90
----

query I rowsort label-1290
SELECT pk FROM tab3 WHERE NOT (((col1 < 11.60)) AND col1 = 52.90)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col1 < 11.60)) AND col1 = 52.90

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 < 11.60)) AND col1 = 52.90
----

query I rowsort label-1290
SELECT pk FROM tab4 WHERE NOT (((col1 < 11.60)) AND col1 = 52.90)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col3 < 76)

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

query I rowsort label-1305
SELECT pk FROM tab0 WHERE NOT ((col3 < 76))
----
1
3
4

statement ok
DELETE FROM tab1 WHERE (col3 < 76)

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

query I rowsort label-1305
SELECT pk FROM tab1 WHERE NOT ((col3 < 76))
----
1
3
4

statement ok
DELETE FROM tab2 WHERE (col3 < 76)

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

query I rowsort label-1305
SELECT pk FROM tab2 WHERE NOT ((col3 < 76))
----
1
3
4

statement ok
DELETE FROM tab3 WHERE (col3 < 76)

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

query I rowsort label-1305
SELECT pk FROM tab3 WHERE NOT ((col3 < 76))
----
1
3
4

statement ok
DELETE FROM tab4 WHERE (col3 < 76)

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

query I rowsort label-1305
SELECT pk FROM tab4 WHERE NOT ((col3 < 76))
----
1
3
4

statement ok
DELETE FROM tab0 WHERE (col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21))
----

query I rowsort label-1320
SELECT pk FROM tab0 WHERE NOT ((col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21)))
----

statement ok
DELETE FROM tab1 WHERE (col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21))
----

query I rowsort label-1320
SELECT pk FROM tab1 WHERE NOT ((col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21)))
----

statement ok
DELETE FROM tab2 WHERE (col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21))
----

query I rowsort label-1320
SELECT pk FROM tab2 WHERE NOT ((col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21)))
----

statement ok
DELETE FROM tab3 WHERE (col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21))
----

query I rowsort label-1320
SELECT pk FROM tab3 WHERE NOT ((col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21)))
----

statement ok
DELETE FROM tab4 WHERE (col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21))
----

query I rowsort label-1320
SELECT pk FROM tab4 WHERE NOT ((col1 > 19.13 OR ((col1 = 4.83)) AND (col3 <= 21)))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,3,65.32,'woabx',36,17.90,'nflko')

statement ok
INSERT INTO tab0 VALUES(1,53,78.63,'zlgid',10,92.62,'xbywi')

statement ok
INSERT INTO tab0 VALUES(2,40,0.59,'amxlc',35,68.19,'ocenb')

statement ok
INSERT INTO tab0 VALUES(3,57,69.50,'mblvk',53,31.57,'apcjm')

statement ok
INSERT INTO tab0 VALUES(4,89,46.15,'kofub',85,41.50,'mrary')

statement ok
INSERT INTO tab0 VALUES(5,77,19.37,'rggdq',86,46.9,'zzqkh')

statement ok
INSERT INTO tab0 VALUES(6,84,21.72,'crpsk',11,91.48,'nicae')

statement ok
INSERT INTO tab0 VALUES(7,52,40.9,'igjdk',79,35.45,'eigyb')

statement ok
INSERT INTO tab0 VALUES(8,66,34.30,'iezln',37,60.6,'ezujj')

statement ok
INSERT INTO tab0 VALUES(9,20,38.78,'gtbpu',16,87.25,'dietr')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 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 (col0 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 col3 > 10

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

query I rowsort label-1335
SELECT pk FROM tab0 WHERE NOT (col3 > 10)
----
1

statement ok
DELETE FROM tab1 WHERE col3 > 10

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

query I rowsort label-1335
SELECT pk FROM tab1 WHERE NOT (col3 > 10)
----
1

statement ok
DELETE FROM tab2 WHERE col3 > 10

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

query I rowsort label-1335
SELECT pk FROM tab2 WHERE NOT (col3 > 10)
----
1

statement ok
DELETE FROM tab3 WHERE col3 > 10

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

query I rowsort label-1335
SELECT pk FROM tab3 WHERE NOT (col3 > 10)
----
1

statement ok
DELETE FROM tab4 WHERE col3 > 10

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

query I rowsort label-1335
SELECT pk FROM tab4 WHERE NOT (col3 > 10)
----
1

statement ok
DELETE FROM tab0 WHERE ((col3 = 61))

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

query I rowsort label-1350
SELECT pk FROM tab0 WHERE NOT (((col3 = 61)))
----
1

statement ok
DELETE FROM tab1 WHERE ((col3 = 61))

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

query I rowsort label-1350
SELECT pk FROM tab1 WHERE NOT (((col3 = 61)))
----
1

statement ok
DELETE FROM tab2 WHERE ((col3 = 61))

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

query I rowsort label-1350
SELECT pk FROM tab2 WHERE NOT (((col3 = 61)))
----
1

statement ok
DELETE FROM tab3 WHERE ((col3 = 61))

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

query I rowsort label-1350
SELECT pk FROM tab3 WHERE NOT (((col3 = 61)))
----
1

statement ok
DELETE FROM tab4 WHERE ((col3 = 61))

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

query I rowsort label-1350
SELECT pk FROM tab4 WHERE NOT (((col3 = 61)))
----
1

statement ok
DELETE FROM tab0 WHERE (((col0 <= 0)))

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

query I rowsort label-1365
SELECT pk FROM tab0 WHERE NOT ((((col0 <= 0))))
----
1

statement ok
DELETE FROM tab1 WHERE (((col0 <= 0)))

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

query I rowsort label-1365
SELECT pk FROM tab1 WHERE NOT ((((col0 <= 0))))
----
1

statement ok
DELETE FROM tab2 WHERE (((col0 <= 0)))

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

query I rowsort label-1365
SELECT pk FROM tab2 WHERE NOT ((((col0 <= 0))))
----
1

statement ok
DELETE FROM tab3 WHERE (((col0 <= 0)))

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

query I rowsort label-1365
SELECT pk FROM tab3 WHERE NOT ((((col0 <= 0))))
----
1

statement ok
DELETE FROM tab4 WHERE (((col0 <= 0)))

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

query I rowsort label-1365
SELECT pk FROM tab4 WHERE NOT ((((col0 <= 0))))
----
1

statement ok
DELETE FROM tab0 WHERE col0 > 10

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

query I rowsort label-1380
SELECT pk FROM tab0 WHERE NOT (col0 > 10)
----

statement ok
DELETE FROM tab1 WHERE col0 > 10

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

query I rowsort label-1380
SELECT pk FROM tab1 WHERE NOT (col0 > 10)
----

statement ok
DELETE FROM tab2 WHERE col0 > 10

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

query I rowsort label-1380
SELECT pk FROM tab2 WHERE NOT (col0 > 10)
----

statement ok
DELETE FROM tab3 WHERE col0 > 10

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

query I rowsort label-1380
SELECT pk FROM tab3 WHERE NOT (col0 > 10)
----

statement ok
DELETE FROM tab4 WHERE col0 > 10

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

query I rowsort label-1380
SELECT pk FROM tab4 WHERE NOT (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,96,35.8,'hbulj',2,16.65,'ppfue')

statement ok
INSERT INTO tab0 VALUES(1,35,92.71,'opijh',9,28.14,'eivbo')

statement ok
INSERT INTO tab0 VALUES(2,67,65.58,'pjtrn',19,1.20,'gbwzo')

statement ok
INSERT INTO tab0 VALUES(3,51,75.95,'tdfib',86,76.53,'cilvk')

statement ok
INSERT INTO tab0 VALUES(4,14,48.95,'zjuip',85,29.73,'fvuyo')

statement ok
INSERT INTO tab0 VALUES(5,60,77.69,'gjfay',27,35.43,'xsfcq')

statement ok
INSERT INTO tab0 VALUES(6,81,85.38,'eikcv',65,32.46,'bnklw')

statement ok
INSERT INTO tab0 VALUES(7,73,89.46,'smbsk',15,80.91,'pngus')

statement ok
INSERT INTO tab0 VALUES(8,48,57.71,'uikuy',63,24.29,'iqlor')

statement ok
INSERT INTO tab0 VALUES(9,43,79.43,'wprwl',77,61.67,'hszar')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80
----

query I rowsort label-1395
SELECT pk FROM tab0 WHERE NOT (((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80
----

query I rowsort label-1395
SELECT pk FROM tab1 WHERE NOT (((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80
----

query I rowsort label-1395
SELECT pk FROM tab2 WHERE NOT (((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80
----

query I rowsort label-1395
SELECT pk FROM tab3 WHERE NOT (((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80
----

query I rowsort label-1395
SELECT pk FROM tab4 WHERE NOT (((col0 <= 47) AND (col1 < 26.70)) AND col3 > 80)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 >= 30

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

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

statement ok
DELETE FROM tab1 WHERE col0 >= 30

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

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

statement ok
DELETE FROM tab2 WHERE col0 >= 30

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

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

statement ok
DELETE FROM tab3 WHERE col0 >= 30

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

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

statement ok
DELETE FROM tab4 WHERE col0 >= 30

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

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

statement ok
DELETE FROM tab0 WHERE (col1 = 14.84)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 14.84)
----

query I rowsort label-1425
SELECT pk FROM tab0 WHERE NOT ((col1 = 14.84))
----
4

statement ok
DELETE FROM tab1 WHERE (col1 = 14.84)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 14.84)
----

query I rowsort label-1425
SELECT pk FROM tab1 WHERE NOT ((col1 = 14.84))
----
4

statement ok
DELETE FROM tab2 WHERE (col1 = 14.84)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 14.84)
----

query I rowsort label-1425
SELECT pk FROM tab2 WHERE NOT ((col1 = 14.84))
----
4

statement ok
DELETE FROM tab3 WHERE (col1 = 14.84)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 14.84)
----

query I rowsort label-1425
SELECT pk FROM tab3 WHERE NOT ((col1 = 14.84))
----
4

statement ok
DELETE FROM tab4 WHERE (col1 = 14.84)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 14.84)
----

query I rowsort label-1425
SELECT pk FROM tab4 WHERE NOT ((col1 = 14.84))
----
4

statement ok
DELETE FROM tab0 WHERE ((col1 < 15.47))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 < 15.47))
----

query I rowsort label-1440
SELECT pk FROM tab0 WHERE NOT (((col1 < 15.47)))
----
4

statement ok
DELETE FROM tab1 WHERE ((col1 < 15.47))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 < 15.47))
----

query I rowsort label-1440
SELECT pk FROM tab1 WHERE NOT (((col1 < 15.47)))
----
4

statement ok
DELETE FROM tab2 WHERE ((col1 < 15.47))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 < 15.47))
----

query I rowsort label-1440
SELECT pk FROM tab2 WHERE NOT (((col1 < 15.47)))
----
4

statement ok
DELETE FROM tab3 WHERE ((col1 < 15.47))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 < 15.47))
----

query I rowsort label-1440
SELECT pk FROM tab3 WHERE NOT (((col1 < 15.47)))
----
4

statement ok
DELETE FROM tab4 WHERE ((col1 < 15.47))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 < 15.47))
----

query I rowsort label-1440
SELECT pk FROM tab4 WHERE NOT (((col1 < 15.47)))
----
4

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,81,5.47,'mghji',68,59.0,'slmrb')

statement ok
INSERT INTO tab0 VALUES(1,71,6.61,'shkyi',96,62.90,'ltmts')

statement ok
INSERT INTO tab0 VALUES(2,18,38.25,'okmiu',16,60.30,'dhzab')

statement ok
INSERT INTO tab0 VALUES(3,5,41.50,'xtoyv',94,43.73,'ksnsc')

statement ok
INSERT INTO tab0 VALUES(4,47,64.17,'lqefa',59,23.18,'jdatv')

statement ok
INSERT INTO tab0 VALUES(5,49,79.38,'yfhzn',60,37.80,'uxbhi')

statement ok
INSERT INTO tab0 VALUES(6,72,94.19,'lbmcg',34,65.47,'dbwja')

statement ok
INSERT INTO tab0 VALUES(7,96,62.23,'ewegy',69,40.45,'vamru')

statement ok
INSERT INTO tab0 VALUES(8,78,1.30,'xzpkg',57,64.2,'dhxyx')

statement ok
INSERT INTO tab0 VALUES(9,20,98.3,'xdboy',72,15.7,'pyfsk')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72
----

query I rowsort label-1455
SELECT pk FROM tab0 WHERE NOT (col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72)
----
2
5
6

statement ok
DELETE FROM tab1 WHERE col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72
----

query I rowsort label-1455
SELECT pk FROM tab1 WHERE NOT (col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72)
----
2
5
6

statement ok
DELETE FROM tab2 WHERE col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72
----

query I rowsort label-1455
SELECT pk FROM tab2 WHERE NOT (col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72)
----
2
5
6

statement ok
DELETE FROM tab3 WHERE col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72
----

query I rowsort label-1455
SELECT pk FROM tab3 WHERE NOT (col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72)
----
2
5
6

statement ok
DELETE FROM tab4 WHERE col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72
----

query I rowsort label-1455
SELECT pk FROM tab4 WHERE NOT (col3 >= 61 OR col3 < 13 OR (col4 <= 23.87 OR col0 IS NULL) AND col0 BETWEEN 44 AND 73 OR ((col4 > 57.55)) AND col0 > 72)
----
2
5
6

statement ok
DELETE FROM tab0 WHERE col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56))
----

query I rowsort label-1470
SELECT pk FROM tab0 WHERE NOT (col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56)))
----

statement ok
DELETE FROM tab1 WHERE col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56))
----

query I rowsort label-1470
SELECT pk FROM tab1 WHERE NOT (col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56)))
----

statement ok
DELETE FROM tab2 WHERE col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56))
----

query I rowsort label-1470
SELECT pk FROM tab2 WHERE NOT (col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56)))
----

statement ok
DELETE FROM tab3 WHERE col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56))
----

query I rowsort label-1470
SELECT pk FROM tab3 WHERE NOT (col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56)))
----

statement ok
DELETE FROM tab4 WHERE col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56))
----

query I rowsort label-1470
SELECT pk FROM tab4 WHERE NOT (col3 > 45 AND col0 = 72 OR col3 < 95 OR (col3 >= 87) AND (col0 = 76) AND (col0 > 29 AND col1 < 77.50 OR (col3 < 67) AND col3 IS NULL OR col0 < 16) OR (col0 = 39) AND (col0 < 4 AND col3 IN (80,62,59,46,66,56)))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,6,48.42,'ofztb',61,46.15,'rxwsi')

statement ok
INSERT INTO tab0 VALUES(1,90,85.88,'vlwqu',72,81.48,'csjzp')

statement ok
INSERT INTO tab0 VALUES(2,43,93.36,'bllwi',71,90.5,'axnfk')

statement ok
INSERT INTO tab0 VALUES(3,44,2.1,'qalyz',65,17.53,'hemos')

statement ok
INSERT INTO tab0 VALUES(4,67,50.71,'xqsuz',37,72.65,'rqbds')

statement ok
INSERT INTO tab0 VALUES(5,49,98.69,'bzguw',16,43.82,'vlxpt')

statement ok
INSERT INTO tab0 VALUES(6,47,38.18,'ippdm',28,8.73,'pmnvr')

statement ok
INSERT INTO tab0 VALUES(7,3,12.0,'coqlc',73,47.0,'zxnms')

statement ok
INSERT INTO tab0 VALUES(8,5,17.23,'bcxro',68,55.82,'kvstw')

statement ok
INSERT INTO tab0 VALUES(9,52,23.81,'jdujl',31,56.53,'rafxu')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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 (col4 >= 33.42 AND col3 <= 81)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 33.42 AND col3 <= 81)
----

query I rowsort label-1485
SELECT pk FROM tab0 WHERE NOT ((col4 >= 33.42 AND col3 <= 81))
----
3
6

statement ok
DELETE FROM tab1 WHERE (col4 >= 33.42 AND col3 <= 81)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 33.42 AND col3 <= 81)
----

query I rowsort label-1485
SELECT pk FROM tab1 WHERE NOT ((col4 >= 33.42 AND col3 <= 81))
----
3
6

statement ok
DELETE FROM tab2 WHERE (col4 >= 33.42 AND col3 <= 81)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 33.42 AND col3 <= 81)
----

query I rowsort label-1485
SELECT pk FROM tab2 WHERE NOT ((col4 >= 33.42 AND col3 <= 81))
----
3
6

statement ok
DELETE FROM tab3 WHERE (col4 >= 33.42 AND col3 <= 81)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 33.42 AND col3 <= 81)
----

query I rowsort label-1485
SELECT pk FROM tab3 WHERE NOT ((col4 >= 33.42 AND col3 <= 81))
----
3
6

statement ok
DELETE FROM tab4 WHERE (col4 >= 33.42 AND col3 <= 81)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 33.42 AND col3 <= 81)
----

query I rowsort label-1485
SELECT pk FROM tab4 WHERE NOT ((col4 >= 33.42 AND col3 <= 81))
----
3
6

statement ok
DELETE FROM tab0 WHERE ((((col0 <= 88))))

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

query I rowsort label-1500
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-1500
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-1500
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-1500
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-1500
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,99,3.84,'awyiw',98,94.15,'tjjya')

statement ok
INSERT INTO tab0 VALUES(1,81,86.7,'kysod',82,93.50,'dnwjt')

statement ok
INSERT INTO tab0 VALUES(2,51,2.90,'pieqy',43,89.62,'uslur')

statement ok
INSERT INTO tab0 VALUES(3,29,5.33,'zlsjq',5,26.65,'sskex')

statement ok
INSERT INTO tab0 VALUES(4,31,62.80,'stjnz',66,27.48,'oejqx')

statement ok
INSERT INTO tab0 VALUES(5,30,75.82,'qoegi',62,99.42,'xikdv')

statement ok
INSERT INTO tab0 VALUES(6,13,87.62,'llyxp',28,49.78,'fnazo')

statement ok
INSERT INTO tab0 VALUES(7,56,97.75,'wxtmo',64,97.50,'axnot')

statement ok
INSERT INTO tab0 VALUES(8,73,74.73,'wdulx',94,86.81,'bbuad')

statement ok
INSERT INTO tab0 VALUES(9,87,63.64,'nnpej',29,98.82,'jouqm')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 >= 12.19

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

query I rowsort label-1515
SELECT pk FROM tab0 WHERE NOT (col1 >= 12.19)
----
0
2
3

statement ok
DELETE FROM tab1 WHERE col1 >= 12.19

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

query I rowsort label-1515
SELECT pk FROM tab1 WHERE NOT (col1 >= 12.19)
----
0
2
3

statement ok
DELETE FROM tab2 WHERE col1 >= 12.19

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

query I rowsort label-1515
SELECT pk FROM tab2 WHERE NOT (col1 >= 12.19)
----
0
2
3

statement ok
DELETE FROM tab3 WHERE col1 >= 12.19

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

query I rowsort label-1515
SELECT pk FROM tab3 WHERE NOT (col1 >= 12.19)
----
0
2
3

statement ok
DELETE FROM tab4 WHERE col1 >= 12.19

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

query I rowsort label-1515
SELECT pk FROM tab4 WHERE NOT (col1 >= 12.19)
----
0
2
3

statement ok
DELETE FROM tab0 WHERE col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49
----

query I rowsort label-1530
SELECT pk FROM tab0 WHERE NOT (col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49)
----
3

statement ok
DELETE FROM tab1 WHERE col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49
----

query I rowsort label-1530
SELECT pk FROM tab1 WHERE NOT (col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49)
----
3

statement ok
DELETE FROM tab2 WHERE col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49
----

query I rowsort label-1530
SELECT pk FROM tab2 WHERE NOT (col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49)
----
3

statement ok
DELETE FROM tab3 WHERE col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49
----

query I rowsort label-1530
SELECT pk FROM tab3 WHERE NOT (col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49)
----
3

statement ok
DELETE FROM tab4 WHERE col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49
----

query I rowsort label-1530
SELECT pk FROM tab4 WHERE NOT (col4 < 11.5 AND (((col1 IS NULL))) OR col1 >= 90.89 OR col0 > 49)
----
3

statement ok
DELETE FROM tab0 WHERE col4 <= 52.42

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

query I rowsort label-1545
SELECT pk FROM tab0 WHERE NOT (col4 <= 52.42)
----

statement ok
DELETE FROM tab1 WHERE col4 <= 52.42

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

query I rowsort label-1545
SELECT pk FROM tab1 WHERE NOT (col4 <= 52.42)
----

statement ok
DELETE FROM tab2 WHERE col4 <= 52.42

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

query I rowsort label-1545
SELECT pk FROM tab2 WHERE NOT (col4 <= 52.42)
----

statement ok
DELETE FROM tab3 WHERE col4 <= 52.42

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

query I rowsort label-1545
SELECT pk FROM tab3 WHERE NOT (col4 <= 52.42)
----

statement ok
DELETE FROM tab4 WHERE col4 <= 52.42

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

query I rowsort label-1545
SELECT pk FROM tab4 WHERE NOT (col4 <= 52.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,35,94.55,'ovpyk',55,23.93,'yfesk')

statement ok
INSERT INTO tab0 VALUES(1,36,14.81,'xkbam',19,86.8,'hdvtk')

statement ok
INSERT INTO tab0 VALUES(2,96,85.1,'kafhx',36,75.41,'rnrzp')

statement ok
INSERT INTO tab0 VALUES(3,88,49.36,'gydfp',38,48.60,'xtoap')

statement ok
INSERT INTO tab0 VALUES(4,32,96.53,'dozmv',61,45.84,'dvlrg')

statement ok
INSERT INTO tab0 VALUES(5,10,33.76,'eghdv',63,53.94,'tmgea')

statement ok
INSERT INTO tab0 VALUES(6,80,40.98,'ivypi',29,64.51,'thjhw')

statement ok
INSERT INTO tab0 VALUES(7,85,41.96,'cknch',88,46.98,'msfor')

statement ok
INSERT INTO tab0 VALUES(8,68,57.40,'drzjn',27,93.86,'jkbez')

statement ok
INSERT INTO tab0 VALUES(9,86,77.8,'xymdd',97,1.74,'hdmhn')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 = 27 OR col4 IS NULL

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

query I rowsort label-1560
SELECT pk FROM tab0 WHERE NOT (col3 = 27 OR col4 IS NULL)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab1 WHERE col3 = 27 OR col4 IS NULL

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

query I rowsort label-1560
SELECT pk FROM tab1 WHERE NOT (col3 = 27 OR col4 IS NULL)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab2 WHERE col3 = 27 OR col4 IS NULL

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

query I rowsort label-1560
SELECT pk FROM tab2 WHERE NOT (col3 = 27 OR col4 IS NULL)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab3 WHERE col3 = 27 OR col4 IS NULL

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

query I rowsort label-1560
SELECT pk FROM tab3 WHERE NOT (col3 = 27 OR col4 IS NULL)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab4 WHERE col3 = 27 OR col4 IS NULL

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

query I rowsort label-1560
SELECT pk FROM tab4 WHERE NOT (col3 = 27 OR col4 IS NULL)
----
9 values hashing to 0b2f3ce47428ebec5f2931eddc864093

statement ok
DELETE FROM tab0 WHERE (((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6)))
----

query I rowsort label-1575
SELECT pk FROM tab0 WHERE NOT ((((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6))))
----

statement ok
DELETE FROM tab1 WHERE (((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6)))
----

query I rowsort label-1575
SELECT pk FROM tab1 WHERE NOT ((((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6))))
----

statement ok
DELETE FROM tab2 WHERE (((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6)))
----

query I rowsort label-1575
SELECT pk FROM tab2 WHERE NOT ((((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6))))
----

statement ok
DELETE FROM tab3 WHERE (((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6)))
----

query I rowsort label-1575
SELECT pk FROM tab3 WHERE NOT ((((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6))))
----

statement ok
DELETE FROM tab4 WHERE (((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 6)))
----

query I rowsort label-1575
SELECT pk FROM tab4 WHERE NOT ((((col3 IS NULL AND col0 > 2 OR (col0 < 41) OR col0 >= 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,80,51.20,'hbktg',56,43.16,'cadko')

statement ok
INSERT INTO tab0 VALUES(1,99,45.26,'ivehe',44,65.58,'tfkos')

statement ok
INSERT INTO tab0 VALUES(2,18,15.22,'reiqa',62,16.12,'ntjpl')

statement ok
INSERT INTO tab0 VALUES(3,29,16.55,'kbwor',43,19.22,'skprf')

statement ok
INSERT INTO tab0 VALUES(4,14,30.96,'bpdor',21,6.11,'cfsli')

statement ok
INSERT INTO tab0 VALUES(5,58,28.50,'wgpau',38,76.99,'rohws')

statement ok
INSERT INTO tab0 VALUES(6,65,29.76,'sxhku',61,59.9,'gljoq')

statement ok
INSERT INTO tab0 VALUES(7,67,62.90,'nbpfz',91,79.81,'diaxb')

statement ok
INSERT INTO tab0 VALUES(8,36,40.87,'cwukw',76,20.89,'robzq')

statement ok
INSERT INTO tab0 VALUES(9,1,5.46,'oiqdq',26,78.48,'yjtzy')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73))
----

query I rowsort label-1590
SELECT pk FROM tab0 WHERE NOT (((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73)))
----
9

statement ok
DELETE FROM tab1 WHERE ((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73))
----

query I rowsort label-1590
SELECT pk FROM tab1 WHERE NOT (((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73)))
----
9

statement ok
DELETE FROM tab2 WHERE ((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73))
----

query I rowsort label-1590
SELECT pk FROM tab2 WHERE NOT (((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73)))
----
9

statement ok
DELETE FROM tab3 WHERE ((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73))
----

query I rowsort label-1590
SELECT pk FROM tab3 WHERE NOT (((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73)))
----
9

statement ok
DELETE FROM tab4 WHERE ((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73))
----

query I rowsort label-1590
SELECT pk FROM tab4 WHERE NOT (((col1 = 4.99)) OR col0 >= 6 OR ((col4 < 19.52 AND (col3 > 48) AND col3 >= 73)))
----
9

statement ok
DELETE FROM tab0 WHERE col0 > 76

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

query I rowsort label-1605
SELECT pk FROM tab0 WHERE NOT (col0 > 76)
----
9

statement ok
DELETE FROM tab1 WHERE col0 > 76

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

query I rowsort label-1605
SELECT pk FROM tab1 WHERE NOT (col0 > 76)
----
9

statement ok
DELETE FROM tab2 WHERE col0 > 76

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

query I rowsort label-1605
SELECT pk FROM tab2 WHERE NOT (col0 > 76)
----
9

statement ok
DELETE FROM tab3 WHERE col0 > 76

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

query I rowsort label-1605
SELECT pk FROM tab3 WHERE NOT (col0 > 76)
----
9

statement ok
DELETE FROM tab4 WHERE col0 > 76

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

query I rowsort label-1605
SELECT pk FROM tab4 WHERE NOT (col0 > 76)
----
9

statement ok
DELETE FROM tab0 WHERE col1 < 39.1

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

query I rowsort label-1620
SELECT pk FROM tab0 WHERE NOT (col1 < 39.1)
----

statement ok
DELETE FROM tab1 WHERE col1 < 39.1

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

query I rowsort label-1620
SELECT pk FROM tab1 WHERE NOT (col1 < 39.1)
----

statement ok
DELETE FROM tab2 WHERE col1 < 39.1

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

query I rowsort label-1620
SELECT pk FROM tab2 WHERE NOT (col1 < 39.1)
----

statement ok
DELETE FROM tab3 WHERE col1 < 39.1

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

query I rowsort label-1620
SELECT pk FROM tab3 WHERE NOT (col1 < 39.1)
----

statement ok
DELETE FROM tab4 WHERE col1 < 39.1

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

query I rowsort label-1620
SELECT pk FROM tab4 WHERE NOT (col1 < 39.1)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,55,36.5,'vzslm',73,31.47,'rlfrs')

statement ok
INSERT INTO tab0 VALUES(1,37,88.14,'bopxs',91,19.40,'ukyjf')

statement ok
INSERT INTO tab0 VALUES(2,80,41.13,'fdrcj',94,54.27,'otmtz')

statement ok
INSERT INTO tab0 VALUES(3,16,89.51,'yfdgd',88,12.10,'zucpq')

statement ok
INSERT INTO tab0 VALUES(4,89,93.76,'yfcxe',21,40.75,'sfeou')

statement ok
INSERT INTO tab0 VALUES(5,17,91.1,'berii',45,72.49,'argxg')

statement ok
INSERT INTO tab0 VALUES(6,50,14.60,'jmhfe',80,37.69,'bjbde')

statement ok
INSERT INTO tab0 VALUES(7,44,96.79,'fiogh',76,79.38,'usuqf')

statement ok
INSERT INTO tab0 VALUES(8,10,90.32,'qosve',74,61.91,'kzadp')

statement ok
INSERT INTO tab0 VALUES(9,86,71.5,'czjqm',72,82.57,'cwdpg')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1 DESC)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 BETWEEN 31 AND 85 AND col3 >= 81)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 BETWEEN 31 AND 85 AND col3 >= 81)
----

query I rowsort label-1635
SELECT pk FROM tab0 WHERE NOT ((col0 BETWEEN 31 AND 85 AND col3 >= 81))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col0 BETWEEN 31 AND 85 AND col3 >= 81)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 BETWEEN 31 AND 85 AND col3 >= 81)
----

query I rowsort label-1635
SELECT pk FROM tab1 WHERE NOT ((col0 BETWEEN 31 AND 85 AND col3 >= 81))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col0 BETWEEN 31 AND 85 AND col3 >= 81)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 BETWEEN 31 AND 85 AND col3 >= 81)
----

query I rowsort label-1635
SELECT pk FROM tab2 WHERE NOT ((col0 BETWEEN 31 AND 85 AND col3 >= 81))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col0 BETWEEN 31 AND 85 AND col3 >= 81)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 BETWEEN 31 AND 85 AND col3 >= 81)
----

query I rowsort label-1635
SELECT pk FROM tab3 WHERE NOT ((col0 BETWEEN 31 AND 85 AND col3 >= 81))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col0 BETWEEN 31 AND 85 AND col3 >= 81)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 BETWEEN 31 AND 85 AND col3 >= 81)
----

query I rowsort label-1635
SELECT pk FROM tab4 WHERE NOT ((col0 BETWEEN 31 AND 85 AND col3 >= 81))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64)
----

query I rowsort label-1650
SELECT pk FROM tab0 WHERE NOT ((((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64))
----
0
4
9

statement ok
DELETE FROM tab1 WHERE (((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64)
----

query I rowsort label-1650
SELECT pk FROM tab1 WHERE NOT ((((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64))
----
0
4
9

statement ok
DELETE FROM tab2 WHERE (((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64)
----

query I rowsort label-1650
SELECT pk FROM tab2 WHERE NOT ((((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64))
----
0
4
9

statement ok
DELETE FROM tab3 WHERE (((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64)
----

query I rowsort label-1650
SELECT pk FROM tab3 WHERE NOT ((((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64))
----
0
4
9

statement ok
DELETE FROM tab4 WHERE (((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64)
----

query I rowsort label-1650
SELECT pk FROM tab4 WHERE NOT ((((col3 > 33 AND col0 < 53)) OR col3 < 37 AND (col3 <= 13) OR (col4 > 70.41) AND col0 = 66 OR col3 = 64))
----
0
4
9

statement ok
DELETE FROM tab0 WHERE col0 <= 84

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

query I rowsort label-1665
SELECT pk FROM tab0 WHERE NOT (col0 <= 84)
----
4
9

statement ok
DELETE FROM tab1 WHERE col0 <= 84

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

query I rowsort label-1665
SELECT pk FROM tab1 WHERE NOT (col0 <= 84)
----
4
9

statement ok
DELETE FROM tab2 WHERE col0 <= 84

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

query I rowsort label-1665
SELECT pk FROM tab2 WHERE NOT (col0 <= 84)
----
4
9

statement ok
DELETE FROM tab3 WHERE col0 <= 84

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

query I rowsort label-1665
SELECT pk FROM tab3 WHERE NOT (col0 <= 84)
----
4
9

statement ok
DELETE FROM tab4 WHERE col0 <= 84

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

query I rowsort label-1665
SELECT pk FROM tab4 WHERE NOT (col0 <= 84)
----
4
9

statement ok
DELETE FROM tab0 WHERE col4 = 87.21

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

query I rowsort label-1680
SELECT pk FROM tab0 WHERE NOT (col4 = 87.21)
----
4
9

statement ok
DELETE FROM tab1 WHERE col4 = 87.21

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

query I rowsort label-1680
SELECT pk FROM tab1 WHERE NOT (col4 = 87.21)
----
4
9

statement ok
DELETE FROM tab2 WHERE col4 = 87.21

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

query I rowsort label-1680
SELECT pk FROM tab2 WHERE NOT (col4 = 87.21)
----
4
9

statement ok
DELETE FROM tab3 WHERE col4 = 87.21

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

query I rowsort label-1680
SELECT pk FROM tab3 WHERE NOT (col4 = 87.21)
----
4
9

statement ok
DELETE FROM tab4 WHERE col4 = 87.21

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

query I rowsort label-1680
SELECT pk FROM tab4 WHERE NOT (col4 = 87.21)
----
4
9

statement ok
DELETE FROM tab0 WHERE (((col0 > 45))) AND col3 IS NULL

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

query I rowsort label-1695
SELECT pk FROM tab0 WHERE NOT ((((col0 > 45))) AND col3 IS NULL)
----
4
9

statement ok
DELETE FROM tab1 WHERE (((col0 > 45))) AND col3 IS NULL

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

query I rowsort label-1695
SELECT pk FROM tab1 WHERE NOT ((((col0 > 45))) AND col3 IS NULL)
----
4
9

statement ok
DELETE FROM tab2 WHERE (((col0 > 45))) AND col3 IS NULL

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

query I rowsort label-1695
SELECT pk FROM tab2 WHERE NOT ((((col0 > 45))) AND col3 IS NULL)
----
4
9

statement ok
DELETE FROM tab3 WHERE (((col0 > 45))) AND col3 IS NULL

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

query I rowsort label-1695
SELECT pk FROM tab3 WHERE NOT ((((col0 > 45))) AND col3 IS NULL)
----
4
9

statement ok
DELETE FROM tab4 WHERE (((col0 > 45))) AND col3 IS NULL

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

query I rowsort label-1695
SELECT pk FROM tab4 WHERE NOT ((((col0 > 45))) AND col3 IS NULL)
----
4
9

statement ok
DELETE FROM tab0 WHERE (col1 = 99.26)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 99.26)
----

query I rowsort label-1710
SELECT pk FROM tab0 WHERE NOT ((col1 = 99.26))
----
4
9

statement ok
DELETE FROM tab1 WHERE (col1 = 99.26)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 99.26)
----

query I rowsort label-1710
SELECT pk FROM tab1 WHERE NOT ((col1 = 99.26))
----
4
9

statement ok
DELETE FROM tab2 WHERE (col1 = 99.26)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 99.26)
----

query I rowsort label-1710
SELECT pk FROM tab2 WHERE NOT ((col1 = 99.26))
----
4
9

statement ok
DELETE FROM tab3 WHERE (col1 = 99.26)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 99.26)
----

query I rowsort label-1710
SELECT pk FROM tab3 WHERE NOT ((col1 = 99.26))
----
4
9

statement ok
DELETE FROM tab4 WHERE (col1 = 99.26)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 99.26)
----

query I rowsort label-1710
SELECT pk FROM tab4 WHERE NOT ((col1 = 99.26))
----
4
9

statement ok
DELETE FROM tab0 WHERE (((((col1 < 14.10)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col1 < 14.10)))))
----

query I rowsort label-1725
SELECT pk FROM tab0 WHERE NOT ((((((col1 < 14.10))))))
----
4
9

statement ok
DELETE FROM tab1 WHERE (((((col1 < 14.10)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col1 < 14.10)))))
----

query I rowsort label-1725
SELECT pk FROM tab1 WHERE NOT ((((((col1 < 14.10))))))
----
4
9

statement ok
DELETE FROM tab2 WHERE (((((col1 < 14.10)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col1 < 14.10)))))
----

query I rowsort label-1725
SELECT pk FROM tab2 WHERE NOT ((((((col1 < 14.10))))))
----
4
9

statement ok
DELETE FROM tab3 WHERE (((((col1 < 14.10)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col1 < 14.10)))))
----

query I rowsort label-1725
SELECT pk FROM tab3 WHERE NOT ((((((col1 < 14.10))))))
----
4
9

statement ok
DELETE FROM tab4 WHERE (((((col1 < 14.10)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col1 < 14.10)))))
----

query I rowsort label-1725
SELECT pk FROM tab4 WHERE NOT ((((((col1 < 14.10))))))
----
4
9

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

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

query I rowsort label-1740
SELECT pk FROM tab0 WHERE NOT (((col3 <= 68)))
----
9

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

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

query I rowsort label-1740
SELECT pk FROM tab1 WHERE NOT (((col3 <= 68)))
----
9

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

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

query I rowsort label-1740
SELECT pk FROM tab2 WHERE NOT (((col3 <= 68)))
----
9

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

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

query I rowsort label-1740
SELECT pk FROM tab3 WHERE NOT (((col3 <= 68)))
----
9

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

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

query I rowsort label-1740
SELECT pk FROM tab4 WHERE NOT (((col3 <= 68)))
----
9

statement ok
DELETE FROM tab0 WHERE col0 > 84 AND col0 < 54

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

query I rowsort label-1755
SELECT pk FROM tab0 WHERE NOT (col0 > 84 AND col0 < 54)
----
9

statement ok
DELETE FROM tab1 WHERE col0 > 84 AND col0 < 54

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

query I rowsort label-1755
SELECT pk FROM tab1 WHERE NOT (col0 > 84 AND col0 < 54)
----
9

statement ok
DELETE FROM tab2 WHERE col0 > 84 AND col0 < 54

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

query I rowsort label-1755
SELECT pk FROM tab2 WHERE NOT (col0 > 84 AND col0 < 54)
----
9

statement ok
DELETE FROM tab3 WHERE col0 > 84 AND col0 < 54

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

query I rowsort label-1755
SELECT pk FROM tab3 WHERE NOT (col0 > 84 AND col0 < 54)
----
9

statement ok
DELETE FROM tab4 WHERE col0 > 84 AND col0 < 54

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

query I rowsort label-1755
SELECT pk FROM tab4 WHERE NOT (col0 > 84 AND col0 < 54)
----
9

statement ok
DELETE FROM tab0 WHERE col1 > 79.31 AND (col3 IS NULL)

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

query I rowsort label-1770
SELECT pk FROM tab0 WHERE NOT (col1 > 79.31 AND (col3 IS NULL))
----
9

statement ok
DELETE FROM tab1 WHERE col1 > 79.31 AND (col3 IS NULL)

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

query I rowsort label-1770
SELECT pk FROM tab1 WHERE NOT (col1 > 79.31 AND (col3 IS NULL))
----
9

statement ok
DELETE FROM tab2 WHERE col1 > 79.31 AND (col3 IS NULL)

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

query I rowsort label-1770
SELECT pk FROM tab2 WHERE NOT (col1 > 79.31 AND (col3 IS NULL))
----
9

statement ok
DELETE FROM tab3 WHERE col1 > 79.31 AND (col3 IS NULL)

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

query I rowsort label-1770
SELECT pk FROM tab3 WHERE NOT (col1 > 79.31 AND (col3 IS NULL))
----
9

statement ok
DELETE FROM tab4 WHERE col1 > 79.31 AND (col3 IS NULL)

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

query I rowsort label-1770
SELECT pk FROM tab4 WHERE NOT (col1 > 79.31 AND (col3 IS NULL))
----
9

statement ok
DELETE FROM tab0 WHERE col0 < 95

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

query I rowsort label-1785
SELECT pk FROM tab0 WHERE NOT (col0 < 95)
----

statement ok
DELETE FROM tab1 WHERE col0 < 95

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

query I rowsort label-1785
SELECT pk FROM tab1 WHERE NOT (col0 < 95)
----

statement ok
DELETE FROM tab2 WHERE col0 < 95

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

query I rowsort label-1785
SELECT pk FROM tab2 WHERE NOT (col0 < 95)
----

statement ok
DELETE FROM tab3 WHERE col0 < 95

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

query I rowsort label-1785
SELECT pk FROM tab3 WHERE NOT (col0 < 95)
----

statement ok
DELETE FROM tab4 WHERE col0 < 95

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

query I rowsort label-1785
SELECT pk FROM tab4 WHERE NOT (col0 < 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,33,45.67,'udovw',19,5.11,'idbti')

statement ok
INSERT INTO tab0 VALUES(1,10,36.5,'ezmre',80,90.57,'zvsvn')

statement ok
INSERT INTO tab0 VALUES(2,99,46.71,'tpjgs',36,2.32,'aelwy')

statement ok
INSERT INTO tab0 VALUES(3,62,55.17,'wkckn',82,20.0,'knkyq')

statement ok
INSERT INTO tab0 VALUES(4,68,21.85,'doitd',7,51.43,'pvahj')

statement ok
INSERT INTO tab0 VALUES(5,61,81.63,'wqpgc',47,43.21,'rdduv')

statement ok
INSERT INTO tab0 VALUES(6,17,69.51,'zelxu',60,96.39,'kjftr')

statement ok
INSERT INTO tab0 VALUES(7,11,29.23,'dikjs',78,74.6,'lxjhs')

statement ok
INSERT INTO tab0 VALUES(8,76,25.88,'yolnm',76,19.98,'kcmga')

statement ok
INSERT INTO tab0 VALUES(9,69,56.54,'detee',32,65.20,'bcloc')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL))))
----

query I rowsort label-1800
SELECT pk FROM tab0 WHERE NOT (((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL)))))
----
5
6
9

statement ok
DELETE FROM tab1 WHERE ((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL))))
----

query I rowsort label-1800
SELECT pk FROM tab1 WHERE NOT (((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL)))))
----
5
6
9

statement ok
DELETE FROM tab2 WHERE ((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL))))
----

query I rowsort label-1800
SELECT pk FROM tab2 WHERE NOT (((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL)))))
----
5
6
9

statement ok
DELETE FROM tab3 WHERE ((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL))))
----

query I rowsort label-1800
SELECT pk FROM tab3 WHERE NOT (((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL)))))
----
5
6
9

statement ok
DELETE FROM tab4 WHERE ((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL))))
----

query I rowsort label-1800
SELECT pk FROM tab4 WHERE NOT (((col1 BETWEEN 6.51 AND 56.3) OR (((col1 IS NULL)))))
----
5
6
9

statement ok
DELETE FROM tab0 WHERE (col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL))
----

query I rowsort label-1815
SELECT pk FROM tab0 WHERE NOT ((col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL)))
----
5
6
9

statement ok
DELETE FROM tab1 WHERE (col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL))
----

query I rowsort label-1815
SELECT pk FROM tab1 WHERE NOT ((col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL)))
----
5
6
9

statement ok
DELETE FROM tab2 WHERE (col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL))
----

query I rowsort label-1815
SELECT pk FROM tab2 WHERE NOT ((col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL)))
----
5
6
9

statement ok
DELETE FROM tab3 WHERE (col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL))
----

query I rowsort label-1815
SELECT pk FROM tab3 WHERE NOT ((col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL)))
----
5
6
9

statement ok
DELETE FROM tab4 WHERE (col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL))
----

query I rowsort label-1815
SELECT pk FROM tab4 WHERE NOT ((col0 < 4 AND (((col0 > 56)) AND col3 > 36 AND col1 IS NULL)))
----
5
6
9

statement ok
DELETE FROM tab0 WHERE (col1 BETWEEN 34.8 AND 75.7)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 BETWEEN 34.8 AND 75.7)
----

query I rowsort label-1830
SELECT pk FROM tab0 WHERE NOT ((col1 BETWEEN 34.8 AND 75.7))
----
5

statement ok
DELETE FROM tab1 WHERE (col1 BETWEEN 34.8 AND 75.7)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 BETWEEN 34.8 AND 75.7)
----

query I rowsort label-1830
SELECT pk FROM tab1 WHERE NOT ((col1 BETWEEN 34.8 AND 75.7))
----
5

statement ok
DELETE FROM tab2 WHERE (col1 BETWEEN 34.8 AND 75.7)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 BETWEEN 34.8 AND 75.7)
----

query I rowsort label-1830
SELECT pk FROM tab2 WHERE NOT ((col1 BETWEEN 34.8 AND 75.7))
----
5

statement ok
DELETE FROM tab3 WHERE (col1 BETWEEN 34.8 AND 75.7)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 BETWEEN 34.8 AND 75.7)
----

query I rowsort label-1830
SELECT pk FROM tab3 WHERE NOT ((col1 BETWEEN 34.8 AND 75.7))
----
5

statement ok
DELETE FROM tab4 WHERE (col1 BETWEEN 34.8 AND 75.7)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 BETWEEN 34.8 AND 75.7)
----

query I rowsort label-1830
SELECT pk FROM tab4 WHERE NOT ((col1 BETWEEN 34.8 AND 75.7))
----
5

statement ok
DELETE FROM tab0 WHERE col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47
----

query I rowsort label-1845
SELECT pk FROM tab0 WHERE NOT (col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47
----

query I rowsort label-1845
SELECT pk FROM tab1 WHERE NOT (col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47
----

query I rowsort label-1845
SELECT pk FROM tab2 WHERE NOT (col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47
----

query I rowsort label-1845
SELECT pk FROM tab3 WHERE NOT (col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47
----

query I rowsort label-1845
SELECT pk FROM tab4 WHERE NOT (col3 >= 80 AND ((col3 > 76 AND (col1 > 49.91)) OR ((col1 < 47.80) OR (((((col0 > 99)) AND (col3 > 36) OR col3 > 78))) AND col3 > 60)) AND col1 >= 73.42 AND col1 < 66.44 OR col4 <= 20.71 OR col1 > 71.47)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,27.18,'ahfre',69,33.31,'ragar')

statement ok
INSERT INTO tab0 VALUES(1,5,16.16,'urgig',28,91.86,'cryiz')

statement ok
INSERT INTO tab0 VALUES(2,57,53.86,'mugvs',46,17.55,'chpyq')

statement ok
INSERT INTO tab0 VALUES(3,4,33.96,'jkqeo',47,56.54,'otcdm')

statement ok
INSERT INTO tab0 VALUES(4,42,82.22,'qapui',89,42.38,'hosev')

statement ok
INSERT INTO tab0 VALUES(5,87,67.12,'elffg',36,7.61,'zhgqu')

statement ok
INSERT INTO tab0 VALUES(6,36,14.48,'anvuj',11,95.45,'mkedi')

statement ok
INSERT INTO tab0 VALUES(7,31,15.4,'ipuep',62,74.37,'tqtak')

statement ok
INSERT INTO tab0 VALUES(8,18,42.14,'ljayw',29,51.73,'dwcxa')

statement ok
INSERT INTO tab0 VALUES(9,15,62.34,'efrkk',93,80.41,'jojjm')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 <= 17.42

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

query I rowsort label-1860
SELECT pk FROM tab0 WHERE NOT (col1 <= 17.42)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab1 WHERE col1 <= 17.42

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

query I rowsort label-1860
SELECT pk FROM tab1 WHERE NOT (col1 <= 17.42)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab2 WHERE col1 <= 17.42

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

query I rowsort label-1860
SELECT pk FROM tab2 WHERE NOT (col1 <= 17.42)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab3 WHERE col1 <= 17.42

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

query I rowsort label-1860
SELECT pk FROM tab3 WHERE NOT (col1 <= 17.42)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab4 WHERE col1 <= 17.42

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

query I rowsort label-1860
SELECT pk FROM tab4 WHERE NOT (col1 <= 17.42)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab0 WHERE col4 > 7.69 OR col4 <= 3.33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 7.69 OR col4 <= 3.33
----

query I rowsort label-1875
SELECT pk FROM tab0 WHERE NOT (col4 > 7.69 OR col4 <= 3.33)
----
5

statement ok
DELETE FROM tab1 WHERE col4 > 7.69 OR col4 <= 3.33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 7.69 OR col4 <= 3.33
----

query I rowsort label-1875
SELECT pk FROM tab1 WHERE NOT (col4 > 7.69 OR col4 <= 3.33)
----
5

statement ok
DELETE FROM tab2 WHERE col4 > 7.69 OR col4 <= 3.33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 7.69 OR col4 <= 3.33
----

query I rowsort label-1875
SELECT pk FROM tab2 WHERE NOT (col4 > 7.69 OR col4 <= 3.33)
----
5

statement ok
DELETE FROM tab3 WHERE col4 > 7.69 OR col4 <= 3.33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 7.69 OR col4 <= 3.33
----

query I rowsort label-1875
SELECT pk FROM tab3 WHERE NOT (col4 > 7.69 OR col4 <= 3.33)
----
5

statement ok
DELETE FROM tab4 WHERE col4 > 7.69 OR col4 <= 3.33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 7.69 OR col4 <= 3.33
----

query I rowsort label-1875
SELECT pk FROM tab4 WHERE NOT (col4 > 7.69 OR col4 <= 3.33)
----
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,39,90.27,'wixmm',11,85.77,'akaxi')

statement ok
INSERT INTO tab0 VALUES(1,44,73.37,'yjwin',89,21.44,'hlklw')

statement ok
INSERT INTO tab0 VALUES(2,38,88.16,'ojjkw',12,52.86,'wjftf')

statement ok
INSERT INTO tab0 VALUES(3,72,92.44,'tdwjm',33,33.98,'igwry')

statement ok
INSERT INTO tab0 VALUES(4,94,60.46,'elmuq',82,90.53,'wdbce')

statement ok
INSERT INTO tab0 VALUES(5,6,1.55,'exhqf',26,37.60,'qmxuo')

statement ok
INSERT INTO tab0 VALUES(6,31,63.74,'dkfat',32,88.32,'raawn')

statement ok
INSERT INTO tab0 VALUES(7,71,51.42,'htiwq',31,69.46,'beqqj')

statement ok
INSERT INTO tab0 VALUES(8,74,41.89,'dlxia',77,28.4,'cvwxi')

statement ok
INSERT INTO tab0 VALUES(9,93,85.6,'ienqf',14,55.0,'lwqws')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 IN (35.6)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IN (35.6)
----

query I rowsort label-1890
SELECT pk FROM tab0 WHERE NOT (col1 IN (35.6))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 IN (35.6)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IN (35.6)
----

query I rowsort label-1890
SELECT pk FROM tab1 WHERE NOT (col1 IN (35.6))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 IN (35.6)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IN (35.6)
----

query I rowsort label-1890
SELECT pk FROM tab2 WHERE NOT (col1 IN (35.6))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 IN (35.6)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IN (35.6)
----

query I rowsort label-1890
SELECT pk FROM tab3 WHERE NOT (col1 IN (35.6))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 IN (35.6)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IN (35.6)
----

query I rowsort label-1890
SELECT pk FROM tab4 WHERE NOT (col1 IN (35.6))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 <= 87.48

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

query I rowsort label-1905
SELECT pk FROM tab0 WHERE NOT (col1 <= 87.48)
----
0
2
3

statement ok
DELETE FROM tab1 WHERE col1 <= 87.48

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

query I rowsort label-1905
SELECT pk FROM tab1 WHERE NOT (col1 <= 87.48)
----
0
2
3

statement ok
DELETE FROM tab2 WHERE col1 <= 87.48

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

query I rowsort label-1905
SELECT pk FROM tab2 WHERE NOT (col1 <= 87.48)
----
0
2
3

statement ok
DELETE FROM tab3 WHERE col1 <= 87.48

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

query I rowsort label-1905
SELECT pk FROM tab3 WHERE NOT (col1 <= 87.48)
----
0
2
3

statement ok
DELETE FROM tab4 WHERE col1 <= 87.48

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

query I rowsort label-1905
SELECT pk FROM tab4 WHERE NOT (col1 <= 87.48)
----
0
2
3

statement ok
DELETE FROM tab0 WHERE (col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33
----

query I rowsort label-1920
SELECT pk FROM tab0 WHERE NOT ((col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33)
----

statement ok
DELETE FROM tab1 WHERE (col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33
----

query I rowsort label-1920
SELECT pk FROM tab1 WHERE NOT ((col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33)
----

statement ok
DELETE FROM tab2 WHERE (col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33
----

query I rowsort label-1920
SELECT pk FROM tab2 WHERE NOT ((col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33)
----

statement ok
DELETE FROM tab3 WHERE (col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33
----

query I rowsort label-1920
SELECT pk FROM tab3 WHERE NOT ((col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33)
----

statement ok
DELETE FROM tab4 WHERE (col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 33
----

query I rowsort label-1920
SELECT pk FROM tab4 WHERE NOT ((col0 = 12 AND col1 < 21.56) AND col1 < 73.26 OR (col1 >= 55.78 OR (col3 >= 40 AND col3 = 31 AND (((col3 < 11 AND col0 > 40 AND col0 > 28 AND ((col3 >= 63 AND col4 >= 16.33 OR col0 BETWEEN 35 AND 84 AND (col3 < 72)) OR col3 BETWEEN 57 AND 94) AND (col1 > 35.24) OR (col0 IS NULL) OR col3 BETWEEN 38 AND 22 AND col0 > 41 AND ((col4 >= 97.59 AND col1 = 33.4 OR (col3 < 78) AND col4 IS NULL AND ((col4 <= 61.60)) AND col1 <= 12.1) AND col1 < 4.21))))) OR (col0 >= 74)) OR col3 > 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,70,14.19,'mgrto',26,7.34,'ydotl')

statement ok
INSERT INTO tab0 VALUES(1,92,25.26,'caxlz',66,68.0,'rxnbw')

statement ok
INSERT INTO tab0 VALUES(2,3,87.72,'herki',56,43.81,'vkxyq')

statement ok
INSERT INTO tab0 VALUES(3,37,41.10,'dpped',85,8.28,'nkgab')

statement ok
INSERT INTO tab0 VALUES(4,53,49.32,'oqeju',99,62.15,'crdtv')

statement ok
INSERT INTO tab0 VALUES(5,0,6.35,'gcdfo',67,46.3,'nojee')

statement ok
INSERT INTO tab0 VALUES(6,78,50.82,'aqjku',34,51.97,'etzju')

statement ok
INSERT INTO tab0 VALUES(7,4,76.63,'wmbkz',1,31.14,'irlgh')

statement ok
INSERT INTO tab0 VALUES(8,67,51.59,'xazka',69,15.39,'yiuaa')

statement ok
INSERT INTO tab0 VALUES(9,1,21.5,'ullpd',12,22.97,'btqyl')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

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

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-1935
SELECT pk FROM tab0 WHERE NOT ((col3 > 31))
----
0
7
9

statement ok
DELETE FROM tab1 WHERE (col3 > 31)

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

query I rowsort label-1935
SELECT pk FROM tab1 WHERE NOT ((col3 > 31))
----
0
7
9

statement ok
DELETE FROM tab2 WHERE (col3 > 31)

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

query I rowsort label-1935
SELECT pk FROM tab2 WHERE NOT ((col3 > 31))
----
0
7
9

statement ok
DELETE FROM tab3 WHERE (col3 > 31)

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

query I rowsort label-1935
SELECT pk FROM tab3 WHERE NOT ((col3 > 31))
----
0
7
9

statement ok
DELETE FROM tab4 WHERE (col3 > 31)

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

query I rowsort label-1935
SELECT pk FROM tab4 WHERE NOT ((col3 > 31))
----
0
7
9

statement ok
DELETE FROM tab0 WHERE col0 > 6

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

query I rowsort label-1950
SELECT pk FROM tab0 WHERE NOT (col0 > 6)
----
7
9

statement ok
DELETE FROM tab1 WHERE col0 > 6

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

query I rowsort label-1950
SELECT pk FROM tab1 WHERE NOT (col0 > 6)
----
7
9

statement ok
DELETE FROM tab2 WHERE col0 > 6

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

query I rowsort label-1950
SELECT pk FROM tab2 WHERE NOT (col0 > 6)
----
7
9

statement ok
DELETE FROM tab3 WHERE col0 > 6

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

query I rowsort label-1950
SELECT pk FROM tab3 WHERE NOT (col0 > 6)
----
7
9

statement ok
DELETE FROM tab4 WHERE col0 > 6

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

query I rowsort label-1950
SELECT pk FROM tab4 WHERE NOT (col0 > 6)
----
7
9

statement ok
DELETE FROM tab0 WHERE col0 <= 56

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

query I rowsort label-1965
SELECT pk FROM tab0 WHERE NOT (col0 <= 56)
----

statement ok
DELETE FROM tab1 WHERE col0 <= 56

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

query I rowsort label-1965
SELECT pk FROM tab1 WHERE NOT (col0 <= 56)
----

statement ok
DELETE FROM tab2 WHERE col0 <= 56

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

query I rowsort label-1965
SELECT pk FROM tab2 WHERE NOT (col0 <= 56)
----

statement ok
DELETE FROM tab3 WHERE col0 <= 56

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

query I rowsort label-1965
SELECT pk FROM tab3 WHERE NOT (col0 <= 56)
----

statement ok
DELETE FROM tab4 WHERE col0 <= 56

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

query I rowsort label-1965
SELECT pk FROM tab4 WHERE NOT (col0 <= 56)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,12,21.20,'fmptk',38,13.13,'xdtxq')

statement ok
INSERT INTO tab0 VALUES(1,51,98.84,'gahpv',21,39.11,'vqewr')

statement ok
INSERT INTO tab0 VALUES(2,36,65.37,'kkmfd',96,76.56,'iwgtu')

statement ok
INSERT INTO tab0 VALUES(3,28,9.19,'juxck',7,61.46,'jllup')

statement ok
INSERT INTO tab0 VALUES(4,95,89.55,'hbakm',89,55.0,'glmhq')

statement ok
INSERT INTO tab0 VALUES(5,79,48.22,'umctz',28,59.15,'afmhe')

statement ok
INSERT INTO tab0 VALUES(6,54,25.4,'gkmtn',30,28.32,'jxgcp')

statement ok
INSERT INTO tab0 VALUES(7,94,68.61,'urprs',76,82.93,'xcdbk')

statement ok
INSERT INTO tab0 VALUES(8,30,46.89,'klczk',88,18.12,'clkbj')

statement ok
INSERT INTO tab0 VALUES(9,17,62.81,'fuzcv',94,23.31,'qgeen')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10)
----

query I rowsort label-1980
SELECT pk FROM tab0 WHERE NOT (((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10))
----
0
6
8
9

statement ok
DELETE FROM tab1 WHERE ((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10)
----

query I rowsort label-1980
SELECT pk FROM tab1 WHERE NOT (((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10))
----
0
6
8
9

statement ok
DELETE FROM tab2 WHERE ((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10)
----

query I rowsort label-1980
SELECT pk FROM tab2 WHERE NOT (((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10))
----
0
6
8
9

statement ok
DELETE FROM tab3 WHERE ((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10)
----

query I rowsort label-1980
SELECT pk FROM tab3 WHERE NOT (((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10))
----
0
6
8
9

statement ok
DELETE FROM tab4 WHERE ((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10)
----

query I rowsort label-1980
SELECT pk FROM tab4 WHERE NOT (((col4 BETWEEN 35.5 AND 99.66) AND col0 > 10))
----
0
6
8
9

statement ok
DELETE FROM tab0 WHERE col3 > 87

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

query I rowsort label-1995
SELECT pk FROM tab0 WHERE NOT (col3 > 87)
----
0
6

statement ok
DELETE FROM tab1 WHERE col3 > 87

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

query I rowsort label-1995
SELECT pk FROM tab1 WHERE NOT (col3 > 87)
----
0
6

statement ok
DELETE FROM tab2 WHERE col3 > 87

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

query I rowsort label-1995
SELECT pk FROM tab2 WHERE NOT (col3 > 87)
----
0
6

statement ok
DELETE FROM tab3 WHERE col3 > 87

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

query I rowsort label-1995
SELECT pk FROM tab3 WHERE NOT (col3 > 87)
----
0
6

statement ok
DELETE FROM tab4 WHERE col3 > 87

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

query I rowsort label-1995
SELECT pk FROM tab4 WHERE NOT (col3 > 87)
----
0
6

statement ok
DELETE FROM tab0 WHERE col0 < 49

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

query I rowsort label-2010
SELECT pk FROM tab0 WHERE NOT (col0 < 49)
----
6

statement ok
DELETE FROM tab1 WHERE col0 < 49

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

query I rowsort label-2010
SELECT pk FROM tab1 WHERE NOT (col0 < 49)
----
6

statement ok
DELETE FROM tab2 WHERE col0 < 49

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

query I rowsort label-2010
SELECT pk FROM tab2 WHERE NOT (col0 < 49)
----
6

statement ok
DELETE FROM tab3 WHERE col0 < 49

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

query I rowsort label-2010
SELECT pk FROM tab3 WHERE NOT (col0 < 49)
----
6

statement ok
DELETE FROM tab4 WHERE col0 < 49

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

query I rowsort label-2010
SELECT pk FROM tab4 WHERE NOT (col0 < 49)
----
6

statement ok
DELETE FROM tab0 WHERE col4 > 65.39

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

query I rowsort label-2025
SELECT pk FROM tab0 WHERE NOT (col4 > 65.39)
----
6

statement ok
DELETE FROM tab1 WHERE col4 > 65.39

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

query I rowsort label-2025
SELECT pk FROM tab1 WHERE NOT (col4 > 65.39)
----
6

statement ok
DELETE FROM tab2 WHERE col4 > 65.39

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

query I rowsort label-2025
SELECT pk FROM tab2 WHERE NOT (col4 > 65.39)
----
6

statement ok
DELETE FROM tab3 WHERE col4 > 65.39

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

query I rowsort label-2025
SELECT pk FROM tab3 WHERE NOT (col4 > 65.39)
----
6

statement ok
DELETE FROM tab4 WHERE col4 > 65.39

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

query I rowsort label-2025
SELECT pk FROM tab4 WHERE NOT (col4 > 65.39)
----
6

statement ok
DELETE FROM tab0 WHERE col3 < 20 AND col4 >= 70.48

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 20 AND col4 >= 70.48
----

query I rowsort label-2040
SELECT pk FROM tab0 WHERE NOT (col3 < 20 AND col4 >= 70.48)
----
6

statement ok
DELETE FROM tab1 WHERE col3 < 20 AND col4 >= 70.48

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 20 AND col4 >= 70.48
----

query I rowsort label-2040
SELECT pk FROM tab1 WHERE NOT (col3 < 20 AND col4 >= 70.48)
----
6

statement ok
DELETE FROM tab2 WHERE col3 < 20 AND col4 >= 70.48

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 20 AND col4 >= 70.48
----

query I rowsort label-2040
SELECT pk FROM tab2 WHERE NOT (col3 < 20 AND col4 >= 70.48)
----
6

statement ok
DELETE FROM tab3 WHERE col3 < 20 AND col4 >= 70.48

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 20 AND col4 >= 70.48
----

query I rowsort label-2040
SELECT pk FROM tab3 WHERE NOT (col3 < 20 AND col4 >= 70.48)
----
6

statement ok
DELETE FROM tab4 WHERE col3 < 20 AND col4 >= 70.48

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 20 AND col4 >= 70.48
----

query I rowsort label-2040
SELECT pk FROM tab4 WHERE NOT (col3 < 20 AND col4 >= 70.48)
----
6

statement ok
DELETE FROM tab0 WHERE col3 >= 30

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

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

statement ok
DELETE FROM tab1 WHERE col3 >= 30

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

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

statement ok
DELETE FROM tab2 WHERE col3 >= 30

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

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

statement ok
DELETE FROM tab3 WHERE col3 >= 30

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

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

statement ok
DELETE FROM tab4 WHERE col3 >= 30

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

query I rowsort label-2055
SELECT pk FROM tab4 WHERE NOT (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,14,46.86,'mzewa',0,20.50,'mreuc')

statement ok
INSERT INTO tab0 VALUES(1,57,57.59,'irmoh',19,73.10,'qazra')

statement ok
INSERT INTO tab0 VALUES(2,39,88.14,'akhnj',68,90.76,'cflck')

statement ok
INSERT INTO tab0 VALUES(3,89,30.39,'ydcel',22,15.80,'brgem')

statement ok
INSERT INTO tab0 VALUES(4,86,23.84,'ozqpw',20,23.67,'ejyfx')

statement ok
INSERT INTO tab0 VALUES(5,73,15.69,'kpiqt',62,77.9,'gruuk')

statement ok
INSERT INTO tab0 VALUES(6,71,27.97,'jdaxq',37,95.19,'zmdyk')

statement ok
INSERT INTO tab0 VALUES(7,85,14.69,'mlocb',27,11.62,'koehs')

statement ok
INSERT INTO tab0 VALUES(8,26,28.94,'mbkzd',21,36.70,'qkoab')

statement ok
INSERT INTO tab0 VALUES(9,15,81.1,'nnfpi',28,24.50,'npxht')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0)

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 IS NULL

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

query I rowsort label-2070
SELECT pk FROM tab0 WHERE NOT (col1 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 IS NULL

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

query I rowsort label-2070
SELECT pk FROM tab1 WHERE NOT (col1 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 IS NULL

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

query I rowsort label-2070
SELECT pk FROM tab2 WHERE NOT (col1 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 IS NULL

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

query I rowsort label-2070
SELECT pk FROM tab3 WHERE NOT (col1 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 IS NULL

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

query I rowsort label-2070
SELECT pk FROM tab4 WHERE NOT (col1 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 <= 80.83

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

query I rowsort label-2085
SELECT pk FROM tab0 WHERE NOT (col1 <= 80.83)
----
2
9

statement ok
DELETE FROM tab1 WHERE col1 <= 80.83

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

query I rowsort label-2085
SELECT pk FROM tab1 WHERE NOT (col1 <= 80.83)
----
2
9

statement ok
DELETE FROM tab2 WHERE col1 <= 80.83

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

query I rowsort label-2085
SELECT pk FROM tab2 WHERE NOT (col1 <= 80.83)
----
2
9

statement ok
DELETE FROM tab3 WHERE col1 <= 80.83

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

query I rowsort label-2085
SELECT pk FROM tab3 WHERE NOT (col1 <= 80.83)
----
2
9

statement ok
DELETE FROM tab4 WHERE col1 <= 80.83

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

query I rowsort label-2085
SELECT pk FROM tab4 WHERE NOT (col1 <= 80.83)
----
2
9

statement ok
DELETE FROM tab0 WHERE (col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81)
----

query I rowsort label-2100
SELECT pk FROM tab0 WHERE NOT ((col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81))
----

statement ok
DELETE FROM tab1 WHERE (col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81)
----

query I rowsort label-2100
SELECT pk FROM tab1 WHERE NOT ((col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81))
----

statement ok
DELETE FROM tab2 WHERE (col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81)
----

query I rowsort label-2100
SELECT pk FROM tab2 WHERE NOT ((col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81))
----

statement ok
DELETE FROM tab3 WHERE (col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81)
----

query I rowsort label-2100
SELECT pk FROM tab3 WHERE NOT ((col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81))
----

statement ok
DELETE FROM tab4 WHERE (col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81)
----

query I rowsort label-2100
SELECT pk FROM tab4 WHERE NOT ((col0 < 79 OR (col0 IS NULL) AND col3 < 49 AND (col4 IS NULL) OR (((col3 < 27 AND (col3 > 74)))) AND (col3 BETWEEN 52 AND 9 OR col3 >= 15 AND col0 < 97) OR (col1 <= 90.61 AND col3 > 73 OR (col4 > 17.59) AND col4 < 73.57) AND (((((col4 > 16.45)) OR col3 IS NULL)) AND col3 < 88 OR ((col3 IS NULL OR col0 = 7 AND (col3 IN (69,64,33,68,70,93)))) OR col4 > 16.51 OR col0 < 21 OR col4 = 58.90)) OR (col3 BETWEEN 30 AND 18) OR (col3 BETWEEN 26 AND 81))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,9,29.51,'zzsyx',91,15.13,'fbczn')

statement ok
INSERT INTO tab0 VALUES(1,34,30.62,'ebfur',81,1.46,'srwng')

statement ok
INSERT INTO tab0 VALUES(2,70,90.65,'czldr',58,4.47,'bjvwy')

statement ok
INSERT INTO tab0 VALUES(3,69,70.27,'clyjp',46,65.46,'ujwla')

statement ok
INSERT INTO tab0 VALUES(4,20,19.56,'ktqrs',90,68.44,'iisyr')

statement ok
INSERT INTO tab0 VALUES(5,13,84.62,'cfzra',14,53.75,'auiqt')

statement ok
INSERT INTO tab0 VALUES(6,99,27.18,'kccck',88,28.67,'kzvfd')

statement ok
INSERT INTO tab0 VALUES(7,56,31.23,'sxxgr',89,82.8,'ihrir')

statement ok
INSERT INTO tab0 VALUES(8,48,15.69,'sievv',59,96.5,'xysim')

statement ok
INSERT INTO tab0 VALUES(9,90,53.95,'qptkz',74,59.49,'wrnsu')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col3 <= 75)) OR col3 < 44

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

query I rowsort label-2115
SELECT pk FROM tab0 WHERE NOT (((col3 <= 75)) OR col3 < 44)
----
0
1
4
6
7

statement ok
DELETE FROM tab1 WHERE ((col3 <= 75)) OR col3 < 44

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

query I rowsort label-2115
SELECT pk FROM tab1 WHERE NOT (((col3 <= 75)) OR col3 < 44)
----
0
1
4
6
7

statement ok
DELETE FROM tab2 WHERE ((col3 <= 75)) OR col3 < 44

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

query I rowsort label-2115
SELECT pk FROM tab2 WHERE NOT (((col3 <= 75)) OR col3 < 44)
----
0
1
4
6
7

statement ok
DELETE FROM tab3 WHERE ((col3 <= 75)) OR col3 < 44

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

query I rowsort label-2115
SELECT pk FROM tab3 WHERE NOT (((col3 <= 75)) OR col3 < 44)
----
0
1
4
6
7

statement ok
DELETE FROM tab4 WHERE ((col3 <= 75)) OR col3 < 44

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

query I rowsort label-2115
SELECT pk FROM tab4 WHERE NOT (((col3 <= 75)) OR col3 < 44)
----
0
1
4
6
7

statement ok
DELETE FROM tab0 WHERE col0 > 45 OR ((col1 IN (95.32,63.33,22.0)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 45 OR ((col1 IN (95.32,63.33,22.0)))
----

query I rowsort label-2130
SELECT pk FROM tab0 WHERE NOT (col0 > 45 OR ((col1 IN (95.32,63.33,22.0))))
----
0
1
4

statement ok
DELETE FROM tab1 WHERE col0 > 45 OR ((col1 IN (95.32,63.33,22.0)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 45 OR ((col1 IN (95.32,63.33,22.0)))
----

query I rowsort label-2130
SELECT pk FROM tab1 WHERE NOT (col0 > 45 OR ((col1 IN (95.32,63.33,22.0))))
----
0
1
4

statement ok
DELETE FROM tab2 WHERE col0 > 45 OR ((col1 IN (95.32,63.33,22.0)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 45 OR ((col1 IN (95.32,63.33,22.0)))
----

query I rowsort label-2130
SELECT pk FROM tab2 WHERE NOT (col0 > 45 OR ((col1 IN (95.32,63.33,22.0))))
----
0
1
4

statement ok
DELETE FROM tab3 WHERE col0 > 45 OR ((col1 IN (95.32,63.33,22.0)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 45 OR ((col1 IN (95.32,63.33,22.0)))
----

query I rowsort label-2130
SELECT pk FROM tab3 WHERE NOT (col0 > 45 OR ((col1 IN (95.32,63.33,22.0))))
----
0
1
4

statement ok
DELETE FROM tab4 WHERE col0 > 45 OR ((col1 IN (95.32,63.33,22.0)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 45 OR ((col1 IN (95.32,63.33,22.0)))
----

query I rowsort label-2130
SELECT pk FROM tab4 WHERE NOT (col0 > 45 OR ((col1 IN (95.32,63.33,22.0))))
----
0
1
4

statement ok
DELETE FROM tab0 WHERE (col3 > 14)

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

query I rowsort label-2145
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-2145
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-2145
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-2145
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-2145
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,87,69.10,'fockz',69,58.0,'tgtwb')

statement ok
INSERT INTO tab0 VALUES(1,73,82.95,'lqnxh',94,24.52,'kbhha')

statement ok
INSERT INTO tab0 VALUES(2,65,55.31,'uhjbl',51,74.64,'pawnk')

statement ok
INSERT INTO tab0 VALUES(3,42,11.53,'zikbh',66,97.66,'gmrlb')

statement ok
INSERT INTO tab0 VALUES(4,13,87.53,'gmoph',73,55.75,'ultop')

statement ok
INSERT INTO tab0 VALUES(5,80,47.39,'gceit',78,95.55,'ekxyl')

statement ok
INSERT INTO tab0 VALUES(6,95,97.98,'gpwst',24,59.84,'auzpy')

statement ok
INSERT INTO tab0 VALUES(7,28,95.61,'fhynk',48,98.11,'sqxdo')

statement ok
INSERT INTO tab0 VALUES(8,27,63.64,'byila',47,83.23,'phxox')

statement ok
INSERT INTO tab0 VALUES(9,81,1.8,'niuub',43,22.5,'bxpqx')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 INDEX idx_tab2_1 ON tab2 (col3,col4 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3)
----

query I rowsort label-2160
SELECT pk FROM tab0 WHERE NOT (col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3))
----

statement ok
DELETE FROM tab1 WHERE col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3)
----

query I rowsort label-2160
SELECT pk FROM tab1 WHERE NOT (col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3))
----

statement ok
DELETE FROM tab2 WHERE col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3)
----

query I rowsort label-2160
SELECT pk FROM tab2 WHERE NOT (col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3))
----

statement ok
DELETE FROM tab3 WHERE col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3)
----

query I rowsort label-2160
SELECT pk FROM tab3 WHERE NOT (col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3))
----

statement ok
DELETE FROM tab4 WHERE col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.3)
----

query I rowsort label-2160
SELECT pk FROM tab4 WHERE NOT (col3 > 10 OR col1 BETWEEN 47.75 AND 8.3 AND (col3 < 97) OR (col3 BETWEEN 7 AND 19 AND col0 >= 20 OR ((col4 BETWEEN 40.7 AND 14.16) AND (col3 < 75) AND col1 IN (56.10,95.95) OR col4 < 12.38 AND (col4 = 12.64) AND (((col1 = 29.18))) AND col0 >= 25 AND ((col0 >= 90) AND col0 <= 13 OR col1 IS NULL AND ((col3 IN (62,62,16,78,5,75)) AND col3 < 22 AND col0 > 61) OR (col3 <= 33) AND col4 > 68.9 AND (col3 < 9)) AND col3 <= 62 AND (col0 > 26) AND col3 > 3 AND ((col3 < 61 AND col3 > 27 AND col0 IN (29,6) OR ((col0 < 94) OR (col3 <= 7) AND (((col3 < 59) AND col1 = 15.84 OR col1 >= 19.18 OR col3 < 96 AND ((col1 > 13.26)) OR col0 < 82)) OR (col3 >= 65 AND ((((((col1 > 32.86 AND col3 IN (66,65) OR (col3 <= 64 OR col4 IN (91.72,97.50,48.46,36.11,72.95,60.78)) AND (col1 IS NULL OR col1 > 63.60) OR ((col0 = 91 AND (col0 < 53 AND (col3 <= 91) AND ((((col1 = 35.63))) AND col0 >= 41) AND col3 > 4 OR col1 IN (43.45,36.33,9.69) AND col0 <= 93 OR col0 = 30 OR ((((col3 > 61) AND col3 <= 63 OR col0 < 92) OR col1 <= 89.1 AND ((col0 BETWEEN 70 AND 6 AND col4 > 87.56) OR col3 < 38)))))) AND col0 < 12 OR col0 > 39 AND col0 >= 50 OR col0 < 72) AND col3 IN (26,64,61,61,76,71) OR col3 = 24 AND col3 > 54 OR col1 < 86.18 OR (col1 < 25.62) OR ((col0 > 89)) AND col0 >= 15 OR col3 > 7 AND (col0 < 83 AND ((((col0 < 41))) AND col1 > 60.31) OR col0 = 67) OR col3 > 28 OR col1 <= 19.70 AND col1 < 46.6 AND ((col0 < 71 OR col0 >= 73 OR (col1 > 82.13) OR col3 > 56 AND col1 > 54.71) AND col3 < 54) OR col4 >= 34.9 AND (col1 < 37.86 AND col4 > 71.71 OR (col3 = 10)) OR ((col1 <= 3.5)) AND ((col0 < 76)) OR col1 < 33.94 AND col4 <= 15.38) OR col0 > 73))))) OR (((col4 > 59.65 AND col1 > 77.41 OR (((col3 <= 83 OR (((col4 <= 72.58)))) AND col1 > 70.53)) AND col0 < 58 AND (col4 > 37.98 AND (((((col3 < 35) AND col0 >= 46 OR col1 <= 10.35 OR col1 = 49.58 AND col3 > 76))))) AND col1 < 6.25) AND (col1 = 90.29) AND col1 > 82.67 AND col4 > 41.77)) AND col3 IN (96,36)))) OR col1 <= 90.23 OR col0 IS NULL OR (col4 IS NULL AND col3 > 26 OR col3 = 74 AND col3 >= 83 AND col0 < 12 AND (col0 >= 22) OR ((col0 < 89)) AND ((col0 < 45))) AND col3 > 49 OR ((col0 = 0)) OR ((col0 <= 23) AND col0 IS NULL) AND (col4 BETWEEN 41.16 AND 4.24) OR (col0 <= 50)) OR col4 > 23.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,29,45.77,'zwsnm',11,42.38,'jmdbd')

statement ok
INSERT INTO tab0 VALUES(1,41,88.73,'ocrdy',14,24.97,'xtams')

statement ok
INSERT INTO tab0 VALUES(2,9,46.25,'zwqyu',84,23.7,'jiwmq')

statement ok
INSERT INTO tab0 VALUES(3,82,89.75,'iqodj',46,79.1,'cyics')

statement ok
INSERT INTO tab0 VALUES(4,52,53.65,'uqofx',50,56.41,'tqwbs')

statement ok
INSERT INTO tab0 VALUES(5,19,58.92,'wffts',34,54.78,'eovjn')

statement ok
INSERT INTO tab0 VALUES(6,50,16.75,'jqlwh',88,25.13,'rknyf')

statement ok
INSERT INTO tab0 VALUES(7,45,44.16,'rpuzi',12,78.63,'ggnhf')

statement ok
INSERT INTO tab0 VALUES(8,98,76.61,'twnib',81,3.22,'kbpbm')

statement ok
INSERT INTO tab0 VALUES(9,57,79.66,'kztpd',13,72.22,'qhxto')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0,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 INDEX idx_tab4_1 ON tab4 (col3,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25))
----

query I rowsort label-2175
SELECT pk FROM tab0 WHERE NOT (((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25)))
----

statement ok
DELETE FROM tab1 WHERE ((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25))
----

query I rowsort label-2175
SELECT pk FROM tab1 WHERE NOT (((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25)))
----

statement ok
DELETE FROM tab2 WHERE ((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25))
----

query I rowsort label-2175
SELECT pk FROM tab2 WHERE NOT (((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25)))
----

statement ok
DELETE FROM tab3 WHERE ((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25))
----

query I rowsort label-2175
SELECT pk FROM tab3 WHERE NOT (((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25)))
----

statement ok
DELETE FROM tab4 WHERE ((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25))
----

query I rowsort label-2175
SELECT pk FROM tab4 WHERE NOT (((col1 >= 40.37) OR (col4 BETWEEN 61.23 AND 2.93) OR (col1 <= 66.60 OR (col0 <= 37) OR col3 < 48) AND ((col3 IN (57,74) OR ((col4 < 31.18)) AND (col4 IS NULL OR col4 <= 55.45 AND (col3 IS NULL)))) OR col0 > 36 OR (col3 > 25)))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,5,27.37,'ooblo',71,14.70,'dasqp')

statement ok
INSERT INTO tab0 VALUES(1,18,65.58,'tvbif',87,69.97,'soqsz')

statement ok
INSERT INTO tab0 VALUES(2,12,96.48,'aahyy',19,9.10,'auwlf')

statement ok
INSERT INTO tab0 VALUES(3,84,81.64,'jtaie',54,29.66,'adbxh')

statement ok
INSERT INTO tab0 VALUES(4,37,62.16,'idwql',41,37.79,'dghne')

statement ok
INSERT INTO tab0 VALUES(5,92,30.77,'lceoc',2,20.34,'paxgl')

statement ok
INSERT INTO tab0 VALUES(6,2,82.96,'chwhu',46,0.98,'ftcov')

statement ok
INSERT INTO tab0 VALUES(7,62,85.9,'xkzsg',82,6.31,'whjrx')

statement ok
INSERT INTO tab0 VALUES(8,22,40.57,'nghmu',32,28.2,'icitp')

statement ok
INSERT INTO tab0 VALUES(9,3,44.89,'esvdy',39,82.99,'tlgvz')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL
----

query I rowsort label-2190
SELECT pk FROM tab0 WHERE NOT (col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL
----

query I rowsort label-2190
SELECT pk FROM tab1 WHERE NOT (col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL
----

query I rowsort label-2190
SELECT pk FROM tab2 WHERE NOT (col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL
----

query I rowsort label-2190
SELECT pk FROM tab3 WHERE NOT (col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL
----

query I rowsort label-2190
SELECT pk FROM tab4 WHERE NOT (col4 IN (38.55,59.44,43.52) OR col0 > 12 AND col4 IS NULL)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13))
----

query I rowsort label-2205
SELECT pk FROM tab0 WHERE NOT ((col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13)))
----
0
2
6
7

statement ok
DELETE FROM tab1 WHERE (col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13))
----

query I rowsort label-2205
SELECT pk FROM tab1 WHERE NOT ((col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13)))
----
0
2
6
7

statement ok
DELETE FROM tab2 WHERE (col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13))
----

query I rowsort label-2205
SELECT pk FROM tab2 WHERE NOT ((col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13)))
----
0
2
6
7

statement ok
DELETE FROM tab3 WHERE (col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13))
----

query I rowsort label-2205
SELECT pk FROM tab3 WHERE NOT ((col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13)))
----
0
2
6
7

statement ok
DELETE FROM tab4 WHERE (col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13))
----

query I rowsort label-2205
SELECT pk FROM tab4 WHERE NOT ((col4 >= 21.96 OR ((col3 < 64)) AND (col0 >= 13)))
----
0
2
6
7

statement ok
DELETE FROM tab0 WHERE (col0 > 9) OR col0 >= 53

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

query I rowsort label-2220
SELECT pk FROM tab0 WHERE NOT ((col0 > 9) OR col0 >= 53)
----
0
6

statement ok
DELETE FROM tab1 WHERE (col0 > 9) OR col0 >= 53

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

query I rowsort label-2220
SELECT pk FROM tab1 WHERE NOT ((col0 > 9) OR col0 >= 53)
----
0
6

statement ok
DELETE FROM tab2 WHERE (col0 > 9) OR col0 >= 53

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

query I rowsort label-2220
SELECT pk FROM tab2 WHERE NOT ((col0 > 9) OR col0 >= 53)
----
0
6

statement ok
DELETE FROM tab3 WHERE (col0 > 9) OR col0 >= 53

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

query I rowsort label-2220
SELECT pk FROM tab3 WHERE NOT ((col0 > 9) OR col0 >= 53)
----
0
6

statement ok
DELETE FROM tab4 WHERE (col0 > 9) OR col0 >= 53

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

query I rowsort label-2220
SELECT pk FROM tab4 WHERE NOT ((col0 > 9) OR col0 >= 53)
----
0
6

statement ok
DELETE FROM tab0 WHERE col0 > 4

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

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

statement ok
DELETE FROM tab1 WHERE col0 > 4

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

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

statement ok
DELETE FROM tab2 WHERE col0 > 4

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

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

statement ok
DELETE FROM tab3 WHERE col0 > 4

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

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

statement ok
DELETE FROM tab4 WHERE col0 > 4

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

query I rowsort label-2235
SELECT pk FROM tab4 WHERE NOT (col0 > 4)
----
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,70,11.55,'rzhhr',82,65.81,'kdbdw')

statement ok
INSERT INTO tab0 VALUES(1,66,59.89,'topaf',70,95.24,'rrrqg')

statement ok
INSERT INTO tab0 VALUES(2,68,60.4,'owepg',20,47.30,'uflln')

statement ok
INSERT INTO tab0 VALUES(3,88,2.58,'waqcu',21,79.36,'czmys')

statement ok
INSERT INTO tab0 VALUES(4,96,7.98,'wxawq',24,70.24,'scijc')

statement ok
INSERT INTO tab0 VALUES(5,25,0.67,'tipva',52,80.31,'bqhco')

statement ok
INSERT INTO tab0 VALUES(6,90,66.23,'ihjqf',12,12.61,'mxmsi')

statement ok
INSERT INTO tab0 VALUES(7,97,16.47,'rwtqf',13,75.0,'akddt')

statement ok
INSERT INTO tab0 VALUES(8,55,51.56,'vmhae',66,50.27,'vaisr')

statement ok
INSERT INTO tab0 VALUES(9,91,19.19,'hbaei',14,46.25,'vepmf')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC)

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_4 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,col0 DESC)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 > 7

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

query I rowsort label-2250
SELECT pk FROM tab0 WHERE NOT (col0 > 7)
----

statement ok
DELETE FROM tab1 WHERE col0 > 7

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

query I rowsort label-2250
SELECT pk FROM tab1 WHERE NOT (col0 > 7)
----

statement ok
DELETE FROM tab2 WHERE col0 > 7

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

query I rowsort label-2250
SELECT pk FROM tab2 WHERE NOT (col0 > 7)
----

statement ok
DELETE FROM tab3 WHERE col0 > 7

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

query I rowsort label-2250
SELECT pk FROM tab3 WHERE NOT (col0 > 7)
----

statement ok
DELETE FROM tab4 WHERE col0 > 7

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

query I rowsort label-2250
SELECT pk FROM tab4 WHERE NOT (col0 > 7)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,60,65.42,'iumhh',61,57.68,'uocqz')

statement ok
INSERT INTO tab0 VALUES(1,40,33.14,'fcqil',65,93.40,'urixr')

statement ok
INSERT INTO tab0 VALUES(2,69,66.91,'hkyet',4,32.21,'kpgsb')

statement ok
INSERT INTO tab0 VALUES(3,14,7.30,'ntezy',17,1.9,'kcqfy')

statement ok
INSERT INTO tab0 VALUES(4,0,23.7,'gdaub',30,61.2,'mfgfz')

statement ok
INSERT INTO tab0 VALUES(5,71,18.86,'ghkbs',22,14.66,'ixdwz')

statement ok
INSERT INTO tab0 VALUES(6,57,49.75,'xcomc',86,24.94,'uqtgu')

statement ok
INSERT INTO tab0 VALUES(7,29,35.93,'hhcmd',93,20.72,'ydzzs')

statement ok
INSERT INTO tab0 VALUES(8,72,72.31,'jdfus',51,17.38,'ivfxk')

statement ok
INSERT INTO tab0 VALUES(9,34,46.15,'aargo',71,22.44,'aqurc')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

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 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20
----

query I rowsort label-2265
SELECT pk FROM tab0 WHERE NOT ((((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20)
----
3
4

statement ok
DELETE FROM tab1 WHERE (((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20
----

query I rowsort label-2265
SELECT pk FROM tab1 WHERE NOT ((((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20)
----
3
4

statement ok
DELETE FROM tab2 WHERE (((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20
----

query I rowsort label-2265
SELECT pk FROM tab2 WHERE NOT ((((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20)
----
3
4

statement ok
DELETE FROM tab3 WHERE (((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20
----

query I rowsort label-2265
SELECT pk FROM tab3 WHERE NOT ((((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20)
----
3
4

statement ok
DELETE FROM tab4 WHERE (((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20
----

query I rowsort label-2265
SELECT pk FROM tab4 WHERE NOT ((((col0 >= 22) OR col0 > 63 AND col1 >= 63.70 AND col4 = 21.54 OR (col1 < 79.2 OR ((((col0 < 79)) OR col0 IS NULL AND (col0 > 69 OR col0 IN (52,38,80)))) AND col1 > 83.8 OR (col3 < 51) AND col3 <= 83) AND col0 > 94) AND col3 >= 4 OR col4 < 65.76) AND col0 >= 20)
----
3
4

statement ok
DELETE FROM tab0 WHERE ((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81))))
----

query I rowsort label-2280
SELECT pk FROM tab0 WHERE NOT (((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81)))))
----
3
4

statement ok
DELETE FROM tab1 WHERE ((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81))))
----

query I rowsort label-2280
SELECT pk FROM tab1 WHERE NOT (((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81)))))
----
3
4

statement ok
DELETE FROM tab2 WHERE ((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81))))
----

query I rowsort label-2280
SELECT pk FROM tab2 WHERE NOT (((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81)))))
----
3
4

statement ok
DELETE FROM tab3 WHERE ((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81))))
----

query I rowsort label-2280
SELECT pk FROM tab3 WHERE NOT (((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81)))))
----
3
4

statement ok
DELETE FROM tab4 WHERE ((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81))))
----

query I rowsort label-2280
SELECT pk FROM tab4 WHERE NOT (((col3 > 78 OR col4 = 30.92 OR ((col3 = 6)) OR ((col3 < 2) AND (col1 < 5.81)))))
----
3
4

statement ok
DELETE FROM tab0 WHERE (col1 < 80.2)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 80.2)
----

query I rowsort label-2295
SELECT pk FROM tab0 WHERE NOT ((col1 < 80.2))
----

statement ok
DELETE FROM tab1 WHERE (col1 < 80.2)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 80.2)
----

query I rowsort label-2295
SELECT pk FROM tab1 WHERE NOT ((col1 < 80.2))
----

statement ok
DELETE FROM tab2 WHERE (col1 < 80.2)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 80.2)
----

query I rowsort label-2295
SELECT pk FROM tab2 WHERE NOT ((col1 < 80.2))
----

statement ok
DELETE FROM tab3 WHERE (col1 < 80.2)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 80.2)
----

query I rowsort label-2295
SELECT pk FROM tab3 WHERE NOT ((col1 < 80.2))
----

statement ok
DELETE FROM tab4 WHERE (col1 < 80.2)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 80.2)
----

query I rowsort label-2295
SELECT pk FROM tab4 WHERE NOT ((col1 < 80.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,1,54.55,'arbvx',74,73.3,'bszwl')

statement ok
INSERT INTO tab0 VALUES(1,64,13.76,'fniiy',94,45.55,'lqxqb')

statement ok
INSERT INTO tab0 VALUES(2,2,3.89,'pfxmt',25,36.48,'ehvil')

statement ok
INSERT INTO tab0 VALUES(3,96,21.79,'ilwje',50,37.87,'thywc')

statement ok
INSERT INTO tab0 VALUES(4,47,4.15,'ajlor',3,83.45,'rbnko')

statement ok
INSERT INTO tab0 VALUES(5,40,39.11,'vmdve',35,66.21,'otjcq')

statement ok
INSERT INTO tab0 VALUES(6,4,77.94,'sdwqn',72,50.7,'kopqh')

statement ok
INSERT INTO tab0 VALUES(7,78,46.59,'ibftg',78,79.45,'mncxc')

statement ok
INSERT INTO tab0 VALUES(8,69,60.40,'mgfcb',21,92.97,'rchqa')

statement ok
INSERT INTO tab0 VALUES(9,20,37.64,'xivdr',32,38.1,'nvpyv')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3,col0 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 col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88
----

query I rowsort label-2310
SELECT pk FROM tab0 WHERE NOT (col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88
----

query I rowsort label-2310
SELECT pk FROM tab1 WHERE NOT (col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88
----

query I rowsort label-2310
SELECT pk FROM tab2 WHERE NOT (col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88
----

query I rowsort label-2310
SELECT pk FROM tab3 WHERE NOT (col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88
----

query I rowsort label-2310
SELECT pk FROM tab4 WHERE NOT (col1 < 71.57 AND (((((col3 = 87)) AND col0 > 14 OR col3 > 59 AND (col1 >= 58.0) OR ((col3 = 10 AND (((col3 >= 8))))) AND (((col1 IS NULL AND col0 <= 24))) AND col3 < 38))) AND col3 < 88)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 = 80

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

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

statement ok
DELETE FROM tab1 WHERE col0 = 80

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

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

statement ok
DELETE FROM tab2 WHERE col0 = 80

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

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

statement ok
DELETE FROM tab3 WHERE col0 = 80

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

query I rowsort label-2325
SELECT pk FROM tab3 WHERE NOT (col0 = 80)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 = 80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 80
----

query I rowsort label-2325
SELECT pk FROM tab4 WHERE NOT (col0 = 80)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17
----

query I rowsort label-2340
SELECT pk FROM tab0 WHERE NOT (col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17
----

query I rowsort label-2340
SELECT pk FROM tab1 WHERE NOT (col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17
----

query I rowsort label-2340
SELECT pk FROM tab2 WHERE NOT (col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17
----

query I rowsort label-2340
SELECT pk FROM tab3 WHERE NOT (col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17
----

query I rowsort label-2340
SELECT pk FROM tab4 WHERE NOT (col3 <= 81 AND ((col3 IS NULL)) OR col4 = 12.85 AND col1 = 47.83 AND col3 >= 57 AND col1 >= 72.17)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col0 > 22) AND col3 = 61)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 22) AND col3 = 61)
----

query I rowsort label-2355
SELECT pk FROM tab0 WHERE NOT (((col0 > 22) AND col3 = 61))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col0 > 22) AND col3 = 61)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 22) AND col3 = 61)
----

query I rowsort label-2355
SELECT pk FROM tab1 WHERE NOT (((col0 > 22) AND col3 = 61))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col0 > 22) AND col3 = 61)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 22) AND col3 = 61)
----

query I rowsort label-2355
SELECT pk FROM tab2 WHERE NOT (((col0 > 22) AND col3 = 61))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col0 > 22) AND col3 = 61)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 22) AND col3 = 61)
----

query I rowsort label-2355
SELECT pk FROM tab3 WHERE NOT (((col0 > 22) AND col3 = 61))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col0 > 22) AND col3 = 61)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 22) AND col3 = 61)
----

query I rowsort label-2355
SELECT pk FROM tab4 WHERE NOT (((col0 > 22) AND col3 = 61))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,35,21.65,'dgwqi',98,41.98,'qjckx')

statement ok
INSERT INTO tab0 VALUES(1,42,22.55,'vlkni',74,9.88,'nuakt')

statement ok
INSERT INTO tab0 VALUES(2,7,52.2,'zbgzc',97,71.44,'mwayv')

statement ok
INSERT INTO tab0 VALUES(3,5,98.98,'hdalk',58,70.89,'kdiph')

statement ok
INSERT INTO tab0 VALUES(4,33,89.9,'cbejs',48,48.45,'xgpjy')

statement ok
INSERT INTO tab0 VALUES(5,67,11.31,'zeizg',20,62.1,'tscjm')

statement ok
INSERT INTO tab0 VALUES(6,28,17.59,'nljwf',52,91.69,'zhzhp')

statement ok
INSERT INTO tab0 VALUES(7,44,40.44,'oaiou',12,51.55,'wyega')

statement ok
INSERT INTO tab0 VALUES(8,9,8.56,'jxyij',16,10.13,'eeudv')

statement ok
INSERT INTO tab0 VALUES(9,52,54.51,'toimo',92,92.13,'euxnh')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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_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 (col0,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC,col3,col4 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC,col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44
----

query I rowsort label-2370
SELECT pk FROM tab0 WHERE NOT ((((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44)
----
0
1
2
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44
----

query I rowsort label-2370
SELECT pk FROM tab1 WHERE NOT ((((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44)
----
0
1
2
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44
----

query I rowsort label-2370
SELECT pk FROM tab2 WHERE NOT ((((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44)
----
0
1
2
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44
----

query I rowsort label-2370
SELECT pk FROM tab3 WHERE NOT ((((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44)
----
0
1
2
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44
----

query I rowsort label-2370
SELECT pk FROM tab4 WHERE NOT ((((col1 = 77.52 AND (col3 < 43)))) OR col1 >= 87.90 OR col0 BETWEEN 86 AND 13 OR ((((((col1 > 46.25))))) AND (col3 = 39) AND col0 >= 83) OR col4 BETWEEN 60.78 AND 62.44)
----
0
1
2
6
7
8
9

statement ok
DELETE FROM tab0 WHERE ((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33
----

query I rowsort label-2385
SELECT pk FROM tab0 WHERE NOT (((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33)
----
0
1
2
6
8
9

statement ok
DELETE FROM tab1 WHERE ((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33
----

query I rowsort label-2385
SELECT pk FROM tab1 WHERE NOT (((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33)
----
0
1
2
6
8
9

statement ok
DELETE FROM tab2 WHERE ((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33
----

query I rowsort label-2385
SELECT pk FROM tab2 WHERE NOT (((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33)
----
0
1
2
6
8
9

statement ok
DELETE FROM tab3 WHERE ((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33
----

query I rowsort label-2385
SELECT pk FROM tab3 WHERE NOT (((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33)
----
0
1
2
6
8
9

statement ok
DELETE FROM tab4 WHERE ((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33
----

query I rowsort label-2385
SELECT pk FROM tab4 WHERE NOT (((col3 <= 53)) AND (col1 >= 21.48) AND (col0 > 35) AND (col3 <= 29) OR col3 <= 10 AND col3 <= 33)
----
0
1
2
6
8
9

statement ok
DELETE FROM tab0 WHERE col3 < 88

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 88
----

query I rowsort label-2400
SELECT pk FROM tab0 WHERE NOT (col3 < 88)
----
0
2
9

statement ok
DELETE FROM tab1 WHERE col3 < 88

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 88
----

query I rowsort label-2400
SELECT pk FROM tab1 WHERE NOT (col3 < 88)
----
0
2
9

statement ok
DELETE FROM tab2 WHERE col3 < 88

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 88
----

query I rowsort label-2400
SELECT pk FROM tab2 WHERE NOT (col3 < 88)
----
0
2
9

statement ok
DELETE FROM tab3 WHERE col3 < 88

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 88
----

query I rowsort label-2400
SELECT pk FROM tab3 WHERE NOT (col3 < 88)
----
0
2
9

statement ok
DELETE FROM tab4 WHERE col3 < 88

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 88
----

query I rowsort label-2400
SELECT pk FROM tab4 WHERE NOT (col3 < 88)
----
0
2
9

statement ok
DELETE FROM tab0 WHERE col3 > 24

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 24
----

query I rowsort label-2415
SELECT pk FROM tab0 WHERE NOT (col3 > 24)
----

statement ok
DELETE FROM tab1 WHERE col3 > 24

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 24
----

query I rowsort label-2415
SELECT pk FROM tab1 WHERE NOT (col3 > 24)
----

statement ok
DELETE FROM tab2 WHERE col3 > 24

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 24
----

query I rowsort label-2415
SELECT pk FROM tab2 WHERE NOT (col3 > 24)
----

statement ok
DELETE FROM tab3 WHERE col3 > 24

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 24
----

query I rowsort label-2415
SELECT pk FROM tab3 WHERE NOT (col3 > 24)
----

statement ok
DELETE FROM tab4 WHERE col3 > 24

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 24
----

query I rowsort label-2415
SELECT pk FROM tab4 WHERE NOT (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,45,55.70,'pkkzo',20,4.60,'dazpy')

statement ok
INSERT INTO tab0 VALUES(1,55,83.39,'heojt',71,83.77,'pdlla')

statement ok
INSERT INTO tab0 VALUES(2,18,17.42,'vgtol',50,99.64,'zrjgl')

statement ok
INSERT INTO tab0 VALUES(3,14,81.14,'biybo',43,64.87,'iyybt')

statement ok
INSERT INTO tab0 VALUES(4,72,56.13,'efvlt',61,7.64,'xenga')

statement ok
INSERT INTO tab0 VALUES(5,30,95.84,'souce',8,84.30,'qhuie')

statement ok
INSERT INTO tab0 VALUES(6,96,34.21,'uhawy',40,89.3,'vfwnz')

statement ok
INSERT INTO tab0 VALUES(7,16,7.28,'ekvlc',31,71.41,'svkkg')

statement ok
INSERT INTO tab0 VALUES(8,31,54.84,'lmojr',30,44.7,'gktjw')

statement ok
INSERT INTO tab0 VALUES(9,42,39.1,'ajuga',32,98.32,'lgbpc')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_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_1 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC,col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 > 71 OR col1 >= 11.19

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 71 OR col1 >= 11.19
----

query I rowsort label-2430
SELECT pk FROM tab0 WHERE NOT (col3 > 71 OR col1 >= 11.19)
----
7

statement ok
DELETE FROM tab1 WHERE col3 > 71 OR col1 >= 11.19

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 71 OR col1 >= 11.19
----

query I rowsort label-2430
SELECT pk FROM tab1 WHERE NOT (col3 > 71 OR col1 >= 11.19)
----
7

statement ok
DELETE FROM tab2 WHERE col3 > 71 OR col1 >= 11.19

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 71 OR col1 >= 11.19
----

query I rowsort label-2430
SELECT pk FROM tab2 WHERE NOT (col3 > 71 OR col1 >= 11.19)
----
7

statement ok
DELETE FROM tab3 WHERE col3 > 71 OR col1 >= 11.19

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 71 OR col1 >= 11.19
----

query I rowsort label-2430
SELECT pk FROM tab3 WHERE NOT (col3 > 71 OR col1 >= 11.19)
----
7

statement ok
DELETE FROM tab4 WHERE col3 > 71 OR col1 >= 11.19

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 71 OR col1 >= 11.19
----

query I rowsort label-2430
SELECT pk FROM tab4 WHERE NOT (col3 > 71 OR col1 >= 11.19)
----
7

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29)
----

query I rowsort label-2445
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29))
----
7

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29)
----

query I rowsort label-2445
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29))
----
7

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29)
----

query I rowsort label-2445
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29))
----
7

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29)
----

query I rowsort label-2445
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29))
----
7

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29)
----

query I rowsort label-2445
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL AND ((col3 > 29 OR (col3 = 21) OR col3 > 33 OR ((col0 >= 49 AND (col0 = 38) OR col1 IN (78.72,21.15,15.77,88.64,75.33)) AND ((col0 >= 82 AND col4 > 82.57 OR (col0 > 96) OR (col1 > 70.28 OR (col1 < 11.8) OR ((col3 > 83))) AND col0 > 74 OR ((col0 > 30) AND col3 IN (70,8)) AND col3 > 50 OR col0 < 32)) OR col0 <= 7 OR col3 < 38) OR col4 >= 12.78 OR col0 BETWEEN 83 AND 94 AND (col0 > 34) AND col1 >= 83.86)) OR col3 <= 29))
----
7

statement ok
DELETE FROM tab0 WHERE col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74
----

query I rowsort label-2460
SELECT pk FROM tab0 WHERE NOT (col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74)
----
7

statement ok
DELETE FROM tab1 WHERE col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74
----

query I rowsort label-2460
SELECT pk FROM tab1 WHERE NOT (col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74)
----
7

statement ok
DELETE FROM tab2 WHERE col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74
----

query I rowsort label-2460
SELECT pk FROM tab2 WHERE NOT (col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74)
----
7

statement ok
DELETE FROM tab3 WHERE col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74
----

query I rowsort label-2460
SELECT pk FROM tab3 WHERE NOT (col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74)
----
7

statement ok
DELETE FROM tab4 WHERE col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74
----

query I rowsort label-2460
SELECT pk FROM tab4 WHERE NOT (col0 = 18 AND col3 < 68 AND col4 > 87.44 AND col4 < 82.74)
----
7

statement ok
DELETE FROM tab0 WHERE col4 > 53.75

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 53.75
----

query I rowsort label-2475
SELECT pk FROM tab0 WHERE NOT (col4 > 53.75)
----

statement ok
DELETE FROM tab1 WHERE col4 > 53.75

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 53.75
----

query I rowsort label-2475
SELECT pk FROM tab1 WHERE NOT (col4 > 53.75)
----

statement ok
DELETE FROM tab2 WHERE col4 > 53.75

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 53.75
----

query I rowsort label-2475
SELECT pk FROM tab2 WHERE NOT (col4 > 53.75)
----

statement ok
DELETE FROM tab3 WHERE col4 > 53.75

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 53.75
----

query I rowsort label-2475
SELECT pk FROM tab3 WHERE NOT (col4 > 53.75)
----

statement ok
DELETE FROM tab4 WHERE col4 > 53.75

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 53.75
----

query I rowsort label-2475
SELECT pk FROM tab4 WHERE NOT (col4 > 53.75)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,82,65.97,'hsvdb',38,43.42,'wgrmh')

statement ok
INSERT INTO tab0 VALUES(1,15,87.72,'ozafs',20,5.67,'vcfoc')

statement ok
INSERT INTO tab0 VALUES(2,8,25.61,'cwkda',50,95.40,'xkjdv')

statement ok
INSERT INTO tab0 VALUES(3,56,99.94,'hnaed',72,83.40,'aqkvj')

statement ok
INSERT INTO tab0 VALUES(4,30,95.1,'mynvi',65,38.50,'yompu')

statement ok
INSERT INTO tab0 VALUES(5,94,32.21,'tzsys',54,91.71,'zlhut')

statement ok
INSERT INTO tab0 VALUES(6,10,17.17,'ophyx',19,96.30,'nfpif')

statement ok
INSERT INTO tab0 VALUES(7,59,16.88,'fzkvp',18,93.99,'tmbwa')

statement ok
INSERT INTO tab0 VALUES(8,49,10.79,'pmfkg',86,70.1,'gvqwo')

statement ok
INSERT INTO tab0 VALUES(9,25,60.97,'wbqip',60,27.28,'msisk')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4,col0 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0,col1 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC,col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 < 33.6)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 33.6)
----

query I rowsort label-2490
SELECT pk FROM tab0 WHERE NOT ((col4 < 33.6))
----
0
2
3
4
5
6
7
8

statement ok
DELETE FROM tab1 WHERE (col4 < 33.6)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 33.6)
----

query I rowsort label-2490
SELECT pk FROM tab1 WHERE NOT ((col4 < 33.6))
----
0
2
3
4
5
6
7
8

statement ok
DELETE FROM tab2 WHERE (col4 < 33.6)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 33.6)
----

query I rowsort label-2490
SELECT pk FROM tab2 WHERE NOT ((col4 < 33.6))
----
0
2
3
4
5
6
7
8

statement ok
DELETE FROM tab3 WHERE (col4 < 33.6)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 33.6)
----

query I rowsort label-2490
SELECT pk FROM tab3 WHERE NOT ((col4 < 33.6))
----
0
2
3
4
5
6
7
8

statement ok
DELETE FROM tab4 WHERE (col4 < 33.6)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 33.6)
----

query I rowsort label-2490
SELECT pk FROM tab4 WHERE NOT ((col4 < 33.6))
----
0
2
3
4
5
6
7
8

statement ok
DELETE FROM tab0 WHERE col3 > 48

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 48
----

query I rowsort label-2505
SELECT pk FROM tab0 WHERE NOT (col3 > 48)
----
0
6
7

statement ok
DELETE FROM tab1 WHERE col3 > 48

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 48
----

query I rowsort label-2505
SELECT pk FROM tab1 WHERE NOT (col3 > 48)
----
0
6
7

statement ok
DELETE FROM tab2 WHERE col3 > 48

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 48
----

query I rowsort label-2505
SELECT pk FROM tab2 WHERE NOT (col3 > 48)
----
0
6
7

statement ok
DELETE FROM tab3 WHERE col3 > 48

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 48
----

query I rowsort label-2505
SELECT pk FROM tab3 WHERE NOT (col3 > 48)
----
0
6
7

statement ok
DELETE FROM tab4 WHERE col3 > 48

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 48
----

query I rowsort label-2505
SELECT pk FROM tab4 WHERE NOT (col3 > 48)
----
0
6
7

statement ok
DELETE FROM tab0 WHERE col0 < 16

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 16
----

query I rowsort label-2520
SELECT pk FROM tab0 WHERE NOT (col0 < 16)
----
0
7

statement ok
DELETE FROM tab1 WHERE col0 < 16

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 16
----

query I rowsort label-2520
SELECT pk FROM tab1 WHERE NOT (col0 < 16)
----
0
7

statement ok
DELETE FROM tab2 WHERE col0 < 16

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 16
----

query I rowsort label-2520
SELECT pk FROM tab2 WHERE NOT (col0 < 16)
----
0
7

statement ok
DELETE FROM tab3 WHERE col0 < 16

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 16
----

query I rowsort label-2520
SELECT pk FROM tab3 WHERE NOT (col0 < 16)
----
0
7

statement ok
DELETE FROM tab4 WHERE col0 < 16

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 16
----

query I rowsort label-2520
SELECT pk FROM tab4 WHERE NOT (col0 < 16)
----
0
7

statement ok
DELETE FROM tab0 WHERE col0 > 56

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 56
----

query I rowsort label-2535
SELECT pk FROM tab0 WHERE NOT (col0 > 56)
----

statement ok
DELETE FROM tab1 WHERE col0 > 56

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 56
----

query I rowsort label-2535
SELECT pk FROM tab1 WHERE NOT (col0 > 56)
----

statement ok
DELETE FROM tab2 WHERE col0 > 56

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 56
----

query I rowsort label-2535
SELECT pk FROM tab2 WHERE NOT (col0 > 56)
----

statement ok
DELETE FROM tab3 WHERE col0 > 56

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 56
----

query I rowsort label-2535
SELECT pk FROM tab3 WHERE NOT (col0 > 56)
----

statement ok
DELETE FROM tab4 WHERE col0 > 56

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 56
----

query I rowsort label-2535
SELECT pk FROM tab4 WHERE NOT (col0 > 56)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,43,21.90,'qbnpz',66,11.90,'bmrwv')

statement ok
INSERT INTO tab0 VALUES(1,17,56.21,'mmfvs',38,49.46,'nkhkd')

statement ok
INSERT INTO tab0 VALUES(2,19,48.98,'wyfia',15,36.8,'oumtl')

statement ok
INSERT INTO tab0 VALUES(3,69,34.43,'jjgmh',55,86.69,'nbhvm')

statement ok
INSERT INTO tab0 VALUES(4,32,3.12,'jayfm',0,70.42,'elmza')

statement ok
INSERT INTO tab0 VALUES(5,87,13.64,'hcypy',31,32.22,'xmxmx')

statement ok
INSERT INTO tab0 VALUES(6,86,98.20,'rqums',34,3.47,'sqoef')

statement ok
INSERT INTO tab0 VALUES(7,15,86.24,'isjfs',64,12.60,'kyrdh')

statement ok
INSERT INTO tab0 VALUES(8,63,10.12,'jnwao',5,93.74,'tsvia')

statement ok
INSERT INTO tab0 VALUES(9,75,16.66,'louyb',35,13.36,'nadev')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC,col0 DESC,col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 = 80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 80
----

query I rowsort label-2550
SELECT pk FROM tab0 WHERE NOT (col3 = 80)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 = 80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 80
----

query I rowsort label-2550
SELECT pk FROM tab1 WHERE NOT (col3 = 80)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 = 80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 80
----

query I rowsort label-2550
SELECT pk FROM tab2 WHERE NOT (col3 = 80)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 = 80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 80
----

query I rowsort label-2550
SELECT pk FROM tab3 WHERE NOT (col3 = 80)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 = 80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 80
----

query I rowsort label-2550
SELECT pk FROM tab4 WHERE NOT (col3 = 80)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 <= 3.72 AND col3 > 36

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 3.72 AND col3 > 36
----

query I rowsort label-2565
SELECT pk FROM tab0 WHERE NOT (col4 <= 3.72 AND col3 > 36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 <= 3.72 AND col3 > 36

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 3.72 AND col3 > 36
----

query I rowsort label-2565
SELECT pk FROM tab1 WHERE NOT (col4 <= 3.72 AND col3 > 36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 <= 3.72 AND col3 > 36

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 3.72 AND col3 > 36
----

query I rowsort label-2565
SELECT pk FROM tab2 WHERE NOT (col4 <= 3.72 AND col3 > 36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 <= 3.72 AND col3 > 36

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 3.72 AND col3 > 36
----

query I rowsort label-2565
SELECT pk FROM tab3 WHERE NOT (col4 <= 3.72 AND col3 > 36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 <= 3.72 AND col3 > 36

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 3.72 AND col3 > 36
----

query I rowsort label-2565
SELECT pk FROM tab4 WHERE NOT (col4 <= 3.72 AND col3 > 36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col4 <= 96.95))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 <= 96.95))
----

query I rowsort label-2580
SELECT pk FROM tab0 WHERE NOT (((col4 <= 96.95)))
----

statement ok
DELETE FROM tab1 WHERE ((col4 <= 96.95))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 <= 96.95))
----

query I rowsort label-2580
SELECT pk FROM tab1 WHERE NOT (((col4 <= 96.95)))
----

statement ok
DELETE FROM tab2 WHERE ((col4 <= 96.95))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 <= 96.95))
----

query I rowsort label-2580
SELECT pk FROM tab2 WHERE NOT (((col4 <= 96.95)))
----

statement ok
DELETE FROM tab3 WHERE ((col4 <= 96.95))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 <= 96.95))
----

query I rowsort label-2580
SELECT pk FROM tab3 WHERE NOT (((col4 <= 96.95)))
----

statement ok
DELETE FROM tab4 WHERE ((col4 <= 96.95))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 <= 96.95))
----

query I rowsort label-2580
SELECT pk FROM tab4 WHERE NOT (((col4 <= 96.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,88,13.37,'vclmj',21,4.78,'rppyv')

statement ok
INSERT INTO tab0 VALUES(1,44,69.25,'utvxs',45,65.50,'kljss')

statement ok
INSERT INTO tab0 VALUES(2,47,97.10,'wkrhl',91,83.24,'igcxe')

statement ok
INSERT INTO tab0 VALUES(3,73,44.17,'jewfl',37,6.19,'agfhn')

statement ok
INSERT INTO tab0 VALUES(4,50,5.32,'slkwu',16,15.63,'ncdsp')

statement ok
INSERT INTO tab0 VALUES(5,71,82.10,'idade',30,77.18,'ewxkj')

statement ok
INSERT INTO tab0 VALUES(6,2,51.92,'aouuw',64,14.80,'ahpak')

statement ok
INSERT INTO tab0 VALUES(7,0,21.12,'svyqb',0,66.2,'ouhtr')

statement ok
INSERT INTO tab0 VALUES(8,23,0.15,'dtdon',23,48.99,'hqila')

statement ok
INSERT INTO tab0 VALUES(9,39,53.69,'iblrm',42,18.66,'mcgua')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4,col1,col3 DESC,col0)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1,col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4,col1 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0 DESC,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 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 (col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46)
----

query I rowsort label-2595
SELECT pk FROM tab0 WHERE NOT ((col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46))
----
6
7

statement ok
DELETE FROM tab1 WHERE (col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46)
----

query I rowsort label-2595
SELECT pk FROM tab1 WHERE NOT ((col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46))
----
6
7

statement ok
DELETE FROM tab2 WHERE (col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46)
----

query I rowsort label-2595
SELECT pk FROM tab2 WHERE NOT ((col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46))
----
6
7

statement ok
DELETE FROM tab3 WHERE (col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46)
----

query I rowsort label-2595
SELECT pk FROM tab3 WHERE NOT ((col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46))
----
6
7

statement ok
DELETE FROM tab4 WHERE (col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46)
----

query I rowsort label-2595
SELECT pk FROM tab4 WHERE NOT ((col4 > 98.0 OR col0 > 15 OR (((col1 IS NULL) OR ((col3 > 82)) AND col3 <= 58)) AND (col1 < 19.67 AND col3 = 97 OR (col1 < 81.89 OR col0 = 21 AND ((col0 < 88 OR col0 IN (51,91,38,18) OR (((((col3 < 20 AND (((((col4 > 94.52 AND (col4 = 57.40) OR col0 < 34 AND (col0 > 40) OR col4 >= 90.56 OR ((((col4 > 83.11 AND (col3 > 57) OR col1 < 81.69)) AND col0 IS NULL)))) OR (col3 < 75 AND (((col0 = 39 OR col4 < 44.65))) AND col0 > 95 OR (col3 <= 87 AND ((col3 >= 70 AND col0 BETWEEN 14 AND 70)))) AND col3 < 17 AND (col3 >= 95 AND (col0 <= 74) AND col0 IS NULL OR col3 = 14 OR col4 < 90.46 OR (col3 IS NULL) OR col0 >= 55 AND ((col4 >= 64.93)) OR (col3 > 12) OR col4 < 39.29 AND col4 < 13.43 OR col3 >= 96 AND (col3 <= 67) AND col1 IS NULL) OR col4 < 55.9 OR col0 >= 72)) AND (col3 > 50) AND ((col0 <= 47) AND col3 IS NULL) AND col0 >= 69 OR (col1 IS NULL)))))) OR (((col4 > 44.12) OR (col3 = 54)))) OR col1 >= 53.27 AND col3 IN (32) OR col3 < 4) OR col0 > 54 OR (col4 <= 38.68) OR col3 >= 47 OR (col1 > 8.4))) OR ((((col0 > 79) AND (((((col0 < 7)))) AND (col4 > 49.3) AND (col4 > 48.4) AND col4 > 17.62)))) OR col4 IN (84.76,16.82,5.77,0.75,77.37,20.81)) AND col0 > 46))
----
6
7

statement ok
DELETE FROM tab0 WHERE col3 <= 38

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 38
----

query I rowsort label-2610
SELECT pk FROM tab0 WHERE NOT (col3 <= 38)
----
6

statement ok
DELETE FROM tab1 WHERE col3 <= 38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 38
----

query I rowsort label-2610
SELECT pk FROM tab1 WHERE NOT (col3 <= 38)
----
6

statement ok
DELETE FROM tab2 WHERE col3 <= 38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 38
----

query I rowsort label-2610
SELECT pk FROM tab2 WHERE NOT (col3 <= 38)
----
6

statement ok
DELETE FROM tab3 WHERE col3 <= 38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 38
----

query I rowsort label-2610
SELECT pk FROM tab3 WHERE NOT (col3 <= 38)
----
6

statement ok
DELETE FROM tab4 WHERE col3 <= 38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 38
----

query I rowsort label-2610
SELECT pk FROM tab4 WHERE NOT (col3 <= 38)
----
6

statement ok
DELETE FROM tab0 WHERE col0 IN (74,7,48,20)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (74,7,48,20)
----

query I rowsort label-2625
SELECT pk FROM tab0 WHERE NOT (col0 IN (74,7,48,20))
----
6

statement ok
DELETE FROM tab1 WHERE col0 IN (74,7,48,20)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (74,7,48,20)
----

query I rowsort label-2625
SELECT pk FROM tab1 WHERE NOT (col0 IN (74,7,48,20))
----
6

statement ok
DELETE FROM tab2 WHERE col0 IN (74,7,48,20)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (74,7,48,20)
----

query I rowsort label-2625
SELECT pk FROM tab2 WHERE NOT (col0 IN (74,7,48,20))
----
6

statement ok
DELETE FROM tab3 WHERE col0 IN (74,7,48,20)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (74,7,48,20)
----

query I rowsort label-2625
SELECT pk FROM tab3 WHERE NOT (col0 IN (74,7,48,20))
----
6

statement ok
DELETE FROM tab4 WHERE col0 IN (74,7,48,20)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (74,7,48,20)
----

query I rowsort label-2625
SELECT pk FROM tab4 WHERE NOT (col0 IN (74,7,48,20))
----
6

statement ok
DELETE FROM tab0 WHERE ((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99))
----

query I rowsort label-2640
SELECT pk FROM tab0 WHERE NOT (((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99)))
----
6

statement ok
DELETE FROM tab1 WHERE ((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99))
----

query I rowsort label-2640
SELECT pk FROM tab1 WHERE NOT (((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99)))
----
6

statement ok
DELETE FROM tab2 WHERE ((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99))
----

query I rowsort label-2640
SELECT pk FROM tab2 WHERE NOT (((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99)))
----
6

statement ok
DELETE FROM tab3 WHERE ((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99))
----

query I rowsort label-2640
SELECT pk FROM tab3 WHERE NOT (((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99)))
----
6

statement ok
DELETE FROM tab4 WHERE ((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99))
----

query I rowsort label-2640
SELECT pk FROM tab4 WHERE NOT (((col1 = 99.3 AND col0 >= 48 AND col0 BETWEEN 10 AND 40 OR (col0 < 77) AND col3 > 99)))
----
6

statement ok
DELETE FROM tab0 WHERE col0 >= 27

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 27
----

query I rowsort label-2655
SELECT pk FROM tab0 WHERE NOT (col0 >= 27)
----
6

statement ok
DELETE FROM tab1 WHERE col0 >= 27

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 27
----

query I rowsort label-2655
SELECT pk FROM tab1 WHERE NOT (col0 >= 27)
----
6

statement ok
DELETE FROM tab2 WHERE col0 >= 27

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 27
----

query I rowsort label-2655
SELECT pk FROM tab2 WHERE NOT (col0 >= 27)
----
6

statement ok
DELETE FROM tab3 WHERE col0 >= 27

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 27
----

query I rowsort label-2655
SELECT pk FROM tab3 WHERE NOT (col0 >= 27)
----
6

statement ok
DELETE FROM tab4 WHERE col0 >= 27

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 27
----

query I rowsort label-2655
SELECT pk FROM tab4 WHERE NOT (col0 >= 27)
----
6

statement ok
DELETE FROM tab0 WHERE col0 BETWEEN 84 AND 48

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 BETWEEN 84 AND 48
----

query I rowsort label-2670
SELECT pk FROM tab0 WHERE NOT (col0 BETWEEN 84 AND 48)
----
6

statement ok
DELETE FROM tab1 WHERE col0 BETWEEN 84 AND 48

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 BETWEEN 84 AND 48
----

query I rowsort label-2670
SELECT pk FROM tab1 WHERE NOT (col0 BETWEEN 84 AND 48)
----
6

statement ok
DELETE FROM tab2 WHERE col0 BETWEEN 84 AND 48

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 BETWEEN 84 AND 48
----

query I rowsort label-2670
SELECT pk FROM tab2 WHERE NOT (col0 BETWEEN 84 AND 48)
----
6

statement ok
DELETE FROM tab3 WHERE col0 BETWEEN 84 AND 48

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 BETWEEN 84 AND 48
----

query I rowsort label-2670
SELECT pk FROM tab3 WHERE NOT (col0 BETWEEN 84 AND 48)
----
6

statement ok
DELETE FROM tab4 WHERE col0 BETWEEN 84 AND 48

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 BETWEEN 84 AND 48
----

query I rowsort label-2670
SELECT pk FROM tab4 WHERE NOT (col0 BETWEEN 84 AND 48)
----
6

statement ok
DELETE FROM tab0 WHERE col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38
----

query I rowsort label-2685
SELECT pk FROM tab0 WHERE NOT (col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38)
----

statement ok
DELETE FROM tab1 WHERE col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38
----

query I rowsort label-2685
SELECT pk FROM tab1 WHERE NOT (col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38)
----

statement ok
DELETE FROM tab2 WHERE col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38
----

query I rowsort label-2685
SELECT pk FROM tab2 WHERE NOT (col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38)
----

statement ok
DELETE FROM tab3 WHERE col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38
----

query I rowsort label-2685
SELECT pk FROM tab3 WHERE NOT (col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38)
----

statement ok
DELETE FROM tab4 WHERE col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38
----

query I rowsort label-2685
SELECT pk FROM tab4 WHERE NOT (col3 > 95 AND ((col3 IS NULL)) AND ((((col0 > 23)))) OR col3 > 38)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,26,31.42,'uuttv',24,45.21,'kxvby')

statement ok
INSERT INTO tab0 VALUES(1,51,98.22,'xhqbl',21,64.69,'arcev')

statement ok
INSERT INTO tab0 VALUES(2,7,54.38,'ftofc',54,73.90,'ottqi')

statement ok
INSERT INTO tab0 VALUES(3,10,38.5,'mjfzj',59,61.47,'hskna')

statement ok
INSERT INTO tab0 VALUES(4,78,93.23,'whobs',98,28.70,'njarz')

statement ok
INSERT INTO tab0 VALUES(5,86,77.43,'zedup',29,96.21,'nkbjz')

statement ok
INSERT INTO tab0 VALUES(6,37,79.28,'cvyxr',61,21.57,'txsci')

statement ok
INSERT INTO tab0 VALUES(7,17,29.18,'dtszx',25,9.89,'aauyg')

statement ok
INSERT INTO tab0 VALUES(8,61,9.88,'azzco',26,26.49,'nrbly')

statement ok
INSERT INTO tab0 VALUES(9,18,72.16,'pkiol',18,10.49,'baias')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (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 (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 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3)

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 > 94.84 AND col0 <= 67

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 94.84 AND col0 <= 67
----

query I rowsort label-2700
SELECT pk FROM tab0 WHERE NOT (col1 > 94.84 AND col0 <= 67)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab1 WHERE col1 > 94.84 AND col0 <= 67

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 94.84 AND col0 <= 67
----

query I rowsort label-2700
SELECT pk FROM tab1 WHERE NOT (col1 > 94.84 AND col0 <= 67)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab2 WHERE col1 > 94.84 AND col0 <= 67

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 94.84 AND col0 <= 67
----

query I rowsort label-2700
SELECT pk FROM tab2 WHERE NOT (col1 > 94.84 AND col0 <= 67)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab3 WHERE col1 > 94.84 AND col0 <= 67

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 94.84 AND col0 <= 67
----

query I rowsort label-2700
SELECT pk FROM tab3 WHERE NOT (col1 > 94.84 AND col0 <= 67)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab4 WHERE col1 > 94.84 AND col0 <= 67

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 94.84 AND col0 <= 67
----

query I rowsort label-2700
SELECT pk FROM tab4 WHERE NOT (col1 > 94.84 AND col0 <= 67)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab0 WHERE col4 <= 15.23

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 15.23
----

query I rowsort label-2715
SELECT pk FROM tab0 WHERE NOT (col4 <= 15.23)
----
0
2
3
4
5
6
8

statement ok
DELETE FROM tab1 WHERE col4 <= 15.23

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 15.23
----

query I rowsort label-2715
SELECT pk FROM tab1 WHERE NOT (col4 <= 15.23)
----
0
2
3
4
5
6
8

statement ok
DELETE FROM tab2 WHERE col4 <= 15.23

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 15.23
----

query I rowsort label-2715
SELECT pk FROM tab2 WHERE NOT (col4 <= 15.23)
----
0
2
3
4
5
6
8

statement ok
DELETE FROM tab3 WHERE col4 <= 15.23

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 15.23
----

query I rowsort label-2715
SELECT pk FROM tab3 WHERE NOT (col4 <= 15.23)
----
0
2
3
4
5
6
8

statement ok
DELETE FROM tab4 WHERE col4 <= 15.23

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 15.23
----

query I rowsort label-2715
SELECT pk FROM tab4 WHERE NOT (col4 <= 15.23)
----
0
2
3
4
5
6
8

statement ok
DELETE FROM tab0 WHERE (col0 IN (83,43,61,4,48)) OR (col3 < 79)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IN (83,43,61,4,48)) OR (col3 < 79)
----

query I rowsort label-2730
SELECT pk FROM tab0 WHERE NOT ((col0 IN (83,43,61,4,48)) OR (col3 < 79))
----
4

statement ok
DELETE FROM tab1 WHERE (col0 IN (83,43,61,4,48)) OR (col3 < 79)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IN (83,43,61,4,48)) OR (col3 < 79)
----

query I rowsort label-2730
SELECT pk FROM tab1 WHERE NOT ((col0 IN (83,43,61,4,48)) OR (col3 < 79))
----
4

statement ok
DELETE FROM tab2 WHERE (col0 IN (83,43,61,4,48)) OR (col3 < 79)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IN (83,43,61,4,48)) OR (col3 < 79)
----

query I rowsort label-2730
SELECT pk FROM tab2 WHERE NOT ((col0 IN (83,43,61,4,48)) OR (col3 < 79))
----
4

statement ok
DELETE FROM tab3 WHERE (col0 IN (83,43,61,4,48)) OR (col3 < 79)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IN (83,43,61,4,48)) OR (col3 < 79)
----

query I rowsort label-2730
SELECT pk FROM tab3 WHERE NOT ((col0 IN (83,43,61,4,48)) OR (col3 < 79))
----
4

statement ok
DELETE FROM tab4 WHERE (col0 IN (83,43,61,4,48)) OR (col3 < 79)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IN (83,43,61,4,48)) OR (col3 < 79)
----

query I rowsort label-2730
SELECT pk FROM tab4 WHERE NOT ((col0 IN (83,43,61,4,48)) OR (col3 < 79))
----
4

statement ok
DELETE FROM tab0 WHERE (col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78)))
----

query I rowsort label-2745
SELECT pk FROM tab0 WHERE NOT ((col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78))))
----
4

statement ok
DELETE FROM tab1 WHERE (col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78)))
----

query I rowsort label-2745
SELECT pk FROM tab1 WHERE NOT ((col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78))))
----
4

statement ok
DELETE FROM tab2 WHERE (col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78)))
----

query I rowsort label-2745
SELECT pk FROM tab2 WHERE NOT ((col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78))))
----
4

statement ok
DELETE FROM tab3 WHERE (col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78)))
----

query I rowsort label-2745
SELECT pk FROM tab3 WHERE NOT ((col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78))))
----
4

statement ok
DELETE FROM tab4 WHERE (col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78)))
----

query I rowsort label-2745
SELECT pk FROM tab4 WHERE NOT ((col3 = 48 OR col3 IN (8,92,69) AND col1 < 85.59 OR ((col4 BETWEEN 74.72 AND 18.78))))
----
4

statement ok
DELETE FROM tab0 WHERE (((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73))))
----

query I rowsort label-2760
SELECT pk FROM tab0 WHERE NOT ((((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73)))))
----

statement ok
DELETE FROM tab1 WHERE (((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73))))
----

query I rowsort label-2760
SELECT pk FROM tab1 WHERE NOT ((((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73)))))
----

statement ok
DELETE FROM tab2 WHERE (((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73))))
----

query I rowsort label-2760
SELECT pk FROM tab2 WHERE NOT ((((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73)))))
----

statement ok
DELETE FROM tab3 WHERE (((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73))))
----

query I rowsort label-2760
SELECT pk FROM tab3 WHERE NOT ((((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73)))))
----

statement ok
DELETE FROM tab4 WHERE (((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 73))))
----

query I rowsort label-2760
SELECT pk FROM tab4 WHERE NOT ((((col0 > 15) OR (col4 >= 9.93 AND (col3 <= 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,14,0.87,'feojw',50,37.72,'fhcvz')

statement ok
INSERT INTO tab0 VALUES(1,56,23.35,'rygzy',38,33.78,'vhmol')

statement ok
INSERT INTO tab0 VALUES(2,30,73.66,'emmcz',81,15.33,'hawym')

statement ok
INSERT INTO tab0 VALUES(3,57,87.98,'immrr',56,38.98,'abcfa')

statement ok
INSERT INTO tab0 VALUES(4,38,44.26,'mmfoc',60,4.90,'oyvgx')

statement ok
INSERT INTO tab0 VALUES(5,29,75.80,'vgneq',68,80.45,'czoky')

statement ok
INSERT INTO tab0 VALUES(6,92,79.91,'quccg',97,1.80,'ewtwb')

statement ok
INSERT INTO tab0 VALUES(7,65,35.54,'fouso',71,90.58,'edboh')

statement ok
INSERT INTO tab0 VALUES(8,21,12.88,'dkotx',80,67.45,'eyknc')

statement ok
INSERT INTO tab0 VALUES(9,33,84.0,'iztzp',44,62.78,'frcrk')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3,col1 DESC,col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1)

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 col0 < 52

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 52
----

query I rowsort label-2775
SELECT pk FROM tab0 WHERE NOT (col0 < 52)
----
1
3
6
7

statement ok
DELETE FROM tab1 WHERE col0 < 52

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 52
----

query I rowsort label-2775
SELECT pk FROM tab1 WHERE NOT (col0 < 52)
----
1
3
6
7

statement ok
DELETE FROM tab2 WHERE col0 < 52

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 52
----

query I rowsort label-2775
SELECT pk FROM tab2 WHERE NOT (col0 < 52)
----
1
3
6
7

statement ok
DELETE FROM tab3 WHERE col0 < 52

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 52
----

query I rowsort label-2775
SELECT pk FROM tab3 WHERE NOT (col0 < 52)
----
1
3
6
7

statement ok
DELETE FROM tab4 WHERE col0 < 52

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 52
----

query I rowsort label-2775
SELECT pk FROM tab4 WHERE NOT (col0 < 52)
----
1
3
6
7

statement ok
DELETE FROM tab0 WHERE col3 >= 65

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 65
----

query I rowsort label-2790
SELECT pk FROM tab0 WHERE NOT (col3 >= 65)
----
1
3

statement ok
DELETE FROM tab1 WHERE col3 >= 65

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 65
----

query I rowsort label-2790
SELECT pk FROM tab1 WHERE NOT (col3 >= 65)
----
1
3

statement ok
DELETE FROM tab2 WHERE col3 >= 65

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 65
----

query I rowsort label-2790
SELECT pk FROM tab2 WHERE NOT (col3 >= 65)
----
1
3

statement ok
DELETE FROM tab3 WHERE col3 >= 65

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 65
----

query I rowsort label-2790
SELECT pk FROM tab3 WHERE NOT (col3 >= 65)
----
1
3

statement ok
DELETE FROM tab4 WHERE col3 >= 65

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 65
----

query I rowsort label-2790
SELECT pk FROM tab4 WHERE NOT (col3 >= 65)
----
1
3

statement ok
DELETE FROM tab0 WHERE (col3 < 45)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 45)
----

query I rowsort label-2805
SELECT pk FROM tab0 WHERE NOT ((col3 < 45))
----
3

statement ok
DELETE FROM tab1 WHERE (col3 < 45)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 45)
----

query I rowsort label-2805
SELECT pk FROM tab1 WHERE NOT ((col3 < 45))
----
3

statement ok
DELETE FROM tab2 WHERE (col3 < 45)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 45)
----

query I rowsort label-2805
SELECT pk FROM tab2 WHERE NOT ((col3 < 45))
----
3

statement ok
DELETE FROM tab3 WHERE (col3 < 45)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 45)
----

query I rowsort label-2805
SELECT pk FROM tab3 WHERE NOT ((col3 < 45))
----
3

statement ok
DELETE FROM tab4 WHERE (col3 < 45)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 45)
----

query I rowsort label-2805
SELECT pk FROM tab4 WHERE NOT ((col3 < 45))
----
3

statement ok
DELETE FROM tab0 WHERE col3 > 11 AND col4 <= 2.27

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 11 AND col4 <= 2.27
----

query I rowsort label-2820
SELECT pk FROM tab0 WHERE NOT (col3 > 11 AND col4 <= 2.27)
----
3

statement ok
DELETE FROM tab1 WHERE col3 > 11 AND col4 <= 2.27

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 11 AND col4 <= 2.27
----

query I rowsort label-2820
SELECT pk FROM tab1 WHERE NOT (col3 > 11 AND col4 <= 2.27)
----
3

statement ok
DELETE FROM tab2 WHERE col3 > 11 AND col4 <= 2.27

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 11 AND col4 <= 2.27
----

query I rowsort label-2820
SELECT pk FROM tab2 WHERE NOT (col3 > 11 AND col4 <= 2.27)
----
3

statement ok
DELETE FROM tab3 WHERE col3 > 11 AND col4 <= 2.27

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 11 AND col4 <= 2.27
----

query I rowsort label-2820
SELECT pk FROM tab3 WHERE NOT (col3 > 11 AND col4 <= 2.27)
----
3

statement ok
DELETE FROM tab4 WHERE col3 > 11 AND col4 <= 2.27

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 11 AND col4 <= 2.27
----

query I rowsort label-2820
SELECT pk FROM tab4 WHERE NOT (col3 > 11 AND col4 <= 2.27)
----
3

statement ok
DELETE FROM tab0 WHERE ((col4 = 32.63))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 = 32.63))
----

query I rowsort label-2835
SELECT pk FROM tab0 WHERE NOT (((col4 = 32.63)))
----
3

statement ok
DELETE FROM tab1 WHERE ((col4 = 32.63))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 = 32.63))
----

query I rowsort label-2835
SELECT pk FROM tab1 WHERE NOT (((col4 = 32.63)))
----
3

statement ok
DELETE FROM tab2 WHERE ((col4 = 32.63))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 = 32.63))
----

query I rowsort label-2835
SELECT pk FROM tab2 WHERE NOT (((col4 = 32.63)))
----
3

statement ok
DELETE FROM tab3 WHERE ((col4 = 32.63))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 = 32.63))
----

query I rowsort label-2835
SELECT pk FROM tab3 WHERE NOT (((col4 = 32.63)))
----
3

statement ok
DELETE FROM tab4 WHERE ((col4 = 32.63))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 = 32.63))
----

query I rowsort label-2835
SELECT pk FROM tab4 WHERE NOT (((col4 = 32.63)))
----
3

statement ok
DELETE FROM tab0 WHERE (col0 >= 18)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 18)
----

query I rowsort label-2850
SELECT pk FROM tab0 WHERE NOT ((col0 >= 18))
----

statement ok
DELETE FROM tab1 WHERE (col0 >= 18)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 18)
----

query I rowsort label-2850
SELECT pk FROM tab1 WHERE NOT ((col0 >= 18))
----

statement ok
DELETE FROM tab2 WHERE (col0 >= 18)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 18)
----

query I rowsort label-2850
SELECT pk FROM tab2 WHERE NOT ((col0 >= 18))
----

statement ok
DELETE FROM tab3 WHERE (col0 >= 18)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 18)
----

query I rowsort label-2850
SELECT pk FROM tab3 WHERE NOT ((col0 >= 18))
----

statement ok
DELETE FROM tab4 WHERE (col0 >= 18)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 18)
----

query I rowsort label-2850
SELECT pk FROM tab4 WHERE NOT ((col0 >= 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,66,70.16,'lyydf',53,43.48,'hdayv')

statement ok
INSERT INTO tab0 VALUES(1,17,32.57,'euyyg',32,4.68,'nccrd')

statement ok
INSERT INTO tab0 VALUES(2,43,79.64,'qpzon',15,76.41,'dfwbp')

statement ok
INSERT INTO tab0 VALUES(3,49,74.22,'krfuz',52,89.36,'emsbv')

statement ok
INSERT INTO tab0 VALUES(4,79,60.61,'nqeae',34,44.25,'nblrj')

statement ok
INSERT INTO tab0 VALUES(5,29,29.71,'kjres',13,64.91,'qnqcc')

statement ok
INSERT INTO tab0 VALUES(6,57,84.12,'fbdaz',8,69.51,'cwnwc')

statement ok
INSERT INTO tab0 VALUES(7,99,98.29,'rolbt',23,29.55,'ksnxa')

statement ok
INSERT INTO tab0 VALUES(8,77,80.62,'pilyx',55,30.11,'jkvsz')

statement ok
INSERT INTO tab0 VALUES(9,16,34.61,'oqqhv',9,38.90,'xedky')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4,col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0 DESC,col3)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3 DESC,col1,col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC)

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 (col3 <= 17)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 17)
----

query I rowsort label-2865
SELECT pk FROM tab0 WHERE NOT ((col3 <= 17))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab1 WHERE (col3 <= 17)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 17)
----

query I rowsort label-2865
SELECT pk FROM tab1 WHERE NOT ((col3 <= 17))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab2 WHERE (col3 <= 17)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 17)
----

query I rowsort label-2865
SELECT pk FROM tab2 WHERE NOT ((col3 <= 17))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab3 WHERE (col3 <= 17)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 17)
----

query I rowsort label-2865
SELECT pk FROM tab3 WHERE NOT ((col3 <= 17))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab4 WHERE (col3 <= 17)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 17)
----

query I rowsort label-2865
SELECT pk FROM tab4 WHERE NOT ((col3 <= 17))
----
0
1
3
4
7
8

statement ok
DELETE FROM tab0 WHERE (col1 IS NULL OR col3 >= 2 AND col3 > 48)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 IS NULL OR col3 >= 2 AND col3 > 48)
----

query I rowsort label-2880
SELECT pk FROM tab0 WHERE NOT ((col1 IS NULL OR col3 >= 2 AND col3 > 48))
----
1
4
7

statement ok
DELETE FROM tab1 WHERE (col1 IS NULL OR col3 >= 2 AND col3 > 48)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 IS NULL OR col3 >= 2 AND col3 > 48)
----

query I rowsort label-2880
SELECT pk FROM tab1 WHERE NOT ((col1 IS NULL OR col3 >= 2 AND col3 > 48))
----
1
4
7

statement ok
DELETE FROM tab2 WHERE (col1 IS NULL OR col3 >= 2 AND col3 > 48)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 IS NULL OR col3 >= 2 AND col3 > 48)
----

query I rowsort label-2880
SELECT pk FROM tab2 WHERE NOT ((col1 IS NULL OR col3 >= 2 AND col3 > 48))
----
1
4
7

statement ok
DELETE FROM tab3 WHERE (col1 IS NULL OR col3 >= 2 AND col3 > 48)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 IS NULL OR col3 >= 2 AND col3 > 48)
----

query I rowsort label-2880
SELECT pk FROM tab3 WHERE NOT ((col1 IS NULL OR col3 >= 2 AND col3 > 48))
----
1
4
7

statement ok
DELETE FROM tab4 WHERE (col1 IS NULL OR col3 >= 2 AND col3 > 48)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 IS NULL OR col3 >= 2 AND col3 > 48)
----

query I rowsort label-2880
SELECT pk FROM tab4 WHERE NOT ((col1 IS NULL OR col3 >= 2 AND col3 > 48))
----
1
4
7

statement ok
DELETE FROM tab0 WHERE (((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15
----

query I rowsort label-2895
SELECT pk FROM tab0 WHERE NOT ((((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15)
----
1

statement ok
DELETE FROM tab1 WHERE (((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15
----

query I rowsort label-2895
SELECT pk FROM tab1 WHERE NOT ((((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15)
----
1

statement ok
DELETE FROM tab2 WHERE (((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15
----

query I rowsort label-2895
SELECT pk FROM tab2 WHERE NOT ((((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15)
----
1

statement ok
DELETE FROM tab3 WHERE (((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15
----

query I rowsort label-2895
SELECT pk FROM tab3 WHERE NOT ((((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15)
----
1

statement ok
DELETE FROM tab4 WHERE (((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15
----

query I rowsort label-2895
SELECT pk FROM tab4 WHERE NOT ((((((col4 >= 37.60))))) AND col1 = 45.31 AND ((col3 < 95) AND col0 < 36) AND (((col0 > 43))) OR col1 > 55.15)
----
1

statement ok
DELETE FROM tab0 WHERE col1 <= 69.20 OR col0 = 33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 69.20 OR col0 = 33
----

query I rowsort label-2910
SELECT pk FROM tab0 WHERE NOT (col1 <= 69.20 OR col0 = 33)
----

statement ok
DELETE FROM tab1 WHERE col1 <= 69.20 OR col0 = 33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 69.20 OR col0 = 33
----

query I rowsort label-2910
SELECT pk FROM tab1 WHERE NOT (col1 <= 69.20 OR col0 = 33)
----

statement ok
DELETE FROM tab2 WHERE col1 <= 69.20 OR col0 = 33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 69.20 OR col0 = 33
----

query I rowsort label-2910
SELECT pk FROM tab2 WHERE NOT (col1 <= 69.20 OR col0 = 33)
----

statement ok
DELETE FROM tab3 WHERE col1 <= 69.20 OR col0 = 33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 69.20 OR col0 = 33
----

query I rowsort label-2910
SELECT pk FROM tab3 WHERE NOT (col1 <= 69.20 OR col0 = 33)
----

statement ok
DELETE FROM tab4 WHERE col1 <= 69.20 OR col0 = 33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 69.20 OR col0 = 33
----

query I rowsort label-2910
SELECT pk FROM tab4 WHERE NOT (col1 <= 69.20 OR col0 = 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,43,24.30,'qredj',13,85.26,'xchgv')

statement ok
INSERT INTO tab0 VALUES(1,16,49.56,'wyaol',61,89.24,'xnrqn')

statement ok
INSERT INTO tab0 VALUES(2,40,82.27,'ecfsm',60,25.16,'wyijd')

statement ok
INSERT INTO tab0 VALUES(3,35,62.17,'qeacb',36,23.4,'cvsnh')

statement ok
INSERT INTO tab0 VALUES(4,9,76.55,'qcezc',53,92.48,'axyau')

statement ok
INSERT INTO tab0 VALUES(5,61,22.38,'owlmt',27,86.82,'ynoxn')

statement ok
INSERT INTO tab0 VALUES(6,4,72.39,'mmeya',40,59.25,'ntygy')

statement ok
INSERT INTO tab0 VALUES(7,67,34.27,'shawg',54,38.93,'pkcls')

statement ok
INSERT INTO tab0 VALUES(8,18,15.71,'iwnzu',14,77.15,'ohhfi')

statement ok
INSERT INTO tab0 VALUES(9,68,83.58,'clros',76,24.40,'ffnwu')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1 DESC,col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0,col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1,col4 DESC)

statement ok
CREATE 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 INDEX idx_tab4_0 ON tab4 (col4 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 IN (13,75,65,14)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (13,75,65,14)
----

query I rowsort label-2925
SELECT pk FROM tab0 WHERE NOT (col0 IN (13,75,65,14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 IN (13,75,65,14)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (13,75,65,14)
----

query I rowsort label-2925
SELECT pk FROM tab1 WHERE NOT (col0 IN (13,75,65,14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 IN (13,75,65,14)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (13,75,65,14)
----

query I rowsort label-2925
SELECT pk FROM tab2 WHERE NOT (col0 IN (13,75,65,14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 IN (13,75,65,14)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (13,75,65,14)
----

query I rowsort label-2925
SELECT pk FROM tab3 WHERE NOT (col0 IN (13,75,65,14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 IN (13,75,65,14)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (13,75,65,14)
----

query I rowsort label-2925
SELECT pk FROM tab4 WHERE NOT (col0 IN (13,75,65,14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97
----

query I rowsort label-2940
SELECT pk FROM tab0 WHERE NOT (col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97)
----

statement ok
DELETE FROM tab1 WHERE col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97
----

query I rowsort label-2940
SELECT pk FROM tab1 WHERE NOT (col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97)
----

statement ok
DELETE FROM tab2 WHERE col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97
----

query I rowsort label-2940
SELECT pk FROM tab2 WHERE NOT (col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97)
----

statement ok
DELETE FROM tab3 WHERE col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97
----

query I rowsort label-2940
SELECT pk FROM tab3 WHERE NOT (col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97)
----

statement ok
DELETE FROM tab4 WHERE col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) OR col3 < 97
----

query I rowsort label-2940
SELECT pk FROM tab4 WHERE NOT (col4 > 79.11 OR col3 IS NULL AND (col3 <= 59) OR (col1 < 24.14) 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,93,11.61,'wtovr',19,94.39,'ojedf')

statement ok
INSERT INTO tab0 VALUES(1,54,72.27,'densg',93,0.40,'xgryv')

statement ok
INSERT INTO tab0 VALUES(2,16,41.76,'fnnju',89,67.22,'lgbtd')

statement ok
INSERT INTO tab0 VALUES(3,23,69.18,'wrjls',5,82.90,'zxbmx')

statement ok
INSERT INTO tab0 VALUES(4,81,18.36,'qvpji',8,20.82,'mfzia')

statement ok
INSERT INTO tab0 VALUES(5,70,20.96,'nugkh',47,13.71,'ssjyb')

statement ok
INSERT INTO tab0 VALUES(6,61,44.61,'tzexe',67,6.87,'xvmow')

statement ok
INSERT INTO tab0 VALUES(7,25,54.2,'eqbfi',20,23.21,'gqcbj')

statement ok
INSERT INTO tab0 VALUES(8,47,73.11,'axqbi',73,30.45,'sjaey')

statement ok
INSERT INTO tab0 VALUES(9,37,50.16,'pzrkp',33,95.18,'mfvmg')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3,col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4 DESC,col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 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 (col0 > 44)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 44)
----

query I rowsort label-2955
SELECT pk FROM tab0 WHERE NOT ((col0 > 44))
----
2
3
7
9

statement ok
DELETE FROM tab1 WHERE (col0 > 44)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 44)
----

query I rowsort label-2955
SELECT pk FROM tab1 WHERE NOT ((col0 > 44))
----
2
3
7
9

statement ok
DELETE FROM tab2 WHERE (col0 > 44)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 44)
----

query I rowsort label-2955
SELECT pk FROM tab2 WHERE NOT ((col0 > 44))
----
2
3
7
9

statement ok
DELETE FROM tab3 WHERE (col0 > 44)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 44)
----

query I rowsort label-2955
SELECT pk FROM tab3 WHERE NOT ((col0 > 44))
----
2
3
7
9

statement ok
DELETE FROM tab4 WHERE (col0 > 44)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 44)
----

query I rowsort label-2955
SELECT pk FROM tab4 WHERE NOT ((col0 > 44))
----
2
3
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,88,29.80,'pkund',24,23.18,'dnbxy')

statement ok
INSERT INTO tab0 VALUES(1,16,56.78,'bglpk',93,75.23,'gjijx')

statement ok
INSERT INTO tab0 VALUES(2,61,51.55,'cefdy',74,86.6,'vwafn')

statement ok
INSERT INTO tab0 VALUES(3,57,19.95,'myddm',1,60.47,'tozgy')

statement ok
INSERT INTO tab0 VALUES(4,15,27.77,'bfaua',42,99.31,'tkxrk')

statement ok
INSERT INTO tab0 VALUES(5,37,77.94,'jmsvk',9,66.59,'btdeu')

statement ok
INSERT INTO tab0 VALUES(6,25,60.59,'hiajz',75,47.62,'crzxf')

statement ok
INSERT INTO tab0 VALUES(7,99,23.23,'opcec',82,17.11,'zaruu')

statement ok
INSERT INTO tab0 VALUES(8,4,31.82,'oihwx',58,95.32,'djtpc')

statement ok
INSERT INTO tab0 VALUES(9,28,28.95,'wanvx',28,16.19,'dkuyw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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_2 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC,col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 < 45.72

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 45.72
----

query I rowsort label-2970
SELECT pk FROM tab0 WHERE NOT (col4 < 45.72)
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab1 WHERE col4 < 45.72

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 45.72
----

query I rowsort label-2970
SELECT pk FROM tab1 WHERE NOT (col4 < 45.72)
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab2 WHERE col4 < 45.72

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 45.72
----

query I rowsort label-2970
SELECT pk FROM tab2 WHERE NOT (col4 < 45.72)
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab3 WHERE col4 < 45.72

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 45.72
----

query I rowsort label-2970
SELECT pk FROM tab3 WHERE NOT (col4 < 45.72)
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab4 WHERE col4 < 45.72

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 45.72
----

query I rowsort label-2970
SELECT pk FROM tab4 WHERE NOT (col4 < 45.72)
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab0 WHERE col0 IN (36,50)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (36,50)
----

query I rowsort label-2985
SELECT pk FROM tab0 WHERE NOT (col0 IN (36,50))
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab1 WHERE col0 IN (36,50)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (36,50)
----

query I rowsort label-2985
SELECT pk FROM tab1 WHERE NOT (col0 IN (36,50))
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab2 WHERE col0 IN (36,50)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (36,50)
----

query I rowsort label-2985
SELECT pk FROM tab2 WHERE NOT (col0 IN (36,50))
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab3 WHERE col0 IN (36,50)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (36,50)
----

query I rowsort label-2985
SELECT pk FROM tab3 WHERE NOT (col0 IN (36,50))
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab4 WHERE col0 IN (36,50)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (36,50)
----

query I rowsort label-2985
SELECT pk FROM tab4 WHERE NOT (col0 IN (36,50))
----
1
2
3
4
5
6
8

statement ok
DELETE FROM tab0 WHERE col3 >= 86

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 86
----

query I rowsort label-3000
SELECT pk FROM tab0 WHERE NOT (col3 >= 86)
----
2
3
4
5
6
8

statement ok
DELETE FROM tab1 WHERE col3 >= 86

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 86
----

query I rowsort label-3000
SELECT pk FROM tab1 WHERE NOT (col3 >= 86)
----
2
3
4
5
6
8

statement ok
DELETE FROM tab2 WHERE col3 >= 86

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 86
----

query I rowsort label-3000
SELECT pk FROM tab2 WHERE NOT (col3 >= 86)
----
2
3
4
5
6
8

statement ok
DELETE FROM tab3 WHERE col3 >= 86

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 86
----

query I rowsort label-3000
SELECT pk FROM tab3 WHERE NOT (col3 >= 86)
----
2
3
4
5
6
8

statement ok
DELETE FROM tab4 WHERE col3 >= 86

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 86
----

query I rowsort label-3000
SELECT pk FROM tab4 WHERE NOT (col3 >= 86)
----
2
3
4
5
6
8

statement ok
DELETE FROM tab0 WHERE col3 = 30 OR col3 < 67

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 30 OR col3 < 67
----

query I rowsort label-3015
SELECT pk FROM tab0 WHERE NOT (col3 = 30 OR col3 < 67)
----
2
6

statement ok
DELETE FROM tab1 WHERE col3 = 30 OR col3 < 67

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 30 OR col3 < 67
----

query I rowsort label-3015
SELECT pk FROM tab1 WHERE NOT (col3 = 30 OR col3 < 67)
----
2
6

statement ok
DELETE FROM tab2 WHERE col3 = 30 OR col3 < 67

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 30 OR col3 < 67
----

query I rowsort label-3015
SELECT pk FROM tab2 WHERE NOT (col3 = 30 OR col3 < 67)
----
2
6

statement ok
DELETE FROM tab3 WHERE col3 = 30 OR col3 < 67

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 30 OR col3 < 67
----

query I rowsort label-3015
SELECT pk FROM tab3 WHERE NOT (col3 = 30 OR col3 < 67)
----
2
6

statement ok
DELETE FROM tab4 WHERE col3 = 30 OR col3 < 67

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 30 OR col3 < 67
----

query I rowsort label-3015
SELECT pk FROM tab4 WHERE NOT (col3 = 30 OR col3 < 67)
----
2
6

statement ok
DELETE FROM tab0 WHERE ((col0 > 61))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 > 61))
----

query I rowsort label-3030
SELECT pk FROM tab0 WHERE NOT (((col0 > 61)))
----
2
6

statement ok
DELETE FROM tab1 WHERE ((col0 > 61))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 > 61))
----

query I rowsort label-3030
SELECT pk FROM tab1 WHERE NOT (((col0 > 61)))
----
2
6

statement ok
DELETE FROM tab2 WHERE ((col0 > 61))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 > 61))
----

query I rowsort label-3030
SELECT pk FROM tab2 WHERE NOT (((col0 > 61)))
----
2
6

statement ok
DELETE FROM tab3 WHERE ((col0 > 61))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 > 61))
----

query I rowsort label-3030
SELECT pk FROM tab3 WHERE NOT (((col0 > 61)))
----
2
6

statement ok
DELETE FROM tab4 WHERE ((col0 > 61))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 > 61))
----

query I rowsort label-3030
SELECT pk FROM tab4 WHERE NOT (((col0 > 61)))
----
2
6

statement ok
DELETE FROM tab0 WHERE col0 >= 3

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 3
----

query I rowsort label-3045
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-3045
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-3045
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-3045
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-3045
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,69,43.90,'lltyo',47,78.72,'lvhda')

statement ok
INSERT INTO tab0 VALUES(1,94,58.29,'amupn',51,65.93,'vvlnu')

statement ok
INSERT INTO tab0 VALUES(2,63,34.53,'lkqvf',19,30.20,'jdfdr')

statement ok
INSERT INTO tab0 VALUES(3,56,37.61,'bfxhr',24,58.90,'elaus')

statement ok
INSERT INTO tab0 VALUES(4,16,35.32,'sndql',59,70.32,'qqsrk')

statement ok
INSERT INTO tab0 VALUES(5,66,67.46,'hwlxi',54,84.78,'cbyeg')

statement ok
INSERT INTO tab0 VALUES(6,19,99.93,'kpfnz',81,82.80,'ilvek')

statement ok
INSERT INTO tab0 VALUES(7,88,89.86,'yeohl',75,66.14,'ggtci')

statement ok
INSERT INTO tab0 VALUES(8,2,54.73,'sgeuz',39,26.2,'notbk')

statement ok
INSERT INTO tab0 VALUES(9,21,23.50,'etshm',62,3.19,'fljcn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (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_2 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4 DESC)

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 BETWEEN 91 AND 97

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 BETWEEN 91 AND 97
----

query I rowsort label-3060
SELECT pk FROM tab0 WHERE NOT (col0 BETWEEN 91 AND 97)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab1 WHERE col0 BETWEEN 91 AND 97

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 BETWEEN 91 AND 97
----

query I rowsort label-3060
SELECT pk FROM tab1 WHERE NOT (col0 BETWEEN 91 AND 97)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab2 WHERE col0 BETWEEN 91 AND 97

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 BETWEEN 91 AND 97
----

query I rowsort label-3060
SELECT pk FROM tab2 WHERE NOT (col0 BETWEEN 91 AND 97)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab3 WHERE col0 BETWEEN 91 AND 97

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 BETWEEN 91 AND 97
----

query I rowsort label-3060
SELECT pk FROM tab3 WHERE NOT (col0 BETWEEN 91 AND 97)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab4 WHERE col0 BETWEEN 91 AND 97

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 BETWEEN 91 AND 97
----

query I rowsort label-3060
SELECT pk FROM tab4 WHERE NOT (col0 BETWEEN 91 AND 97)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab0 WHERE col1 IN (84.93,34.66,70.52)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IN (84.93,34.66,70.52)
----

query I rowsort label-3075
SELECT pk FROM tab0 WHERE NOT (col1 IN (84.93,34.66,70.52))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab1 WHERE col1 IN (84.93,34.66,70.52)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IN (84.93,34.66,70.52)
----

query I rowsort label-3075
SELECT pk FROM tab1 WHERE NOT (col1 IN (84.93,34.66,70.52))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab2 WHERE col1 IN (84.93,34.66,70.52)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IN (84.93,34.66,70.52)
----

query I rowsort label-3075
SELECT pk FROM tab2 WHERE NOT (col1 IN (84.93,34.66,70.52))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab3 WHERE col1 IN (84.93,34.66,70.52)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IN (84.93,34.66,70.52)
----

query I rowsort label-3075
SELECT pk FROM tab3 WHERE NOT (col1 IN (84.93,34.66,70.52))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab4 WHERE col1 IN (84.93,34.66,70.52)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IN (84.93,34.66,70.52)
----

query I rowsort label-3075
SELECT pk FROM tab4 WHERE NOT (col1 IN (84.93,34.66,70.52))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL) OR col0 > 79

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IS NULL) OR col0 > 79
----

query I rowsort label-3090
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL) OR col0 > 79)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL) OR col0 > 79

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IS NULL) OR col0 > 79
----

query I rowsort label-3090
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL) OR col0 > 79)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL) OR col0 > 79

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IS NULL) OR col0 > 79
----

query I rowsort label-3090
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL) OR col0 > 79)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL) OR col0 > 79

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IS NULL) OR col0 > 79
----

query I rowsort label-3090
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL) OR col0 > 79)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL) OR col0 > 79

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IS NULL) OR col0 > 79
----

query I rowsort label-3090
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL) OR col0 > 79)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE (col1 > 41.7) AND col3 <= 6

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 41.7) AND col3 <= 6
----

query I rowsort label-3105
SELECT pk FROM tab0 WHERE NOT ((col1 > 41.7) AND col3 <= 6)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE (col1 > 41.7) AND col3 <= 6

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 41.7) AND col3 <= 6
----

query I rowsort label-3105
SELECT pk FROM tab1 WHERE NOT ((col1 > 41.7) AND col3 <= 6)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE (col1 > 41.7) AND col3 <= 6

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 41.7) AND col3 <= 6
----

query I rowsort label-3105
SELECT pk FROM tab2 WHERE NOT ((col1 > 41.7) AND col3 <= 6)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE (col1 > 41.7) AND col3 <= 6

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 41.7) AND col3 <= 6
----

query I rowsort label-3105
SELECT pk FROM tab3 WHERE NOT ((col1 > 41.7) AND col3 <= 6)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE (col1 > 41.7) AND col3 <= 6

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 41.7) AND col3 <= 6
----

query I rowsort label-3105
SELECT pk FROM tab4 WHERE NOT ((col1 > 41.7) AND col3 <= 6)
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE col3 > 70

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 70
----

query I rowsort label-3120
SELECT pk FROM tab0 WHERE NOT (col3 > 70)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab1 WHERE col3 > 70

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 70
----

query I rowsort label-3120
SELECT pk FROM tab1 WHERE NOT (col3 > 70)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab2 WHERE col3 > 70

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 70
----

query I rowsort label-3120
SELECT pk FROM tab2 WHERE NOT (col3 > 70)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab3 WHERE col3 > 70

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 70
----

query I rowsort label-3120
SELECT pk FROM tab3 WHERE NOT (col3 > 70)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab4 WHERE col3 > 70

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 70
----

query I rowsort label-3120
SELECT pk FROM tab4 WHERE NOT (col3 > 70)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab0 WHERE (col3 >= 74) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 74) AND col3 IS NULL
----

query I rowsort label-3135
SELECT pk FROM tab0 WHERE NOT ((col3 >= 74) AND col3 IS NULL)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab1 WHERE (col3 >= 74) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 74) AND col3 IS NULL
----

query I rowsort label-3135
SELECT pk FROM tab1 WHERE NOT ((col3 >= 74) AND col3 IS NULL)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab2 WHERE (col3 >= 74) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 74) AND col3 IS NULL
----

query I rowsort label-3135
SELECT pk FROM tab2 WHERE NOT ((col3 >= 74) AND col3 IS NULL)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab3 WHERE (col3 >= 74) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 74) AND col3 IS NULL
----

query I rowsort label-3135
SELECT pk FROM tab3 WHERE NOT ((col3 >= 74) AND col3 IS NULL)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab4 WHERE (col3 >= 74) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 74) AND col3 IS NULL
----

query I rowsort label-3135
SELECT pk FROM tab4 WHERE NOT ((col3 >= 74) AND col3 IS NULL)
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab0 WHERE (col0 < 98 AND col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 98 AND col1 IS NULL)
----

query I rowsort label-3150
SELECT pk FROM tab0 WHERE NOT ((col0 < 98 AND col1 IS NULL))
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab1 WHERE (col0 < 98 AND col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 98 AND col1 IS NULL)
----

query I rowsort label-3150
SELECT pk FROM tab1 WHERE NOT ((col0 < 98 AND col1 IS NULL))
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab2 WHERE (col0 < 98 AND col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 98 AND col1 IS NULL)
----

query I rowsort label-3150
SELECT pk FROM tab2 WHERE NOT ((col0 < 98 AND col1 IS NULL))
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab3 WHERE (col0 < 98 AND col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 98 AND col1 IS NULL)
----

query I rowsort label-3150
SELECT pk FROM tab3 WHERE NOT ((col0 < 98 AND col1 IS NULL))
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab4 WHERE (col0 < 98 AND col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 98 AND col1 IS NULL)
----

query I rowsort label-3150
SELECT pk FROM tab4 WHERE NOT ((col0 < 98 AND col1 IS NULL))
----
0
2
3
4
5
8
9

statement ok
DELETE FROM tab0 WHERE col1 <= 91.95 OR (((col3 > 28)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 91.95 OR (((col3 > 28)))
----

query I rowsort label-3165
SELECT pk FROM tab0 WHERE NOT (col1 <= 91.95 OR (((col3 > 28))))
----

statement ok
DELETE FROM tab1 WHERE col1 <= 91.95 OR (((col3 > 28)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 91.95 OR (((col3 > 28)))
----

query I rowsort label-3165
SELECT pk FROM tab1 WHERE NOT (col1 <= 91.95 OR (((col3 > 28))))
----

statement ok
DELETE FROM tab2 WHERE col1 <= 91.95 OR (((col3 > 28)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 91.95 OR (((col3 > 28)))
----

query I rowsort label-3165
SELECT pk FROM tab2 WHERE NOT (col1 <= 91.95 OR (((col3 > 28))))
----

statement ok
DELETE FROM tab3 WHERE col1 <= 91.95 OR (((col3 > 28)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 91.95 OR (((col3 > 28)))
----

query I rowsort label-3165
SELECT pk FROM tab3 WHERE NOT (col1 <= 91.95 OR (((col3 > 28))))
----

statement ok
DELETE FROM tab4 WHERE col1 <= 91.95 OR (((col3 > 28)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 91.95 OR (((col3 > 28)))
----

query I rowsort label-3165
SELECT pk FROM tab4 WHERE NOT (col1 <= 91.95 OR (((col3 > 28))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,12,9.6,'wveqs',59,85.43,'fdlez')

statement ok
INSERT INTO tab0 VALUES(1,37,5.58,'mdbol',3,86.26,'tqnip')

statement ok
INSERT INTO tab0 VALUES(2,39,86.58,'cwgyc',41,36.6,'pzdxk')

statement ok
INSERT INTO tab0 VALUES(3,20,37.79,'qmxce',13,13.73,'gduea')

statement ok
INSERT INTO tab0 VALUES(4,17,35.15,'mriwc',22,97.19,'btfuh')

statement ok
INSERT INTO tab0 VALUES(5,67,64.51,'eagbb',2,75.9,'gmnep')

statement ok
INSERT INTO tab0 VALUES(6,68,19.19,'yqrch',80,59.37,'ezifw')

statement ok
INSERT INTO tab0 VALUES(7,40,30.67,'nsjsf',37,94.92,'ihxxt')

statement ok
INSERT INTO tab0 VALUES(8,89,65.16,'kirrm',71,76.19,'mogat')

statement ok
INSERT INTO tab0 VALUES(9,73,44.25,'zwtbg',62,60.83,'wohpi')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4,col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0,col4,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4 DESC,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1,col4)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col1 DESC,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 > 65.21

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 65.21
----

query I rowsort label-3180
SELECT pk FROM tab0 WHERE NOT (col4 > 65.21)
----
2
3
6
9

statement ok
DELETE FROM tab1 WHERE col4 > 65.21

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 65.21
----

query I rowsort label-3180
SELECT pk FROM tab1 WHERE NOT (col4 > 65.21)
----
2
3
6
9

statement ok
DELETE FROM tab2 WHERE col4 > 65.21

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 65.21
----

query I rowsort label-3180
SELECT pk FROM tab2 WHERE NOT (col4 > 65.21)
----
2
3
6
9

statement ok
DELETE FROM tab3 WHERE col4 > 65.21

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 65.21
----

query I rowsort label-3180
SELECT pk FROM tab3 WHERE NOT (col4 > 65.21)
----
2
3
6
9

statement ok
DELETE FROM tab4 WHERE col4 > 65.21

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 65.21
----

query I rowsort label-3180
SELECT pk FROM tab4 WHERE NOT (col4 > 65.21)
----
2
3
6
9

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37)
----

query I rowsort label-3195
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37))
----
2
6
9

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37)
----

query I rowsort label-3195
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37))
----
2
6
9

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37)
----

query I rowsort label-3195
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37))
----
2
6
9

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37)
----

query I rowsort label-3195
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37))
----
2
6
9

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37)
----

query I rowsort label-3195
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 58 AND 10 OR (((col4 <= 32.97)) OR col3 < 37))
----
2
6
9

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,80,32.96,'houku',65,13.22,'yrobr')

statement ok
INSERT INTO tab0 VALUES(1,21,41.51,'ttvbp',3,99.73,'zckeb')

statement ok
INSERT INTO tab0 VALUES(2,25,15.97,'mabrr',6,12.18,'nylhz')

statement ok
INSERT INTO tab0 VALUES(3,38,8.1,'mpdba',59,91.70,'elace')

statement ok
INSERT INTO tab0 VALUES(4,48,45.15,'mbrbw',21,51.7,'xrray')

statement ok
INSERT INTO tab0 VALUES(5,49,38.31,'tymdn',84,3.30,'tvzwm')

statement ok
INSERT INTO tab0 VALUES(6,0,95.52,'mkpxs',42,58.29,'fbyov')

statement ok
INSERT INTO tab0 VALUES(7,93,37.47,'rskwq',49,47.45,'fbzob')

statement ok
INSERT INTO tab0 VALUES(8,10,5.16,'ncxaz',81,27.29,'iqbsi')

statement ok
INSERT INTO tab0 VALUES(9,88,78.55,'hcrkf',2,98.11,'wixtf')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 UNIQUE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1 DESC,col3 DESC)

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 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3 DESC,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col4 > 42.90

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 42.90
----

query I rowsort label-3210
SELECT pk FROM tab0 WHERE NOT (col4 > 42.90)
----
0
2
5
8

statement ok
DELETE FROM tab1 WHERE col4 > 42.90

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 42.90
----

query I rowsort label-3210
SELECT pk FROM tab1 WHERE NOT (col4 > 42.90)
----
0
2
5
8

statement ok
DELETE FROM tab2 WHERE col4 > 42.90

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 42.90
----

query I rowsort label-3210
SELECT pk FROM tab2 WHERE NOT (col4 > 42.90)
----
0
2
5
8

statement ok
DELETE FROM tab3 WHERE col4 > 42.90

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 42.90
----

query I rowsort label-3210
SELECT pk FROM tab3 WHERE NOT (col4 > 42.90)
----
0
2
5
8

statement ok
DELETE FROM tab4 WHERE col4 > 42.90

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 42.90
----

query I rowsort label-3210
SELECT pk FROM tab4 WHERE NOT (col4 > 42.90)
----
0
2
5
8

statement ok
DELETE FROM tab0 WHERE (col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5))
----

query I rowsort label-3225
SELECT pk FROM tab0 WHERE NOT ((col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5)))
----

statement ok
DELETE FROM tab1 WHERE (col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5))
----

query I rowsort label-3225
SELECT pk FROM tab1 WHERE NOT ((col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5)))
----

statement ok
DELETE FROM tab2 WHERE (col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5))
----

query I rowsort label-3225
SELECT pk FROM tab2 WHERE NOT ((col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5)))
----

statement ok
DELETE FROM tab3 WHERE (col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5))
----

query I rowsort label-3225
SELECT pk FROM tab3 WHERE NOT ((col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5)))
----

statement ok
DELETE FROM tab4 WHERE (col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 5))
----

query I rowsort label-3225
SELECT pk FROM tab4 WHERE NOT ((col3 > 3 OR ((col3 > 71)) AND (((col3 >= 62 OR col3 >= 46))) OR ((col0 < 9)) AND col0 > 93 AND ((col4 > 27.49 AND col3 <= 68)) OR col4 >= 50.57 OR col0 = 51 AND (col3 <= 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,49,98.99,'hvjjw',86,79.83,'tvvyu')

statement ok
INSERT INTO tab0 VALUES(1,73,9.42,'aqybm',87,56.64,'ngmnn')

statement ok
INSERT INTO tab0 VALUES(2,84,66.72,'yvqwr',25,87.35,'pexat')

statement ok
INSERT INTO tab0 VALUES(3,7,65.99,'rzyzf',15,96.23,'cqzzf')

statement ok
INSERT INTO tab0 VALUES(4,85,38.34,'vorkj',73,98.87,'dised')

statement ok
INSERT INTO tab0 VALUES(5,47,63.47,'eldvv',81,12.75,'fkbee')

statement ok
INSERT INTO tab0 VALUES(6,70,75.32,'tuhws',51,69.93,'zufap')

statement ok
INSERT INTO tab0 VALUES(7,41,83.71,'bjtcb',85,32.63,'ubpvn')

statement ok
INSERT INTO tab0 VALUES(8,18,76.93,'ekdin',38,99.86,'kzdjw')

statement ok
INSERT INTO tab0 VALUES(9,93,43.38,'scyov',80,23.9,'lciwp')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 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-3240
SELECT pk FROM tab0 WHERE NOT (col0 < 57)
----
1
2
4
6
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-3240
SELECT pk FROM tab1 WHERE NOT (col0 < 57)
----
1
2
4
6
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-3240
SELECT pk FROM tab2 WHERE NOT (col0 < 57)
----
1
2
4
6
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-3240
SELECT pk FROM tab3 WHERE NOT (col0 < 57)
----
1
2
4
6
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-3240
SELECT pk FROM tab4 WHERE NOT (col0 < 57)
----
1
2
4
6
9

statement ok
DELETE FROM tab0 WHERE col4 <= 29.84

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 29.84
----

query I rowsort label-3255
SELECT pk FROM tab0 WHERE NOT (col4 <= 29.84)
----
1
2
4
6

statement ok
DELETE FROM tab1 WHERE col4 <= 29.84

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 29.84
----

query I rowsort label-3255
SELECT pk FROM tab1 WHERE NOT (col4 <= 29.84)
----
1
2
4
6

statement ok
DELETE FROM tab2 WHERE col4 <= 29.84

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 29.84
----

query I rowsort label-3255
SELECT pk FROM tab2 WHERE NOT (col4 <= 29.84)
----
1
2
4
6

statement ok
DELETE FROM tab3 WHERE col4 <= 29.84

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 29.84
----

query I rowsort label-3255
SELECT pk FROM tab3 WHERE NOT (col4 <= 29.84)
----
1
2
4
6

statement ok
DELETE FROM tab4 WHERE col4 <= 29.84

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 29.84
----

query I rowsort label-3255
SELECT pk FROM tab4 WHERE NOT (col4 <= 29.84)
----
1
2
4
6

statement ok
DELETE FROM tab0 WHERE ((col3 < 95)) AND col1 >= 99.19

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 95)) AND col1 >= 99.19
----

query I rowsort label-3270
SELECT pk FROM tab0 WHERE NOT (((col3 < 95)) AND col1 >= 99.19)
----
1
2
4
6

statement ok
DELETE FROM tab1 WHERE ((col3 < 95)) AND col1 >= 99.19

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 95)) AND col1 >= 99.19
----

query I rowsort label-3270
SELECT pk FROM tab1 WHERE NOT (((col3 < 95)) AND col1 >= 99.19)
----
1
2
4
6

statement ok
DELETE FROM tab2 WHERE ((col3 < 95)) AND col1 >= 99.19

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 95)) AND col1 >= 99.19
----

query I rowsort label-3270
SELECT pk FROM tab2 WHERE NOT (((col3 < 95)) AND col1 >= 99.19)
----
1
2
4
6

statement ok
DELETE FROM tab3 WHERE ((col3 < 95)) AND col1 >= 99.19

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 95)) AND col1 >= 99.19
----

query I rowsort label-3270
SELECT pk FROM tab3 WHERE NOT (((col3 < 95)) AND col1 >= 99.19)
----
1
2
4
6

statement ok
DELETE FROM tab4 WHERE ((col3 < 95)) AND col1 >= 99.19

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 95)) AND col1 >= 99.19
----

query I rowsort label-3270
SELECT pk FROM tab4 WHERE NOT (((col3 < 95)) AND col1 >= 99.19)
----
1
2
4
6

statement ok
DELETE FROM tab0 WHERE (col0 > 67)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 67)
----

query I rowsort label-3285
SELECT pk FROM tab0 WHERE NOT ((col0 > 67))
----

statement ok
DELETE FROM tab1 WHERE (col0 > 67)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 67)
----

query I rowsort label-3285
SELECT pk FROM tab1 WHERE NOT ((col0 > 67))
----

statement ok
DELETE FROM tab2 WHERE (col0 > 67)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 67)
----

query I rowsort label-3285
SELECT pk FROM tab2 WHERE NOT ((col0 > 67))
----

statement ok
DELETE FROM tab3 WHERE (col0 > 67)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 67)
----

query I rowsort label-3285
SELECT pk FROM tab3 WHERE NOT ((col0 > 67))
----

statement ok
DELETE FROM tab4 WHERE (col0 > 67)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 67)
----

query I rowsort label-3285
SELECT pk FROM tab4 WHERE NOT ((col0 > 67))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,75,62.59,'oudhz',87,28.86,'jttaz')

statement ok
INSERT INTO tab0 VALUES(1,0,45.95,'dlsta',13,95.32,'xvewh')

statement ok
INSERT INTO tab0 VALUES(2,30,42.57,'jjjuc',11,4.25,'mitkn')

statement ok
INSERT INTO tab0 VALUES(3,23,91.85,'mqlnz',6,0.82,'wjwme')

statement ok
INSERT INTO tab0 VALUES(4,58,74.87,'otfby',21,27.22,'adlhl')

statement ok
INSERT INTO tab0 VALUES(5,94,27.9,'tdbke',42,42.27,'usdcl')

statement ok
INSERT INTO tab0 VALUES(6,34,54.87,'hunur',81,26.8,'imgxf')

statement ok
INSERT INTO tab0 VALUES(7,90,43.18,'sypnp',36,98.62,'aybxx')

statement ok
INSERT INTO tab0 VALUES(8,40,69.20,'wtqlf',58,25.41,'vfwhy')

statement ok
INSERT INTO tab0 VALUES(9,95,20.92,'fspra',8,36.10,'ercub')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC,col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4 DESC,col0,col1 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 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 col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82
----

query I rowsort label-3300
SELECT pk FROM tab0 WHERE NOT (col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82)
----

statement ok
DELETE FROM tab1 WHERE col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82
----

query I rowsort label-3300
SELECT pk FROM tab1 WHERE NOT (col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82)
----

statement ok
DELETE FROM tab2 WHERE col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82
----

query I rowsort label-3300
SELECT pk FROM tab2 WHERE NOT (col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82)
----

statement ok
DELETE FROM tab3 WHERE col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82
----

query I rowsort label-3300
SELECT pk FROM tab3 WHERE NOT (col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82)
----

statement ok
DELETE FROM tab4 WHERE col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82
----

query I rowsort label-3300
SELECT pk FROM tab4 WHERE NOT (col4 <= 48.78 AND (col4 IS NULL AND (col1 > 88.8) OR col3 < 26 OR (((col3 > 63)) AND ((col0 > 89 AND col4 >= 76.61 OR (col0 IN (0,18)) AND ((col3 < 57)) AND col1 <= 39.56) OR col3 >= 96 AND col3 = 21 AND col1 >= 58.22 OR col0 = 26) AND col1 <= 75.22 AND (col3 IS NULL OR (col1 IS NULL) OR col0 <= 90 AND col3 <= 35 AND (col4 < 28.31) AND (col3 <= 42) OR col1 <= 19.2)) AND (col0 >= 62 OR col3 > 20)) OR ((col1 <= 68.33 AND col3 IS NULL)) OR col0 >= 13 AND col3 > 7 AND (col3 > 91) AND col3 > 51 AND ((col4 < 87.57) AND ((col0 > 63 OR ((col1 > 33.98))))) OR col0 = 71 OR col3 <= 22 AND col0 = 75 AND ((col0 > 80)) OR col1 >= 81.10 AND ((col0 IS NULL AND col1 >= 28.78)) OR (col3 < 70) OR (col4 BETWEEN 28.46 AND 21.50) OR col0 > 26 OR col0 > 43 AND col3 <= 82)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,24,52.73,'pbrxn',88,2.65,'kjxnk')

statement ok
INSERT INTO tab0 VALUES(1,79,13.13,'lverm',37,44.96,'tkzpe')

statement ok
INSERT INTO tab0 VALUES(2,4,19.10,'jxluu',33,78.16,'bfirl')

statement ok
INSERT INTO tab0 VALUES(3,75,41.45,'dtjau',14,86.66,'itpae')

statement ok
INSERT INTO tab0 VALUES(4,74,40.21,'ybrsl',80,76.15,'wqqmp')

statement ok
INSERT INTO tab0 VALUES(5,95,33.77,'zpmus',1,41.74,'ocbqv')

statement ok
INSERT INTO tab0 VALUES(6,61,56.99,'wlbwh',30,22.9,'siyvp')

statement ok
INSERT INTO tab0 VALUES(7,35,24.34,'mdiqg',17,72.50,'smgjs')

statement ok
INSERT INTO tab0 VALUES(8,33,92.3,'nuppo',22,19.9,'nwrrt')

statement ok
INSERT INTO tab0 VALUES(9,36,23.9,'edanx',24,25.88,'haehv')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC,col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col1 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0 DESC,col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 > 66

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 66
----

query I rowsort label-3315
SELECT pk FROM tab0 WHERE NOT (col0 > 66)
----
0
2
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 > 66

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 66
----

query I rowsort label-3315
SELECT pk FROM tab1 WHERE NOT (col0 > 66)
----
0
2
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 > 66

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 66
----

query I rowsort label-3315
SELECT pk FROM tab2 WHERE NOT (col0 > 66)
----
0
2
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 > 66

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 66
----

query I rowsort label-3315
SELECT pk FROM tab3 WHERE NOT (col0 > 66)
----
0
2
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 > 66

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 66
----

query I rowsort label-3315
SELECT pk FROM tab4 WHERE NOT (col0 > 66)
----
0
2
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 < 33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 33
----

query I rowsort label-3330
SELECT pk FROM tab0 WHERE NOT (col0 < 33)
----
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 < 33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 33
----

query I rowsort label-3330
SELECT pk FROM tab1 WHERE NOT (col0 < 33)
----
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 < 33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 33
----

query I rowsort label-3330
SELECT pk FROM tab2 WHERE NOT (col0 < 33)
----
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 < 33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 33
----

query I rowsort label-3330
SELECT pk FROM tab3 WHERE NOT (col0 < 33)
----
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 < 33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 33
----

query I rowsort label-3330
SELECT pk FROM tab4 WHERE NOT (col0 < 33)
----
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25))))
----

query I rowsort label-3345
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25)))))
----
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25))))
----

query I rowsort label-3345
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25)))))
----
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25))))
----

query I rowsort label-3345
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25)))))
----
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25))))
----

query I rowsort label-3345
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25)))))
----
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25))))
----

query I rowsort label-3345
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL AND col1 <= 82.0 OR (((((col0 <= 27)))))) OR col4 > 21.50 AND (col0 > 23 AND (((col3 = 15 OR col4 >= 79.90 OR (col4 > 62.83) AND col3 > 25)))))
----
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col0 < 99 AND (col1 > 59.82))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 99 AND (col1 > 59.82))
----

query I rowsort label-3360
SELECT pk FROM tab0 WHERE NOT ((col0 < 99 AND (col1 > 59.82)))
----
6
7
9

statement ok
DELETE FROM tab1 WHERE (col0 < 99 AND (col1 > 59.82))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 99 AND (col1 > 59.82))
----

query I rowsort label-3360
SELECT pk FROM tab1 WHERE NOT ((col0 < 99 AND (col1 > 59.82)))
----
6
7
9

statement ok
DELETE FROM tab2 WHERE (col0 < 99 AND (col1 > 59.82))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 99 AND (col1 > 59.82))
----

query I rowsort label-3360
SELECT pk FROM tab2 WHERE NOT ((col0 < 99 AND (col1 > 59.82)))
----
6
7
9

statement ok
DELETE FROM tab3 WHERE (col0 < 99 AND (col1 > 59.82))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 99 AND (col1 > 59.82))
----

query I rowsort label-3360
SELECT pk FROM tab3 WHERE NOT ((col0 < 99 AND (col1 > 59.82)))
----
6
7
9

statement ok
DELETE FROM tab4 WHERE (col0 < 99 AND (col1 > 59.82))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 99 AND (col1 > 59.82))
----

query I rowsort label-3360
SELECT pk FROM tab4 WHERE NOT ((col0 < 99 AND (col1 > 59.82)))
----
6
7
9

statement ok
DELETE FROM tab0 WHERE (col1 > 9.25)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 9.25)
----

query I rowsort label-3375
SELECT pk FROM tab0 WHERE NOT ((col1 > 9.25))
----

statement ok
DELETE FROM tab1 WHERE (col1 > 9.25)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 9.25)
----

query I rowsort label-3375
SELECT pk FROM tab1 WHERE NOT ((col1 > 9.25))
----

statement ok
DELETE FROM tab2 WHERE (col1 > 9.25)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 9.25)
----

query I rowsort label-3375
SELECT pk FROM tab2 WHERE NOT ((col1 > 9.25))
----

statement ok
DELETE FROM tab3 WHERE (col1 > 9.25)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 9.25)
----

query I rowsort label-3375
SELECT pk FROM tab3 WHERE NOT ((col1 > 9.25))
----

statement ok
DELETE FROM tab4 WHERE (col1 > 9.25)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 9.25)
----

query I rowsort label-3375
SELECT pk FROM tab4 WHERE NOT ((col1 > 9.25))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,66,84.29,'tbknt',35,96.48,'hfmpe')

statement ok
INSERT INTO tab0 VALUES(1,76,75.31,'keide',65,47.34,'sjtmb')

statement ok
INSERT INTO tab0 VALUES(2,93,13.35,'fpmms',89,68.5,'hlgwn')

statement ok
INSERT INTO tab0 VALUES(3,67,64.94,'aseqg',80,54.25,'lackq')

statement ok
INSERT INTO tab0 VALUES(4,86,82.3,'joeif',31,45.32,'nxksg')

statement ok
INSERT INTO tab0 VALUES(5,38,19.56,'uerxu',15,36.95,'uyjhx')

statement ok
INSERT INTO tab0 VALUES(6,72,39.13,'zoroa',49,88.79,'tokxe')

statement ok
INSERT INTO tab0 VALUES(7,64,32.60,'tauix',59,46.7,'cihip')

statement ok
INSERT INTO tab0 VALUES(8,77,24.72,'ewqlo',37,44.23,'yueav')

statement ok
INSERT INTO tab0 VALUES(9,26,89.78,'xevcj',7,27.53,'xxxny')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 = 3

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 3
----

query I rowsort label-3390
SELECT pk FROM tab0 WHERE NOT (col3 = 3)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 = 3

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 3
----

query I rowsort label-3390
SELECT pk FROM tab1 WHERE NOT (col3 = 3)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 = 3

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 3
----

query I rowsort label-3390
SELECT pk FROM tab2 WHERE NOT (col3 = 3)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 = 3

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 3
----

query I rowsort label-3390
SELECT pk FROM tab3 WHERE NOT (col3 = 3)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 = 3

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 3
----

query I rowsort label-3390
SELECT pk FROM tab4 WHERE NOT (col3 = 3)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 >= 62

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 62
----

query I rowsort label-3405
SELECT pk FROM tab0 WHERE NOT (col3 >= 62)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 >= 62

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 62
----

query I rowsort label-3405
SELECT pk FROM tab1 WHERE NOT (col3 >= 62)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 >= 62

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 62
----

query I rowsort label-3405
SELECT pk FROM tab2 WHERE NOT (col3 >= 62)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 >= 62

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 62
----

query I rowsort label-3405
SELECT pk FROM tab3 WHERE NOT (col3 >= 62)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 >= 62

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 62
----

query I rowsort label-3405
SELECT pk FROM tab4 WHERE NOT (col3 >= 62)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 <= 25

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 25
----

query I rowsort label-3420
SELECT pk FROM tab0 WHERE NOT (col0 <= 25)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 <= 25

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 25
----

query I rowsort label-3420
SELECT pk FROM tab1 WHERE NOT (col0 <= 25)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 <= 25

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 25
----

query I rowsort label-3420
SELECT pk FROM tab2 WHERE NOT (col0 <= 25)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 <= 25

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 25
----

query I rowsort label-3420
SELECT pk FROM tab3 WHERE NOT (col0 <= 25)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 <= 25

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 25
----

query I rowsort label-3420
SELECT pk FROM tab4 WHERE NOT (col0 <= 25)
----
0
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 < 85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 85
----

query I rowsort label-3435
SELECT pk FROM tab0 WHERE NOT (col3 < 85)
----

statement ok
DELETE FROM tab1 WHERE col3 < 85

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 85
----

query I rowsort label-3435
SELECT pk FROM tab1 WHERE NOT (col3 < 85)
----

statement ok
DELETE FROM tab2 WHERE col3 < 85

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 85
----

query I rowsort label-3435
SELECT pk FROM tab2 WHERE NOT (col3 < 85)
----

statement ok
DELETE FROM tab3 WHERE col3 < 85

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 85
----

query I rowsort label-3435
SELECT pk FROM tab3 WHERE NOT (col3 < 85)
----

statement ok
DELETE FROM tab4 WHERE col3 < 85

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 85
----

query I rowsort label-3435
SELECT pk FROM tab4 WHERE NOT (col3 < 85)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,6,67.90,'hlrri',63,11.42,'enlhw')

statement ok
INSERT INTO tab0 VALUES(1,79,10.49,'nwwug',62,46.42,'xmznd')

statement ok
INSERT INTO tab0 VALUES(2,87,12.97,'pvtdx',1,95.56,'ajbqw')

statement ok
INSERT INTO tab0 VALUES(3,35,43.55,'zixte',36,74.65,'hjqmg')

statement ok
INSERT INTO tab0 VALUES(4,0,69.50,'cvfse',26,4.33,'xmzxg')

statement ok
INSERT INTO tab0 VALUES(5,84,68.77,'dbybo',87,22.78,'mhxox')

statement ok
INSERT INTO tab0 VALUES(6,85,40.66,'moxin',64,94.28,'ilqej')

statement ok
INSERT INTO tab0 VALUES(7,54,20.37,'rjkaz',77,29.89,'mlhnb')

statement ok
INSERT INTO tab0 VALUES(8,61,92.68,'lnqmr',9,87.3,'udqwx')

statement ok
INSERT INTO tab0 VALUES(9,55,0.56,'bvrji',46,98.11,'fkmqe')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC,col0 DESC,col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3,col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0,col1 DESC)

statement ok
CREATE 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 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 <= 64.78

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 64.78
----

query I rowsort label-3450
SELECT pk FROM tab0 WHERE NOT (col1 <= 64.78)
----
0
4
5
8

statement ok
DELETE FROM tab1 WHERE col1 <= 64.78

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 64.78
----

query I rowsort label-3450
SELECT pk FROM tab1 WHERE NOT (col1 <= 64.78)
----
0
4
5
8

statement ok
DELETE FROM tab2 WHERE col1 <= 64.78

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 64.78
----

query I rowsort label-3450
SELECT pk FROM tab2 WHERE NOT (col1 <= 64.78)
----
0
4
5
8

statement ok
DELETE FROM tab3 WHERE col1 <= 64.78

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 64.78
----

query I rowsort label-3450
SELECT pk FROM tab3 WHERE NOT (col1 <= 64.78)
----
0
4
5
8

statement ok
DELETE FROM tab4 WHERE col1 <= 64.78

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 64.78
----

query I rowsort label-3450
SELECT pk FROM tab4 WHERE NOT (col1 <= 64.78)
----
0
4
5
8

statement ok
DELETE FROM tab0 WHERE col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14
----

query I rowsort label-3465
SELECT pk FROM tab0 WHERE NOT (col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14)
----

statement ok
DELETE FROM tab1 WHERE col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14
----

query I rowsort label-3465
SELECT pk FROM tab1 WHERE NOT (col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14)
----

statement ok
DELETE FROM tab2 WHERE col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14
----

query I rowsort label-3465
SELECT pk FROM tab2 WHERE NOT (col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14)
----

statement ok
DELETE FROM tab3 WHERE col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14
----

query I rowsort label-3465
SELECT pk FROM tab3 WHERE NOT (col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14)
----

statement ok
DELETE FROM tab4 WHERE col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) OR col0 >= 14
----

query I rowsort label-3465
SELECT pk FROM tab4 WHERE NOT (col4 IS NULL AND col0 < 30 OR ((col0 >= 70) OR ((col4 IS NULL) OR (col0 > 47) AND col4 >= 57.60 AND col3 IS NULL OR col1 > 52.3 AND ((col3 <= 83))) AND col3 BETWEEN 38 AND 91 AND ((col4 > 55.54 AND col1 BETWEEN 61.18 AND 19.51 AND col3 < 61 AND (col4 <= 14.67) OR col4 >= 23.29)) OR col1 = 19.27 AND col0 <= 46) AND (col4 > 82.78) OR col3 < 91 OR (col3 < 40) 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,6,98.28,'hvlbo',82,2.4,'uvshw')

statement ok
INSERT INTO tab0 VALUES(1,7,66.97,'mdsjg',57,91.4,'lsryv')

statement ok
INSERT INTO tab0 VALUES(2,78,91.47,'eqaoa',83,78.15,'fpdtn')

statement ok
INSERT INTO tab0 VALUES(3,79,9.23,'lunfv',86,97.85,'zntxl')

statement ok
INSERT INTO tab0 VALUES(4,92,81.94,'qobrr',99,64.21,'zsmnc')

statement ok
INSERT INTO tab0 VALUES(5,94,5.21,'hvnnq',26,86.53,'sgtif')

statement ok
INSERT INTO tab0 VALUES(6,5,28.16,'mgrhb',1,79.91,'irois')

statement ok
INSERT INTO tab0 VALUES(7,62,59.4,'wrocp',50,74.91,'mqrib')

statement ok
INSERT INTO tab0 VALUES(8,75,82.87,'tyjdj',58,34.18,'rmqrc')

statement ok
INSERT INTO tab0 VALUES(9,93,67.9,'ijvnd',28,65.6,'gxatm')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (col1,col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0 DESC,col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0,col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4,col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1 DESC,col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col1 DESC,col4 DESC,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC,col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col1 < 6.77))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 < 6.77))
----

query I rowsort label-3480
SELECT pk FROM tab0 WHERE NOT (((col1 < 6.77)))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE ((col1 < 6.77))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 < 6.77))
----

query I rowsort label-3480
SELECT pk FROM tab1 WHERE NOT (((col1 < 6.77)))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE ((col1 < 6.77))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 < 6.77))
----

query I rowsort label-3480
SELECT pk FROM tab2 WHERE NOT (((col1 < 6.77)))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE ((col1 < 6.77))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 < 6.77))
----

query I rowsort label-3480
SELECT pk FROM tab3 WHERE NOT (((col1 < 6.77)))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE ((col1 < 6.77))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 < 6.77))
----

query I rowsort label-3480
SELECT pk FROM tab4 WHERE NOT (((col1 < 6.77)))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col4 > 23.91

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 23.91
----

query I rowsort label-3495
SELECT pk FROM tab0 WHERE NOT (col4 > 23.91)
----
0

statement ok
DELETE FROM tab1 WHERE col4 > 23.91

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 23.91
----

query I rowsort label-3495
SELECT pk FROM tab1 WHERE NOT (col4 > 23.91)
----
0

statement ok
DELETE FROM tab2 WHERE col4 > 23.91

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 23.91
----

query I rowsort label-3495
SELECT pk FROM tab2 WHERE NOT (col4 > 23.91)
----
0

statement ok
DELETE FROM tab3 WHERE col4 > 23.91

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 23.91
----

query I rowsort label-3495
SELECT pk FROM tab3 WHERE NOT (col4 > 23.91)
----
0

statement ok
DELETE FROM tab4 WHERE col4 > 23.91

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 23.91
----

query I rowsort label-3495
SELECT pk FROM tab4 WHERE NOT (col4 > 23.91)
----
0

statement ok
DELETE FROM tab0 WHERE ((col4 > 78.35 AND col0 < 6))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 > 78.35 AND col0 < 6))
----

query I rowsort label-3510
SELECT pk FROM tab0 WHERE NOT (((col4 > 78.35 AND col0 < 6)))
----
0

statement ok
DELETE FROM tab1 WHERE ((col4 > 78.35 AND col0 < 6))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 > 78.35 AND col0 < 6))
----

query I rowsort label-3510
SELECT pk FROM tab1 WHERE NOT (((col4 > 78.35 AND col0 < 6)))
----
0

statement ok
DELETE FROM tab2 WHERE ((col4 > 78.35 AND col0 < 6))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 > 78.35 AND col0 < 6))
----

query I rowsort label-3510
SELECT pk FROM tab2 WHERE NOT (((col4 > 78.35 AND col0 < 6)))
----
0

statement ok
DELETE FROM tab3 WHERE ((col4 > 78.35 AND col0 < 6))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 > 78.35 AND col0 < 6))
----

query I rowsort label-3510
SELECT pk FROM tab3 WHERE NOT (((col4 > 78.35 AND col0 < 6)))
----
0

statement ok
DELETE FROM tab4 WHERE ((col4 > 78.35 AND col0 < 6))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 > 78.35 AND col0 < 6))
----

query I rowsort label-3510
SELECT pk FROM tab4 WHERE NOT (((col4 > 78.35 AND col0 < 6)))
----
0

statement ok
DELETE FROM tab0 WHERE (col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL))
----

query I rowsort label-3525
SELECT pk FROM tab0 WHERE NOT ((col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL)))
----
0

statement ok
DELETE FROM tab1 WHERE (col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL))
----

query I rowsort label-3525
SELECT pk FROM tab1 WHERE NOT ((col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL)))
----
0

statement ok
DELETE FROM tab2 WHERE (col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL))
----

query I rowsort label-3525
SELECT pk FROM tab2 WHERE NOT ((col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL)))
----
0

statement ok
DELETE FROM tab3 WHERE (col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL))
----

query I rowsort label-3525
SELECT pk FROM tab3 WHERE NOT ((col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL)))
----
0

statement ok
DELETE FROM tab4 WHERE (col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL))
----

query I rowsort label-3525
SELECT pk FROM tab4 WHERE NOT ((col1 >= 13.10 AND (col1 IS NULL) AND ((col4 < 21.53 OR col3 > 2) OR (((col3 > 9 AND (((col0 > 1))) AND col4 > 81.7) AND col4 = 30.93 OR ((col4 > 60.74 OR col1 > 81.94 AND (col3 <= 22) OR (col0 IS NULL))) AND col0 <= 28 OR col1 > 75.11) AND ((col1 = 74.38 OR col1 IN (17.25) AND (((col3 > 39 AND col3 = 84)))) AND (col0 > 60) AND (col0 = 51)) AND ((col3 < 27 AND col3 < 77 AND col4 BETWEEN 61.44 AND 1.16))) AND col3 = 77)) AND ((col3 > 24) AND (col0 IS NULL)))
----
0

statement ok
DELETE FROM tab0 WHERE col0 <= 89 AND col3 >= 45

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 89 AND col3 >= 45
----

query I rowsort label-3540
SELECT pk FROM tab0 WHERE NOT (col0 <= 89 AND col3 >= 45)
----

statement ok
DELETE FROM tab1 WHERE col0 <= 89 AND col3 >= 45

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 89 AND col3 >= 45
----

query I rowsort label-3540
SELECT pk FROM tab1 WHERE NOT (col0 <= 89 AND col3 >= 45)
----

statement ok
DELETE FROM tab2 WHERE col0 <= 89 AND col3 >= 45

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 89 AND col3 >= 45
----

query I rowsort label-3540
SELECT pk FROM tab2 WHERE NOT (col0 <= 89 AND col3 >= 45)
----

statement ok
DELETE FROM tab3 WHERE col0 <= 89 AND col3 >= 45

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 89 AND col3 >= 45
----

query I rowsort label-3540
SELECT pk FROM tab3 WHERE NOT (col0 <= 89 AND col3 >= 45)
----

statement ok
DELETE FROM tab4 WHERE col0 <= 89 AND col3 >= 45

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 89 AND col3 >= 45
----

query I rowsort label-3540
SELECT pk FROM tab4 WHERE NOT (col0 <= 89 AND col3 >= 45)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,14,13.15,'fyqvh',30,45.13,'qmqho')

statement ok
INSERT INTO tab0 VALUES(1,84,96.66,'nfugv',7,98.4,'lesnd')

statement ok
INSERT INTO tab0 VALUES(2,40,69.50,'gfbgn',79,72.60,'ygvag')

statement ok
INSERT INTO tab0 VALUES(3,38,29.76,'dfpsk',24,99.88,'ysvvk')

statement ok
INSERT INTO tab0 VALUES(4,20,20.14,'xbfwy',86,14.86,'hcoso')

statement ok
INSERT INTO tab0 VALUES(5,72,48.55,'uqffc',37,67.6,'ireyi')

statement ok
INSERT INTO tab0 VALUES(6,91,85.81,'grtzp',39,36.20,'xkaxa')

statement ok
INSERT INTO tab0 VALUES(7,47,91.17,'jgtva',9,37.78,'ijzqy')

statement ok
INSERT INTO tab0 VALUES(8,43,21.4,'wjfiv',80,42.74,'tnjmi')

statement ok
INSERT INTO tab0 VALUES(9,79,35.53,'itevp',58,85.4,'dehvo')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC,col3)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col0 < 49 OR ((col0 > 21)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 < 49 OR ((col0 > 21)))))
----

query I rowsort label-3555
SELECT pk FROM tab0 WHERE NOT ((((col0 < 49 OR ((col0 > 21))))))
----

statement ok
DELETE FROM tab1 WHERE (((col0 < 49 OR ((col0 > 21)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 < 49 OR ((col0 > 21)))))
----

query I rowsort label-3555
SELECT pk FROM tab1 WHERE NOT ((((col0 < 49 OR ((col0 > 21))))))
----

statement ok
DELETE FROM tab2 WHERE (((col0 < 49 OR ((col0 > 21)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 < 49 OR ((col0 > 21)))))
----

query I rowsort label-3555
SELECT pk FROM tab2 WHERE NOT ((((col0 < 49 OR ((col0 > 21))))))
----

statement ok
DELETE FROM tab3 WHERE (((col0 < 49 OR ((col0 > 21)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 < 49 OR ((col0 > 21)))))
----

query I rowsort label-3555
SELECT pk FROM tab3 WHERE NOT ((((col0 < 49 OR ((col0 > 21))))))
----

statement ok
DELETE FROM tab4 WHERE (((col0 < 49 OR ((col0 > 21)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 < 49 OR ((col0 > 21)))))
----

query I rowsort label-3555
SELECT pk FROM tab4 WHERE NOT ((((col0 < 49 OR ((col0 > 21))))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,58,39.45,'rungh',0,84.65,'ktalq')

statement ok
INSERT INTO tab0 VALUES(1,73,16.99,'bbvrf',90,56.93,'azhll')

statement ok
INSERT INTO tab0 VALUES(2,63,53.69,'pcdps',80,23.7,'mcrth')

statement ok
INSERT INTO tab0 VALUES(3,13,58.28,'dwtrc',23,88.99,'xtcxv')

statement ok
INSERT INTO tab0 VALUES(4,87,10.50,'htpny',33,78.95,'lzvub')

statement ok
INSERT INTO tab0 VALUES(5,90,59.78,'rgmic',46,50.21,'fqlcd')

statement ok
INSERT INTO tab0 VALUES(6,27,51.87,'zmdos',81,11.63,'nbbbu')

statement ok
INSERT INTO tab0 VALUES(7,74,30.42,'dxhjn',5,25.31,'ysjch')

statement ok
INSERT INTO tab0 VALUES(8,30,60.63,'lxymv',96,28.22,'pwvin')

statement ok
INSERT INTO tab0 VALUES(9,91,23.87,'snhst',1,39.81,'xcvhi')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 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 INDEX idx_tab4_0 ON tab4 (col1,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3,col4)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4 DESC,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11)))))
----

query I rowsort label-3570
SELECT pk FROM tab0 WHERE NOT ((col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11))))))
----
1
2
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11)))))
----

query I rowsort label-3570
SELECT pk FROM tab1 WHERE NOT ((col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11))))))
----
1
2
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11)))))
----

query I rowsort label-3570
SELECT pk FROM tab2 WHERE NOT ((col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11))))))
----
1
2
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11)))))
----

query I rowsort label-3570
SELECT pk FROM tab3 WHERE NOT ((col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11))))))
----
1
2
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11)))))
----

query I rowsort label-3570
SELECT pk FROM tab4 WHERE NOT ((col4 >= 80.0 OR ((col3 <= 9 AND col0 = 76)) OR (col3 >= 4 AND col0 <= 94 OR col3 < 29 AND col0 IN (88,18,77) OR (col0 BETWEEN 12 AND 45 AND col1 > 87.18) AND col0 >= 10) AND (col0 < 22 OR ((col0 = 24) AND col3 >= 25 OR ((col3 > 31 OR col1 IS NULL AND col3 >= 20 OR col3 < 97 OR ((col3 IN (63)))) OR col4 IN (2.29,99.80) AND (col4 < 20.93 AND col3 > 35 OR col3 > 35 AND col3 = 85 AND (col3 < 97 AND col0 < 34 AND col0 IS NULL)) OR col1 >= 22.33) OR (col3 < 38)) AND col3 < 2 AND col4 = 94.42) AND (col1 > 76.79) AND ((((col1 >= 84.25 AND ((col0 = 7)) OR col0 > 11))))))
----
1
2
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 <= 49 AND col3 >= 42 OR col0 > 21

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 49 AND col3 >= 42 OR col0 > 21
----

query I rowsort label-3585
SELECT pk FROM tab0 WHERE NOT (col3 <= 49 AND col3 >= 42 OR col0 > 21)
----

statement ok
DELETE FROM tab1 WHERE col3 <= 49 AND col3 >= 42 OR col0 > 21

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 49 AND col3 >= 42 OR col0 > 21
----

query I rowsort label-3585
SELECT pk FROM tab1 WHERE NOT (col3 <= 49 AND col3 >= 42 OR col0 > 21)
----

statement ok
DELETE FROM tab2 WHERE col3 <= 49 AND col3 >= 42 OR col0 > 21

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 49 AND col3 >= 42 OR col0 > 21
----

query I rowsort label-3585
SELECT pk FROM tab2 WHERE NOT (col3 <= 49 AND col3 >= 42 OR col0 > 21)
----

statement ok
DELETE FROM tab3 WHERE col3 <= 49 AND col3 >= 42 OR col0 > 21

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 49 AND col3 >= 42 OR col0 > 21
----

query I rowsort label-3585
SELECT pk FROM tab3 WHERE NOT (col3 <= 49 AND col3 >= 42 OR col0 > 21)
----

statement ok
DELETE FROM tab4 WHERE col3 <= 49 AND col3 >= 42 OR col0 > 21

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 49 AND col3 >= 42 OR col0 > 21
----

query I rowsort label-3585
SELECT pk FROM tab4 WHERE NOT (col3 <= 49 AND col3 >= 42 OR col0 > 21)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,3,51.4,'rfpjd',49,31.82,'kucpo')

statement ok
INSERT INTO tab0 VALUES(1,29,53.75,'oeknj',8,52.67,'bifer')

statement ok
INSERT INTO tab0 VALUES(2,79,58.66,'quflw',75,29.6,'ardep')

statement ok
INSERT INTO tab0 VALUES(3,59,0.8,'tevky',73,38.8,'tbduu')

statement ok
INSERT INTO tab0 VALUES(4,44,13.44,'jmmse',55,82.4,'dobhv')

statement ok
INSERT INTO tab0 VALUES(5,86,86.44,'ekkpz',5,55.57,'bdcay')

statement ok
INSERT INTO tab0 VALUES(6,33,31.17,'rakog',61,0.74,'dtiop')

statement ok
INSERT INTO tab0 VALUES(7,39,41.22,'xynic',21,77.19,'enmwj')

statement ok
INSERT INTO tab0 VALUES(8,76,55.82,'yosah',57,21.28,'xwiig')

statement ok
INSERT INTO tab0 VALUES(9,43,20.96,'qbika',29,6.16,'qonzm')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4 DESC,col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4,col0)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3 DESC,col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col3 = 51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 51
----

query I rowsort label-3600
SELECT pk FROM tab0 WHERE NOT (col3 = 51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 = 51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 51
----

query I rowsort label-3600
SELECT pk FROM tab1 WHERE NOT (col3 = 51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 = 51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 51
----

query I rowsort label-3600
SELECT pk FROM tab2 WHERE NOT (col3 = 51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 = 51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 51
----

query I rowsort label-3600
SELECT pk FROM tab3 WHERE NOT (col3 = 51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 = 51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 51
----

query I rowsort label-3600
SELECT pk FROM tab4 WHERE NOT (col3 = 51)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 > 65

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 65
----

query I rowsort label-3615
SELECT pk FROM tab0 WHERE NOT (col3 > 65)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 > 65

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 65
----

query I rowsort label-3615
SELECT pk FROM tab1 WHERE NOT (col3 > 65)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 > 65

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 65
----

query I rowsort label-3615
SELECT pk FROM tab2 WHERE NOT (col3 > 65)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 > 65

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 65
----

query I rowsort label-3615
SELECT pk FROM tab3 WHERE NOT (col3 > 65)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 > 65

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 65
----

query I rowsort label-3615
SELECT pk FROM tab4 WHERE NOT (col3 > 65)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col4 <= 66.58) AND col1 = 28.2

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 <= 66.58) AND col1 = 28.2
----

query I rowsort label-3630
SELECT pk FROM tab0 WHERE NOT ((col4 <= 66.58) AND col1 = 28.2)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col4 <= 66.58) AND col1 = 28.2

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 <= 66.58) AND col1 = 28.2
----

query I rowsort label-3630
SELECT pk FROM tab1 WHERE NOT ((col4 <= 66.58) AND col1 = 28.2)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col4 <= 66.58) AND col1 = 28.2

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 <= 66.58) AND col1 = 28.2
----

query I rowsort label-3630
SELECT pk FROM tab2 WHERE NOT ((col4 <= 66.58) AND col1 = 28.2)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col4 <= 66.58) AND col1 = 28.2

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 <= 66.58) AND col1 = 28.2
----

query I rowsort label-3630
SELECT pk FROM tab3 WHERE NOT ((col4 <= 66.58) AND col1 = 28.2)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col4 <= 66.58) AND col1 = 28.2

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 <= 66.58) AND col1 = 28.2
----

query I rowsort label-3630
SELECT pk FROM tab4 WHERE NOT ((col4 <= 66.58) AND col1 = 28.2)
----
0
1
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col0 < 93) OR col3 < 64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 93) OR col3 < 64
----

query I rowsort label-3645
SELECT pk FROM tab0 WHERE NOT ((col0 < 93) OR col3 < 64)
----

statement ok
DELETE FROM tab1 WHERE (col0 < 93) OR col3 < 64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 93) OR col3 < 64
----

query I rowsort label-3645
SELECT pk FROM tab1 WHERE NOT ((col0 < 93) OR col3 < 64)
----

statement ok
DELETE FROM tab2 WHERE (col0 < 93) OR col3 < 64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 93) OR col3 < 64
----

query I rowsort label-3645
SELECT pk FROM tab2 WHERE NOT ((col0 < 93) OR col3 < 64)
----

statement ok
DELETE FROM tab3 WHERE (col0 < 93) OR col3 < 64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 93) OR col3 < 64
----

query I rowsort label-3645
SELECT pk FROM tab3 WHERE NOT ((col0 < 93) OR col3 < 64)
----

statement ok
DELETE FROM tab4 WHERE (col0 < 93) OR col3 < 64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 93) OR col3 < 64
----

query I rowsort label-3645
SELECT pk FROM tab4 WHERE NOT ((col0 < 93) OR col3 < 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,40,26.89,'dgbzt',95,87.31,'ajxjc')

statement ok
INSERT INTO tab0 VALUES(1,75,14.66,'cenxd',79,32.44,'ykdbm')

statement ok
INSERT INTO tab0 VALUES(2,18,47.41,'qetjz',85,31.91,'lijil')

statement ok
INSERT INTO tab0 VALUES(3,35,75.42,'pvuld',87,99.8,'ehajm')

statement ok
INSERT INTO tab0 VALUES(4,27,30.50,'eojkz',32,38.62,'rocmc')

statement ok
INSERT INTO tab0 VALUES(5,0,38.64,'cevik',98,52.21,'qfkmx')

statement ok
INSERT INTO tab0 VALUES(6,22,34.60,'tolsb',61,58.10,'ypqlt')

statement ok
INSERT INTO tab0 VALUES(7,88,71.52,'iimei',52,1.78,'udqiw')

statement ok
INSERT INTO tab0 VALUES(8,84,36.63,'vhfzn',24,62.56,'wugry')

statement ok
INSERT INTO tab0 VALUES(9,46,60.77,'jffsb',13,73.25,'muubk')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC,col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 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 col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48))
----

query I rowsort label-3660
SELECT pk FROM tab0 WHERE NOT (col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48)))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab1 WHERE col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48))
----

query I rowsort label-3660
SELECT pk FROM tab1 WHERE NOT (col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48)))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab2 WHERE col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48))
----

query I rowsort label-3660
SELECT pk FROM tab2 WHERE NOT (col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48)))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab3 WHERE col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48))
----

query I rowsort label-3660
SELECT pk FROM tab3 WHERE NOT (col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48)))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab4 WHERE col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48))
----

query I rowsort label-3660
SELECT pk FROM tab4 WHERE NOT (col0 > 43 AND ((col3 = 62 OR col1 <= 31.51)) OR (col1 > 99.89) AND col1 IN (13.94) AND (((col1 <= 14.15 OR col4 < 32.74 OR col0 IN (34)))) AND ((col3 >= 48)))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab0 WHERE (col0 > 84 OR col0 IN (72,86,42))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 84 OR col0 IN (72,86,42))
----

query I rowsort label-3675
SELECT pk FROM tab0 WHERE NOT ((col0 > 84 OR col0 IN (72,86,42)))
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab1 WHERE (col0 > 84 OR col0 IN (72,86,42))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 84 OR col0 IN (72,86,42))
----

query I rowsort label-3675
SELECT pk FROM tab1 WHERE NOT ((col0 > 84 OR col0 IN (72,86,42)))
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab2 WHERE (col0 > 84 OR col0 IN (72,86,42))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 84 OR col0 IN (72,86,42))
----

query I rowsort label-3675
SELECT pk FROM tab2 WHERE NOT ((col0 > 84 OR col0 IN (72,86,42)))
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab3 WHERE (col0 > 84 OR col0 IN (72,86,42))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 84 OR col0 IN (72,86,42))
----

query I rowsort label-3675
SELECT pk FROM tab3 WHERE NOT ((col0 > 84 OR col0 IN (72,86,42)))
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab4 WHERE (col0 > 84 OR col0 IN (72,86,42))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 84 OR col0 IN (72,86,42))
----

query I rowsort label-3675
SELECT pk FROM tab4 WHERE NOT ((col0 > 84 OR col0 IN (72,86,42)))
----
0
2
3
4
5
6
8
9

statement ok
DELETE FROM tab0 WHERE ((col3 <= 74))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 <= 74))
----

query I rowsort label-3690
SELECT pk FROM tab0 WHERE NOT (((col3 <= 74)))
----
0
2
3
5

statement ok
DELETE FROM tab1 WHERE ((col3 <= 74))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 <= 74))
----

query I rowsort label-3690
SELECT pk FROM tab1 WHERE NOT (((col3 <= 74)))
----
0
2
3
5

statement ok
DELETE FROM tab2 WHERE ((col3 <= 74))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 <= 74))
----

query I rowsort label-3690
SELECT pk FROM tab2 WHERE NOT (((col3 <= 74)))
----
0
2
3
5

statement ok
DELETE FROM tab3 WHERE ((col3 <= 74))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 <= 74))
----

query I rowsort label-3690
SELECT pk FROM tab3 WHERE NOT (((col3 <= 74)))
----
0
2
3
5

statement ok
DELETE FROM tab4 WHERE ((col3 <= 74))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 <= 74))
----

query I rowsort label-3690
SELECT pk FROM tab4 WHERE NOT (((col3 <= 74)))
----
0
2
3
5

statement ok
DELETE FROM tab0 WHERE col4 > 75.77

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 75.77
----

query I rowsort label-3705
SELECT pk FROM tab0 WHERE NOT (col4 > 75.77)
----
2
5

statement ok
DELETE FROM tab1 WHERE col4 > 75.77

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 75.77
----

query I rowsort label-3705
SELECT pk FROM tab1 WHERE NOT (col4 > 75.77)
----
2
5

statement ok
DELETE FROM tab2 WHERE col4 > 75.77

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 75.77
----

query I rowsort label-3705
SELECT pk FROM tab2 WHERE NOT (col4 > 75.77)
----
2
5

statement ok
DELETE FROM tab3 WHERE col4 > 75.77

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 75.77
----

query I rowsort label-3705
SELECT pk FROM tab3 WHERE NOT (col4 > 75.77)
----
2
5

statement ok
DELETE FROM tab4 WHERE col4 > 75.77

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 75.77
----

query I rowsort label-3705
SELECT pk FROM tab4 WHERE NOT (col4 > 75.77)
----
2
5

statement ok
DELETE FROM tab0 WHERE col3 <= 89 OR col4 < 24.79 OR col1 > 84.86

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 89 OR col4 < 24.79 OR col1 > 84.86
----

query I rowsort label-3720
SELECT pk FROM tab0 WHERE NOT (col3 <= 89 OR col4 < 24.79 OR col1 > 84.86)
----
5

statement ok
DELETE FROM tab1 WHERE col3 <= 89 OR col4 < 24.79 OR col1 > 84.86

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 89 OR col4 < 24.79 OR col1 > 84.86
----

query I rowsort label-3720
SELECT pk FROM tab1 WHERE NOT (col3 <= 89 OR col4 < 24.79 OR col1 > 84.86)
----
5

statement ok
DELETE FROM tab2 WHERE col3 <= 89 OR col4 < 24.79 OR col1 > 84.86

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 89 OR col4 < 24.79 OR col1 > 84.86
----

query I rowsort label-3720
SELECT pk FROM tab2 WHERE NOT (col3 <= 89 OR col4 < 24.79 OR col1 > 84.86)
----
5

statement ok
DELETE FROM tab3 WHERE col3 <= 89 OR col4 < 24.79 OR col1 > 84.86

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 89 OR col4 < 24.79 OR col1 > 84.86
----

query I rowsort label-3720
SELECT pk FROM tab3 WHERE NOT (col3 <= 89 OR col4 < 24.79 OR col1 > 84.86)
----
5

statement ok
DELETE FROM tab4 WHERE col3 <= 89 OR col4 < 24.79 OR col1 > 84.86

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 89 OR col4 < 24.79 OR col1 > 84.86
----

query I rowsort label-3720
SELECT pk FROM tab4 WHERE NOT (col3 <= 89 OR col4 < 24.79 OR col1 > 84.86)
----
5

statement ok
DELETE FROM tab0 WHERE col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38)
----

query I rowsort label-3735
SELECT pk FROM tab0 WHERE NOT (col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38))
----
5

statement ok
DELETE FROM tab1 WHERE col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38)
----

query I rowsort label-3735
SELECT pk FROM tab1 WHERE NOT (col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38))
----
5

statement ok
DELETE FROM tab2 WHERE col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38)
----

query I rowsort label-3735
SELECT pk FROM tab2 WHERE NOT (col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38))
----
5

statement ok
DELETE FROM tab3 WHERE col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38)
----

query I rowsort label-3735
SELECT pk FROM tab3 WHERE NOT (col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38))
----
5

statement ok
DELETE FROM tab4 WHERE col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38)
----

query I rowsort label-3735
SELECT pk FROM tab4 WHERE NOT (col4 IN (82.88,77.75,6.98,69.22,92.77) AND ((col1 > 17.11 OR (col1 >= 39.12) OR col0 <= 62 OR (col1 <= 67.43) OR (((((col0 < 40) OR col0 > 92) OR (col0 > 10 AND col3 > 96)))) AND (((col3 = 19 OR col4 > 8.19 AND col0 < 80)))) AND col3 >= 38))
----
5

statement ok
DELETE FROM tab0 WHERE (col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 45)
----

query I rowsort label-3750
SELECT pk FROM tab0 WHERE NOT ((col0 > 45))
----
5

statement ok
DELETE FROM tab1 WHERE (col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 45)
----

query I rowsort label-3750
SELECT pk FROM tab1 WHERE NOT ((col0 > 45))
----
5

statement ok
DELETE FROM tab2 WHERE (col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 45)
----

query I rowsort label-3750
SELECT pk FROM tab2 WHERE NOT ((col0 > 45))
----
5

statement ok
DELETE FROM tab3 WHERE (col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 45)
----

query I rowsort label-3750
SELECT pk FROM tab3 WHERE NOT ((col0 > 45))
----
5

statement ok
DELETE FROM tab4 WHERE (col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 45)
----

query I rowsort label-3750
SELECT pk FROM tab4 WHERE NOT ((col0 > 45))
----
5

statement ok
DELETE FROM tab0 WHERE ((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94))))
----

query I rowsort label-3765
SELECT pk FROM tab0 WHERE NOT (((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94)))))
----

statement ok
DELETE FROM tab1 WHERE ((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94))))
----

query I rowsort label-3765
SELECT pk FROM tab1 WHERE NOT (((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94)))))
----

statement ok
DELETE FROM tab2 WHERE ((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94))))
----

query I rowsort label-3765
SELECT pk FROM tab2 WHERE NOT (((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94)))))
----

statement ok
DELETE FROM tab3 WHERE ((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94))))
----

query I rowsort label-3765
SELECT pk FROM tab3 WHERE NOT (((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94)))))
----

statement ok
DELETE FROM tab4 WHERE ((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94))))
----

query I rowsort label-3765
SELECT pk FROM tab4 WHERE NOT (((col0 = 90)) OR (col3 >= 9 AND (col4 >= 23.6)) OR col4 < 70.87 OR (col0 IS NULL) AND ((col3 > 17) OR ((((col0 = 41)) AND col1 < 36.58 OR col3 <= 74 AND col4 = 23.12 AND col0 < 38 AND (((col4 <= 90.36 OR col1 >= 43.96 AND col3 >= 20 AND col0 < 20 OR (col0 < 6) AND col0 BETWEEN 45 AND 75 OR (col4 < 50.46) OR col3 = 72 AND ((((col3 > 41) AND (col0 > 4) AND col3 > 86 OR (col0 < 92)))) AND (((((col0 > 94 OR ((col0 IS NULL))) AND col3 <= 17))))))) OR (col0 > 94 OR col4 <= 57.53 OR col0 < 22 AND col0 < 94)))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,72,26.69,'ujfst',26,46.10,'dpwop')

statement ok
INSERT INTO tab0 VALUES(1,45,41.76,'kptqr',42,53.6,'ofwlc')

statement ok
INSERT INTO tab0 VALUES(2,78,37.6,'bdmea',3,49.98,'oiigb')

statement ok
INSERT INTO tab0 VALUES(3,54,45.21,'vroyp',19,89.96,'vpuvp')

statement ok
INSERT INTO tab0 VALUES(4,61,78.54,'vupdc',11,83.30,'omwee')

statement ok
INSERT INTO tab0 VALUES(5,9,89.12,'vahwv',27,66.63,'wperc')

statement ok
INSERT INTO tab0 VALUES(6,37,33.93,'zacdi',54,55.6,'lqvfh')

statement ok
INSERT INTO tab0 VALUES(7,32,34.98,'gopax',30,18.28,'gqajr')

statement ok
INSERT INTO tab0 VALUES(8,35,38.42,'fyntj',55,28.69,'cbsha')

statement ok
INSERT INTO tab0 VALUES(9,60,87.68,'pvawq',6,33.53,'jwgfm')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1 DESC,col0)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4,col0,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)

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_1 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3)

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-3780
SELECT pk FROM tab0 WHERE NOT (col3 < 9)
----
0
1
3
4
5
6
7
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-3780
SELECT pk FROM tab1 WHERE NOT (col3 < 9)
----
0
1
3
4
5
6
7
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-3780
SELECT pk FROM tab2 WHERE NOT (col3 < 9)
----
0
1
3
4
5
6
7
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-3780
SELECT pk FROM tab3 WHERE NOT (col3 < 9)
----
0
1
3
4
5
6
7
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-3780
SELECT pk FROM tab4 WHERE NOT (col3 < 9)
----
0
1
3
4
5
6
7
8

statement ok
DELETE FROM tab0 WHERE (col0 < 33)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 33)
----

query I rowsort label-3795
SELECT pk FROM tab0 WHERE NOT ((col0 < 33))
----
0
1
3
4
6
8

statement ok
DELETE FROM tab1 WHERE (col0 < 33)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 33)
----

query I rowsort label-3795
SELECT pk FROM tab1 WHERE NOT ((col0 < 33))
----
0
1
3
4
6
8

statement ok
DELETE FROM tab2 WHERE (col0 < 33)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 33)
----

query I rowsort label-3795
SELECT pk FROM tab2 WHERE NOT ((col0 < 33))
----
0
1
3
4
6
8

statement ok
DELETE FROM tab3 WHERE (col0 < 33)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 33)
----

query I rowsort label-3795
SELECT pk FROM tab3 WHERE NOT ((col0 < 33))
----
0
1
3
4
6
8

statement ok
DELETE FROM tab4 WHERE (col0 < 33)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 33)
----

query I rowsort label-3795
SELECT pk FROM tab4 WHERE NOT ((col0 < 33))
----
0
1
3
4
6
8

statement ok
DELETE FROM tab0 WHERE col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1
----

query I rowsort label-3810
SELECT pk FROM tab0 WHERE NOT (col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1)
----
0
1
6

statement ok
DELETE FROM tab1 WHERE col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1
----

query I rowsort label-3810
SELECT pk FROM tab1 WHERE NOT (col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1)
----
0
1
6

statement ok
DELETE FROM tab2 WHERE col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1
----

query I rowsort label-3810
SELECT pk FROM tab2 WHERE NOT (col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1)
----
0
1
6

statement ok
DELETE FROM tab3 WHERE col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1
----

query I rowsort label-3810
SELECT pk FROM tab3 WHERE NOT (col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1)
----
0
1
6

statement ok
DELETE FROM tab4 WHERE col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1
----

query I rowsort label-3810
SELECT pk FROM tab4 WHERE NOT (col4 >= 1.92 AND col3 > 24 AND col4 <= 37.93 OR ((col3 >= 93 AND (col4 < 11.80 AND (col0 < 98 OR col4 <= 6.0) AND (((col1 <= 76.15)) AND ((col3 > 35) OR col3 >= 37 AND col0 <= 81 AND (col0 < 85 OR ((col4 <= 2.17) AND col3 IN (86,73,39,59,1,60))))) AND (col0 < 74)) OR (col4 = 59.73))) OR (col1 = 67.47) AND col3 >= 13 AND ((((col1 = 95.27) AND (((col0 >= 32) OR (col3 > 31))) OR col0 > 14 AND (col1 IN (74.64,52.99,21.21))))) AND col1 <= 79.8 AND (((col4 IN (70.98,35.88) OR col1 BETWEEN 36.10 AND 11.16 OR (col0 >= 37) AND (col1 IS NULL)) OR col0 IN (4) AND col1 > 25.6)) OR col3 < 22 AND col4 > 8.1)
----
0
1
6

statement ok
DELETE FROM tab0 WHERE col4 IN (20.12,83.77,4.99,96.6,52.39)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (20.12,83.77,4.99,96.6,52.39)
----

query I rowsort label-3825
SELECT pk FROM tab0 WHERE NOT (col4 IN (20.12,83.77,4.99,96.6,52.39))
----
0
1
6

statement ok
DELETE FROM tab1 WHERE col4 IN (20.12,83.77,4.99,96.6,52.39)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (20.12,83.77,4.99,96.6,52.39)
----

query I rowsort label-3825
SELECT pk FROM tab1 WHERE NOT (col4 IN (20.12,83.77,4.99,96.6,52.39))
----
0
1
6

statement ok
DELETE FROM tab2 WHERE col4 IN (20.12,83.77,4.99,96.6,52.39)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (20.12,83.77,4.99,96.6,52.39)
----

query I rowsort label-3825
SELECT pk FROM tab2 WHERE NOT (col4 IN (20.12,83.77,4.99,96.6,52.39))
----
0
1
6

statement ok
DELETE FROM tab3 WHERE col4 IN (20.12,83.77,4.99,96.6,52.39)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (20.12,83.77,4.99,96.6,52.39)
----

query I rowsort label-3825
SELECT pk FROM tab3 WHERE NOT (col4 IN (20.12,83.77,4.99,96.6,52.39))
----
0
1
6

statement ok
DELETE FROM tab4 WHERE col4 IN (20.12,83.77,4.99,96.6,52.39)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (20.12,83.77,4.99,96.6,52.39)
----

query I rowsort label-3825
SELECT pk FROM tab4 WHERE NOT (col4 IN (20.12,83.77,4.99,96.6,52.39))
----
0
1
6

statement ok
DELETE FROM tab0 WHERE (col1 = 46.4)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 46.4)
----

query I rowsort label-3840
SELECT pk FROM tab0 WHERE NOT ((col1 = 46.4))
----
0
1
6

statement ok
DELETE FROM tab1 WHERE (col1 = 46.4)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 46.4)
----

query I rowsort label-3840
SELECT pk FROM tab1 WHERE NOT ((col1 = 46.4))
----
0
1
6

statement ok
DELETE FROM tab2 WHERE (col1 = 46.4)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 46.4)
----

query I rowsort label-3840
SELECT pk FROM tab2 WHERE NOT ((col1 = 46.4))
----
0
1
6

statement ok
DELETE FROM tab3 WHERE (col1 = 46.4)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 46.4)
----

query I rowsort label-3840
SELECT pk FROM tab3 WHERE NOT ((col1 = 46.4))
----
0
1
6

statement ok
DELETE FROM tab4 WHERE (col1 = 46.4)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 46.4)
----

query I rowsort label-3840
SELECT pk FROM tab4 WHERE NOT ((col1 = 46.4))
----
0
1
6

statement ok
DELETE FROM tab0 WHERE col0 IN (19,60,6)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (19,60,6)
----

query I rowsort label-3855
SELECT pk FROM tab0 WHERE NOT (col0 IN (19,60,6))
----
0
1
6

statement ok
DELETE FROM tab1 WHERE col0 IN (19,60,6)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (19,60,6)
----

query I rowsort label-3855
SELECT pk FROM tab1 WHERE NOT (col0 IN (19,60,6))
----
0
1
6

statement ok
DELETE FROM tab2 WHERE col0 IN (19,60,6)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (19,60,6)
----

query I rowsort label-3855
SELECT pk FROM tab2 WHERE NOT (col0 IN (19,60,6))
----
0
1
6

statement ok
DELETE FROM tab3 WHERE col0 IN (19,60,6)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (19,60,6)
----

query I rowsort label-3855
SELECT pk FROM tab3 WHERE NOT (col0 IN (19,60,6))
----
0
1
6

statement ok
DELETE FROM tab4 WHERE col0 IN (19,60,6)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (19,60,6)
----

query I rowsort label-3855
SELECT pk FROM tab4 WHERE NOT (col0 IN (19,60,6))
----
0
1
6

statement ok
DELETE FROM tab0 WHERE col3 > 1

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 1
----

query I rowsort label-3870
SELECT pk FROM tab0 WHERE NOT (col3 > 1)
----

statement ok
DELETE FROM tab1 WHERE col3 > 1

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 1
----

query I rowsort label-3870
SELECT pk FROM tab1 WHERE NOT (col3 > 1)
----

statement ok
DELETE FROM tab2 WHERE col3 > 1

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 1
----

query I rowsort label-3870
SELECT pk FROM tab2 WHERE NOT (col3 > 1)
----

statement ok
DELETE FROM tab3 WHERE col3 > 1

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 1
----

query I rowsort label-3870
SELECT pk FROM tab3 WHERE NOT (col3 > 1)
----

statement ok
DELETE FROM tab4 WHERE col3 > 1

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 1
----

query I rowsort label-3870
SELECT pk FROM tab4 WHERE NOT (col3 > 1)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,35,87.71,'luvxq',38,95.75,'hzddw')

statement ok
INSERT INTO tab0 VALUES(1,20,40.54,'xzixu',10,55.49,'xiolq')

statement ok
INSERT INTO tab0 VALUES(2,79,66.82,'pcqlh',26,14.89,'crfau')

statement ok
INSERT INTO tab0 VALUES(3,90,46.62,'vcjmg',64,51.13,'tgvwg')

statement ok
INSERT INTO tab0 VALUES(4,25,82.42,'ldzuh',78,18.19,'ikiei')

statement ok
INSERT INTO tab0 VALUES(5,11,6.82,'czspn',61,54.42,'fvbzz')

statement ok
INSERT INTO tab0 VALUES(6,96,92.9,'jtuis',5,97.20,'qlxqv')

statement ok
INSERT INTO tab0 VALUES(7,8,72.86,'vooal',66,98.53,'zakrk')

statement ok
INSERT INTO tab0 VALUES(8,19,43.69,'demfg',23,32.71,'vpvef')

statement ok
INSERT INTO tab0 VALUES(9,9,85.75,'fmljq',45,10.90,'zkjpw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col1 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (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_2 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0,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
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-3885
SELECT pk FROM tab0 WHERE NOT (col3 < 56)
----
3
4
5
7

statement ok
DELETE FROM tab1 WHERE col3 < 56

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 56
----

query I rowsort label-3885
SELECT pk FROM tab1 WHERE NOT (col3 < 56)
----
3
4
5
7

statement ok
DELETE FROM tab2 WHERE col3 < 56

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 56
----

query I rowsort label-3885
SELECT pk FROM tab2 WHERE NOT (col3 < 56)
----
3
4
5
7

statement ok
DELETE FROM tab3 WHERE col3 < 56

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 56
----

query I rowsort label-3885
SELECT pk FROM tab3 WHERE NOT (col3 < 56)
----
3
4
5
7

statement ok
DELETE FROM tab4 WHERE col3 < 56

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 56
----

query I rowsort label-3885
SELECT pk FROM tab4 WHERE NOT (col3 < 56)
----
3
4
5
7

statement ok
DELETE FROM tab0 WHERE col3 < 66

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 66
----

query I rowsort label-3900
SELECT pk FROM tab0 WHERE NOT (col3 < 66)
----
4
7

statement ok
DELETE FROM tab1 WHERE col3 < 66

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 66
----

query I rowsort label-3900
SELECT pk FROM tab1 WHERE NOT (col3 < 66)
----
4
7

statement ok
DELETE FROM tab2 WHERE col3 < 66

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 66
----

query I rowsort label-3900
SELECT pk FROM tab2 WHERE NOT (col3 < 66)
----
4
7

statement ok
DELETE FROM tab3 WHERE col3 < 66

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 66
----

query I rowsort label-3900
SELECT pk FROM tab3 WHERE NOT (col3 < 66)
----
4
7

statement ok
DELETE FROM tab4 WHERE col3 < 66

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 66
----

query I rowsort label-3900
SELECT pk FROM tab4 WHERE NOT (col3 < 66)
----
4
7

statement ok
DELETE FROM tab0 WHERE col4 > 48.85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 48.85
----

query I rowsort label-3915
SELECT pk FROM tab0 WHERE NOT (col4 > 48.85)
----
4

statement ok
DELETE FROM tab1 WHERE col4 > 48.85

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 48.85
----

query I rowsort label-3915
SELECT pk FROM tab1 WHERE NOT (col4 > 48.85)
----
4

statement ok
DELETE FROM tab2 WHERE col4 > 48.85

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 48.85
----

query I rowsort label-3915
SELECT pk FROM tab2 WHERE NOT (col4 > 48.85)
----
4

statement ok
DELETE FROM tab3 WHERE col4 > 48.85

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 48.85
----

query I rowsort label-3915
SELECT pk FROM tab3 WHERE NOT (col4 > 48.85)
----
4

statement ok
DELETE FROM tab4 WHERE col4 > 48.85

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 48.85
----

query I rowsort label-3915
SELECT pk FROM tab4 WHERE NOT (col4 > 48.85)
----
4

statement ok
DELETE FROM tab0 WHERE (col3 > 3) OR col0 >= 12

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 3) OR col0 >= 12
----

query I rowsort label-3930
SELECT pk FROM tab0 WHERE NOT ((col3 > 3) OR col0 >= 12)
----

statement ok
DELETE FROM tab1 WHERE (col3 > 3) OR col0 >= 12

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 3) OR col0 >= 12
----

query I rowsort label-3930
SELECT pk FROM tab1 WHERE NOT ((col3 > 3) OR col0 >= 12)
----

statement ok
DELETE FROM tab2 WHERE (col3 > 3) OR col0 >= 12

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 3) OR col0 >= 12
----

query I rowsort label-3930
SELECT pk FROM tab2 WHERE NOT ((col3 > 3) OR col0 >= 12)
----

statement ok
DELETE FROM tab3 WHERE (col3 > 3) OR col0 >= 12

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 3) OR col0 >= 12
----

query I rowsort label-3930
SELECT pk FROM tab3 WHERE NOT ((col3 > 3) OR col0 >= 12)
----

statement ok
DELETE FROM tab4 WHERE (col3 > 3) OR col0 >= 12

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 3) OR col0 >= 12
----

query I rowsort label-3930
SELECT pk FROM tab4 WHERE NOT ((col3 > 3) OR col0 >= 12)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,86,90.33,'bliwi',95,33.76,'goxek')

statement ok
INSERT INTO tab0 VALUES(1,88,73.32,'bklip',31,58.44,'oocbz')

statement ok
INSERT INTO tab0 VALUES(2,20,93.96,'idqyn',12,75.7,'lblxc')

statement ok
INSERT INTO tab0 VALUES(3,3,38.98,'olryr',79,13.15,'daewo')

statement ok
INSERT INTO tab0 VALUES(4,26,95.21,'ydxkx',99,29.40,'iefce')

statement ok
INSERT INTO tab0 VALUES(5,59,6.77,'apmpx',72,69.86,'rbtwl')

statement ok
INSERT INTO tab0 VALUES(6,65,36.14,'amivx',51,31.99,'niyrf')

statement ok
INSERT INTO tab0 VALUES(7,13,31.32,'tdntg',50,26.85,'mumif')

statement ok
INSERT INTO tab0 VALUES(8,89,84.96,'cozlz',57,42.20,'cmgdu')

statement ok
INSERT INTO tab0 VALUES(9,12,96.44,'rqdnq',46,8.59,'lwwbl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0,col3,col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col0 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0 DESC)

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 col4 > 8.33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 8.33
----

query I rowsort label-3945
SELECT pk FROM tab0 WHERE NOT (col4 > 8.33)
----

statement ok
DELETE FROM tab1 WHERE col4 > 8.33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 8.33
----

query I rowsort label-3945
SELECT pk FROM tab1 WHERE NOT (col4 > 8.33)
----

statement ok
DELETE FROM tab2 WHERE col4 > 8.33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 8.33
----

query I rowsort label-3945
SELECT pk FROM tab2 WHERE NOT (col4 > 8.33)
----

statement ok
DELETE FROM tab3 WHERE col4 > 8.33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 8.33
----

query I rowsort label-3945
SELECT pk FROM tab3 WHERE NOT (col4 > 8.33)
----

statement ok
DELETE FROM tab4 WHERE col4 > 8.33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 8.33
----

query I rowsort label-3945
SELECT pk FROM tab4 WHERE NOT (col4 > 8.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,98,60.16,'inybc',40,71.53,'rmbvp')

statement ok
INSERT INTO tab0 VALUES(1,22,61.32,'rksim',41,52.25,'pbopg')

statement ok
INSERT INTO tab0 VALUES(2,80,67.38,'jpyuu',94,93.87,'ckqwf')

statement ok
INSERT INTO tab0 VALUES(3,37,68.46,'acvti',67,83.43,'eqcge')

statement ok
INSERT INTO tab0 VALUES(4,9,92.30,'ogsjm',79,37.10,'gfuok')

statement ok
INSERT INTO tab0 VALUES(5,74,81.32,'qttjl',21,61.36,'ydave')

statement ok
INSERT INTO tab0 VALUES(6,89,47.79,'oxmks',66,16.7,'tzjpm')

statement ok
INSERT INTO tab0 VALUES(7,96,38.96,'ooidw',81,77.61,'ncfxp')

statement ok
INSERT INTO tab0 VALUES(8,40,98.15,'umljf',42,97.2,'eoiow')

statement ok
INSERT INTO tab0 VALUES(9,79,32.89,'phgbd',39,72.13,'hpocb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3,col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1,col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4 DESC,col0)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col3,col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,6,65.1,'iictk',36,80.65,'hhuaf')

statement ok
INSERT INTO tab0 VALUES(1,82,85.15,'dzqka',2,90.56,'qemuw')

statement ok
INSERT INTO tab0 VALUES(2,60,55.59,'dgcpx',98,68.18,'arkmz')

statement ok
INSERT INTO tab0 VALUES(3,69,45.62,'ffezi',35,36.26,'bsrhh')

statement ok
INSERT INTO tab0 VALUES(4,28,46.95,'bmhif',71,69.98,'zhnrr')

statement ok
INSERT INTO tab0 VALUES(5,64,32.77,'vdaum',29,54.9,'hmqkc')

statement ok
INSERT INTO tab0 VALUES(6,22,20.93,'vcvwx',4,58.4,'krxtz')

statement ok
INSERT INTO tab0 VALUES(7,77,39.3,'zzqpp',80,84.12,'hqyqa')

statement ok
INSERT INTO tab0 VALUES(8,48,86.54,'rnosq',38,38.53,'bsyor')

statement ok
INSERT INTO tab0 VALUES(9,10,89.96,'ekjtt',74,91.59,'qwacw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4 DESC,col0 DESC,col3)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((((col0 > 23)))) OR col0 > 66

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col0 > 23)))) OR col0 > 66
----

query I rowsort label-3960
SELECT pk FROM tab0 WHERE NOT (((((col0 > 23)))) OR col0 > 66)
----
0
6
9

statement ok
DELETE FROM tab1 WHERE ((((col0 > 23)))) OR col0 > 66

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col0 > 23)))) OR col0 > 66
----

query I rowsort label-3960
SELECT pk FROM tab1 WHERE NOT (((((col0 > 23)))) OR col0 > 66)
----
0
6
9

statement ok
DELETE FROM tab2 WHERE ((((col0 > 23)))) OR col0 > 66

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col0 > 23)))) OR col0 > 66
----

query I rowsort label-3960
SELECT pk FROM tab2 WHERE NOT (((((col0 > 23)))) OR col0 > 66)
----
0
6
9

statement ok
DELETE FROM tab3 WHERE ((((col0 > 23)))) OR col0 > 66

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col0 > 23)))) OR col0 > 66
----

query I rowsort label-3960
SELECT pk FROM tab3 WHERE NOT (((((col0 > 23)))) OR col0 > 66)
----
0
6
9

statement ok
DELETE FROM tab4 WHERE ((((col0 > 23)))) OR col0 > 66

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col0 > 23)))) OR col0 > 66
----

query I rowsort label-3960
SELECT pk FROM tab4 WHERE NOT (((((col0 > 23)))) OR col0 > 66)
----
0
6
9

statement ok
DELETE FROM tab0 WHERE col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19)
----

query I rowsort label-3975
SELECT pk FROM tab0 WHERE NOT (col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19))
----
6

statement ok
DELETE FROM tab1 WHERE col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19)
----

query I rowsort label-3975
SELECT pk FROM tab1 WHERE NOT (col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19))
----
6

statement ok
DELETE FROM tab2 WHERE col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19)
----

query I rowsort label-3975
SELECT pk FROM tab2 WHERE NOT (col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19))
----
6

statement ok
DELETE FROM tab3 WHERE col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19)
----

query I rowsort label-3975
SELECT pk FROM tab3 WHERE NOT (col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19))
----
6

statement ok
DELETE FROM tab4 WHERE col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19)
----

query I rowsort label-3975
SELECT pk FROM tab4 WHERE NOT (col0 >= 54 OR col4 > 53.96 AND (col4 >= 12.0 OR (col4 < 41.67 AND (col4 IN (61.43,41.6,69.71)) OR col0 IN (34,8,2,38,37) OR col0 >= 0)) AND (col3 > 19))
----
6

statement ok
DELETE FROM tab0 WHERE col4 > 85.8

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 85.8
----

query I rowsort label-3990
SELECT pk FROM tab0 WHERE NOT (col4 > 85.8)
----
6

statement ok
DELETE FROM tab1 WHERE col4 > 85.8

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 85.8
----

query I rowsort label-3990
SELECT pk FROM tab1 WHERE NOT (col4 > 85.8)
----
6

statement ok
DELETE FROM tab2 WHERE col4 > 85.8

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 85.8
----

query I rowsort label-3990
SELECT pk FROM tab2 WHERE NOT (col4 > 85.8)
----
6

statement ok
DELETE FROM tab3 WHERE col4 > 85.8

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 85.8
----

query I rowsort label-3990
SELECT pk FROM tab3 WHERE NOT (col4 > 85.8)
----
6

statement ok
DELETE FROM tab4 WHERE col4 > 85.8

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 85.8
----

query I rowsort label-3990
SELECT pk FROM tab4 WHERE NOT (col4 > 85.8)
----
6

statement ok
DELETE FROM tab0 WHERE col0 = 58

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 58
----

query I rowsort label-4005
SELECT pk FROM tab0 WHERE NOT (col0 = 58)
----
6

statement ok
DELETE FROM tab1 WHERE col0 = 58

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 58
----

query I rowsort label-4005
SELECT pk FROM tab1 WHERE NOT (col0 = 58)
----
6

statement ok
DELETE FROM tab2 WHERE col0 = 58

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 58
----

query I rowsort label-4005
SELECT pk FROM tab2 WHERE NOT (col0 = 58)
----
6

statement ok
DELETE FROM tab3 WHERE col0 = 58

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 58
----

query I rowsort label-4005
SELECT pk FROM tab3 WHERE NOT (col0 = 58)
----
6

statement ok
DELETE FROM tab4 WHERE col0 = 58

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 58
----

query I rowsort label-4005
SELECT pk FROM tab4 WHERE NOT (col0 = 58)
----
6

statement ok
DELETE FROM tab0 WHERE ((col1 > 0.72 OR col3 BETWEEN 59 AND 84))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 > 0.72 OR col3 BETWEEN 59 AND 84))
----

query I rowsort label-4020
SELECT pk FROM tab0 WHERE NOT (((col1 > 0.72 OR col3 BETWEEN 59 AND 84)))
----

statement ok
DELETE FROM tab1 WHERE ((col1 > 0.72 OR col3 BETWEEN 59 AND 84))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 > 0.72 OR col3 BETWEEN 59 AND 84))
----

query I rowsort label-4020
SELECT pk FROM tab1 WHERE NOT (((col1 > 0.72 OR col3 BETWEEN 59 AND 84)))
----

statement ok
DELETE FROM tab2 WHERE ((col1 > 0.72 OR col3 BETWEEN 59 AND 84))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 > 0.72 OR col3 BETWEEN 59 AND 84))
----

query I rowsort label-4020
SELECT pk FROM tab2 WHERE NOT (((col1 > 0.72 OR col3 BETWEEN 59 AND 84)))
----

statement ok
DELETE FROM tab3 WHERE ((col1 > 0.72 OR col3 BETWEEN 59 AND 84))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 > 0.72 OR col3 BETWEEN 59 AND 84))
----

query I rowsort label-4020
SELECT pk FROM tab3 WHERE NOT (((col1 > 0.72 OR col3 BETWEEN 59 AND 84)))
----

statement ok
DELETE FROM tab4 WHERE ((col1 > 0.72 OR col3 BETWEEN 59 AND 84))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 > 0.72 OR col3 BETWEEN 59 AND 84))
----

query I rowsort label-4020
SELECT pk FROM tab4 WHERE NOT (((col1 > 0.72 OR col3 BETWEEN 59 AND 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,70,11.11,'hfvip',30,88.30,'lusgi')

statement ok
INSERT INTO tab0 VALUES(1,22,71.41,'fhppu',26,90.39,'dhesg')

statement ok
INSERT INTO tab0 VALUES(2,26,77.80,'brbmt',52,38.57,'tgnow')

statement ok
INSERT INTO tab0 VALUES(3,34,88.99,'cenbc',73,50.80,'txpca')

statement ok
INSERT INTO tab0 VALUES(4,16,10.37,'oxfpz',55,45.6,'osudi')

statement ok
INSERT INTO tab0 VALUES(5,25,3.66,'rzmbl',27,53.98,'uvgnf')

statement ok
INSERT INTO tab0 VALUES(6,55,94.55,'vbyuj',41,28.45,'cvurc')

statement ok
INSERT INTO tab0 VALUES(7,9,95.29,'pcmbr',42,63.26,'okclm')

statement ok
INSERT INTO tab0 VALUES(8,59,4.35,'avlvp',17,98.71,'rvbnd')

statement ok
INSERT INTO tab0 VALUES(9,6,31.4,'qmvgl',74,36.24,'nrmff')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4 DESC,col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 >= 84)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 84)
----

query I rowsort label-4035
SELECT pk FROM tab0 WHERE NOT ((col0 >= 84))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 >= 84)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 84)
----

query I rowsort label-4035
SELECT pk FROM tab1 WHERE NOT ((col0 >= 84))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 >= 84)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 84)
----

query I rowsort label-4035
SELECT pk FROM tab2 WHERE NOT ((col0 >= 84))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 >= 84)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 84)
----

query I rowsort label-4035
SELECT pk FROM tab3 WHERE NOT ((col0 >= 84))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 >= 84)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 84)
----

query I rowsort label-4035
SELECT pk FROM tab4 WHERE NOT ((col0 >= 84))
----
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-4050
SELECT pk FROM tab0 WHERE NOT (col0 < 77)
----

statement ok
DELETE FROM tab1 WHERE col0 < 77

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 77
----

query I rowsort label-4050
SELECT pk FROM tab1 WHERE NOT (col0 < 77)
----

statement ok
DELETE FROM tab2 WHERE col0 < 77

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 77
----

query I rowsort label-4050
SELECT pk FROM tab2 WHERE NOT (col0 < 77)
----

statement ok
DELETE FROM tab3 WHERE col0 < 77

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 77
----

query I rowsort label-4050
SELECT pk FROM tab3 WHERE NOT (col0 < 77)
----

statement ok
DELETE FROM tab4 WHERE col0 < 77

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 77
----

query I rowsort label-4050
SELECT pk FROM tab4 WHERE NOT (col0 < 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,3,31.22,'xzxvj',66,45.70,'pxqed')

statement ok
INSERT INTO tab0 VALUES(1,69,40.98,'xdqei',0,46.6,'ztktc')

statement ok
INSERT INTO tab0 VALUES(2,30,71.29,'bappx',30,26.51,'bwjrf')

statement ok
INSERT INTO tab0 VALUES(3,11,21.29,'wedgb',69,12.35,'yjpof')

statement ok
INSERT INTO tab0 VALUES(4,54,22.6,'zbcfy',34,17.13,'vzydi')

statement ok
INSERT INTO tab0 VALUES(5,90,51.32,'eqvbg',8,61.37,'bslyd')

statement ok
INSERT INTO tab0 VALUES(6,95,43.1,'nzgne',1,75.10,'kqgba')

statement ok
INSERT INTO tab0 VALUES(7,56,8.93,'mwacq',16,20.56,'egvob')

statement ok
INSERT INTO tab0 VALUES(8,29,35.39,'cosrj',7,97.77,'djbhd')

statement ok
INSERT INTO tab0 VALUES(9,9,13.79,'cfvec',45,57.16,'xnlkf')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4,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 UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

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 col0 > 77

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 77
----

query I rowsort label-4065
SELECT pk FROM tab0 WHERE NOT (col0 > 77)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 > 77

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 77
----

query I rowsort label-4065
SELECT pk FROM tab1 WHERE NOT (col0 > 77)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 > 77

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 77
----

query I rowsort label-4065
SELECT pk FROM tab2 WHERE NOT (col0 > 77)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 > 77

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 77
----

query I rowsort label-4065
SELECT pk FROM tab3 WHERE NOT (col0 > 77)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 > 77

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 77
----

query I rowsort label-4065
SELECT pk FROM tab4 WHERE NOT (col0 > 77)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 >= 75

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 75
----

query I rowsort label-4080
SELECT pk FROM tab0 WHERE NOT (col0 >= 75)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 >= 75

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 75
----

query I rowsort label-4080
SELECT pk FROM tab1 WHERE NOT (col0 >= 75)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 >= 75

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 75
----

query I rowsort label-4080
SELECT pk FROM tab2 WHERE NOT (col0 >= 75)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 >= 75

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 75
----

query I rowsort label-4080
SELECT pk FROM tab3 WHERE NOT (col0 >= 75)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 >= 75

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 75
----

query I rowsort label-4080
SELECT pk FROM tab4 WHERE NOT (col0 >= 75)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 97 AND 97

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 97 AND 97
----

query I rowsort label-4095
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 97 AND 97)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 97 AND 97

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 97 AND 97
----

query I rowsort label-4095
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 97 AND 97)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 97 AND 97

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 97 AND 97
----

query I rowsort label-4095
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 97 AND 97)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 97 AND 97

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 97 AND 97
----

query I rowsort label-4095
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 97 AND 97)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 97 AND 97

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 97 AND 97
----

query I rowsort label-4095
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 97 AND 97)
----
0
1
2
3
4
7
8
9

statement ok
DELETE FROM tab0 WHERE ((col4 < 94.28))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 < 94.28))
----

query I rowsort label-4110
SELECT pk FROM tab0 WHERE NOT (((col4 < 94.28)))
----
8

statement ok
DELETE FROM tab1 WHERE ((col4 < 94.28))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 < 94.28))
----

query I rowsort label-4110
SELECT pk FROM tab1 WHERE NOT (((col4 < 94.28)))
----
8

statement ok
DELETE FROM tab2 WHERE ((col4 < 94.28))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 < 94.28))
----

query I rowsort label-4110
SELECT pk FROM tab2 WHERE NOT (((col4 < 94.28)))
----
8

statement ok
DELETE FROM tab3 WHERE ((col4 < 94.28))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 < 94.28))
----

query I rowsort label-4110
SELECT pk FROM tab3 WHERE NOT (((col4 < 94.28)))
----
8

statement ok
DELETE FROM tab4 WHERE ((col4 < 94.28))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 < 94.28))
----

query I rowsort label-4110
SELECT pk FROM tab4 WHERE NOT (((col4 < 94.28)))
----
8

statement ok
DELETE FROM tab0 WHERE (((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40)))
----

query I rowsort label-4125
SELECT pk FROM tab0 WHERE NOT ((((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40))))
----
8

statement ok
DELETE FROM tab1 WHERE (((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40)))
----

query I rowsort label-4125
SELECT pk FROM tab1 WHERE NOT ((((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40))))
----
8

statement ok
DELETE FROM tab2 WHERE (((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40)))
----

query I rowsort label-4125
SELECT pk FROM tab2 WHERE NOT ((((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40))))
----
8

statement ok
DELETE FROM tab3 WHERE (((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40)))
----

query I rowsort label-4125
SELECT pk FROM tab3 WHERE NOT ((((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40))))
----
8

statement ok
DELETE FROM tab4 WHERE (((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40)))
----

query I rowsort label-4125
SELECT pk FROM tab4 WHERE NOT ((((col1 < 61.37 AND (col1 < 33.13 AND col1 >= 16.46)) AND (col3 <= 40))))
----
8

statement ok
DELETE FROM tab0 WHERE col0 >= 47 AND col3 > 86

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 47 AND col3 > 86
----

query I rowsort label-4140
SELECT pk FROM tab0 WHERE NOT (col0 >= 47 AND col3 > 86)
----
8

statement ok
DELETE FROM tab1 WHERE col0 >= 47 AND col3 > 86

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 47 AND col3 > 86
----

query I rowsort label-4140
SELECT pk FROM tab1 WHERE NOT (col0 >= 47 AND col3 > 86)
----
8

statement ok
DELETE FROM tab2 WHERE col0 >= 47 AND col3 > 86

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 47 AND col3 > 86
----

query I rowsort label-4140
SELECT pk FROM tab2 WHERE NOT (col0 >= 47 AND col3 > 86)
----
8

statement ok
DELETE FROM tab3 WHERE col0 >= 47 AND col3 > 86

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 47 AND col3 > 86
----

query I rowsort label-4140
SELECT pk FROM tab3 WHERE NOT (col0 >= 47 AND col3 > 86)
----
8

statement ok
DELETE FROM tab4 WHERE col0 >= 47 AND col3 > 86

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 47 AND col3 > 86
----

query I rowsort label-4140
SELECT pk FROM tab4 WHERE NOT (col0 >= 47 AND col3 > 86)
----
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,77,87.72,'kywzd',17,76.0,'wdluy')

statement ok
INSERT INTO tab0 VALUES(1,61,39.62,'hqcmz',78,20.80,'jebwu')

statement ok
INSERT INTO tab0 VALUES(2,10,51.73,'chnii',70,67.14,'xrcor')

statement ok
INSERT INTO tab0 VALUES(3,49,80.6,'myyiw',38,21.65,'filkc')

statement ok
INSERT INTO tab0 VALUES(4,59,32.25,'epmqk',11,39.42,'tbjbh')

statement ok
INSERT INTO tab0 VALUES(5,31,68.24,'zsmiu',62,41.64,'nolye')

statement ok
INSERT INTO tab0 VALUES(6,36,19.88,'bzwai',73,22.21,'ndwvq')

statement ok
INSERT INTO tab0 VALUES(7,83,98.56,'xwcoq',95,68.40,'qdlmj')

statement ok
INSERT INTO tab0 VALUES(8,84,14.79,'ogjpz',15,60.43,'uqvhk')

statement ok
INSERT INTO tab0 VALUES(9,11,82.92,'scufg',12,1.12,'fcnzv')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col0 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1 DESC,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

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 <= 87

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 87
----

query I rowsort label-4155
SELECT pk FROM tab0 WHERE NOT (col0 <= 87)
----

statement ok
DELETE FROM tab1 WHERE col0 <= 87

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 87
----

query I rowsort label-4155
SELECT pk FROM tab1 WHERE NOT (col0 <= 87)
----

statement ok
DELETE FROM tab2 WHERE col0 <= 87

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 87
----

query I rowsort label-4155
SELECT pk FROM tab2 WHERE NOT (col0 <= 87)
----

statement ok
DELETE FROM tab3 WHERE col0 <= 87

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 87
----

query I rowsort label-4155
SELECT pk FROM tab3 WHERE NOT (col0 <= 87)
----

statement ok
DELETE FROM tab4 WHERE col0 <= 87

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 87
----

query I rowsort label-4155
SELECT pk FROM tab4 WHERE NOT (col0 <= 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,62,63.58,'ylnex',20,81.41,'ulfhf')

statement ok
INSERT INTO tab0 VALUES(1,26,42.60,'icbri',37,85.49,'wvpna')

statement ok
INSERT INTO tab0 VALUES(2,22,28.76,'tcbrb',1,55.67,'sdzpu')

statement ok
INSERT INTO tab0 VALUES(3,88,74.50,'rdseg',58,27.0,'dfdyv')

statement ok
INSERT INTO tab0 VALUES(4,15,73.9,'gaobw',85,29.60,'qvtyj')

statement ok
INSERT INTO tab0 VALUES(5,10,71.20,'kluly',60,1.36,'mmqqs')

statement ok
INSERT INTO tab0 VALUES(6,58,76.56,'voejp',16,2.51,'wvxhj')

statement ok
INSERT INTO tab0 VALUES(7,84,78.57,'emiof',11,24.27,'alyde')

statement ok
INSERT INTO tab0 VALUES(8,19,52.94,'idvvq',88,10.48,'kkuvk')

statement ok
INSERT INTO tab0 VALUES(9,57,81.28,'grhyd',34,56.21,'qyxhw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab2_5 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 INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE ((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16
----

query I rowsort label-4170
SELECT pk FROM tab0 WHERE NOT (((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16
----

query I rowsort label-4170
SELECT pk FROM tab1 WHERE NOT (((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16
----

query I rowsort label-4170
SELECT pk FROM tab2 WHERE NOT (((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16
----

query I rowsort label-4170
SELECT pk FROM tab3 WHERE NOT (((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16
----

query I rowsort label-4170
SELECT pk FROM tab4 WHERE NOT (((col3 >= 66 AND (col4 >= 95.14))) AND ((col4 < 9.95)) OR col0 = 3 AND col1 >= 73.16)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 <= 69

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 69
----

query I rowsort label-4185
SELECT pk FROM tab0 WHERE NOT (col0 <= 69)
----
3
7

statement ok
DELETE FROM tab1 WHERE col0 <= 69

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 69
----

query I rowsort label-4185
SELECT pk FROM tab1 WHERE NOT (col0 <= 69)
----
3
7

statement ok
DELETE FROM tab2 WHERE col0 <= 69

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 69
----

query I rowsort label-4185
SELECT pk FROM tab2 WHERE NOT (col0 <= 69)
----
3
7

statement ok
DELETE FROM tab3 WHERE col0 <= 69

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 69
----

query I rowsort label-4185
SELECT pk FROM tab3 WHERE NOT (col0 <= 69)
----
3
7

statement ok
DELETE FROM tab4 WHERE col0 <= 69

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 69
----

query I rowsort label-4185
SELECT pk FROM tab4 WHERE NOT (col0 <= 69)
----
3
7

statement ok
DELETE FROM tab0 WHERE (col0 <= 1) OR (col0 = 4)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 1) OR (col0 = 4)
----

query I rowsort label-4200
SELECT pk FROM tab0 WHERE NOT ((col0 <= 1) OR (col0 = 4))
----
3
7

statement ok
DELETE FROM tab1 WHERE (col0 <= 1) OR (col0 = 4)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 1) OR (col0 = 4)
----

query I rowsort label-4200
SELECT pk FROM tab1 WHERE NOT ((col0 <= 1) OR (col0 = 4))
----
3
7

statement ok
DELETE FROM tab2 WHERE (col0 <= 1) OR (col0 = 4)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 1) OR (col0 = 4)
----

query I rowsort label-4200
SELECT pk FROM tab2 WHERE NOT ((col0 <= 1) OR (col0 = 4))
----
3
7

statement ok
DELETE FROM tab3 WHERE (col0 <= 1) OR (col0 = 4)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 1) OR (col0 = 4)
----

query I rowsort label-4200
SELECT pk FROM tab3 WHERE NOT ((col0 <= 1) OR (col0 = 4))
----
3
7

statement ok
DELETE FROM tab4 WHERE (col0 <= 1) OR (col0 = 4)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 1) OR (col0 = 4)
----

query I rowsort label-4200
SELECT pk FROM tab4 WHERE NOT ((col0 <= 1) OR (col0 = 4))
----
3
7

statement ok
DELETE FROM tab0 WHERE (col3 BETWEEN 55 AND 76) AND (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 BETWEEN 55 AND 76) AND (col0 IS NULL)
----

query I rowsort label-4215
SELECT pk FROM tab0 WHERE NOT ((col3 BETWEEN 55 AND 76) AND (col0 IS NULL))
----
3
7

statement ok
DELETE FROM tab1 WHERE (col3 BETWEEN 55 AND 76) AND (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 BETWEEN 55 AND 76) AND (col0 IS NULL)
----

query I rowsort label-4215
SELECT pk FROM tab1 WHERE NOT ((col3 BETWEEN 55 AND 76) AND (col0 IS NULL))
----
3
7

statement ok
DELETE FROM tab2 WHERE (col3 BETWEEN 55 AND 76) AND (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 BETWEEN 55 AND 76) AND (col0 IS NULL)
----

query I rowsort label-4215
SELECT pk FROM tab2 WHERE NOT ((col3 BETWEEN 55 AND 76) AND (col0 IS NULL))
----
3
7

statement ok
DELETE FROM tab3 WHERE (col3 BETWEEN 55 AND 76) AND (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 BETWEEN 55 AND 76) AND (col0 IS NULL)
----

query I rowsort label-4215
SELECT pk FROM tab3 WHERE NOT ((col3 BETWEEN 55 AND 76) AND (col0 IS NULL))
----
3
7

statement ok
DELETE FROM tab4 WHERE (col3 BETWEEN 55 AND 76) AND (col0 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 BETWEEN 55 AND 76) AND (col0 IS NULL)
----

query I rowsort label-4215
SELECT pk FROM tab4 WHERE NOT ((col3 BETWEEN 55 AND 76) AND (col0 IS NULL))
----
3
7

statement ok
DELETE FROM tab0 WHERE ((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64)
----

query I rowsort label-4230
SELECT pk FROM tab0 WHERE NOT (((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64))
----

statement ok
DELETE FROM tab1 WHERE ((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64)
----

query I rowsort label-4230
SELECT pk FROM tab1 WHERE NOT (((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64))
----

statement ok
DELETE FROM tab2 WHERE ((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64)
----

query I rowsort label-4230
SELECT pk FROM tab2 WHERE NOT (((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64))
----

statement ok
DELETE FROM tab3 WHERE ((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64)
----

query I rowsort label-4230
SELECT pk FROM tab3 WHERE NOT (((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64))
----

statement ok
DELETE FROM tab4 WHERE ((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 64)
----

query I rowsort label-4230
SELECT pk FROM tab4 WHERE NOT (((((col0 <= 18 AND (col4 IS NULL) OR col4 >= 46.29))) OR col3 <= 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,73,77.74,'bilux',62,52.93,'vxlgb')

statement ok
INSERT INTO tab0 VALUES(1,38,73.79,'dmfyv',69,28.69,'sctph')

statement ok
INSERT INTO tab0 VALUES(2,30,6.62,'poxdi',45,60.30,'wjkqn')

statement ok
INSERT INTO tab0 VALUES(3,45,32.39,'sahpa',41,38.90,'oddog')

statement ok
INSERT INTO tab0 VALUES(4,5,24.64,'kyzmj',67,74.87,'htqnf')

statement ok
INSERT INTO tab0 VALUES(5,21,88.98,'qqvuv',51,20.41,'cguet')

statement ok
INSERT INTO tab0 VALUES(6,57,76.63,'gmuqw',6,80.23,'ovvfu')

statement ok
INSERT INTO tab0 VALUES(7,90,97.15,'ihhhc',91,21.9,'zrhdz')

statement ok
INSERT INTO tab0 VALUES(8,74,27.96,'gbeln',71,84.51,'ohhwv')

statement ok
INSERT INTO tab0 VALUES(9,1,28.5,'rpwzn',83,1.33,'ilsfx')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC,col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_3 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 (col1,col0)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (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)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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 INDEX idx_tab4_4 ON tab4 (col0,col3)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0 DESC,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 < 76.69

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 76.69
----

query I rowsort label-4245
SELECT pk FROM tab0 WHERE NOT (col1 < 76.69)
----
0
5
7

statement ok
DELETE FROM tab1 WHERE col1 < 76.69

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 76.69
----

query I rowsort label-4245
SELECT pk FROM tab1 WHERE NOT (col1 < 76.69)
----
0
5
7

statement ok
DELETE FROM tab2 WHERE col1 < 76.69

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 76.69
----

query I rowsort label-4245
SELECT pk FROM tab2 WHERE NOT (col1 < 76.69)
----
0
5
7

statement ok
DELETE FROM tab3 WHERE col1 < 76.69

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 76.69
----

query I rowsort label-4245
SELECT pk FROM tab3 WHERE NOT (col1 < 76.69)
----
0
5
7

statement ok
DELETE FROM tab4 WHERE col1 < 76.69

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 76.69
----

query I rowsort label-4245
SELECT pk FROM tab4 WHERE NOT (col1 < 76.69)
----
0
5
7

statement ok
DELETE FROM tab0 WHERE (col4 <= 80.57)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 <= 80.57)
----

query I rowsort label-4260
SELECT pk FROM tab0 WHERE NOT ((col4 <= 80.57))
----

statement ok
DELETE FROM tab1 WHERE (col4 <= 80.57)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 <= 80.57)
----

query I rowsort label-4260
SELECT pk FROM tab1 WHERE NOT ((col4 <= 80.57))
----

statement ok
DELETE FROM tab2 WHERE (col4 <= 80.57)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 <= 80.57)
----

query I rowsort label-4260
SELECT pk FROM tab2 WHERE NOT ((col4 <= 80.57))
----

statement ok
DELETE FROM tab3 WHERE (col4 <= 80.57)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 <= 80.57)
----

query I rowsort label-4260
SELECT pk FROM tab3 WHERE NOT ((col4 <= 80.57))
----

statement ok
DELETE FROM tab4 WHERE (col4 <= 80.57)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 <= 80.57)
----

query I rowsort label-4260
SELECT pk FROM tab4 WHERE NOT ((col4 <= 80.57))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,77,55.97,'emntp',27,73.36,'dcasj')

statement ok
INSERT INTO tab0 VALUES(1,96,24.75,'jbizf',76,12.46,'jsgcp')

statement ok
INSERT INTO tab0 VALUES(2,65,97.30,'dqkjz',54,11.96,'jwjja')

statement ok
INSERT INTO tab0 VALUES(3,87,92.17,'jybqu',84,23.41,'xkhii')

statement ok
INSERT INTO tab0 VALUES(4,14,88.24,'arihz',46,39.27,'gcpbd')

statement ok
INSERT INTO tab0 VALUES(5,54,78.79,'tfpya',86,48.96,'psxhn')

statement ok
INSERT INTO tab0 VALUES(6,94,40.67,'lcfce',29,6.3,'wzrhm')

statement ok
INSERT INTO tab0 VALUES(7,1,94.42,'dxdpa',91,89.28,'ewtev')

statement ok
INSERT INTO tab0 VALUES(8,42,68.38,'hnnqb',93,66.88,'nsazo')

statement ok
INSERT INTO tab0 VALUES(9,95,58.83,'qejvo',73,52.48,'ogbrr')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC,col3,col0)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3 DESC,col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4,col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,77,88.32,'iyzkb',75,2.98,'wafzm')

statement ok
INSERT INTO tab0 VALUES(1,18,89.92,'lebva',31,92.10,'datcp')

statement ok
INSERT INTO tab0 VALUES(2,27,63.49,'slfxm',35,60.89,'yifik')

statement ok
INSERT INTO tab0 VALUES(3,95,67.47,'hrmik',19,28.79,'nqeyi')

statement ok
INSERT INTO tab0 VALUES(4,4,84.57,'oygqf',18,29.3,'pbhns')

statement ok
INSERT INTO tab0 VALUES(5,40,81.85,'xuyfu',73,61.80,'gxbbm')

statement ok
INSERT INTO tab0 VALUES(6,6,80.90,'dbplw',51,54.33,'hfofx')

statement ok
INSERT INTO tab0 VALUES(7,34,12.88,'ffozt',53,33.4,'ylxgy')

statement ok
INSERT INTO tab0 VALUES(8,97,85.73,'wmeqx',27,80.65,'qzwjf')

statement ok
INSERT INTO tab0 VALUES(9,22,44.25,'huerp',83,95.32,'karqj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col3,col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78
----

query I rowsort label-4275
SELECT pk FROM tab0 WHERE NOT ((col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78
----

query I rowsort label-4275
SELECT pk FROM tab1 WHERE NOT ((col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78
----

query I rowsort label-4275
SELECT pk FROM tab2 WHERE NOT ((col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78
----

query I rowsort label-4275
SELECT pk FROM tab3 WHERE NOT ((col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78
----

query I rowsort label-4275
SELECT pk FROM tab4 WHERE NOT ((col4 >= 73.75 AND col3 IS NULL) AND col4 > 90.78)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col3 BETWEEN 86 AND 98)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 BETWEEN 86 AND 98)
----

query I rowsort label-4290
SELECT pk FROM tab0 WHERE NOT ((col3 BETWEEN 86 AND 98))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 BETWEEN 86 AND 98)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 BETWEEN 86 AND 98)
----

query I rowsort label-4290
SELECT pk FROM tab1 WHERE NOT ((col3 BETWEEN 86 AND 98))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 BETWEEN 86 AND 98)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 BETWEEN 86 AND 98)
----

query I rowsort label-4290
SELECT pk FROM tab2 WHERE NOT ((col3 BETWEEN 86 AND 98))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 BETWEEN 86 AND 98)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 BETWEEN 86 AND 98)
----

query I rowsort label-4290
SELECT pk FROM tab3 WHERE NOT ((col3 BETWEEN 86 AND 98))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 BETWEEN 86 AND 98)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 BETWEEN 86 AND 98)
----

query I rowsort label-4290
SELECT pk FROM tab4 WHERE NOT ((col3 BETWEEN 86 AND 98))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col3 > 51 OR col0 > 66)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 51 OR col0 > 66)
----

query I rowsort label-4305
SELECT pk FROM tab0 WHERE NOT ((col3 > 51 OR col0 > 66))
----
1
2
4
6

statement ok
DELETE FROM tab1 WHERE (col3 > 51 OR col0 > 66)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 51 OR col0 > 66)
----

query I rowsort label-4305
SELECT pk FROM tab1 WHERE NOT ((col3 > 51 OR col0 > 66))
----
1
2
4
6

statement ok
DELETE FROM tab2 WHERE (col3 > 51 OR col0 > 66)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 51 OR col0 > 66)
----

query I rowsort label-4305
SELECT pk FROM tab2 WHERE NOT ((col3 > 51 OR col0 > 66))
----
1
2
4
6

statement ok
DELETE FROM tab3 WHERE (col3 > 51 OR col0 > 66)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 51 OR col0 > 66)
----

query I rowsort label-4305
SELECT pk FROM tab3 WHERE NOT ((col3 > 51 OR col0 > 66))
----
1
2
4
6

statement ok
DELETE FROM tab4 WHERE (col3 > 51 OR col0 > 66)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 51 OR col0 > 66)
----

query I rowsort label-4305
SELECT pk FROM tab4 WHERE NOT ((col3 > 51 OR col0 > 66))
----
1
2
4
6

statement ok
DELETE FROM tab0 WHERE col4 < 76.36 AND col3 > 32 OR col3 < 7

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 76.36 AND col3 > 32 OR col3 < 7
----

query I rowsort label-4320
SELECT pk FROM tab0 WHERE NOT (col4 < 76.36 AND col3 > 32 OR col3 < 7)
----
1
4

statement ok
DELETE FROM tab1 WHERE col4 < 76.36 AND col3 > 32 OR col3 < 7

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 76.36 AND col3 > 32 OR col3 < 7
----

query I rowsort label-4320
SELECT pk FROM tab1 WHERE NOT (col4 < 76.36 AND col3 > 32 OR col3 < 7)
----
1
4

statement ok
DELETE FROM tab2 WHERE col4 < 76.36 AND col3 > 32 OR col3 < 7

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 76.36 AND col3 > 32 OR col3 < 7
----

query I rowsort label-4320
SELECT pk FROM tab2 WHERE NOT (col4 < 76.36 AND col3 > 32 OR col3 < 7)
----
1
4

statement ok
DELETE FROM tab3 WHERE col4 < 76.36 AND col3 > 32 OR col3 < 7

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 76.36 AND col3 > 32 OR col3 < 7
----

query I rowsort label-4320
SELECT pk FROM tab3 WHERE NOT (col4 < 76.36 AND col3 > 32 OR col3 < 7)
----
1
4

statement ok
DELETE FROM tab4 WHERE col4 < 76.36 AND col3 > 32 OR col3 < 7

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 76.36 AND col3 > 32 OR col3 < 7
----

query I rowsort label-4320
SELECT pk FROM tab4 WHERE NOT (col4 < 76.36 AND col3 > 32 OR col3 < 7)
----
1
4

statement ok
DELETE FROM tab0 WHERE (col0 < 36)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 36)
----

query I rowsort label-4335
SELECT pk FROM tab0 WHERE NOT ((col0 < 36))
----

statement ok
DELETE FROM tab1 WHERE (col0 < 36)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 36)
----

query I rowsort label-4335
SELECT pk FROM tab1 WHERE NOT ((col0 < 36))
----

statement ok
DELETE FROM tab2 WHERE (col0 < 36)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 36)
----

query I rowsort label-4335
SELECT pk FROM tab2 WHERE NOT ((col0 < 36))
----

statement ok
DELETE FROM tab3 WHERE (col0 < 36)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 36)
----

query I rowsort label-4335
SELECT pk FROM tab3 WHERE NOT ((col0 < 36))
----

statement ok
DELETE FROM tab4 WHERE (col0 < 36)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 36)
----

query I rowsort label-4335
SELECT pk FROM tab4 WHERE NOT ((col0 < 36))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,71,23.15,'wezjg',29,75.56,'ltbvl')

statement ok
INSERT INTO tab0 VALUES(1,70,92.17,'csaxc',13,82.97,'fvdpa')

statement ok
INSERT INTO tab0 VALUES(2,10,6.43,'khuqk',19,76.71,'tvlmp')

statement ok
INSERT INTO tab0 VALUES(3,36,50.52,'lgwci',87,65.60,'ewggs')

statement ok
INSERT INTO tab0 VALUES(4,83,52.77,'xdpfm',46,89.70,'tifon')

statement ok
INSERT INTO tab0 VALUES(5,82,48.26,'yrlci',32,70.45,'uycwo')

statement ok
INSERT INTO tab0 VALUES(6,74,41.3,'zatkz',96,84.76,'zuhtg')

statement ok
INSERT INTO tab0 VALUES(7,23,67.19,'iviiw',18,18.19,'hpjxn')

statement ok
INSERT INTO tab0 VALUES(8,29,55.0,'qkcue',20,33.1,'iuygo')

statement ok
INSERT INTO tab0 VALUES(9,40,91.5,'rurqq',77,29.40,'fodfh')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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_3 ON tab2 (col3,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1 DESC,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,68,72.88,'huwms',0,86.19,'dyola')

statement ok
INSERT INTO tab0 VALUES(1,67,62.76,'lhwgl',46,90.20,'nkhky')

statement ok
INSERT INTO tab0 VALUES(2,53,63.59,'iokcx',7,68.92,'jcykb')

statement ok
INSERT INTO tab0 VALUES(3,20,33.47,'gorxq',89,42.52,'vmxlm')

statement ok
INSERT INTO tab0 VALUES(4,4,10.2,'aykuo',69,21.50,'dggqf')

statement ok
INSERT INTO tab0 VALUES(5,38,28.3,'yxapc',57,15.34,'krwom')

statement ok
INSERT INTO tab0 VALUES(6,25,25.7,'xqwsl',60,47.11,'dnner')

statement ok
INSERT INTO tab0 VALUES(7,89,64.12,'ragmp',40,67.10,'dkbho')

statement ok
INSERT INTO tab0 VALUES(8,48,35.19,'xeoaj',82,64.46,'psndm')

statement ok
INSERT INTO tab0 VALUES(9,70,75.95,'dgjtu',53,76.78,'jycdh')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col3,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1,col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4,col3)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,53,11.10,'tdcym',71,8.7,'gikiu')

statement ok
INSERT INTO tab0 VALUES(1,45,77.63,'gkqit',89,90.54,'xmnjb')

statement ok
INSERT INTO tab0 VALUES(2,95,82.16,'tggeq',40,54.61,'cosbz')

statement ok
INSERT INTO tab0 VALUES(3,0,23.6,'hbjda',73,45.21,'eduyr')

statement ok
INSERT INTO tab0 VALUES(4,25,95.76,'ssrab',35,12.16,'uptof')

statement ok
INSERT INTO tab0 VALUES(5,65,4.37,'wjdll',34,20.80,'execo')

statement ok
INSERT INTO tab0 VALUES(6,8,78.33,'qxiqj',3,63.55,'dgebz')

statement ok
INSERT INTO tab0 VALUES(7,97,81.1,'zultu',60,78.64,'fknvx')

statement ok
INSERT INTO tab0 VALUES(8,90,24.34,'hnlum',72,55.62,'vquih')

statement ok
INSERT INTO tab0 VALUES(9,28,79.44,'jhcbg',14,48.9,'khqql')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4 DESC,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4,col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,72,38.40,'tvkzs',38,29.98,'zliwn')

statement ok
INSERT INTO tab0 VALUES(1,91,39.90,'fydxu',53,14.93,'jgqym')

statement ok
INSERT INTO tab0 VALUES(2,21,12.38,'stack',30,71.55,'trfwq')

statement ok
INSERT INTO tab0 VALUES(3,39,75.16,'vjqbf',29,55.0,'hbrbx')

statement ok
INSERT INTO tab0 VALUES(4,9,74.63,'efrzv',34,58.27,'rnuks')

statement ok
INSERT INTO tab0 VALUES(5,46,0.80,'gpcku',11,23.83,'ehqxe')

statement ok
INSERT INTO tab0 VALUES(6,83,4.98,'vlcuz',71,59.24,'smtkd')

statement ok
INSERT INTO tab0 VALUES(7,25,2.42,'xsncn',32,49.79,'dtezf')

statement ok
INSERT INTO tab0 VALUES(8,20,97.84,'vhrpx',84,63.11,'fvpwd')

statement ok
INSERT INTO tab0 VALUES(9,16,84.17,'nmqgg',51,76.79,'tenus')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3 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,95,94.35,'umtog',1,8.86,'vwcih')

statement ok
INSERT INTO tab0 VALUES(1,13,72.98,'izlxy',30,99.95,'pwscj')

statement ok
INSERT INTO tab0 VALUES(2,42,45.40,'xivcs',86,33.57,'vyltg')

statement ok
INSERT INTO tab0 VALUES(3,20,38.70,'zkbzf',4,43.49,'wxtjz')

statement ok
INSERT INTO tab0 VALUES(4,96,49.71,'sqvtd',58,48.98,'nlqda')

statement ok
INSERT INTO tab0 VALUES(5,85,65.59,'homoz',26,57.49,'dovei')

statement ok
INSERT INTO tab0 VALUES(6,40,75.46,'zjfhn',48,89.25,'skyxp')

statement ok
INSERT INTO tab0 VALUES(7,7,80.5,'ftcyr',91,83.89,'ysnxj')

statement ok
INSERT INTO tab0 VALUES(8,90,8.31,'wfenu',13,9.8,'noglb')

statement ok
INSERT INTO tab0 VALUES(9,14,25.4,'ebukq',21,81.14,'czcbd')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC,col3,col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22
----

query I rowsort label-4350
SELECT pk FROM tab0 WHERE NOT ((col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22)
----
0
2
3
4
5
6
7
9

statement ok
DELETE FROM tab1 WHERE (col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22
----

query I rowsort label-4350
SELECT pk FROM tab1 WHERE NOT ((col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22)
----
0
2
3
4
5
6
7
9

statement ok
DELETE FROM tab2 WHERE (col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22
----

query I rowsort label-4350
SELECT pk FROM tab2 WHERE NOT ((col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22)
----
0
2
3
4
5
6
7
9

statement ok
DELETE FROM tab3 WHERE (col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22
----

query I rowsort label-4350
SELECT pk FROM tab3 WHERE NOT ((col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22)
----
0
2
3
4
5
6
7
9

statement ok
DELETE FROM tab4 WHERE (col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22
----

query I rowsort label-4350
SELECT pk FROM tab4 WHERE NOT ((col4 IS NULL) AND col0 >= 33 OR ((col4 >= 99.38 OR (col3 = 18))) OR col1 < 15.22)
----
0
2
3
4
5
6
7
9

statement ok
DELETE FROM tab0 WHERE ((col4 < 64.49))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 < 64.49))
----

query I rowsort label-4365
SELECT pk FROM tab0 WHERE NOT (((col4 < 64.49)))
----
6
7
9

statement ok
DELETE FROM tab1 WHERE ((col4 < 64.49))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 < 64.49))
----

query I rowsort label-4365
SELECT pk FROM tab1 WHERE NOT (((col4 < 64.49)))
----
6
7
9

statement ok
DELETE FROM tab2 WHERE ((col4 < 64.49))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 < 64.49))
----

query I rowsort label-4365
SELECT pk FROM tab2 WHERE NOT (((col4 < 64.49)))
----
6
7
9

statement ok
DELETE FROM tab3 WHERE ((col4 < 64.49))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 < 64.49))
----

query I rowsort label-4365
SELECT pk FROM tab3 WHERE NOT (((col4 < 64.49)))
----
6
7
9

statement ok
DELETE FROM tab4 WHERE ((col4 < 64.49))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 < 64.49))
----

query I rowsort label-4365
SELECT pk FROM tab4 WHERE NOT (((col4 < 64.49)))
----
6
7
9

statement ok
DELETE FROM tab0 WHERE ((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83
----

query I rowsort label-4380
SELECT pk FROM tab0 WHERE NOT (((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83)
----
6
7
9

statement ok
DELETE FROM tab1 WHERE ((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83
----

query I rowsort label-4380
SELECT pk FROM tab1 WHERE NOT (((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83)
----
6
7
9

statement ok
DELETE FROM tab2 WHERE ((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83
----

query I rowsort label-4380
SELECT pk FROM tab2 WHERE NOT (((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83)
----
6
7
9

statement ok
DELETE FROM tab3 WHERE ((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83
----

query I rowsort label-4380
SELECT pk FROM tab3 WHERE NOT (((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83)
----
6
7
9

statement ok
DELETE FROM tab4 WHERE ((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83
----

query I rowsort label-4380
SELECT pk FROM tab4 WHERE NOT (((((col1 = 43.20))) AND col3 > 48 AND col4 = 76.27) OR col0 > 83)
----
6
7
9

statement ok
DELETE FROM tab0 WHERE ((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35)
----

query I rowsort label-4395
SELECT pk FROM tab0 WHERE NOT (((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35))
----

statement ok
DELETE FROM tab1 WHERE ((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35)
----

query I rowsort label-4395
SELECT pk FROM tab1 WHERE NOT (((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35))
----

statement ok
DELETE FROM tab2 WHERE ((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35)
----

query I rowsort label-4395
SELECT pk FROM tab2 WHERE NOT (((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35))
----

statement ok
DELETE FROM tab3 WHERE ((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35)
----

query I rowsort label-4395
SELECT pk FROM tab3 WHERE NOT (((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35))
----

statement ok
DELETE FROM tab4 WHERE ((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35)
----

query I rowsort label-4395
SELECT pk FROM tab4 WHERE NOT (((col1 >= 64.72) OR (col4 < 99.40) OR col0 <= 35))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,36,70.48,'qrcya',39,33.4,'tesbm')

statement ok
INSERT INTO tab0 VALUES(1,31,65.2,'klara',2,72.9,'tkjqa')

statement ok
INSERT INTO tab0 VALUES(2,12,0.0,'kpsic',4,16.85,'ndxgz')

statement ok
INSERT INTO tab0 VALUES(3,64,17.7,'ydmiw',53,42.92,'oweru')

statement ok
INSERT INTO tab0 VALUES(4,96,96.77,'qjxhe',36,95.85,'mzryh')

statement ok
INSERT INTO tab0 VALUES(5,50,13.72,'aandb',29,49.32,'ptakz')

statement ok
INSERT INTO tab0 VALUES(6,15,5.67,'agiic',10,73.20,'nnuaa')

statement ok
INSERT INTO tab0 VALUES(7,37,36.67,'vwlsf',73,87.74,'twwhm')

statement ok
INSERT INTO tab0 VALUES(8,35,52.19,'hivaf',40,31.68,'koioh')

statement ok
INSERT INTO tab0 VALUES(9,11,50.25,'qdtsm',70,25.34,'vwxyq')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1,col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 IN (60))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 IN (60))
----

query I rowsort label-4410
SELECT pk FROM tab0 WHERE NOT ((col3 IN (60)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 IN (60))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 IN (60))
----

query I rowsort label-4410
SELECT pk FROM tab1 WHERE NOT ((col3 IN (60)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 IN (60))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 IN (60))
----

query I rowsort label-4410
SELECT pk FROM tab2 WHERE NOT ((col3 IN (60)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 IN (60))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 IN (60))
----

query I rowsort label-4410
SELECT pk FROM tab3 WHERE NOT ((col3 IN (60)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 IN (60))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 IN (60))
----

query I rowsort label-4410
SELECT pk FROM tab4 WHERE NOT ((col3 IN (60)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 > 65

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 65
----

query I rowsort label-4425
SELECT pk FROM tab0 WHERE NOT (col0 > 65)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab1 WHERE col0 > 65

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 65
----

query I rowsort label-4425
SELECT pk FROM tab1 WHERE NOT (col0 > 65)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab2 WHERE col0 > 65

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 65
----

query I rowsort label-4425
SELECT pk FROM tab2 WHERE NOT (col0 > 65)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab3 WHERE col0 > 65

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 65
----

query I rowsort label-4425
SELECT pk FROM tab3 WHERE NOT (col0 > 65)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab4 WHERE col0 > 65

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 65
----

query I rowsort label-4425
SELECT pk FROM tab4 WHERE NOT (col0 > 65)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab0 WHERE ((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52
----

query I rowsort label-4440
SELECT pk FROM tab0 WHERE NOT (((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52)
----

statement ok
DELETE FROM tab1 WHERE ((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52
----

query I rowsort label-4440
SELECT pk FROM tab1 WHERE NOT (((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52)
----

statement ok
DELETE FROM tab2 WHERE ((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52
----

query I rowsort label-4440
SELECT pk FROM tab2 WHERE NOT (((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52)
----

statement ok
DELETE FROM tab3 WHERE ((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52
----

query I rowsort label-4440
SELECT pk FROM tab3 WHERE NOT (((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52)
----

statement ok
DELETE FROM tab4 WHERE ((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.52
----

query I rowsort label-4440
SELECT pk FROM tab4 WHERE NOT (((col0 >= 14) OR col4 IN (63.86) OR (col4 > 38.23) AND col0 < 48) OR col4 <= 35.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,60,32.53,'kcqhi',61,58.67,'tgbny')

statement ok
INSERT INTO tab0 VALUES(1,55,93.4,'lhras',96,29.27,'pbldg')

statement ok
INSERT INTO tab0 VALUES(2,76,61.48,'wiwdf',72,30.2,'mtsbl')

statement ok
INSERT INTO tab0 VALUES(3,18,33.19,'wemke',74,90.22,'sykic')

statement ok
INSERT INTO tab0 VALUES(4,22,79.30,'cgyob',62,24.76,'sxeuj')

statement ok
INSERT INTO tab0 VALUES(5,32,58.39,'bvryq',32,36.82,'ddwrh')

statement ok
INSERT INTO tab0 VALUES(6,62,24.12,'xulaw',77,34.43,'baser')

statement ok
INSERT INTO tab0 VALUES(7,51,41.82,'ugjgh',53,43.14,'zohhl')

statement ok
INSERT INTO tab0 VALUES(8,35,97.14,'ycdly',39,15.60,'bttfq')

statement ok
INSERT INTO tab0 VALUES(9,4,16.66,'sszpq',99,47.24,'fmbzp')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4,col0)

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_1 ON tab3 (col1 DESC,col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3,col0 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (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 (col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12))
----

query I rowsort label-4455
SELECT pk FROM tab0 WHERE NOT ((col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12)))
----
9

statement ok
DELETE FROM tab1 WHERE (col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12))
----

query I rowsort label-4455
SELECT pk FROM tab1 WHERE NOT ((col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12)))
----
9

statement ok
DELETE FROM tab2 WHERE (col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12))
----

query I rowsort label-4455
SELECT pk FROM tab2 WHERE NOT ((col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12)))
----
9

statement ok
DELETE FROM tab3 WHERE (col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12))
----

query I rowsort label-4455
SELECT pk FROM tab3 WHERE NOT ((col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12)))
----
9

statement ok
DELETE FROM tab4 WHERE (col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12))
----

query I rowsort label-4455
SELECT pk FROM tab4 WHERE NOT ((col0 > 30 OR col4 > 2.19 AND (col0 >= 56 OR col0 > 12)))
----
9

statement ok
DELETE FROM tab0 WHERE ((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13))
----

query I rowsort label-4470
SELECT pk FROM tab0 WHERE NOT (((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13)))
----

statement ok
DELETE FROM tab1 WHERE ((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13))
----

query I rowsort label-4470
SELECT pk FROM tab1 WHERE NOT (((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13)))
----

statement ok
DELETE FROM tab2 WHERE ((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13))
----

query I rowsort label-4470
SELECT pk FROM tab2 WHERE NOT (((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13)))
----

statement ok
DELETE FROM tab3 WHERE ((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13))
----

query I rowsort label-4470
SELECT pk FROM tab3 WHERE NOT (((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13)))
----

statement ok
DELETE FROM tab4 WHERE ((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13))
----

query I rowsort label-4470
SELECT pk FROM tab4 WHERE NOT (((col4 >= 15.50 OR col3 > 61)) OR col1 > 86.62 AND ((col0 > 13)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,72,21.18,'tzdor',93,46.63,'hvaxi')

statement ok
INSERT INTO tab0 VALUES(1,96,81.74,'eoulr',80,42.54,'rzyaz')

statement ok
INSERT INTO tab0 VALUES(2,21,84.3,'wrlqn',42,76.93,'hwvgn')

statement ok
INSERT INTO tab0 VALUES(3,56,86.6,'ugxut',61,81.45,'fexes')

statement ok
INSERT INTO tab0 VALUES(4,9,38.91,'suqsn',25,68.40,'pluch')

statement ok
INSERT INTO tab0 VALUES(5,2,53.88,'uxjkg',44,91.87,'efeco')

statement ok
INSERT INTO tab0 VALUES(6,84,64.61,'dcqgi',57,5.84,'cclda')

statement ok
INSERT INTO tab0 VALUES(7,41,90.21,'ldpfp',51,32.31,'izhhb')

statement ok
INSERT INTO tab0 VALUES(8,10,96.36,'sakta',68,21.44,'mbjul')

statement ok
INSERT INTO tab0 VALUES(9,93,58.46,'tfacj',20,15.66,'gawfa')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 DESC,col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1,col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col4 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,81,66.1,'flazj',52,96.88,'ehuqy')

statement ok
INSERT INTO tab0 VALUES(1,22,70.32,'jxaeb',96,74.68,'xdnio')

statement ok
INSERT INTO tab0 VALUES(2,52,92.5,'uepbf',62,28.45,'lqezm')

statement ok
INSERT INTO tab0 VALUES(3,34,4.10,'tbpjc',56,7.77,'anudh')

statement ok
INSERT INTO tab0 VALUES(4,58,10.36,'ldksi',87,48.51,'ydgpa')

statement ok
INSERT INTO tab0 VALUES(5,93,61.35,'fotgv',29,94.46,'siozf')

statement ok
INSERT INTO tab0 VALUES(6,59,67.81,'uncff',86,0.97,'frvka')

statement ok
INSERT INTO tab0 VALUES(7,84,8.33,'gbqru',51,50.55,'tknzk')

statement ok
INSERT INTO tab0 VALUES(8,68,49.2,'gnibp',72,68.53,'hanqd')

statement ok
INSERT INTO tab0 VALUES(9,46,52.7,'bigvu',12,30.65,'orhnb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col0)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0,col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4,col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4,col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 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 (col4 <= 23.37)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 <= 23.37)
----

query I rowsort label-4485
SELECT pk FROM tab0 WHERE NOT ((col4 <= 23.37))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab1 WHERE (col4 <= 23.37)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 <= 23.37)
----

query I rowsort label-4485
SELECT pk FROM tab1 WHERE NOT ((col4 <= 23.37))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab2 WHERE (col4 <= 23.37)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 <= 23.37)
----

query I rowsort label-4485
SELECT pk FROM tab2 WHERE NOT ((col4 <= 23.37))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab3 WHERE (col4 <= 23.37)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 <= 23.37)
----

query I rowsort label-4485
SELECT pk FROM tab3 WHERE NOT ((col4 <= 23.37))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab4 WHERE (col4 <= 23.37)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 <= 23.37)
----

query I rowsort label-4485
SELECT pk FROM tab4 WHERE NOT ((col4 <= 23.37))
----
0
1
2
4
5
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 <= 43.41

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 43.41
----

query I rowsort label-4500
SELECT pk FROM tab0 WHERE NOT (col4 <= 43.41)
----
0
1
4
5
7
8

statement ok
DELETE FROM tab1 WHERE col4 <= 43.41

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 43.41
----

query I rowsort label-4500
SELECT pk FROM tab1 WHERE NOT (col4 <= 43.41)
----
0
1
4
5
7
8

statement ok
DELETE FROM tab2 WHERE col4 <= 43.41

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 43.41
----

query I rowsort label-4500
SELECT pk FROM tab2 WHERE NOT (col4 <= 43.41)
----
0
1
4
5
7
8

statement ok
DELETE FROM tab3 WHERE col4 <= 43.41

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 43.41
----

query I rowsort label-4500
SELECT pk FROM tab3 WHERE NOT (col4 <= 43.41)
----
0
1
4
5
7
8

statement ok
DELETE FROM tab4 WHERE col4 <= 43.41

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 43.41
----

query I rowsort label-4500
SELECT pk FROM tab4 WHERE NOT (col4 <= 43.41)
----
0
1
4
5
7
8

statement ok
DELETE FROM tab0 WHERE col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2))))
----

query I rowsort label-4515
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2)))))
----
0
1
4
5
7
8

statement ok
DELETE FROM tab1 WHERE col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2))))
----

query I rowsort label-4515
SELECT pk FROM tab1 WHERE NOT (col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2)))))
----
0
1
4
5
7
8

statement ok
DELETE FROM tab2 WHERE col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2))))
----

query I rowsort label-4515
SELECT pk FROM tab2 WHERE NOT (col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2)))))
----
0
1
4
5
7
8

statement ok
DELETE FROM tab3 WHERE col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2))))
----

query I rowsort label-4515
SELECT pk FROM tab3 WHERE NOT (col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2)))))
----
0
1
4
5
7
8

statement ok
DELETE FROM tab4 WHERE col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2))))
----

query I rowsort label-4515
SELECT pk FROM tab4 WHERE NOT (col0 IS NULL OR (((((((col4 >= 60.97)) AND col1 IN (25.36,54.0,60.63,26.72,3.69)) AND col3 >= 2)))))
----
0
1
4
5
7
8

statement ok
DELETE FROM tab0 WHERE col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27))
----

query I rowsort label-4530
SELECT pk FROM tab0 WHERE NOT (col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27)))
----
0
1
4
7
8

statement ok
DELETE FROM tab1 WHERE col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27))
----

query I rowsort label-4530
SELECT pk FROM tab1 WHERE NOT (col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27)))
----
0
1
4
7
8

statement ok
DELETE FROM tab2 WHERE col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27))
----

query I rowsort label-4530
SELECT pk FROM tab2 WHERE NOT (col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27)))
----
0
1
4
7
8

statement ok
DELETE FROM tab3 WHERE col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27))
----

query I rowsort label-4530
SELECT pk FROM tab3 WHERE NOT (col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27)))
----
0
1
4
7
8

statement ok
DELETE FROM tab4 WHERE col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27))
----

query I rowsort label-4530
SELECT pk FROM tab4 WHERE NOT (col3 <= 38 OR col0 < 1 OR col3 IS NULL AND (col4 <= 68.41) AND ((col3 < 19 AND col0 > 39 AND ((col0 < 86)) AND col0 > 55) AND col3 > 94 AND (col1 > 73.27)))
----
0
1
4
7
8

statement ok
DELETE FROM tab0 WHERE col3 > 54

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 54
----

query I rowsort label-4545
SELECT pk FROM tab0 WHERE NOT (col3 > 54)
----
0
7

statement ok
DELETE FROM tab1 WHERE col3 > 54

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 54
----

query I rowsort label-4545
SELECT pk FROM tab1 WHERE NOT (col3 > 54)
----
0
7

statement ok
DELETE FROM tab2 WHERE col3 > 54

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 54
----

query I rowsort label-4545
SELECT pk FROM tab2 WHERE NOT (col3 > 54)
----
0
7

statement ok
DELETE FROM tab3 WHERE col3 > 54

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 54
----

query I rowsort label-4545
SELECT pk FROM tab3 WHERE NOT (col3 > 54)
----
0
7

statement ok
DELETE FROM tab4 WHERE col3 > 54

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 54
----

query I rowsort label-4545
SELECT pk FROM tab4 WHERE NOT (col3 > 54)
----
0
7

statement ok
DELETE FROM tab0 WHERE col0 < 68

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 68
----

query I rowsort label-4560
SELECT pk FROM tab0 WHERE NOT (col0 < 68)
----
0
7

statement ok
DELETE FROM tab1 WHERE col0 < 68

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 68
----

query I rowsort label-4560
SELECT pk FROM tab1 WHERE NOT (col0 < 68)
----
0
7

statement ok
DELETE FROM tab2 WHERE col0 < 68

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 68
----

query I rowsort label-4560
SELECT pk FROM tab2 WHERE NOT (col0 < 68)
----
0
7

statement ok
DELETE FROM tab3 WHERE col0 < 68

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 68
----

query I rowsort label-4560
SELECT pk FROM tab3 WHERE NOT (col0 < 68)
----
0
7

statement ok
DELETE FROM tab4 WHERE col0 < 68

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 68
----

query I rowsort label-4560
SELECT pk FROM tab4 WHERE NOT (col0 < 68)
----
0
7

statement ok
DELETE FROM tab0 WHERE col4 <= 20.5

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 20.5
----

query I rowsort label-4575
SELECT pk FROM tab0 WHERE NOT (col4 <= 20.5)
----
0
7

statement ok
DELETE FROM tab1 WHERE col4 <= 20.5

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 20.5
----

query I rowsort label-4575
SELECT pk FROM tab1 WHERE NOT (col4 <= 20.5)
----
0
7

statement ok
DELETE FROM tab2 WHERE col4 <= 20.5

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 20.5
----

query I rowsort label-4575
SELECT pk FROM tab2 WHERE NOT (col4 <= 20.5)
----
0
7

statement ok
DELETE FROM tab3 WHERE col4 <= 20.5

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 20.5
----

query I rowsort label-4575
SELECT pk FROM tab3 WHERE NOT (col4 <= 20.5)
----
0
7

statement ok
DELETE FROM tab4 WHERE col4 <= 20.5

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 20.5
----

query I rowsort label-4575
SELECT pk FROM tab4 WHERE NOT (col4 <= 20.5)
----
0
7

statement ok
DELETE FROM tab0 WHERE col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21
----

query I rowsort label-4590
SELECT pk FROM tab0 WHERE NOT (col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21)
----

statement ok
DELETE FROM tab1 WHERE col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21
----

query I rowsort label-4590
SELECT pk FROM tab1 WHERE NOT (col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21)
----

statement ok
DELETE FROM tab2 WHERE col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21
----

query I rowsort label-4590
SELECT pk FROM tab2 WHERE NOT (col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21)
----

statement ok
DELETE FROM tab3 WHERE col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21
----

query I rowsort label-4590
SELECT pk FROM tab3 WHERE NOT (col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21)
----

statement ok
DELETE FROM tab4 WHERE col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21
----

query I rowsort label-4590
SELECT pk FROM tab4 WHERE NOT (col4 <= 0.28 OR col1 < 53.73 AND ((col0 < 10)) OR col3 >= 33 OR col4 = 47.99 AND col0 > 4 AND col1 < 60.21)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,33,75.69,'dyson',12,60.88,'ayxbi')

statement ok
INSERT INTO tab0 VALUES(1,62,23.75,'zbayw',63,94.0,'yevyk')

statement ok
INSERT INTO tab0 VALUES(2,40,48.20,'xjkhg',92,85.23,'ooxyd')

statement ok
INSERT INTO tab0 VALUES(3,99,33.28,'itrkv',83,57.51,'fclgk')

statement ok
INSERT INTO tab0 VALUES(4,30,85.35,'djoeg',84,44.43,'aenut')

statement ok
INSERT INTO tab0 VALUES(5,91,7.7,'kwjxh',19,54.47,'runng')

statement ok
INSERT INTO tab0 VALUES(6,25,50.48,'aooii',0,27.4,'xoyev')

statement ok
INSERT INTO tab0 VALUES(7,67,84.16,'gkkrd',41,1.65,'gvvtf')

statement ok
INSERT INTO tab0 VALUES(8,60,58.35,'ngswk',68,75.4,'nymmh')

statement ok
INSERT INTO tab0 VALUES(9,68,59.3,'vygql',35,68.25,'qhdww')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1 DESC,col3 DESC,col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC,col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4)
----

query I rowsort label-4605
SELECT pk FROM tab0 WHERE NOT ((col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4)
----

query I rowsort label-4605
SELECT pk FROM tab1 WHERE NOT ((col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4)
----

query I rowsort label-4605
SELECT pk FROM tab2 WHERE NOT ((col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4)
----

query I rowsort label-4605
SELECT pk FROM tab3 WHERE NOT ((col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4)
----

query I rowsort label-4605
SELECT pk FROM tab4 WHERE NOT ((col1 <= 77.84) AND ((col4 > 42.38)) AND (col3 = 4))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 > 20 AND col0 < 11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 20 AND col0 < 11
----

query I rowsort label-4620
SELECT pk FROM tab0 WHERE NOT (col3 > 20 AND col0 < 11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 > 20 AND col0 < 11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 20 AND col0 < 11
----

query I rowsort label-4620
SELECT pk FROM tab1 WHERE NOT (col3 > 20 AND col0 < 11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 > 20 AND col0 < 11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 20 AND col0 < 11
----

query I rowsort label-4620
SELECT pk FROM tab2 WHERE NOT (col3 > 20 AND col0 < 11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 > 20 AND col0 < 11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 20 AND col0 < 11
----

query I rowsort label-4620
SELECT pk FROM tab3 WHERE NOT (col3 > 20 AND col0 < 11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 > 20 AND col0 < 11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 20 AND col0 < 11
----

query I rowsort label-4620
SELECT pk FROM tab4 WHERE NOT (col3 > 20 AND col0 < 11)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 <= 29.71 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 29.71 OR col0 IS NULL
----

query I rowsort label-4635
SELECT pk FROM tab0 WHERE NOT (col4 <= 29.71 OR col0 IS NULL)
----
0
1
2
3
4
5
8
9

statement ok
DELETE FROM tab1 WHERE col4 <= 29.71 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 29.71 OR col0 IS NULL
----

query I rowsort label-4635
SELECT pk FROM tab1 WHERE NOT (col4 <= 29.71 OR col0 IS NULL)
----
0
1
2
3
4
5
8
9

statement ok
DELETE FROM tab2 WHERE col4 <= 29.71 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 29.71 OR col0 IS NULL
----

query I rowsort label-4635
SELECT pk FROM tab2 WHERE NOT (col4 <= 29.71 OR col0 IS NULL)
----
0
1
2
3
4
5
8
9

statement ok
DELETE FROM tab3 WHERE col4 <= 29.71 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 29.71 OR col0 IS NULL
----

query I rowsort label-4635
SELECT pk FROM tab3 WHERE NOT (col4 <= 29.71 OR col0 IS NULL)
----
0
1
2
3
4
5
8
9

statement ok
DELETE FROM tab4 WHERE col4 <= 29.71 OR col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 29.71 OR col0 IS NULL
----

query I rowsort label-4635
SELECT pk FROM tab4 WHERE NOT (col4 <= 29.71 OR col0 IS NULL)
----
0
1
2
3
4
5
8
9

statement ok
DELETE FROM tab0 WHERE (col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37
----

query I rowsort label-4650
SELECT pk FROM tab0 WHERE NOT ((col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37)
----
0
1
2
3
4
5
8
9

statement ok
DELETE FROM tab1 WHERE (col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37
----

query I rowsort label-4650
SELECT pk FROM tab1 WHERE NOT ((col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37)
----
0
1
2
3
4
5
8
9

statement ok
DELETE FROM tab2 WHERE (col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37
----

query I rowsort label-4650
SELECT pk FROM tab2 WHERE NOT ((col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37)
----
0
1
2
3
4
5
8
9

statement ok
DELETE FROM tab3 WHERE (col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37
----

query I rowsort label-4650
SELECT pk FROM tab3 WHERE NOT ((col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37)
----
0
1
2
3
4
5
8
9

statement ok
DELETE FROM tab4 WHERE (col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37
----

query I rowsort label-4650
SELECT pk FROM tab4 WHERE NOT ((col0 >= 10) AND col0 > 15 AND col4 IS NULL AND col3 >= 29 AND col3 <= 37)
----
0
1
2
3
4
5
8
9

statement ok
DELETE FROM tab0 WHERE (col3 < 85)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 85)
----

query I rowsort label-4665
SELECT pk FROM tab0 WHERE NOT ((col3 < 85))
----
2

statement ok
DELETE FROM tab1 WHERE (col3 < 85)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 85)
----

query I rowsort label-4665
SELECT pk FROM tab1 WHERE NOT ((col3 < 85))
----
2

statement ok
DELETE FROM tab2 WHERE (col3 < 85)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 85)
----

query I rowsort label-4665
SELECT pk FROM tab2 WHERE NOT ((col3 < 85))
----
2

statement ok
DELETE FROM tab3 WHERE (col3 < 85)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 85)
----

query I rowsort label-4665
SELECT pk FROM tab3 WHERE NOT ((col3 < 85))
----
2

statement ok
DELETE FROM tab4 WHERE (col3 < 85)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 85)
----

query I rowsort label-4665
SELECT pk FROM tab4 WHERE NOT ((col3 < 85))
----
2

statement ok
DELETE FROM tab0 WHERE col3 < 53

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 53
----

query I rowsort label-4680
SELECT pk FROM tab0 WHERE NOT (col3 < 53)
----
2

statement ok
DELETE FROM tab1 WHERE col3 < 53

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 53
----

query I rowsort label-4680
SELECT pk FROM tab1 WHERE NOT (col3 < 53)
----
2

statement ok
DELETE FROM tab2 WHERE col3 < 53

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 53
----

query I rowsort label-4680
SELECT pk FROM tab2 WHERE NOT (col3 < 53)
----
2

statement ok
DELETE FROM tab3 WHERE col3 < 53

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 53
----

query I rowsort label-4680
SELECT pk FROM tab3 WHERE NOT (col3 < 53)
----
2

statement ok
DELETE FROM tab4 WHERE col3 < 53

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 53
----

query I rowsort label-4680
SELECT pk FROM tab4 WHERE NOT (col3 < 53)
----
2

statement ok
DELETE FROM tab0 WHERE (col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91
----

query I rowsort label-4695
SELECT pk FROM tab0 WHERE NOT ((col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91)
----

statement ok
DELETE FROM tab1 WHERE (col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91
----

query I rowsort label-4695
SELECT pk FROM tab1 WHERE NOT ((col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91)
----

statement ok
DELETE FROM tab2 WHERE (col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91
----

query I rowsort label-4695
SELECT pk FROM tab2 WHERE NOT ((col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91)
----

statement ok
DELETE FROM tab3 WHERE (col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91
----

query I rowsort label-4695
SELECT pk FROM tab3 WHERE NOT ((col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91)
----

statement ok
DELETE FROM tab4 WHERE (col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91
----

query I rowsort label-4695
SELECT pk FROM tab4 WHERE NOT ((col3 >= 51 AND (col1 < 61.2)) OR (col0 < 60 OR col1 <= 77.33) OR col3 < 91)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,52,52.92,'ltcbt',87,49.26,'cppgu')

statement ok
INSERT INTO tab0 VALUES(1,9,26.94,'ciyls',56,68.62,'ucrde')

statement ok
INSERT INTO tab0 VALUES(2,99,66.48,'dquvk',36,44.19,'qplkf')

statement ok
INSERT INTO tab0 VALUES(3,89,61.16,'vhgbc',27,61.76,'jfywg')

statement ok
INSERT INTO tab0 VALUES(4,83,94.84,'scefz',0,99.18,'pqlly')

statement ok
INSERT INTO tab0 VALUES(5,82,47.26,'uuvoa',57,50.99,'wvocl')

statement ok
INSERT INTO tab0 VALUES(6,50,23.67,'krvag',85,26.3,'ummam')

statement ok
INSERT INTO tab0 VALUES(7,73,51.43,'rdiqw',35,79.12,'dwyrl')

statement ok
INSERT INTO tab0 VALUES(8,24,4.68,'ihgoi',70,7.59,'yfoeq')

statement ok
INSERT INTO tab0 VALUES(9,26,7.90,'btjjm',37,65.1,'uotah')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0,col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4,col0 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0 DESC,col3,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 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 > 33

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 33
----

query I rowsort label-4710
SELECT pk FROM tab0 WHERE NOT (col0 > 33)
----
1
8
9

statement ok
DELETE FROM tab1 WHERE col0 > 33

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 33
----

query I rowsort label-4710
SELECT pk FROM tab1 WHERE NOT (col0 > 33)
----
1
8
9

statement ok
DELETE FROM tab2 WHERE col0 > 33

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 33
----

query I rowsort label-4710
SELECT pk FROM tab2 WHERE NOT (col0 > 33)
----
1
8
9

statement ok
DELETE FROM tab3 WHERE col0 > 33

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 33
----

query I rowsort label-4710
SELECT pk FROM tab3 WHERE NOT (col0 > 33)
----
1
8
9

statement ok
DELETE FROM tab4 WHERE col0 > 33

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 33
----

query I rowsort label-4710
SELECT pk FROM tab4 WHERE NOT (col0 > 33)
----
1
8
9

statement ok
DELETE FROM tab0 WHERE col1 IS NULL AND (col0 = 46)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IS NULL AND (col0 = 46)
----

query I rowsort label-4725
SELECT pk FROM tab0 WHERE NOT (col1 IS NULL AND (col0 = 46))
----
1
8
9

statement ok
DELETE FROM tab1 WHERE col1 IS NULL AND (col0 = 46)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IS NULL AND (col0 = 46)
----

query I rowsort label-4725
SELECT pk FROM tab1 WHERE NOT (col1 IS NULL AND (col0 = 46))
----
1
8
9

statement ok
DELETE FROM tab2 WHERE col1 IS NULL AND (col0 = 46)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IS NULL AND (col0 = 46)
----

query I rowsort label-4725
SELECT pk FROM tab2 WHERE NOT (col1 IS NULL AND (col0 = 46))
----
1
8
9

statement ok
DELETE FROM tab3 WHERE col1 IS NULL AND (col0 = 46)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IS NULL AND (col0 = 46)
----

query I rowsort label-4725
SELECT pk FROM tab3 WHERE NOT (col1 IS NULL AND (col0 = 46))
----
1
8
9

statement ok
DELETE FROM tab4 WHERE col1 IS NULL AND (col0 = 46)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IS NULL AND (col0 = 46)
----

query I rowsort label-4725
SELECT pk FROM tab4 WHERE NOT (col1 IS NULL AND (col0 = 46))
----
1
8
9

statement ok
DELETE FROM tab0 WHERE (col0 > 23 AND col3 = 34)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 23 AND col3 = 34)
----

query I rowsort label-4740
SELECT pk FROM tab0 WHERE NOT ((col0 > 23 AND col3 = 34))
----
1
8
9

statement ok
DELETE FROM tab1 WHERE (col0 > 23 AND col3 = 34)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 23 AND col3 = 34)
----

query I rowsort label-4740
SELECT pk FROM tab1 WHERE NOT ((col0 > 23 AND col3 = 34))
----
1
8
9

statement ok
DELETE FROM tab2 WHERE (col0 > 23 AND col3 = 34)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 23 AND col3 = 34)
----

query I rowsort label-4740
SELECT pk FROM tab2 WHERE NOT ((col0 > 23 AND col3 = 34))
----
1
8
9

statement ok
DELETE FROM tab3 WHERE (col0 > 23 AND col3 = 34)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 23 AND col3 = 34)
----

query I rowsort label-4740
SELECT pk FROM tab3 WHERE NOT ((col0 > 23 AND col3 = 34))
----
1
8
9

statement ok
DELETE FROM tab4 WHERE (col0 > 23 AND col3 = 34)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 23 AND col3 = 34)
----

query I rowsort label-4740
SELECT pk FROM tab4 WHERE NOT ((col0 > 23 AND col3 = 34))
----
1
8
9

statement ok
DELETE FROM tab0 WHERE col3 < 73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 73
----

query I rowsort label-4755
SELECT pk FROM tab0 WHERE NOT (col3 < 73)
----

statement ok
DELETE FROM tab1 WHERE col3 < 73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 73
----

query I rowsort label-4755
SELECT pk FROM tab1 WHERE NOT (col3 < 73)
----

statement ok
DELETE FROM tab2 WHERE col3 < 73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 73
----

query I rowsort label-4755
SELECT pk FROM tab2 WHERE NOT (col3 < 73)
----

statement ok
DELETE FROM tab3 WHERE col3 < 73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 73
----

query I rowsort label-4755
SELECT pk FROM tab3 WHERE NOT (col3 < 73)
----

statement ok
DELETE FROM tab4 WHERE col3 < 73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 73
----

query I rowsort label-4755
SELECT pk FROM tab4 WHERE NOT (col3 < 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,60,29.27,'xvwda',37,55.90,'ngyps')

statement ok
INSERT INTO tab0 VALUES(1,19,72.22,'xsmza',83,67.6,'fjgky')

statement ok
INSERT INTO tab0 VALUES(2,63,24.50,'puxow',0,60.63,'taznc')

statement ok
INSERT INTO tab0 VALUES(3,61,83.3,'orzur',13,54.84,'uolme')

statement ok
INSERT INTO tab0 VALUES(4,73,62.40,'hxnms',3,16.65,'rafyd')

statement ok
INSERT INTO tab0 VALUES(5,77,45.98,'ydboc',14,14.88,'hbvoo')

statement ok
INSERT INTO tab0 VALUES(6,64,51.6,'xhjcg',67,85.33,'ldlkg')

statement ok
INSERT INTO tab0 VALUES(7,65,0.97,'osbot',76,97.88,'uqlvw')

statement ok
INSERT INTO tab0 VALUES(8,49,73.21,'pdkus',54,9.68,'gzxtl')

statement ok
INSERT INTO tab0 VALUES(9,54,74.56,'azqfp',32,35.20,'pwoqh')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC,col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 >= 10) AND col4 < 70.58

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 10) AND col4 < 70.58
----

query I rowsort label-4770
SELECT pk FROM tab0 WHERE NOT ((col0 >= 10) AND col4 < 70.58)
----
6
7

statement ok
DELETE FROM tab1 WHERE (col0 >= 10) AND col4 < 70.58

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 10) AND col4 < 70.58
----

query I rowsort label-4770
SELECT pk FROM tab1 WHERE NOT ((col0 >= 10) AND col4 < 70.58)
----
6
7

statement ok
DELETE FROM tab2 WHERE (col0 >= 10) AND col4 < 70.58

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 10) AND col4 < 70.58
----

query I rowsort label-4770
SELECT pk FROM tab2 WHERE NOT ((col0 >= 10) AND col4 < 70.58)
----
6
7

statement ok
DELETE FROM tab3 WHERE (col0 >= 10) AND col4 < 70.58

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 10) AND col4 < 70.58
----

query I rowsort label-4770
SELECT pk FROM tab3 WHERE NOT ((col0 >= 10) AND col4 < 70.58)
----
6
7

statement ok
DELETE FROM tab4 WHERE (col0 >= 10) AND col4 < 70.58

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 10) AND col4 < 70.58
----

query I rowsort label-4770
SELECT pk FROM tab4 WHERE NOT ((col0 >= 10) AND col4 < 70.58)
----
6
7

statement ok
DELETE FROM tab0 WHERE (col3 <= 99)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 99)
----

query I rowsort label-4785
SELECT pk FROM tab0 WHERE NOT ((col3 <= 99))
----

statement ok
DELETE FROM tab1 WHERE (col3 <= 99)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 99)
----

query I rowsort label-4785
SELECT pk FROM tab1 WHERE NOT ((col3 <= 99))
----

statement ok
DELETE FROM tab2 WHERE (col3 <= 99)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 99)
----

query I rowsort label-4785
SELECT pk FROM tab2 WHERE NOT ((col3 <= 99))
----

statement ok
DELETE FROM tab3 WHERE (col3 <= 99)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 99)
----

query I rowsort label-4785
SELECT pk FROM tab3 WHERE NOT ((col3 <= 99))
----

statement ok
DELETE FROM tab4 WHERE (col3 <= 99)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 99)
----

query I rowsort label-4785
SELECT pk FROM tab4 WHERE NOT ((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,13,71.28,'hxrts',15,53.65,'ifitv')

statement ok
INSERT INTO tab0 VALUES(1,48,34.87,'nvkgv',19,73.83,'ejlzb')

statement ok
INSERT INTO tab0 VALUES(2,32,0.39,'mhlfq',24,5.72,'fjxac')

statement ok
INSERT INTO tab0 VALUES(3,68,36.40,'pdtap',35,12.4,'irrcq')

statement ok
INSERT INTO tab0 VALUES(4,17,43.59,'tlffq',20,70.25,'eekiz')

statement ok
INSERT INTO tab0 VALUES(5,8,10.96,'bwfqs',22,22.63,'xefpx')

statement ok
INSERT INTO tab0 VALUES(6,52,78.87,'lokoo',75,50.43,'uveve')

statement ok
INSERT INTO tab0 VALUES(7,57,7.23,'eogud',13,30.0,'xzzcg')

statement ok
INSERT INTO tab0 VALUES(8,36,33.59,'qppxm',82,0.87,'ojppv')

statement ok
INSERT INTO tab0 VALUES(9,22,35.28,'wmked',55,18.96,'ewwbl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC,col3,col4)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0,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 INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 > 85.2

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 85.2
----

query I rowsort label-4800
SELECT pk FROM tab0 WHERE NOT (col1 > 85.2)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 > 85.2

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 85.2
----

query I rowsort label-4800
SELECT pk FROM tab1 WHERE NOT (col1 > 85.2)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 > 85.2

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 85.2
----

query I rowsort label-4800
SELECT pk FROM tab2 WHERE NOT (col1 > 85.2)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 > 85.2

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 85.2
----

query I rowsort label-4800
SELECT pk FROM tab3 WHERE NOT (col1 > 85.2)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 > 85.2

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 85.2
----

query I rowsort label-4800
SELECT pk FROM tab4 WHERE NOT (col1 > 85.2)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85)
----

query I rowsort label-4815
SELECT pk FROM tab0 WHERE NOT (((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85))
----

statement ok
DELETE FROM tab1 WHERE ((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85)
----

query I rowsort label-4815
SELECT pk FROM tab1 WHERE NOT (((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85))
----

statement ok
DELETE FROM tab2 WHERE ((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85)
----

query I rowsort label-4815
SELECT pk FROM tab2 WHERE NOT (((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85))
----

statement ok
DELETE FROM tab3 WHERE ((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85)
----

query I rowsort label-4815
SELECT pk FROM tab3 WHERE NOT (((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85))
----

statement ok
DELETE FROM tab4 WHERE ((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) OR col0 < 85)
----

query I rowsort label-4815
SELECT pk FROM tab4 WHERE NOT (((col3 = 13) AND col0 > 72 OR col0 <= 34 AND (col3 = 73) OR col0 <= 93 AND (col3 >= 76 OR col3 = 1) AND ((col4 > 60.51)) 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,12,37.9,'awlyk',88,11.30,'peizu')

statement ok
INSERT INTO tab0 VALUES(1,4,51.13,'cqsoj',22,39.91,'cnwjf')

statement ok
INSERT INTO tab0 VALUES(2,74,73.17,'wqydp',74,2.42,'rmskg')

statement ok
INSERT INTO tab0 VALUES(3,60,29.22,'zxvrg',31,76.25,'udvpn')

statement ok
INSERT INTO tab0 VALUES(4,14,3.56,'gaodu',27,3.94,'lgnel')

statement ok
INSERT INTO tab0 VALUES(5,66,48.39,'vtryw',1,4.74,'nftui')

statement ok
INSERT INTO tab0 VALUES(6,84,98.42,'dskvq',66,77.25,'ymzak')

statement ok
INSERT INTO tab0 VALUES(7,38,85.53,'evsfv',67,37.4,'ofqed')

statement ok
INSERT INTO tab0 VALUES(8,62,44.39,'qfibt',43,1.28,'qyytc')

statement ok
INSERT INTO tab0 VALUES(9,19,34.7,'zmbjr',92,16.35,'pgeci')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0,col3 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 col1 <= 54.85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 54.85
----

query I rowsort label-4830
SELECT pk FROM tab0 WHERE NOT (col1 <= 54.85)
----
2
6
7

statement ok
DELETE FROM tab1 WHERE col1 <= 54.85

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 54.85
----

query I rowsort label-4830
SELECT pk FROM tab1 WHERE NOT (col1 <= 54.85)
----
2
6
7

statement ok
DELETE FROM tab2 WHERE col1 <= 54.85

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 54.85
----

query I rowsort label-4830
SELECT pk FROM tab2 WHERE NOT (col1 <= 54.85)
----
2
6
7

statement ok
DELETE FROM tab3 WHERE col1 <= 54.85

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 54.85
----

query I rowsort label-4830
SELECT pk FROM tab3 WHERE NOT (col1 <= 54.85)
----
2
6
7

statement ok
DELETE FROM tab4 WHERE col1 <= 54.85

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 54.85
----

query I rowsort label-4830
SELECT pk FROM tab4 WHERE NOT (col1 <= 54.85)
----
2
6
7

statement ok
DELETE FROM tab0 WHERE col3 >= 11 AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 11 AND col0 > 64
----

query I rowsort label-4845
SELECT pk FROM tab0 WHERE NOT (col3 >= 11 AND col0 > 64)
----
7

statement ok
DELETE FROM tab1 WHERE col3 >= 11 AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 11 AND col0 > 64
----

query I rowsort label-4845
SELECT pk FROM tab1 WHERE NOT (col3 >= 11 AND col0 > 64)
----
7

statement ok
DELETE FROM tab2 WHERE col3 >= 11 AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 11 AND col0 > 64
----

query I rowsort label-4845
SELECT pk FROM tab2 WHERE NOT (col3 >= 11 AND col0 > 64)
----
7

statement ok
DELETE FROM tab3 WHERE col3 >= 11 AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 11 AND col0 > 64
----

query I rowsort label-4845
SELECT pk FROM tab3 WHERE NOT (col3 >= 11 AND col0 > 64)
----
7

statement ok
DELETE FROM tab4 WHERE col3 >= 11 AND col0 > 64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 11 AND col0 > 64
----

query I rowsort label-4845
SELECT pk FROM tab4 WHERE NOT (col3 >= 11 AND col0 > 64)
----
7

statement ok
DELETE FROM tab0 WHERE col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58)))
----

query I rowsort label-4860
SELECT pk FROM tab0 WHERE NOT (col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58))))
----

statement ok
DELETE FROM tab1 WHERE col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58)))
----

query I rowsort label-4860
SELECT pk FROM tab1 WHERE NOT (col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58))))
----

statement ok
DELETE FROM tab2 WHERE col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58)))
----

query I rowsort label-4860
SELECT pk FROM tab2 WHERE NOT (col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58))))
----

statement ok
DELETE FROM tab3 WHERE col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58)))
----

query I rowsort label-4860
SELECT pk FROM tab3 WHERE NOT (col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58))))
----

statement ok
DELETE FROM tab4 WHERE col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND col3 >= 58)))
----

query I rowsort label-4860
SELECT pk FROM tab4 WHERE NOT (col0 <= 8 OR ((col4 <= 93.97 OR (((col3 > 63))) OR col3 <= 29 OR (((((col4 <= 45.79) AND ((col4 IS NULL)) AND (((col3 > 67)) OR col0 > 20)) OR ((col3 BETWEEN 99 AND 37) OR col4 < 72.55 OR col0 > 66) AND col0 = 26 AND col1 <= 84.93 OR col0 > 84) OR col3 >= 93 AND ((col0 >= 4)) AND ((col0 > 61))) AND 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,5,60.89,'lnprt',18,14.24,'gbygn')

statement ok
INSERT INTO tab0 VALUES(1,72,50.4,'owghy',3,82.29,'frxbg')

statement ok
INSERT INTO tab0 VALUES(2,68,74.9,'wosom',37,59.0,'zutkw')

statement ok
INSERT INTO tab0 VALUES(3,98,33.47,'lbdzr',75,92.45,'tselw')

statement ok
INSERT INTO tab0 VALUES(4,59,49.7,'aalbe',49,4.50,'jscnc')

statement ok
INSERT INTO tab0 VALUES(5,7,75.87,'drgpd',26,3.39,'nptsb')

statement ok
INSERT INTO tab0 VALUES(6,13,5.54,'cuirm',77,0.40,'tgzpb')

statement ok
INSERT INTO tab0 VALUES(7,35,90.9,'hxkzu',32,15.41,'umhue')

statement ok
INSERT INTO tab0 VALUES(8,70,51.49,'hhksr',50,91.63,'njxpl')

statement ok
INSERT INTO tab0 VALUES(9,24,82.27,'wjrxu',72,13.9,'dcznc')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC,col0)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,44,80.35,'uwbfi',57,25.86,'wlgxb')

statement ok
INSERT INTO tab0 VALUES(1,76,81.71,'crhgl',6,24.89,'kaaeg')

statement ok
INSERT INTO tab0 VALUES(2,77,19.7,'igyqc',15,90.8,'oxtju')

statement ok
INSERT INTO tab0 VALUES(3,87,23.7,'kqrhc',84,74.24,'qvjrm')

statement ok
INSERT INTO tab0 VALUES(4,94,87.24,'lzirc',13,31.15,'ezeyv')

statement ok
INSERT INTO tab0 VALUES(5,39,41.13,'rljdm',14,81.65,'jhoyy')

statement ok
INSERT INTO tab0 VALUES(6,32,9.41,'uksxv',19,68.78,'xjplv')

statement ok
INSERT INTO tab0 VALUES(7,62,74.1,'vngfp',5,28.90,'nurgi')

statement ok
INSERT INTO tab0 VALUES(8,14,37.24,'pbmnv',93,47.81,'meakm')

statement ok
INSERT INTO tab0 VALUES(9,78,86.95,'kscoo',67,26.89,'nfmji')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,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 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col1 >= 7.35

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 7.35
----

query I rowsort label-4875
SELECT pk FROM tab0 WHERE NOT (col1 >= 7.35)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 7.35

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 7.35
----

query I rowsort label-4875
SELECT pk FROM tab1 WHERE NOT (col1 >= 7.35)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 7.35

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 7.35
----

query I rowsort label-4875
SELECT pk FROM tab2 WHERE NOT (col1 >= 7.35)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 7.35

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 7.35
----

query I rowsort label-4875
SELECT pk FROM tab3 WHERE NOT (col1 >= 7.35)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 7.35

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 7.35
----

query I rowsort label-4875
SELECT pk FROM tab4 WHERE NOT (col1 >= 7.35)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,73,52.98,'ulzas',55,48.26,'jukex')

statement ok
INSERT INTO tab0 VALUES(1,24,13.13,'hmwop',57,41.11,'zgfle')

statement ok
INSERT INTO tab0 VALUES(2,41,55.0,'rjgnr',6,10.67,'zjvlo')

statement ok
INSERT INTO tab0 VALUES(3,20,16.60,'jezfc',43,61.94,'xanyq')

statement ok
INSERT INTO tab0 VALUES(4,50,59.22,'dafqu',7,4.73,'xfubd')

statement ok
INSERT INTO tab0 VALUES(5,23,35.47,'plfuu',47,20.78,'fnzkh')

statement ok
INSERT INTO tab0 VALUES(6,47,46.50,'wkwrg',35,22.88,'bwzeq')

statement ok
INSERT INTO tab0 VALUES(7,63,3.3,'hmhls',79,15.2,'ywren')

statement ok
INSERT INTO tab0 VALUES(8,48,98.58,'xwqma',33,62.48,'qxsfu')

statement ok
INSERT INTO tab0 VALUES(9,37,56.49,'eqlpr',14,43.97,'lhcxl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0,col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (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 UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,96,59.70,'lfswx',76,76.71,'coett')

statement ok
INSERT INTO tab0 VALUES(1,61,77.87,'kdzne',8,2.69,'skyec')

statement ok
INSERT INTO tab0 VALUES(2,78,35.49,'ofafc',61,46.12,'phyws')

statement ok
INSERT INTO tab0 VALUES(3,52,47.27,'jpvld',95,61.52,'qwwdo')

statement ok
INSERT INTO tab0 VALUES(4,97,98.86,'jahgi',84,52.95,'ggelm')

statement ok
INSERT INTO tab0 VALUES(5,49,2.96,'aoufz',32,35.4,'acohu')

statement ok
INSERT INTO tab0 VALUES(6,84,69.45,'datof',85,3.21,'iwqnd')

statement ok
INSERT INTO tab0 VALUES(7,21,64.52,'txjms',39,84.71,'vsojw')

statement ok
INSERT INTO tab0 VALUES(8,42,71.81,'mrebe',65,9.81,'ivqot')

statement ok
INSERT INTO tab0 VALUES(9,1,57.48,'isrmd',5,71.88,'elxmq')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1 DESC,col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0)

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 (col3 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4 DESC,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58))
----

query I rowsort label-4890
SELECT pk FROM tab0 WHERE NOT ((col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58)))
----

statement ok
DELETE FROM tab1 WHERE (col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58))
----

query I rowsort label-4890
SELECT pk FROM tab1 WHERE NOT ((col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58)))
----

statement ok
DELETE FROM tab2 WHERE (col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58))
----

query I rowsort label-4890
SELECT pk FROM tab2 WHERE NOT ((col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58)))
----

statement ok
DELETE FROM tab3 WHERE (col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58))
----

query I rowsort label-4890
SELECT pk FROM tab3 WHERE NOT ((col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58)))
----

statement ok
DELETE FROM tab4 WHERE (col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (col3 > 58))
----

query I rowsort label-4890
SELECT pk FROM tab4 WHERE NOT ((col0 < 67 OR (col0 >= 34) AND (col0 = 82) OR (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,96,69.16,'khnql',87,26.34,'wecue')

statement ok
INSERT INTO tab0 VALUES(1,17,70.46,'yguax',72,77.10,'jcswe')

statement ok
INSERT INTO tab0 VALUES(2,25,32.68,'ziehw',54,63.50,'kusag')

statement ok
INSERT INTO tab0 VALUES(3,30,82.40,'odyng',62,51.93,'obujo')

statement ok
INSERT INTO tab0 VALUES(4,9,44.34,'hkssh',49,36.97,'vmexh')

statement ok
INSERT INTO tab0 VALUES(5,18,97.48,'bibzb',5,0.53,'inlti')

statement ok
INSERT INTO tab0 VALUES(6,10,43.20,'mngmd',68,80.97,'tsfgv')

statement ok
INSERT INTO tab0 VALUES(7,38,67.36,'udtvg',42,24.20,'brlfz')

statement ok
INSERT INTO tab0 VALUES(8,79,99.48,'ecwxw',0,58.86,'fjksl')

statement ok
INSERT INTO tab0 VALUES(9,37,76.82,'pdkev',6,48.39,'qddqe')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1 DESC)

statement ok
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 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1 DESC,col0)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4,col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 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 > 26)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 26)
----

query I rowsort label-4905
SELECT pk FROM tab0 WHERE NOT ((col3 > 26))
----
5
8
9

statement ok
DELETE FROM tab1 WHERE (col3 > 26)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 26)
----

query I rowsort label-4905
SELECT pk FROM tab1 WHERE NOT ((col3 > 26))
----
5
8
9

statement ok
DELETE FROM tab2 WHERE (col3 > 26)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 26)
----

query I rowsort label-4905
SELECT pk FROM tab2 WHERE NOT ((col3 > 26))
----
5
8
9

statement ok
DELETE FROM tab3 WHERE (col3 > 26)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 26)
----

query I rowsort label-4905
SELECT pk FROM tab3 WHERE NOT ((col3 > 26))
----
5
8
9

statement ok
DELETE FROM tab4 WHERE (col3 > 26)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 26)
----

query I rowsort label-4905
SELECT pk FROM tab4 WHERE NOT ((col3 > 26))
----
5
8
9

statement ok
DELETE FROM tab0 WHERE (((col0 > 70)) OR col3 >= 61 AND col4 = 15.50)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 > 70)) OR col3 >= 61 AND col4 = 15.50)
----

query I rowsort label-4920
SELECT pk FROM tab0 WHERE NOT ((((col0 > 70)) OR col3 >= 61 AND col4 = 15.50))
----
5
9

statement ok
DELETE FROM tab1 WHERE (((col0 > 70)) OR col3 >= 61 AND col4 = 15.50)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 > 70)) OR col3 >= 61 AND col4 = 15.50)
----

query I rowsort label-4920
SELECT pk FROM tab1 WHERE NOT ((((col0 > 70)) OR col3 >= 61 AND col4 = 15.50))
----
5
9

statement ok
DELETE FROM tab2 WHERE (((col0 > 70)) OR col3 >= 61 AND col4 = 15.50)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 > 70)) OR col3 >= 61 AND col4 = 15.50)
----

query I rowsort label-4920
SELECT pk FROM tab2 WHERE NOT ((((col0 > 70)) OR col3 >= 61 AND col4 = 15.50))
----
5
9

statement ok
DELETE FROM tab3 WHERE (((col0 > 70)) OR col3 >= 61 AND col4 = 15.50)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 > 70)) OR col3 >= 61 AND col4 = 15.50)
----

query I rowsort label-4920
SELECT pk FROM tab3 WHERE NOT ((((col0 > 70)) OR col3 >= 61 AND col4 = 15.50))
----
5
9

statement ok
DELETE FROM tab4 WHERE (((col0 > 70)) OR col3 >= 61 AND col4 = 15.50)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 > 70)) OR col3 >= 61 AND col4 = 15.50)
----

query I rowsort label-4920
SELECT pk FROM tab4 WHERE NOT ((((col0 > 70)) OR col3 >= 61 AND col4 = 15.50))
----
5
9

statement ok
DELETE FROM tab0 WHERE col0 >= 52 OR col1 < 63.4

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 52 OR col1 < 63.4
----

query I rowsort label-4935
SELECT pk FROM tab0 WHERE NOT (col0 >= 52 OR col1 < 63.4)
----
5
9

statement ok
DELETE FROM tab1 WHERE col0 >= 52 OR col1 < 63.4

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 52 OR col1 < 63.4
----

query I rowsort label-4935
SELECT pk FROM tab1 WHERE NOT (col0 >= 52 OR col1 < 63.4)
----
5
9

statement ok
DELETE FROM tab2 WHERE col0 >= 52 OR col1 < 63.4

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 52 OR col1 < 63.4
----

query I rowsort label-4935
SELECT pk FROM tab2 WHERE NOT (col0 >= 52 OR col1 < 63.4)
----
5
9

statement ok
DELETE FROM tab3 WHERE col0 >= 52 OR col1 < 63.4

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 52 OR col1 < 63.4
----

query I rowsort label-4935
SELECT pk FROM tab3 WHERE NOT (col0 >= 52 OR col1 < 63.4)
----
5
9

statement ok
DELETE FROM tab4 WHERE col0 >= 52 OR col1 < 63.4

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 52 OR col1 < 63.4
----

query I rowsort label-4935
SELECT pk FROM tab4 WHERE NOT (col0 >= 52 OR col1 < 63.4)
----
5
9

statement ok
DELETE FROM tab0 WHERE (col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL))
----

query I rowsort label-4950
SELECT pk FROM tab0 WHERE NOT ((col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL)))
----
5
9

statement ok
DELETE FROM tab1 WHERE (col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL))
----

query I rowsort label-4950
SELECT pk FROM tab1 WHERE NOT ((col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL)))
----
5
9

statement ok
DELETE FROM tab2 WHERE (col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL))
----

query I rowsort label-4950
SELECT pk FROM tab2 WHERE NOT ((col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL)))
----
5
9

statement ok
DELETE FROM tab3 WHERE (col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL))
----

query I rowsort label-4950
SELECT pk FROM tab3 WHERE NOT ((col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL)))
----
5
9

statement ok
DELETE FROM tab4 WHERE (col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL))
----

query I rowsort label-4950
SELECT pk FROM tab4 WHERE NOT ((col1 IS NULL) OR col0 IN (88,91,53,23,95) OR ((col1 IS NULL)))
----
5
9

statement ok
DELETE FROM tab0 WHERE col1 < 76.86

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 76.86
----

query I rowsort label-4965
SELECT pk FROM tab0 WHERE NOT (col1 < 76.86)
----
5

statement ok
DELETE FROM tab1 WHERE col1 < 76.86

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 76.86
----

query I rowsort label-4965
SELECT pk FROM tab1 WHERE NOT (col1 < 76.86)
----
5

statement ok
DELETE FROM tab2 WHERE col1 < 76.86

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 76.86
----

query I rowsort label-4965
SELECT pk FROM tab2 WHERE NOT (col1 < 76.86)
----
5

statement ok
DELETE FROM tab3 WHERE col1 < 76.86

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 76.86
----

query I rowsort label-4965
SELECT pk FROM tab3 WHERE NOT (col1 < 76.86)
----
5

statement ok
DELETE FROM tab4 WHERE col1 < 76.86

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 76.86
----

query I rowsort label-4965
SELECT pk FROM tab4 WHERE NOT (col1 < 76.86)
----
5

statement ok
DELETE FROM tab0 WHERE col3 IS NULL OR (col1 >= 29.86)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IS NULL OR (col1 >= 29.86)
----

query I rowsort label-4980
SELECT pk FROM tab0 WHERE NOT (col3 IS NULL OR (col1 >= 29.86))
----

statement ok
DELETE FROM tab1 WHERE col3 IS NULL OR (col1 >= 29.86)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IS NULL OR (col1 >= 29.86)
----

query I rowsort label-4980
SELECT pk FROM tab1 WHERE NOT (col3 IS NULL OR (col1 >= 29.86))
----

statement ok
DELETE FROM tab2 WHERE col3 IS NULL OR (col1 >= 29.86)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IS NULL OR (col1 >= 29.86)
----

query I rowsort label-4980
SELECT pk FROM tab2 WHERE NOT (col3 IS NULL OR (col1 >= 29.86))
----

statement ok
DELETE FROM tab3 WHERE col3 IS NULL OR (col1 >= 29.86)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IS NULL OR (col1 >= 29.86)
----

query I rowsort label-4980
SELECT pk FROM tab3 WHERE NOT (col3 IS NULL OR (col1 >= 29.86))
----

statement ok
DELETE FROM tab4 WHERE col3 IS NULL OR (col1 >= 29.86)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IS NULL OR (col1 >= 29.86)
----

query I rowsort label-4980
SELECT pk FROM tab4 WHERE NOT (col3 IS NULL OR (col1 >= 29.86))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,13,61.29,'pzmdv',68,83.0,'dvemd')

statement ok
INSERT INTO tab0 VALUES(1,87,87.25,'uegyx',0,82.64,'ylgcy')

statement ok
INSERT INTO tab0 VALUES(2,91,33.85,'wwxtz',22,80.81,'ffzvr')

statement ok
INSERT INTO tab0 VALUES(3,67,39.91,'hvhix',65,46.47,'xkuyc')

statement ok
INSERT INTO tab0 VALUES(4,77,80.20,'qqrlu',66,38.89,'dxaug')

statement ok
INSERT INTO tab0 VALUES(5,71,78.13,'qlwlh',24,19.25,'hadsv')

statement ok
INSERT INTO tab0 VALUES(6,44,11.32,'gnerm',71,64.29,'bxtka')

statement ok
INSERT INTO tab0 VALUES(7,99,34.28,'ywuig',26,78.93,'phsrv')

statement ok
INSERT INTO tab0 VALUES(8,15,77.97,'qxpzh',67,4.85,'rdlae')

statement ok
INSERT INTO tab0 VALUES(9,2,74.50,'azqgg',75,41.21,'wetgy')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3,col4,col1 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-4995
SELECT pk FROM tab0 WHERE NOT (col3 >= 52)
----
1
2
5
7

statement ok
DELETE FROM tab1 WHERE col3 >= 52

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 52
----

query I rowsort label-4995
SELECT pk FROM tab1 WHERE NOT (col3 >= 52)
----
1
2
5
7

statement ok
DELETE FROM tab2 WHERE col3 >= 52

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 52
----

query I rowsort label-4995
SELECT pk FROM tab2 WHERE NOT (col3 >= 52)
----
1
2
5
7

statement ok
DELETE FROM tab3 WHERE col3 >= 52

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 52
----

query I rowsort label-4995
SELECT pk FROM tab3 WHERE NOT (col3 >= 52)
----
1
2
5
7

statement ok
DELETE FROM tab4 WHERE col3 >= 52

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 52
----

query I rowsort label-4995
SELECT pk FROM tab4 WHERE NOT (col3 >= 52)
----
1
2
5
7

statement ok
DELETE FROM tab0 WHERE col4 > 46.49

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 46.49
----

query I rowsort label-5010
SELECT pk FROM tab0 WHERE NOT (col4 > 46.49)
----
5

statement ok
DELETE FROM tab1 WHERE col4 > 46.49

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 46.49
----

query I rowsort label-5010
SELECT pk FROM tab1 WHERE NOT (col4 > 46.49)
----
5

statement ok
DELETE FROM tab2 WHERE col4 > 46.49

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 46.49
----

query I rowsort label-5010
SELECT pk FROM tab2 WHERE NOT (col4 > 46.49)
----
5

statement ok
DELETE FROM tab3 WHERE col4 > 46.49

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 46.49
----

query I rowsort label-5010
SELECT pk FROM tab3 WHERE NOT (col4 > 46.49)
----
5

statement ok
DELETE FROM tab4 WHERE col4 > 46.49

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 46.49
----

query I rowsort label-5010
SELECT pk FROM tab4 WHERE NOT (col4 > 46.49)
----
5

statement ok
DELETE FROM tab0 WHERE (col4 <= 90.8)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 <= 90.8)
----

query I rowsort label-5025
SELECT pk FROM tab0 WHERE NOT ((col4 <= 90.8))
----

statement ok
DELETE FROM tab1 WHERE (col4 <= 90.8)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 <= 90.8)
----

query I rowsort label-5025
SELECT pk FROM tab1 WHERE NOT ((col4 <= 90.8))
----

statement ok
DELETE FROM tab2 WHERE (col4 <= 90.8)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 <= 90.8)
----

query I rowsort label-5025
SELECT pk FROM tab2 WHERE NOT ((col4 <= 90.8))
----

statement ok
DELETE FROM tab3 WHERE (col4 <= 90.8)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 <= 90.8)
----

query I rowsort label-5025
SELECT pk FROM tab3 WHERE NOT ((col4 <= 90.8))
----

statement ok
DELETE FROM tab4 WHERE (col4 <= 90.8)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 <= 90.8)
----

query I rowsort label-5025
SELECT pk FROM tab4 WHERE NOT ((col4 <= 90.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,76,17.73,'uuzix',42,46.74,'aldms')

statement ok
INSERT INTO tab0 VALUES(1,8,27.30,'kwndj',1,80.71,'kwkcy')

statement ok
INSERT INTO tab0 VALUES(2,21,70.4,'qliha',5,18.78,'hpjak')

statement ok
INSERT INTO tab0 VALUES(3,49,28.12,'yxogv',96,17.87,'asdgr')

statement ok
INSERT INTO tab0 VALUES(4,92,73.99,'bbcxy',90,8.75,'iwbsm')

statement ok
INSERT INTO tab0 VALUES(5,34,35.50,'kiwlc',91,55.12,'bipgu')

statement ok
INSERT INTO tab0 VALUES(6,54,55.2,'zxqrl',4,20.80,'weuxc')

statement ok
INSERT INTO tab0 VALUES(7,37,56.57,'rvqca',49,24.81,'skxxe')

statement ok
INSERT INTO tab0 VALUES(8,88,96.95,'ebdzm',70,10.50,'obfws')

statement ok
INSERT INTO tab0 VALUES(9,46,44.86,'jseps',51,6.70,'xhhxw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 INDEX idx_tab2_5 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC,col0)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16)))))
----

query I rowsort label-5040
SELECT pk FROM tab0 WHERE NOT ((col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16))))))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16)))))
----

query I rowsort label-5040
SELECT pk FROM tab1 WHERE NOT ((col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16))))))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16)))))
----

query I rowsort label-5040
SELECT pk FROM tab2 WHERE NOT ((col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16))))))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16)))))
----

query I rowsort label-5040
SELECT pk FROM tab3 WHERE NOT ((col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16))))))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16)))))
----

query I rowsort label-5040
SELECT pk FROM tab4 WHERE NOT ((col0 <= 36 AND ((col1 <= 69.92) OR col3 > 21 AND ((col4 > 12.40 AND col3 < 0 OR (col0 BETWEEN 58 AND 90 AND col3 > 23) AND (col0 <= 16))))))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13
----

query I rowsort label-5055
SELECT pk FROM tab0 WHERE NOT (col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13)
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13
----

query I rowsort label-5055
SELECT pk FROM tab1 WHERE NOT (col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13)
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13
----

query I rowsort label-5055
SELECT pk FROM tab2 WHERE NOT (col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13)
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13
----

query I rowsort label-5055
SELECT pk FROM tab3 WHERE NOT (col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13)
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13
----

query I rowsort label-5055
SELECT pk FROM tab4 WHERE NOT (col1 < 65.98 AND ((col3 IS NULL AND col0 <= 57 OR (col1 < 7.30) OR (((col0 > 84 AND col1 > 86.87 OR col0 > 90 AND ((col3 >= 88))) AND col0 >= 92 AND col1 BETWEEN 55.20 AND 19.42)))) OR ((col0 IS NULL AND (((col3 >= 12)))) OR col0 IS NULL) AND col3 = 13)
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col3 = 32)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 32)
----

query I rowsort label-5070
SELECT pk FROM tab0 WHERE NOT ((col3 = 32))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col3 = 32)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 32)
----

query I rowsort label-5070
SELECT pk FROM tab1 WHERE NOT ((col3 = 32))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col3 = 32)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 32)
----

query I rowsort label-5070
SELECT pk FROM tab2 WHERE NOT ((col3 = 32))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col3 = 32)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 32)
----

query I rowsort label-5070
SELECT pk FROM tab3 WHERE NOT ((col3 = 32))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col3 = 32)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 32)
----

query I rowsort label-5070
SELECT pk FROM tab4 WHERE NOT ((col3 = 32))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE ((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64)))
----

query I rowsort label-5085
SELECT pk FROM tab0 WHERE NOT (((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64))))
----
2
6
7
9

statement ok
DELETE FROM tab1 WHERE ((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64)))
----

query I rowsort label-5085
SELECT pk FROM tab1 WHERE NOT (((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64))))
----
2
6
7
9

statement ok
DELETE FROM tab2 WHERE ((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64)))
----

query I rowsort label-5085
SELECT pk FROM tab2 WHERE NOT (((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64))))
----
2
6
7
9

statement ok
DELETE FROM tab3 WHERE ((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64)))
----

query I rowsort label-5085
SELECT pk FROM tab3 WHERE NOT (((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64))))
----
2
6
7
9

statement ok
DELETE FROM tab4 WHERE ((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64)))
----

query I rowsort label-5085
SELECT pk FROM tab4 WHERE NOT (((col3 = 56 AND (col1 BETWEEN 75.6 AND 62.3) OR col0 = 76 OR (col3 >= 64))))
----
2
6
7
9

statement ok
DELETE FROM tab0 WHERE (col0 > 67 AND col0 > 39)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 67 AND col0 > 39)
----

query I rowsort label-5100
SELECT pk FROM tab0 WHERE NOT ((col0 > 67 AND col0 > 39))
----
2
6
7
9

statement ok
DELETE FROM tab1 WHERE (col0 > 67 AND col0 > 39)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 67 AND col0 > 39)
----

query I rowsort label-5100
SELECT pk FROM tab1 WHERE NOT ((col0 > 67 AND col0 > 39))
----
2
6
7
9

statement ok
DELETE FROM tab2 WHERE (col0 > 67 AND col0 > 39)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 67 AND col0 > 39)
----

query I rowsort label-5100
SELECT pk FROM tab2 WHERE NOT ((col0 > 67 AND col0 > 39))
----
2
6
7
9

statement ok
DELETE FROM tab3 WHERE (col0 > 67 AND col0 > 39)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 67 AND col0 > 39)
----

query I rowsort label-5100
SELECT pk FROM tab3 WHERE NOT ((col0 > 67 AND col0 > 39))
----
2
6
7
9

statement ok
DELETE FROM tab4 WHERE (col0 > 67 AND col0 > 39)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 67 AND col0 > 39)
----

query I rowsort label-5100
SELECT pk FROM tab4 WHERE NOT ((col0 > 67 AND col0 > 39))
----
2
6
7
9

statement ok
DELETE FROM tab0 WHERE col3 IN (1,0,64,67,97,83)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (1,0,64,67,97,83)
----

query I rowsort label-5115
SELECT pk FROM tab0 WHERE NOT (col3 IN (1,0,64,67,97,83))
----
2
6
7
9

statement ok
DELETE FROM tab1 WHERE col3 IN (1,0,64,67,97,83)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (1,0,64,67,97,83)
----

query I rowsort label-5115
SELECT pk FROM tab1 WHERE NOT (col3 IN (1,0,64,67,97,83))
----
2
6
7
9

statement ok
DELETE FROM tab2 WHERE col3 IN (1,0,64,67,97,83)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (1,0,64,67,97,83)
----

query I rowsort label-5115
SELECT pk FROM tab2 WHERE NOT (col3 IN (1,0,64,67,97,83))
----
2
6
7
9

statement ok
DELETE FROM tab3 WHERE col3 IN (1,0,64,67,97,83)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (1,0,64,67,97,83)
----

query I rowsort label-5115
SELECT pk FROM tab3 WHERE NOT (col3 IN (1,0,64,67,97,83))
----
2
6
7
9

statement ok
DELETE FROM tab4 WHERE col3 IN (1,0,64,67,97,83)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (1,0,64,67,97,83)
----

query I rowsort label-5115
SELECT pk FROM tab4 WHERE NOT (col3 IN (1,0,64,67,97,83))
----
2
6
7
9

statement ok
DELETE FROM tab0 WHERE col4 IN (53.99,54.64,48.64,67.38,54.21,98.77)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (53.99,54.64,48.64,67.38,54.21,98.77)
----

query I rowsort label-5130
SELECT pk FROM tab0 WHERE NOT (col4 IN (53.99,54.64,48.64,67.38,54.21,98.77))
----
2
6
7
9

statement ok
DELETE FROM tab1 WHERE col4 IN (53.99,54.64,48.64,67.38,54.21,98.77)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (53.99,54.64,48.64,67.38,54.21,98.77)
----

query I rowsort label-5130
SELECT pk FROM tab1 WHERE NOT (col4 IN (53.99,54.64,48.64,67.38,54.21,98.77))
----
2
6
7
9

statement ok
DELETE FROM tab2 WHERE col4 IN (53.99,54.64,48.64,67.38,54.21,98.77)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (53.99,54.64,48.64,67.38,54.21,98.77)
----

query I rowsort label-5130
SELECT pk FROM tab2 WHERE NOT (col4 IN (53.99,54.64,48.64,67.38,54.21,98.77))
----
2
6
7
9

statement ok
DELETE FROM tab3 WHERE col4 IN (53.99,54.64,48.64,67.38,54.21,98.77)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (53.99,54.64,48.64,67.38,54.21,98.77)
----

query I rowsort label-5130
SELECT pk FROM tab3 WHERE NOT (col4 IN (53.99,54.64,48.64,67.38,54.21,98.77))
----
2
6
7
9

statement ok
DELETE FROM tab4 WHERE col4 IN (53.99,54.64,48.64,67.38,54.21,98.77)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (53.99,54.64,48.64,67.38,54.21,98.77)
----

query I rowsort label-5130
SELECT pk FROM tab4 WHERE NOT (col4 IN (53.99,54.64,48.64,67.38,54.21,98.77))
----
2
6
7
9

statement ok
DELETE FROM tab0 WHERE col3 > 51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 51
----

query I rowsort label-5145
SELECT pk FROM tab0 WHERE NOT (col3 > 51)
----
2
6
7
9

statement ok
DELETE FROM tab1 WHERE col3 > 51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 51
----

query I rowsort label-5145
SELECT pk FROM tab1 WHERE NOT (col3 > 51)
----
2
6
7
9

statement ok
DELETE FROM tab2 WHERE col3 > 51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 51
----

query I rowsort label-5145
SELECT pk FROM tab2 WHERE NOT (col3 > 51)
----
2
6
7
9

statement ok
DELETE FROM tab3 WHERE col3 > 51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 51
----

query I rowsort label-5145
SELECT pk FROM tab3 WHERE NOT (col3 > 51)
----
2
6
7
9

statement ok
DELETE FROM tab4 WHERE col3 > 51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 51
----

query I rowsort label-5145
SELECT pk FROM tab4 WHERE NOT (col3 > 51)
----
2
6
7
9

statement ok
DELETE FROM tab0 WHERE (col3 = 55)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 55)
----

query I rowsort label-5160
SELECT pk FROM tab0 WHERE NOT ((col3 = 55))
----
2
6
7
9

statement ok
DELETE FROM tab1 WHERE (col3 = 55)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 55)
----

query I rowsort label-5160
SELECT pk FROM tab1 WHERE NOT ((col3 = 55))
----
2
6
7
9

statement ok
DELETE FROM tab2 WHERE (col3 = 55)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 55)
----

query I rowsort label-5160
SELECT pk FROM tab2 WHERE NOT ((col3 = 55))
----
2
6
7
9

statement ok
DELETE FROM tab3 WHERE (col3 = 55)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 55)
----

query I rowsort label-5160
SELECT pk FROM tab3 WHERE NOT ((col3 = 55))
----
2
6
7
9

statement ok
DELETE FROM tab4 WHERE (col3 = 55)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 55)
----

query I rowsort label-5160
SELECT pk FROM tab4 WHERE NOT ((col3 = 55))
----
2
6
7
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-5175
SELECT pk FROM tab0 WHERE NOT (col3 >= 43)
----
2
6

statement ok
DELETE FROM tab1 WHERE col3 >= 43

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 43
----

query I rowsort label-5175
SELECT pk FROM tab1 WHERE NOT (col3 >= 43)
----
2
6

statement ok
DELETE FROM tab2 WHERE col3 >= 43

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 43
----

query I rowsort label-5175
SELECT pk FROM tab2 WHERE NOT (col3 >= 43)
----
2
6

statement ok
DELETE FROM tab3 WHERE col3 >= 43

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 43
----

query I rowsort label-5175
SELECT pk FROM tab3 WHERE NOT (col3 >= 43)
----
2
6

statement ok
DELETE FROM tab4 WHERE col3 >= 43

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 43
----

query I rowsort label-5175
SELECT pk FROM tab4 WHERE NOT (col3 >= 43)
----
2
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,53,70.77,'rnzgl',57,42.41,'rbpbb')

statement ok
INSERT INTO tab0 VALUES(1,13,31.37,'vrpct',58,0.61,'rvtcr')

statement ok
INSERT INTO tab0 VALUES(2,7,91.41,'vesan',93,94.20,'rwlkf')

statement ok
INSERT INTO tab0 VALUES(3,29,82.52,'ggjam',71,11.8,'htght')

statement ok
INSERT INTO tab0 VALUES(4,96,76.2,'lnmha',0,38.18,'flgma')

statement ok
INSERT INTO tab0 VALUES(5,0,3.60,'vldti',53,74.6,'enhrs')

statement ok
INSERT INTO tab0 VALUES(6,84,58.85,'yfnrn',29,43.55,'baujj')

statement ok
INSERT INTO tab0 VALUES(7,91,21.99,'rdhgs',11,3.37,'cbhgt')

statement ok
INSERT INTO tab0 VALUES(8,38,62.42,'dmmlg',35,66.76,'zieau')

statement ok
INSERT INTO tab0 VALUES(9,71,57.36,'avths',49,4.11,'zvcvt')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0 DESC,col4,col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col3,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0,col4 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3 DESC,col0 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 col3 >= 46

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 46
----

query I rowsort label-5190
SELECT pk FROM tab0 WHERE NOT (col3 >= 46)
----
4
6
7
8

statement ok
DELETE FROM tab1 WHERE col3 >= 46

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 46
----

query I rowsort label-5190
SELECT pk FROM tab1 WHERE NOT (col3 >= 46)
----
4
6
7
8

statement ok
DELETE FROM tab2 WHERE col3 >= 46

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 46
----

query I rowsort label-5190
SELECT pk FROM tab2 WHERE NOT (col3 >= 46)
----
4
6
7
8

statement ok
DELETE FROM tab3 WHERE col3 >= 46

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 46
----

query I rowsort label-5190
SELECT pk FROM tab3 WHERE NOT (col3 >= 46)
----
4
6
7
8

statement ok
DELETE FROM tab4 WHERE col3 >= 46

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 46
----

query I rowsort label-5190
SELECT pk FROM tab4 WHERE NOT (col3 >= 46)
----
4
6
7
8

statement ok
DELETE FROM tab0 WHERE ((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54)))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54)))))))
----

query I rowsort label-5205
SELECT pk FROM tab0 WHERE NOT (((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54))))))))
----

statement ok
DELETE FROM tab1 WHERE ((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54)))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54)))))))
----

query I rowsort label-5205
SELECT pk FROM tab1 WHERE NOT (((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54))))))))
----

statement ok
DELETE FROM tab2 WHERE ((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54)))))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54)))))))
----

query I rowsort label-5205
SELECT pk FROM tab2 WHERE NOT (((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54))))))))
----

statement ok
DELETE FROM tab3 WHERE ((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54)))))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54)))))))
----

query I rowsort label-5205
SELECT pk FROM tab3 WHERE NOT (((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54))))))))
----

statement ok
DELETE FROM tab4 WHERE ((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54)))))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.54)))))))
----

query I rowsort label-5205
SELECT pk FROM tab4 WHERE NOT (((col0 < 54 OR ((col0 > 61 OR col0 > 5 AND col1 = 34.13) OR (((((col3 > 25) OR ((col4 > 1.2) AND (col0 <= 96)) AND col0 >= 66 OR col1 > 49.67 AND ((col0 IN (73))))) AND (col0 >= 17 OR col0 < 30) OR (col3 >= 42)) AND (col1 IS NULL) AND col0 > 91 AND col4 > 49.59) OR (col3 = 92 AND (col3 > 88 OR col0 = 94 AND col4 = 23.59 AND col4 < 24.61) AND (col3 > 20) AND (col4 > 60.12) AND ((col4 IN (58.10,54.77,14.78,88.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,34,66.87,'avmlc',96,47.77,'nophr')

statement ok
INSERT INTO tab0 VALUES(1,28,69.99,'wfzxc',56,79.38,'avbmg')

statement ok
INSERT INTO tab0 VALUES(2,86,4.91,'ozfvl',45,9.9,'qbifm')

statement ok
INSERT INTO tab0 VALUES(3,50,11.45,'mconp',76,60.21,'imalu')

statement ok
INSERT INTO tab0 VALUES(4,46,78.4,'hzyuq',28,61.96,'kqqzf')

statement ok
INSERT INTO tab0 VALUES(5,48,49.35,'wdwpd',10,52.10,'lzybl')

statement ok
INSERT INTO tab0 VALUES(6,38,41.89,'pxpph',20,3.57,'nnbav')

statement ok
INSERT INTO tab0 VALUES(7,72,56.69,'iyhyf',11,25.12,'inlxs')

statement ok
INSERT INTO tab0 VALUES(8,39,89.86,'pxdty',48,80.90,'hzecj')

statement ok
INSERT INTO tab0 VALUES(9,26,48.27,'schup',80,94.14,'rjzwg')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3,col0)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4 DESC,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC,col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col1,col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12)
----

query I rowsort label-5220
SELECT pk FROM tab0 WHERE NOT ((((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12))
----
0
2
5
6
7

statement ok
DELETE FROM tab1 WHERE (((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12)
----

query I rowsort label-5220
SELECT pk FROM tab1 WHERE NOT ((((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12))
----
0
2
5
6
7

statement ok
DELETE FROM tab2 WHERE (((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12)
----

query I rowsort label-5220
SELECT pk FROM tab2 WHERE NOT ((((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12))
----
0
2
5
6
7

statement ok
DELETE FROM tab3 WHERE (((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12)
----

query I rowsort label-5220
SELECT pk FROM tab3 WHERE NOT ((((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12))
----
0
2
5
6
7

statement ok
DELETE FROM tab4 WHERE (((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12)
----

query I rowsort label-5220
SELECT pk FROM tab4 WHERE NOT ((((col3 IS NULL)) OR col4 > 59.22) AND col3 <= 86 OR (col0 < 12))
----
0
2
5
6
7

statement ok
DELETE FROM tab0 WHERE col1 > 70.96 AND col3 > 91

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 70.96 AND col3 > 91
----

query I rowsort label-5235
SELECT pk FROM tab0 WHERE NOT (col1 > 70.96 AND col3 > 91)
----
0
2
5
6
7

statement ok
DELETE FROM tab1 WHERE col1 > 70.96 AND col3 > 91

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 70.96 AND col3 > 91
----

query I rowsort label-5235
SELECT pk FROM tab1 WHERE NOT (col1 > 70.96 AND col3 > 91)
----
0
2
5
6
7

statement ok
DELETE FROM tab2 WHERE col1 > 70.96 AND col3 > 91

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 70.96 AND col3 > 91
----

query I rowsort label-5235
SELECT pk FROM tab2 WHERE NOT (col1 > 70.96 AND col3 > 91)
----
0
2
5
6
7

statement ok
DELETE FROM tab3 WHERE col1 > 70.96 AND col3 > 91

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 70.96 AND col3 > 91
----

query I rowsort label-5235
SELECT pk FROM tab3 WHERE NOT (col1 > 70.96 AND col3 > 91)
----
0
2
5
6
7

statement ok
DELETE FROM tab4 WHERE col1 > 70.96 AND col3 > 91

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 70.96 AND col3 > 91
----

query I rowsort label-5235
SELECT pk FROM tab4 WHERE NOT (col1 > 70.96 AND col3 > 91)
----
0
2
5
6
7

statement ok
DELETE FROM tab0 WHERE ((col0 >= 21))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 21))
----

query I rowsort label-5250
SELECT pk FROM tab0 WHERE NOT (((col0 >= 21)))
----

statement ok
DELETE FROM tab1 WHERE ((col0 >= 21))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 21))
----

query I rowsort label-5250
SELECT pk FROM tab1 WHERE NOT (((col0 >= 21)))
----

statement ok
DELETE FROM tab2 WHERE ((col0 >= 21))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 21))
----

query I rowsort label-5250
SELECT pk FROM tab2 WHERE NOT (((col0 >= 21)))
----

statement ok
DELETE FROM tab3 WHERE ((col0 >= 21))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 21))
----

query I rowsort label-5250
SELECT pk FROM tab3 WHERE NOT (((col0 >= 21)))
----

statement ok
DELETE FROM tab4 WHERE ((col0 >= 21))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 21))
----

query I rowsort label-5250
SELECT pk FROM tab4 WHERE NOT (((col0 >= 21)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,61,61.31,'vwkhy',33,87.69,'tcvwb')

statement ok
INSERT INTO tab0 VALUES(1,26,75.20,'mbzmk',88,31.97,'rjpfs')

statement ok
INSERT INTO tab0 VALUES(2,32,38.89,'kuegx',22,88.81,'nrplp')

statement ok
INSERT INTO tab0 VALUES(3,27,17.30,'fnfls',36,58.16,'svzje')

statement ok
INSERT INTO tab0 VALUES(4,43,7.43,'crmiv',79,0.12,'fbmgm')

statement ok
INSERT INTO tab0 VALUES(5,21,99.51,'rqfrw',56,98.9,'cgzvy')

statement ok
INSERT INTO tab0 VALUES(6,13,35.13,'laauj',47,21.88,'hbdrv')

statement ok
INSERT INTO tab0 VALUES(7,99,77.37,'mttxs',11,89.86,'xyyby')

statement ok
INSERT INTO tab0 VALUES(8,1,67.90,'bguap',7,30.3,'flmfg')

statement ok
INSERT INTO tab0 VALUES(9,91,88.10,'gjyds',2,48.21,'aekpn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4 DESC,col3 DESC,col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE col0 < 74

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 74
----

query I rowsort label-5265
SELECT pk FROM tab0 WHERE NOT (col0 < 74)
----
7
9

statement ok
DELETE FROM tab1 WHERE col0 < 74

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 74
----

query I rowsort label-5265
SELECT pk FROM tab1 WHERE NOT (col0 < 74)
----
7
9

statement ok
DELETE FROM tab2 WHERE col0 < 74

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 74
----

query I rowsort label-5265
SELECT pk FROM tab2 WHERE NOT (col0 < 74)
----
7
9

statement ok
DELETE FROM tab3 WHERE col0 < 74

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 74
----

query I rowsort label-5265
SELECT pk FROM tab3 WHERE NOT (col0 < 74)
----
7
9

statement ok
DELETE FROM tab4 WHERE col0 < 74

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 74
----

query I rowsort label-5265
SELECT pk FROM tab4 WHERE NOT (col0 < 74)
----
7
9

statement ok
DELETE FROM tab0 WHERE col4 >= 97.99

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 97.99
----

query I rowsort label-5280
SELECT pk FROM tab0 WHERE NOT (col4 >= 97.99)
----
7
9

statement ok
DELETE FROM tab1 WHERE col4 >= 97.99

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 97.99
----

query I rowsort label-5280
SELECT pk FROM tab1 WHERE NOT (col4 >= 97.99)
----
7
9

statement ok
DELETE FROM tab2 WHERE col4 >= 97.99

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 97.99
----

query I rowsort label-5280
SELECT pk FROM tab2 WHERE NOT (col4 >= 97.99)
----
7
9

statement ok
DELETE FROM tab3 WHERE col4 >= 97.99

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 97.99
----

query I rowsort label-5280
SELECT pk FROM tab3 WHERE NOT (col4 >= 97.99)
----
7
9

statement ok
DELETE FROM tab4 WHERE col4 >= 97.99

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 97.99
----

query I rowsort label-5280
SELECT pk FROM tab4 WHERE NOT (col4 >= 97.99)
----
7
9

statement ok
DELETE FROM tab0 WHERE col0 >= 29

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 29
----

query I rowsort label-5295
SELECT pk FROM tab0 WHERE NOT (col0 >= 29)
----

statement ok
DELETE FROM tab1 WHERE col0 >= 29

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 29
----

query I rowsort label-5295
SELECT pk FROM tab1 WHERE NOT (col0 >= 29)
----

statement ok
DELETE FROM tab2 WHERE col0 >= 29

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 29
----

query I rowsort label-5295
SELECT pk FROM tab2 WHERE NOT (col0 >= 29)
----

statement ok
DELETE FROM tab3 WHERE col0 >= 29

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 29
----

query I rowsort label-5295
SELECT pk FROM tab3 WHERE NOT (col0 >= 29)
----

statement ok
DELETE FROM tab4 WHERE col0 >= 29

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 29
----

query I rowsort label-5295
SELECT pk FROM tab4 WHERE NOT (col0 >= 29)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,91,55.20,'vraqt',54,89.54,'qitti')

statement ok
INSERT INTO tab0 VALUES(1,23,61.13,'agwte',11,37.1,'bubed')

statement ok
INSERT INTO tab0 VALUES(2,93,2.14,'dxdey',33,94.58,'olkkf')

statement ok
INSERT INTO tab0 VALUES(3,16,94.72,'rohuu',2,80.66,'viqly')

statement ok
INSERT INTO tab0 VALUES(4,81,42.81,'rkuxd',52,58.44,'fuabl')

statement ok
INSERT INTO tab0 VALUES(5,8,43.51,'stzvl',34,41.54,'uyjiy')

statement ok
INSERT INTO tab0 VALUES(6,19,3.63,'jllpf',78,8.61,'khfgu')

statement ok
INSERT INTO tab0 VALUES(7,92,54.33,'yqyjc',53,15.1,'znuln')

statement ok
INSERT INTO tab0 VALUES(8,26,56.78,'xioid',30,9.36,'nwkrd')

statement ok
INSERT INTO tab0 VALUES(9,10,17.76,'vazcu',50,38.23,'gzird')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1,col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4,col1 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0 DESC,col4 DESC,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17)
----

query I rowsort label-5310
SELECT pk FROM tab0 WHERE NOT ((col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17))
----

statement ok
DELETE FROM tab1 WHERE (col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17)
----

query I rowsort label-5310
SELECT pk FROM tab1 WHERE NOT ((col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17))
----

statement ok
DELETE FROM tab2 WHERE (col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17)
----

query I rowsort label-5310
SELECT pk FROM tab2 WHERE NOT ((col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17))
----

statement ok
DELETE FROM tab3 WHERE (col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17)
----

query I rowsort label-5310
SELECT pk FROM tab3 WHERE NOT ((col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17))
----

statement ok
DELETE FROM tab4 WHERE (col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.17)
----

query I rowsort label-5310
SELECT pk FROM tab4 WHERE NOT ((col0 >= 2 OR col3 BETWEEN 0 AND 77 AND (col0 >= 2 AND ((col3 > 14)) OR col3 < 27 OR col0 = 62 AND col3 > 20) OR col1 = 97.56 OR col0 = 92 AND col3 <= 57 AND col3 >= 98 OR ((col0 = 37)) OR (col3 = 35)) OR (col4 >= 94.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,63,98.61,'pxfop',60,20.15,'nwxtr')

statement ok
INSERT INTO tab0 VALUES(1,10,46.31,'pxtlb',86,27.42,'bwcgw')

statement ok
INSERT INTO tab0 VALUES(2,61,78.15,'sogqm',11,61.76,'hnqju')

statement ok
INSERT INTO tab0 VALUES(3,83,92.8,'jrpxk',24,54.6,'vfzez')

statement ok
INSERT INTO tab0 VALUES(4,67,24.98,'fkydv',92,9.21,'iaczh')

statement ok
INSERT INTO tab0 VALUES(5,36,5.74,'vfjqu',73,55.18,'ddhmj')

statement ok
INSERT INTO tab0 VALUES(6,58,31.46,'gdkcz',27,17.17,'xrpyi')

statement ok
INSERT INTO tab0 VALUES(7,64,19.48,'rtusi',29,73.74,'gzoej')

statement ok
INSERT INTO tab0 VALUES(8,52,74.61,'akzot',81,18.93,'kssul')

statement ok
INSERT INTO tab0 VALUES(9,5,49.14,'qixir',26,28.37,'qyliw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 20)
----

query I rowsort label-5325
SELECT pk FROM tab0 WHERE NOT ((col3 >= 20))
----
2

statement ok
DELETE FROM tab1 WHERE (col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 20)
----

query I rowsort label-5325
SELECT pk FROM tab1 WHERE NOT ((col3 >= 20))
----
2

statement ok
DELETE FROM tab2 WHERE (col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 20)
----

query I rowsort label-5325
SELECT pk FROM tab2 WHERE NOT ((col3 >= 20))
----
2

statement ok
DELETE FROM tab3 WHERE (col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 20)
----

query I rowsort label-5325
SELECT pk FROM tab3 WHERE NOT ((col3 >= 20))
----
2

statement ok
DELETE FROM tab4 WHERE (col3 >= 20)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 20)
----

query I rowsort label-5325
SELECT pk FROM tab4 WHERE NOT ((col3 >= 20))
----
2

statement ok
DELETE FROM tab0 WHERE col4 > 49.70

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 49.70
----

query I rowsort label-5340
SELECT pk FROM tab0 WHERE NOT (col4 > 49.70)
----

statement ok
DELETE FROM tab1 WHERE col4 > 49.70

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 49.70
----

query I rowsort label-5340
SELECT pk FROM tab1 WHERE NOT (col4 > 49.70)
----

statement ok
DELETE FROM tab2 WHERE col4 > 49.70

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 49.70
----

query I rowsort label-5340
SELECT pk FROM tab2 WHERE NOT (col4 > 49.70)
----

statement ok
DELETE FROM tab3 WHERE col4 > 49.70

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 49.70
----

query I rowsort label-5340
SELECT pk FROM tab3 WHERE NOT (col4 > 49.70)
----

statement ok
DELETE FROM tab4 WHERE col4 > 49.70

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 49.70
----

query I rowsort label-5340
SELECT pk FROM tab4 WHERE NOT (col4 > 49.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,13,72.62,'ojcdy',98,25.48,'kbgrz')

statement ok
INSERT INTO tab0 VALUES(1,18,94.41,'btfng',23,49.70,'kxjju')

statement ok
INSERT INTO tab0 VALUES(2,95,73.87,'xjzpg',45,82.4,'ilhoz')

statement ok
INSERT INTO tab0 VALUES(3,14,15.33,'nwbia',87,75.49,'qecxt')

statement ok
INSERT INTO tab0 VALUES(4,36,45.59,'yawnz',46,54.83,'logbv')

statement ok
INSERT INTO tab0 VALUES(5,83,18.53,'xgqmc',55,32.20,'rmqpm')

statement ok
INSERT INTO tab0 VALUES(6,94,33.74,'akora',49,20.77,'gbnls')

statement ok
INSERT INTO tab0 VALUES(7,90,43.12,'bhyef',26,43.36,'cezrl')

statement ok
INSERT INTO tab0 VALUES(8,35,70.55,'sghpz',8,48.5,'ldtxo')

statement ok
INSERT INTO tab0 VALUES(9,0,16.48,'dyljt',4,22.81,'sfody')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3 DESC,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 (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 (col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

statement ok
DELETE FROM tab0 WHERE (col3 = 44 AND col3 > 23 AND col0 IN (20,28,23))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 44 AND col3 > 23 AND col0 IN (20,28,23))
----

query I rowsort label-5355
SELECT pk FROM tab0 WHERE NOT ((col3 = 44 AND col3 > 23 AND col0 IN (20,28,23)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 = 44 AND col3 > 23 AND col0 IN (20,28,23))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 44 AND col3 > 23 AND col0 IN (20,28,23))
----

query I rowsort label-5355
SELECT pk FROM tab1 WHERE NOT ((col3 = 44 AND col3 > 23 AND col0 IN (20,28,23)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 = 44 AND col3 > 23 AND col0 IN (20,28,23))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 44 AND col3 > 23 AND col0 IN (20,28,23))
----

query I rowsort label-5355
SELECT pk FROM tab2 WHERE NOT ((col3 = 44 AND col3 > 23 AND col0 IN (20,28,23)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 = 44 AND col3 > 23 AND col0 IN (20,28,23))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 44 AND col3 > 23 AND col0 IN (20,28,23))
----

query I rowsort label-5355
SELECT pk FROM tab3 WHERE NOT ((col3 = 44 AND col3 > 23 AND col0 IN (20,28,23)))
----
10 values hashing to e20b902b49a98