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,15,29.93,'ohais',16,27.82,'bnnit')

statement ok
INSERT INTO tab0 VALUES(1,60,97.57,'lvjlp',61,77.79,'wwagh')

statement ok
INSERT INTO tab0 VALUES(2,97,19.17,'gtogp',11,97.47,'nenep')

statement ok
INSERT INTO tab0 VALUES(3,23,70.49,'oogpu',49,11.23,'ukgsf')

statement ok
INSERT INTO tab0 VALUES(4,44,98.17,'jpsbu',46,66.63,'ybxon')

statement ok
INSERT INTO tab0 VALUES(5,40,30.33,'fldpe',28,53.1,'wvmds')

statement ok
INSERT INTO tab0 VALUES(6,22,96.21,'jutei',36,14.15,'dhpcz')

statement ok
INSERT INTO tab0 VALUES(7,1,31.78,'tyuku',89,55.87,'einft')

statement ok
INSERT INTO tab0 VALUES(8,47,88.36,'hkwfj',48,62.66,'lajrq')

statement ok
INSERT INTO tab0 VALUES(9,51,62.27,'zpvja',76,8.32,'kadzp')

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

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

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

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC)

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col0 > 82

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

query I rowsort label-0
SELECT pk FROM tab0 WHERE NOT (col0 > 82)
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab1 WHERE col0 > 82

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

query I rowsort label-0
SELECT pk FROM tab1 WHERE NOT (col0 > 82)
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab2 WHERE col0 > 82

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

query I rowsort label-0
SELECT pk FROM tab2 WHERE NOT (col0 > 82)
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab3 WHERE col0 > 82

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

query I rowsort label-0
SELECT pk FROM tab3 WHERE NOT (col0 > 82)
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab4 WHERE col0 > 82

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

query I rowsort label-0
SELECT pk FROM tab4 WHERE NOT (col0 > 82)
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab0 WHERE col0 > 46

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

query I rowsort label-15
SELECT pk FROM tab0 WHERE NOT (col0 > 46)
----
0
3
4
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 > 46

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

query I rowsort label-15
SELECT pk FROM tab1 WHERE NOT (col0 > 46)
----
0
3
4
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 > 46

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

query I rowsort label-15
SELECT pk FROM tab2 WHERE NOT (col0 > 46)
----
0
3
4
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 > 46

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

query I rowsort label-15
SELECT pk FROM tab3 WHERE NOT (col0 > 46)
----
0
3
4
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 > 46

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

query I rowsort label-15
SELECT pk FROM tab4 WHERE NOT (col0 > 46)
----
0
3
4
5
6
7

statement ok
DELETE FROM tab0 WHERE col3 <= 29

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

query I rowsort label-30
SELECT pk FROM tab0 WHERE NOT (col3 <= 29)
----
3
4
6
7

statement ok
DELETE FROM tab1 WHERE col3 <= 29

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

query I rowsort label-30
SELECT pk FROM tab1 WHERE NOT (col3 <= 29)
----
3
4
6
7

statement ok
DELETE FROM tab2 WHERE col3 <= 29

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

query I rowsort label-30
SELECT pk FROM tab2 WHERE NOT (col3 <= 29)
----
3
4
6
7

statement ok
DELETE FROM tab3 WHERE col3 <= 29

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

query I rowsort label-30
SELECT pk FROM tab3 WHERE NOT (col3 <= 29)
----
3
4
6
7

statement ok
DELETE FROM tab4 WHERE col3 <= 29

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

query I rowsort label-30
SELECT pk FROM tab4 WHERE NOT (col3 <= 29)
----
3
4
6
7

statement ok
DELETE FROM tab0 WHERE (col1 > 87.46)

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

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

statement ok
DELETE FROM tab1 WHERE (col1 > 87.46)

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

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

statement ok
DELETE FROM tab2 WHERE (col1 > 87.46)

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

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

statement ok
DELETE FROM tab3 WHERE (col1 > 87.46)

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

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

statement ok
DELETE FROM tab4 WHERE (col1 > 87.46)

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

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

statement ok
DELETE FROM tab0 WHERE col4 = 21.8

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

query I rowsort label-60
SELECT pk FROM tab0 WHERE NOT (col4 = 21.8)
----
3
7

statement ok
DELETE FROM tab1 WHERE col4 = 21.8

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

query I rowsort label-60
SELECT pk FROM tab1 WHERE NOT (col4 = 21.8)
----
3
7

statement ok
DELETE FROM tab2 WHERE col4 = 21.8

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

query I rowsort label-60
SELECT pk FROM tab2 WHERE NOT (col4 = 21.8)
----
3
7

statement ok
DELETE FROM tab3 WHERE col4 = 21.8

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

query I rowsort label-60
SELECT pk FROM tab3 WHERE NOT (col4 = 21.8)
----
3
7

statement ok
DELETE FROM tab4 WHERE col4 = 21.8

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

query I rowsort label-60
SELECT pk FROM tab4 WHERE NOT (col4 = 21.8)
----
3
7

statement ok
DELETE FROM tab0 WHERE ((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39
----

query I rowsort label-75
SELECT pk FROM tab0 WHERE NOT (((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39)
----

statement ok
DELETE FROM tab1 WHERE ((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39
----

query I rowsort label-75
SELECT pk FROM tab1 WHERE NOT (((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39)
----

statement ok
DELETE FROM tab2 WHERE ((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39
----

query I rowsort label-75
SELECT pk FROM tab2 WHERE NOT (((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39)
----

statement ok
DELETE FROM tab3 WHERE ((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39
----

query I rowsort label-75
SELECT pk FROM tab3 WHERE NOT (((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39)
----

statement ok
DELETE FROM tab4 WHERE ((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39
----

query I rowsort label-75
SELECT pk FROM tab4 WHERE NOT (((((col3 > 61) AND ((col3 > 71))))) OR col3 >= 39)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,80,21.93,'ubpbi',93,38.61,'ujsuu')

statement ok
INSERT INTO tab0 VALUES(1,78,63.82,'xtiep',55,59.25,'mwocq')

statement ok
INSERT INTO tab0 VALUES(2,13,33.28,'omrad',87,20.68,'koykr')

statement ok
INSERT INTO tab0 VALUES(3,0,60.10,'mzpyq',56,4.6,'bvwqn')

statement ok
INSERT INTO tab0 VALUES(4,7,20.64,'oiexs',81,21.73,'mkiad')

statement ok
INSERT INTO tab0 VALUES(5,64,99.97,'rzeoz',57,74.28,'wpyzs')

statement ok
INSERT INTO tab0 VALUES(6,79,55.1,'caxlf',58,17.73,'hfjlz')

statement ok
INSERT INTO tab0 VALUES(7,46,82.63,'ecmck',49,22.59,'dvfxe')

statement ok
INSERT INTO tab0 VALUES(8,62,68.80,'dstfa',11,37.6,'ywnli')

statement ok
INSERT INTO tab0 VALUES(9,36,64.69,'lhvry',39,53.8,'wtibe')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3)

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col4 < 75.39

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

query I rowsort label-90
SELECT pk FROM tab0 WHERE NOT (col4 < 75.39)
----

statement ok
DELETE FROM tab1 WHERE col4 < 75.39

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

query I rowsort label-90
SELECT pk FROM tab1 WHERE NOT (col4 < 75.39)
----

statement ok
DELETE FROM tab2 WHERE col4 < 75.39

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

query I rowsort label-90
SELECT pk FROM tab2 WHERE NOT (col4 < 75.39)
----

statement ok
DELETE FROM tab3 WHERE col4 < 75.39

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

query I rowsort label-90
SELECT pk FROM tab3 WHERE NOT (col4 < 75.39)
----

statement ok
DELETE FROM tab4 WHERE col4 < 75.39

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

query I rowsort label-90
SELECT pk FROM tab4 WHERE NOT (col4 < 75.39)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,28,71.13,'bdola',69,45.89,'kuguk')

statement ok
INSERT INTO tab0 VALUES(1,85,34.1,'ubkyl',95,39.83,'dftzj')

statement ok
INSERT INTO tab0 VALUES(2,61,46.75,'jognc',35,70.94,'chelu')

statement ok
INSERT INTO tab0 VALUES(3,34,59.12,'pveri',7,71.47,'sdlim')

statement ok
INSERT INTO tab0 VALUES(4,29,95.72,'xfhum',3,56.29,'oqltd')

statement ok
INSERT INTO tab0 VALUES(5,73,62.59,'hevwc',51,31.50,'lvgcb')

statement ok
INSERT INTO tab0 VALUES(6,59,66.83,'qqjgd',79,5.9,'otkvn')

statement ok
INSERT INTO tab0 VALUES(7,14,24.23,'stsxz',73,6.57,'nwrcv')

statement ok
INSERT INTO tab0 VALUES(8,54,74.89,'ininp',48,87.55,'swqgk')

statement ok
INSERT INTO tab0 VALUES(9,52,92.85,'plgqr',99,47.40,'cdiry')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0)

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

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE ((col4 > 91.57))

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

query I rowsort label-105
SELECT pk FROM tab0 WHERE NOT (((col4 > 91.57)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col4 > 91.57))

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

query I rowsort label-105
SELECT pk FROM tab1 WHERE NOT (((col4 > 91.57)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col4 > 91.57))

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

query I rowsort label-105
SELECT pk FROM tab2 WHERE NOT (((col4 > 91.57)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col4 > 91.57))

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

query I rowsort label-105
SELECT pk FROM tab3 WHERE NOT (((col4 > 91.57)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col4 > 91.57))

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

query I rowsort label-105
SELECT pk FROM tab4 WHERE NOT (((col4 > 91.57)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col1 > 16.22)

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

query I rowsort label-120
SELECT pk FROM tab0 WHERE NOT ((col1 > 16.22))
----

statement ok
DELETE FROM tab1 WHERE (col1 > 16.22)

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

query I rowsort label-120
SELECT pk FROM tab1 WHERE NOT ((col1 > 16.22))
----

statement ok
DELETE FROM tab2 WHERE (col1 > 16.22)

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

query I rowsort label-120
SELECT pk FROM tab2 WHERE NOT ((col1 > 16.22))
----

statement ok
DELETE FROM tab3 WHERE (col1 > 16.22)

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

query I rowsort label-120
SELECT pk FROM tab3 WHERE NOT ((col1 > 16.22))
----

statement ok
DELETE FROM tab4 WHERE (col1 > 16.22)

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

query I rowsort label-120
SELECT pk FROM tab4 WHERE NOT ((col1 > 16.22))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,12,67.43,'aajqd',32,29.94,'axqsy')

statement ok
INSERT INTO tab0 VALUES(1,28,83.27,'oohwf',34,5.72,'xnmqv')

statement ok
INSERT INTO tab0 VALUES(2,72,23.68,'ejsxf',28,85.55,'rwnop')

statement ok
INSERT INTO tab0 VALUES(3,40,91.78,'osgvm',3,89.7,'nwikb')

statement ok
INSERT INTO tab0 VALUES(4,81,28.65,'rjcwc',36,80.70,'kegbj')

statement ok
INSERT INTO tab0 VALUES(5,64,21.93,'sdexz',50,75.22,'eylwa')

statement ok
INSERT INTO tab0 VALUES(6,34,20.44,'koiea',83,57.40,'ogxkb')

statement ok
INSERT INTO tab0 VALUES(7,83,45.84,'yllyg',43,90.66,'owwye')

statement ok
INSERT INTO tab0 VALUES(8,5,3.19,'fpmzu',75,24.65,'huqgw')

statement ok
INSERT INTO tab0 VALUES(9,62,98.66,'zmskf',25,21.93,'ixxcm')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE ((((col0 < 24)) AND (col3 > 38) AND col3 = 76))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col0 < 24)) AND (col3 > 38) AND col3 = 76))
----

query I rowsort label-135
SELECT pk FROM tab0 WHERE NOT (((((col0 < 24)) AND (col3 > 38) AND col3 = 76)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((((col0 < 24)) AND (col3 > 38) AND col3 = 76))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col0 < 24)) AND (col3 > 38) AND col3 = 76))
----

query I rowsort label-135
SELECT pk FROM tab1 WHERE NOT (((((col0 < 24)) AND (col3 > 38) AND col3 = 76)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((((col0 < 24)) AND (col3 > 38) AND col3 = 76))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col0 < 24)) AND (col3 > 38) AND col3 = 76))
----

query I rowsort label-135
SELECT pk FROM tab2 WHERE NOT (((((col0 < 24)) AND (col3 > 38) AND col3 = 76)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((((col0 < 24)) AND (col3 > 38) AND col3 = 76))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col0 < 24)) AND (col3 > 38) AND col3 = 76))
----

query I rowsort label-135
SELECT pk FROM tab3 WHERE NOT (((((col0 < 24)) AND (col3 > 38) AND col3 = 76)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((((col0 < 24)) AND (col3 > 38) AND col3 = 76))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col0 < 24)) AND (col3 > 38) AND col3 = 76))
----

query I rowsort label-135
SELECT pk FROM tab4 WHERE NOT (((((col0 < 24)) AND (col3 > 38) AND col3 = 76)))
----
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-150
SELECT pk FROM tab0 WHERE NOT (col3 > 76)
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab1 WHERE col3 > 76

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

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

statement ok
DELETE FROM tab2 WHERE col3 > 76

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

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

statement ok
DELETE FROM tab3 WHERE col3 > 76

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

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

statement ok
DELETE FROM tab4 WHERE col3 > 76

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

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

statement ok
DELETE FROM tab0 WHERE col0 >= 68

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

query I rowsort label-165
SELECT pk FROM tab0 WHERE NOT (col0 >= 68)
----
0
1
3
5
8
9

statement ok
DELETE FROM tab1 WHERE col0 >= 68

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

query I rowsort label-165
SELECT pk FROM tab1 WHERE NOT (col0 >= 68)
----
0
1
3
5
8
9

statement ok
DELETE FROM tab2 WHERE col0 >= 68

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

query I rowsort label-165
SELECT pk FROM tab2 WHERE NOT (col0 >= 68)
----
0
1
3
5
8
9

statement ok
DELETE FROM tab3 WHERE col0 >= 68

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

query I rowsort label-165
SELECT pk FROM tab3 WHERE NOT (col0 >= 68)
----
0
1
3
5
8
9

statement ok
DELETE FROM tab4 WHERE col0 >= 68

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

query I rowsort label-165
SELECT pk FROM tab4 WHERE NOT (col0 >= 68)
----
0
1
3
5
8
9

statement ok
DELETE FROM tab0 WHERE ((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL
----

query I rowsort label-180
SELECT pk FROM tab0 WHERE NOT (((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL)
----
0
1
3

statement ok
DELETE FROM tab1 WHERE ((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL
----

query I rowsort label-180
SELECT pk FROM tab1 WHERE NOT (((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL)
----
0
1
3

statement ok
DELETE FROM tab2 WHERE ((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL
----

query I rowsort label-180
SELECT pk FROM tab2 WHERE NOT (((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL)
----
0
1
3

statement ok
DELETE FROM tab3 WHERE ((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL
----

query I rowsort label-180
SELECT pk FROM tab3 WHERE NOT (((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL)
----
0
1
3

statement ok
DELETE FROM tab4 WHERE ((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL
----

query I rowsort label-180
SELECT pk FROM tab4 WHERE NOT (((col4 < 37.98 AND col1 < 82.19 AND col3 < 89)) AND col3 >= 54 AND ((col0 <= 89) OR (col1 > 65.36) OR col1 IN (39.12,17.80,32.64,85.3,70.95) AND (col3 < 55)) OR (col1 < 48.83 OR col0 >= 61 OR col3 IS NULL) AND (col4 < 84.48 OR col3 < 46) OR (col0 > 42) OR (col1 IS NULL) AND col0 IS NULL AND ((col3 >= 2 OR (col0 < 16))) AND col0 < 4 OR (col0 = 79 AND (col0 > 67) AND ((col3 = 96) OR col0 IS NULL OR col1 BETWEEN 4.15 AND 2.96 AND (col4 >= 92.48) AND ((col1 <= 27.88)) OR col3 = 34)) OR (col1 IS NULL) OR col3 IS NULL AND (col3 <= 81 OR col4 > 54.4 OR col0 < 79 OR (col3 > 9) AND col0 >= 44) AND ((((col1 IN (29.57,40.59,12.79,38.24,67.37))) AND col0 >= 34)) AND col3 IN (98,51,57,36) OR col3 IS NULL)
----
0
1
3

statement ok
DELETE FROM tab0 WHERE (col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1
----

query I rowsort label-195
SELECT pk FROM tab0 WHERE NOT ((col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1)
----
0
1
3

statement ok
DELETE FROM tab1 WHERE (col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1
----

query I rowsort label-195
SELECT pk FROM tab1 WHERE NOT ((col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1)
----
0
1
3

statement ok
DELETE FROM tab2 WHERE (col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1
----

query I rowsort label-195
SELECT pk FROM tab2 WHERE NOT ((col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1)
----
0
1
3

statement ok
DELETE FROM tab3 WHERE (col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1
----

query I rowsort label-195
SELECT pk FROM tab3 WHERE NOT ((col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1)
----
0
1
3

statement ok
DELETE FROM tab4 WHERE (col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1
----

query I rowsort label-195
SELECT pk FROM tab4 WHERE NOT ((col0 > 43) OR ((((col0 < 42 AND (((col3 > 98) AND (col3 < 78) OR (col4 > 34.25) OR (((col3 > 28) OR (col0 < 78) OR col3 > 45))))) OR col1 > 85.39 AND ((col3 < 63 OR (col0 <= 35 OR col0 = 45) OR col0 <= 72 AND col0 >= 60 AND (col3 > 9) OR (col4 < 96.75) AND col1 < 97.13 AND col4 < 87.44 OR col0 = 22)) OR ((col1 > 74.53)) OR ((col1 > 9.34)) AND col1 <= 69.64) AND col3 > 69 AND (col0 < 39))) OR (col3 IS NULL) OR ((col4 IN (81.67)) AND (col4 > 29.26) AND (((col4 IS NULL))) OR col0 >= 37) AND col0 >= 61 AND col3 <= 1)
----
0
1
3

statement ok
DELETE FROM tab0 WHERE col3 > 78

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

query I rowsort label-210
SELECT pk FROM tab0 WHERE NOT (col3 > 78)
----
0
1
3

statement ok
DELETE FROM tab1 WHERE col3 > 78

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

query I rowsort label-210
SELECT pk FROM tab1 WHERE NOT (col3 > 78)
----
0
1
3

statement ok
DELETE FROM tab2 WHERE col3 > 78

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

query I rowsort label-210
SELECT pk FROM tab2 WHERE NOT (col3 > 78)
----
0
1
3

statement ok
DELETE FROM tab3 WHERE col3 > 78

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

query I rowsort label-210
SELECT pk FROM tab3 WHERE NOT (col3 > 78)
----
0
1
3

statement ok
DELETE FROM tab4 WHERE col3 > 78

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

query I rowsort label-210
SELECT pk FROM tab4 WHERE NOT (col3 > 78)
----
0
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,25,74.4,'vvcgn',47,57.68,'ymlye')

statement ok
INSERT INTO tab0 VALUES(1,72,81.64,'zsnbm',42,74.55,'tzagd')

statement ok
INSERT INTO tab0 VALUES(2,45,38.39,'dmsso',87,29.20,'ywydk')

statement ok
INSERT INTO tab0 VALUES(3,81,97.79,'tdbjm',48,89.67,'hvaol')

statement ok
INSERT INTO tab0 VALUES(4,17,18.5,'ddcya',66,87.1,'ndulx')

statement ok
INSERT INTO tab0 VALUES(5,46,83.75,'khqpe',31,31.98,'hzpio')

statement ok
INSERT INTO tab0 VALUES(6,85,8.45,'ugwie',30,22.61,'klsxt')

statement ok
INSERT INTO tab0 VALUES(7,36,54.34,'pflrv',18,61.89,'vrltg')

statement ok
INSERT INTO tab0 VALUES(8,47,41.84,'plpkl',76,65.31,'yzivj')

statement ok
INSERT INTO tab0 VALUES(9,76,63.21,'uakya',80,80.58,'ocfgj')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE 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 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3)

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col3 = 54 AND col1 <= 76.83

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 54 AND col1 <= 76.83
----

query I rowsort label-225
SELECT pk FROM tab0 WHERE NOT (col3 = 54 AND col1 <= 76.83)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 = 54 AND col1 <= 76.83

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 54 AND col1 <= 76.83
----

query I rowsort label-225
SELECT pk FROM tab1 WHERE NOT (col3 = 54 AND col1 <= 76.83)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 = 54 AND col1 <= 76.83

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 54 AND col1 <= 76.83
----

query I rowsort label-225
SELECT pk FROM tab2 WHERE NOT (col3 = 54 AND col1 <= 76.83)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 = 54 AND col1 <= 76.83

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 54 AND col1 <= 76.83
----

query I rowsort label-225
SELECT pk FROM tab3 WHERE NOT (col3 = 54 AND col1 <= 76.83)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 = 54 AND col1 <= 76.83

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 54 AND col1 <= 76.83
----

query I rowsort label-225
SELECT pk FROM tab4 WHERE NOT (col3 = 54 AND col1 <= 76.83)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col4 > 71.47) OR col0 IN (98,26,25,60)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 71.47) OR col0 IN (98,26,25,60)
----

query I rowsort label-240
SELECT pk FROM tab0 WHERE NOT ((col4 > 71.47) OR col0 IN (98,26,25,60))
----
2
5
6
7
8

statement ok
DELETE FROM tab1 WHERE (col4 > 71.47) OR col0 IN (98,26,25,60)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 71.47) OR col0 IN (98,26,25,60)
----

query I rowsort label-240
SELECT pk FROM tab1 WHERE NOT ((col4 > 71.47) OR col0 IN (98,26,25,60))
----
2
5
6
7
8

statement ok
DELETE FROM tab2 WHERE (col4 > 71.47) OR col0 IN (98,26,25,60)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 71.47) OR col0 IN (98,26,25,60)
----

query I rowsort label-240
SELECT pk FROM tab2 WHERE NOT ((col4 > 71.47) OR col0 IN (98,26,25,60))
----
2
5
6
7
8

statement ok
DELETE FROM tab3 WHERE (col4 > 71.47) OR col0 IN (98,26,25,60)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 71.47) OR col0 IN (98,26,25,60)
----

query I rowsort label-240
SELECT pk FROM tab3 WHERE NOT ((col4 > 71.47) OR col0 IN (98,26,25,60))
----
2
5
6
7
8

statement ok
DELETE FROM tab4 WHERE (col4 > 71.47) OR col0 IN (98,26,25,60)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 71.47) OR col0 IN (98,26,25,60)
----

query I rowsort label-240
SELECT pk FROM tab4 WHERE NOT ((col4 > 71.47) OR col0 IN (98,26,25,60))
----
2
5
6
7
8

statement ok
DELETE FROM tab0 WHERE ((col0 > 32) AND col0 < 87)

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

query I rowsort label-255
SELECT pk FROM tab0 WHERE NOT (((col0 > 32) AND col0 < 87))
----

statement ok
DELETE FROM tab1 WHERE ((col0 > 32) AND col0 < 87)

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

query I rowsort label-255
SELECT pk FROM tab1 WHERE NOT (((col0 > 32) AND col0 < 87))
----

statement ok
DELETE FROM tab2 WHERE ((col0 > 32) AND col0 < 87)

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

query I rowsort label-255
SELECT pk FROM tab2 WHERE NOT (((col0 > 32) AND col0 < 87))
----

statement ok
DELETE FROM tab3 WHERE ((col0 > 32) AND col0 < 87)

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

query I rowsort label-255
SELECT pk FROM tab3 WHERE NOT (((col0 > 32) AND col0 < 87))
----

statement ok
DELETE FROM tab4 WHERE ((col0 > 32) AND col0 < 87)

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

query I rowsort label-255
SELECT pk FROM tab4 WHERE NOT (((col0 > 32) AND 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,35,43.83,'ontrz',22,0.99,'amqry')

statement ok
INSERT INTO tab0 VALUES(1,79,39.16,'vjklf',70,81.9,'hness')

statement ok
INSERT INTO tab0 VALUES(2,60,67.72,'ibxrg',25,6.45,'pscgk')

statement ok
INSERT INTO tab0 VALUES(3,84,0.58,'bklqa',34,23.87,'plubh')

statement ok
INSERT INTO tab0 VALUES(4,6,68.19,'tmaet',24,44.35,'mtjil')

statement ok
INSERT INTO tab0 VALUES(5,90,61.1,'gmofe',65,48.72,'zcdfb')

statement ok
INSERT INTO tab0 VALUES(6,76,55.12,'lebnv',30,5.22,'mujmq')

statement ok
INSERT INTO tab0 VALUES(7,39,16.85,'nqtfu',61,80.18,'dusbw')

statement ok
INSERT INTO tab0 VALUES(8,53,11.42,'yvfmg',31,49.61,'ceduz')

statement ok
INSERT INTO tab0 VALUES(9,54,26.54,'tgiei',3,8.82,'pzdxv')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0 DESC)

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18))
----

query I rowsort label-270
SELECT pk FROM tab0 WHERE NOT ((col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18)))
----
2
5
6

statement ok
DELETE FROM tab1 WHERE (col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18))
----

query I rowsort label-270
SELECT pk FROM tab1 WHERE NOT ((col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18)))
----
2
5
6

statement ok
DELETE FROM tab2 WHERE (col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18))
----

query I rowsort label-270
SELECT pk FROM tab2 WHERE NOT ((col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18)))
----
2
5
6

statement ok
DELETE FROM tab3 WHERE (col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18))
----

query I rowsort label-270
SELECT pk FROM tab3 WHERE NOT ((col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18)))
----
2
5
6

statement ok
DELETE FROM tab4 WHERE (col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18))
----

query I rowsort label-270
SELECT pk FROM tab4 WHERE NOT ((col1 < 51.1 OR col4 = 57.46 AND (col0 IS NULL) OR ((col3 > 64) AND col3 = 68) AND (col4 > 63.86 AND col0 >= 10 OR col3 >= 42 AND col0 > 84 AND (col1 IS NULL OR col0 < 15) OR col1 > 56.48 AND (col3 IN (1,67,0,15,52,87) AND (col1 > 11.7) AND col0 >= 93 OR col0 <= 20 AND col1 >= 14.28 AND col0 > 72) AND col3 <= 57 AND ((col3 IS NULL))) AND col4 >= 5.28 OR (col3 > 51 OR col1 >= 18.64) AND col4 > 15.70 AND col3 <= 53 OR (col3 > 44 AND (col3 = 97) OR col1 = 69.96) AND (col1 > 32.18)))
----
2
5
6

statement ok
DELETE FROM tab0 WHERE (col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96))
----

query I rowsort label-285
SELECT pk FROM tab0 WHERE NOT ((col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96)))
----
2
5
6

statement ok
DELETE FROM tab1 WHERE (col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96))
----

query I rowsort label-285
SELECT pk FROM tab1 WHERE NOT ((col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96)))
----
2
5
6

statement ok
DELETE FROM tab2 WHERE (col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96))
----

query I rowsort label-285
SELECT pk FROM tab2 WHERE NOT ((col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96)))
----
2
5
6

statement ok
DELETE FROM tab3 WHERE (col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96))
----

query I rowsort label-285
SELECT pk FROM tab3 WHERE NOT ((col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96)))
----
2
5
6

statement ok
DELETE FROM tab4 WHERE (col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96))
----

query I rowsort label-285
SELECT pk FROM tab4 WHERE NOT ((col1 >= 13.56 AND (col0 <= 10 OR col3 >= 15 AND col3 >= 96)))
----
2
5
6

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,65,85.43,'rvqft',7,51.54,'hmdjl')

statement ok
INSERT INTO tab0 VALUES(1,36,90.69,'rgvqk',33,42.4,'majpw')

statement ok
INSERT INTO tab0 VALUES(2,97,14.24,'vuksu',51,53.53,'jvyti')

statement ok
INSERT INTO tab0 VALUES(3,67,66.82,'tvomk',4,18.2,'vobrl')

statement ok
INSERT INTO tab0 VALUES(4,55,82.37,'ofvyk',9,56.1,'iguvp')

statement ok
INSERT INTO tab0 VALUES(5,25,40.60,'bbcyx',17,80.10,'xzemb')

statement ok
INSERT INTO tab0 VALUES(6,54,69.66,'qgvna',74,14.64,'mikri')

statement ok
INSERT INTO tab0 VALUES(7,1,64.75,'rcetz',89,1.33,'ugxqy')

statement ok
INSERT INTO tab0 VALUES(8,63,96.74,'kaegg',90,20.88,'rolpv')

statement ok
INSERT INTO tab0 VALUES(9,41,27.81,'gbqyt',91,94.56,'dniej')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col0 < 90 AND col0 IN (69,30,30)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 90 AND col0 IN (69,30,30)
----

query I rowsort label-300
SELECT pk FROM tab0 WHERE NOT (col0 < 90 AND col0 IN (69,30,30))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 < 90 AND col0 IN (69,30,30)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 90 AND col0 IN (69,30,30)
----

query I rowsort label-300
SELECT pk FROM tab1 WHERE NOT (col0 < 90 AND col0 IN (69,30,30))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 < 90 AND col0 IN (69,30,30)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 90 AND col0 IN (69,30,30)
----

query I rowsort label-300
SELECT pk FROM tab2 WHERE NOT (col0 < 90 AND col0 IN (69,30,30))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 < 90 AND col0 IN (69,30,30)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 90 AND col0 IN (69,30,30)
----

query I rowsort label-300
SELECT pk FROM tab3 WHERE NOT (col0 < 90 AND col0 IN (69,30,30))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 < 90 AND col0 IN (69,30,30)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 90 AND col0 IN (69,30,30)
----

query I rowsort label-300
SELECT pk FROM tab4 WHERE NOT (col0 < 90 AND col0 IN (69,30,30))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 < 68

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

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

statement ok
DELETE FROM tab1 WHERE col0 < 68

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

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

statement ok
DELETE FROM tab2 WHERE col0 < 68

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

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

statement ok
DELETE FROM tab3 WHERE col0 < 68

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

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

statement ok
DELETE FROM tab4 WHERE col0 < 68

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

query I rowsort label-315
SELECT pk FROM tab4 WHERE NOT (col0 < 68)
----
2

statement ok
DELETE FROM tab0 WHERE col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17
----

query I rowsort label-330
SELECT pk FROM tab0 WHERE NOT (col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17)
----

statement ok
DELETE FROM tab1 WHERE col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17
----

query I rowsort label-330
SELECT pk FROM tab1 WHERE NOT (col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17)
----

statement ok
DELETE FROM tab2 WHERE col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17
----

query I rowsort label-330
SELECT pk FROM tab2 WHERE NOT (col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17)
----

statement ok
DELETE FROM tab3 WHERE col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17
----

query I rowsort label-330
SELECT pk FROM tab3 WHERE NOT (col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17)
----

statement ok
DELETE FROM tab4 WHERE col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17
----

query I rowsort label-330
SELECT pk FROM tab4 WHERE NOT (col1 < 56.85 AND ((col0 IS NULL AND col0 < 54 AND col3 < 89 AND ((((col3 <= 40) OR (col3 < 35) OR col0 = 49 OR col0 < 36 AND (col3 < 53) OR col3 < 7)) OR col3 > 14 AND col0 > 63 AND (((col3 = 34 AND (col3 <= 61)) OR ((col4 > 92.41 OR col1 > 95.60 AND (col3 > 79 AND (((col4 >= 76.53)))))) OR col0 > 48 AND (col0 IN (70,59,14,10,2,33) AND col3 >= 61 OR col4 IS NULL AND (((col4 < 96.24))))))) AND col0 > 3 OR ((col0 > 17 OR col0 > 1 AND col3 > 76))) OR col1 > 70.99) AND col3 > 17)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,92,9.22,'srxfa',60,28.1,'anakt')

statement ok
INSERT INTO tab0 VALUES(1,53,99.63,'iwktz',67,11.96,'gluho')

statement ok
INSERT INTO tab0 VALUES(2,41,40.1,'almgr',37,9.88,'vzeac')

statement ok
INSERT INTO tab0 VALUES(3,22,27.80,'povjs',80,80.27,'lonoy')

statement ok
INSERT INTO tab0 VALUES(4,16,89.41,'yztvn',92,27.35,'pisvb')

statement ok
INSERT INTO tab0 VALUES(5,61,3.81,'jlkff',19,6.74,'ouoiq')

statement ok
INSERT INTO tab0 VALUES(6,74,8.16,'nktga',17,38.5,'sntqn')

statement ok
INSERT INTO tab0 VALUES(7,17,12.42,'rsuvd',15,25.51,'mtcde')

statement ok
INSERT INTO tab0 VALUES(8,51,13.2,'tcqhb',79,61.61,'nxqrv')

statement ok
INSERT INTO tab0 VALUES(9,13,1.41,'lxrgn',74,43.72,'xkpcq')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,58,38.51,'zecif',17,98.4,'cqgae')

statement ok
INSERT INTO tab0 VALUES(1,66,84.51,'iouyv',93,11.11,'eglyx')

statement ok
INSERT INTO tab0 VALUES(2,61,33.1,'wxszm',44,29.73,'cnpkh')

statement ok
INSERT INTO tab0 VALUES(3,31,0.24,'yzvpf',84,85.55,'xezsu')

statement ok
INSERT INTO tab0 VALUES(4,70,79.5,'zkqpa',41,72.42,'btcoe')

statement ok
INSERT INTO tab0 VALUES(5,93,1.10,'dupqq',70,6.55,'zyiuc')

statement ok
INSERT INTO tab0 VALUES(6,47,6.93,'ttyhu',64,86.60,'rmqyt')

statement ok
INSERT INTO tab0 VALUES(7,25,96.9,'diedf',65,59.82,'mmacj')

statement ok
INSERT INTO tab0 VALUES(8,74,2.32,'grtby',83,81.19,'mkgab')

statement ok
INSERT INTO tab0 VALUES(9,14,45.61,'crqcf',98,82.50,'ijnkh')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49
----

query I rowsort label-345
SELECT pk FROM tab0 WHERE NOT (col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49
----

query I rowsort label-345
SELECT pk FROM tab1 WHERE NOT (col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49
----

query I rowsort label-345
SELECT pk FROM tab2 WHERE NOT (col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49
----

query I rowsort label-345
SELECT pk FROM tab3 WHERE NOT (col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49
----

query I rowsort label-345
SELECT pk FROM tab4 WHERE NOT (col0 BETWEEN 33 AND 70 AND (col4 >= 40.95 AND (((col3 > 89 OR (col0 IN (97,64,20,27,87))) AND col4 > 77.98 AND col4 < 65.99 OR col1 = 25.2 OR col3 > 12 AND col0 = 59))) OR col0 > 59 AND col4 < 45.47 AND (col0 < 36) AND (col4 > 35.29) AND col0 = 70 AND col4 >= 3.36 OR (col0 > 14) AND col1 = 59.49)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19)))
----

query I rowsort label-360
SELECT pk FROM tab0 WHERE NOT ((col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19))))
----
5
8

statement ok
DELETE FROM tab1 WHERE (col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19)))
----

query I rowsort label-360
SELECT pk FROM tab1 WHERE NOT ((col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19))))
----
5
8

statement ok
DELETE FROM tab2 WHERE (col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19)))
----

query I rowsort label-360
SELECT pk FROM tab2 WHERE NOT ((col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19))))
----
5
8

statement ok
DELETE FROM tab3 WHERE (col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19)))
----

query I rowsort label-360
SELECT pk FROM tab3 WHERE NOT ((col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19))))
----
5
8

statement ok
DELETE FROM tab4 WHERE (col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19)))
----

query I rowsort label-360
SELECT pk FROM tab4 WHERE NOT ((col0 < 48 OR col1 >= 92.49) OR (col0 >= 6 AND ((col1 > 10.19))))
----
5
8

statement ok
DELETE FROM tab0 WHERE (col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78)))
----

query I rowsort label-375
SELECT pk FROM tab0 WHERE NOT ((col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78))))
----

statement ok
DELETE FROM tab1 WHERE (col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78)))
----

query I rowsort label-375
SELECT pk FROM tab1 WHERE NOT ((col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78))))
----

statement ok
DELETE FROM tab2 WHERE (col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78)))
----

query I rowsort label-375
SELECT pk FROM tab2 WHERE NOT ((col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78))))
----

statement ok
DELETE FROM tab3 WHERE (col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78)))
----

query I rowsort label-375
SELECT pk FROM tab3 WHERE NOT ((col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78))))
----

statement ok
DELETE FROM tab4 WHERE (col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78)))
----

query I rowsort label-375
SELECT pk FROM tab4 WHERE NOT ((col3 < 78) AND col3 BETWEEN 69 AND 5 OR ((col1 < 28.62 AND (col3 IN (67,44,26,24,92,75)) OR (col1 <= 63.78))))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,99,96.0,'cooho',78,24.91,'zhwbj')

statement ok
INSERT INTO tab0 VALUES(1,27,74.44,'wumfv',79,85.13,'xacdc')

statement ok
INSERT INTO tab0 VALUES(2,73,90.33,'aicyi',99,97.76,'dqpax')

statement ok
INSERT INTO tab0 VALUES(3,39,37.14,'hhgwi',38,63.5,'bnpvi')

statement ok
INSERT INTO tab0 VALUES(4,83,27.82,'ymddg',85,6.59,'cywbk')

statement ok
INSERT INTO tab0 VALUES(5,89,99.48,'xsodq',83,84.89,'xntjy')

statement ok
INSERT INTO tab0 VALUES(6,28,35.94,'urabg',93,5.2,'kbkcn')

statement ok
INSERT INTO tab0 VALUES(7,15,70.43,'biwvj',56,36.25,'xzwxs')

statement ok
INSERT INTO tab0 VALUES(8,84,6.17,'htiir',57,16.65,'kcemf')

statement ok
INSERT INTO tab0 VALUES(9,35,24.1,'aqtjo',84,71.76,'kdnbx')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col4 = 73.43

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

query I rowsort label-390
SELECT pk FROM tab0 WHERE NOT (col4 = 73.43)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 = 73.43

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

query I rowsort label-390
SELECT pk FROM tab1 WHERE NOT (col4 = 73.43)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 = 73.43

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

query I rowsort label-390
SELECT pk FROM tab2 WHERE NOT (col4 = 73.43)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 = 73.43

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

query I rowsort label-390
SELECT pk FROM tab3 WHERE NOT (col4 = 73.43)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 = 73.43

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

query I rowsort label-390
SELECT pk FROM tab4 WHERE NOT (col4 = 73.43)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 >= 57

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

query I rowsort label-405
SELECT pk FROM tab0 WHERE NOT (col3 >= 57)
----
3
7

statement ok
DELETE FROM tab1 WHERE col3 >= 57

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

query I rowsort label-405
SELECT pk FROM tab1 WHERE NOT (col3 >= 57)
----
3
7

statement ok
DELETE FROM tab2 WHERE col3 >= 57

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

query I rowsort label-405
SELECT pk FROM tab2 WHERE NOT (col3 >= 57)
----
3
7

statement ok
DELETE FROM tab3 WHERE col3 >= 57

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

query I rowsort label-405
SELECT pk FROM tab3 WHERE NOT (col3 >= 57)
----
3
7

statement ok
DELETE FROM tab4 WHERE col3 >= 57

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

query I rowsort label-405
SELECT pk FROM tab4 WHERE NOT (col3 >= 57)
----
3
7

statement ok
DELETE FROM tab0 WHERE (col1 = 22.26)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 22.26)
----

query I rowsort label-420
SELECT pk FROM tab0 WHERE NOT ((col1 = 22.26))
----
3
7

statement ok
DELETE FROM tab1 WHERE (col1 = 22.26)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 22.26)
----

query I rowsort label-420
SELECT pk FROM tab1 WHERE NOT ((col1 = 22.26))
----
3
7

statement ok
DELETE FROM tab2 WHERE (col1 = 22.26)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 22.26)
----

query I rowsort label-420
SELECT pk FROM tab2 WHERE NOT ((col1 = 22.26))
----
3
7

statement ok
DELETE FROM tab3 WHERE (col1 = 22.26)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 22.26)
----

query I rowsort label-420
SELECT pk FROM tab3 WHERE NOT ((col1 = 22.26))
----
3
7

statement ok
DELETE FROM tab4 WHERE (col1 = 22.26)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 22.26)
----

query I rowsort label-420
SELECT pk FROM tab4 WHERE NOT ((col1 = 22.26))
----
3
7

statement ok
DELETE FROM tab0 WHERE col3 > 55

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

query I rowsort label-435
SELECT pk FROM tab0 WHERE NOT (col3 > 55)
----
3

statement ok
DELETE FROM tab1 WHERE col3 > 55

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

query I rowsort label-435
SELECT pk FROM tab1 WHERE NOT (col3 > 55)
----
3

statement ok
DELETE FROM tab2 WHERE col3 > 55

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

query I rowsort label-435
SELECT pk FROM tab2 WHERE NOT (col3 > 55)
----
3

statement ok
DELETE FROM tab3 WHERE col3 > 55

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

query I rowsort label-435
SELECT pk FROM tab3 WHERE NOT (col3 > 55)
----
3

statement ok
DELETE FROM tab4 WHERE col3 > 55

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

query I rowsort label-435
SELECT pk FROM tab4 WHERE NOT (col3 > 55)
----
3

statement ok
DELETE FROM tab0 WHERE col1 <= 83.81

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

query I rowsort label-450
SELECT pk FROM tab0 WHERE NOT (col1 <= 83.81)
----

statement ok
DELETE FROM tab1 WHERE col1 <= 83.81

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

query I rowsort label-450
SELECT pk FROM tab1 WHERE NOT (col1 <= 83.81)
----

statement ok
DELETE FROM tab2 WHERE col1 <= 83.81

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

query I rowsort label-450
SELECT pk FROM tab2 WHERE NOT (col1 <= 83.81)
----

statement ok
DELETE FROM tab3 WHERE col1 <= 83.81

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

query I rowsort label-450
SELECT pk FROM tab3 WHERE NOT (col1 <= 83.81)
----

statement ok
DELETE FROM tab4 WHERE col1 <= 83.81

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

query I rowsort label-450
SELECT pk FROM tab4 WHERE NOT (col1 <= 83.81)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,47,29.20,'qrrmp',36,25.88,'oskzl')

statement ok
INSERT INTO tab0 VALUES(1,21,32.39,'hvlml',38,80.60,'rrrjx')

statement ok
INSERT INTO tab0 VALUES(2,97,96.15,'nvkir',39,20.91,'aknis')

statement ok
INSERT INTO tab0 VALUES(3,11,83.67,'syvvo',58,45.88,'gfleh')

statement ok
INSERT INTO tab0 VALUES(4,13,6.56,'vhoag',16,62.32,'xxxxd')

statement ok
INSERT INTO tab0 VALUES(5,33,43.50,'wlayb',93,99.42,'hqstx')

statement ok
INSERT INTO tab0 VALUES(6,40,53.82,'rzpfo',89,19.33,'xlzuq')

statement ok
INSERT INTO tab0 VALUES(7,6,80.16,'ggnpv',90,29.83,'gvisv')

statement ok
INSERT INTO tab0 VALUES(8,72,74.8,'vvatf',28,100.92,'hjaim')

statement ok
INSERT INTO tab0 VALUES(9,4,99.70,'yhrvy',47,66.47,'hoaei')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95)
----

query I rowsort label-465
SELECT pk FROM tab0 WHERE NOT ((col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95)
----

query I rowsort label-465
SELECT pk FROM tab1 WHERE NOT ((col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95)
----

query I rowsort label-465
SELECT pk FROM tab2 WHERE NOT ((col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95)
----

query I rowsort label-465
SELECT pk FROM tab3 WHERE NOT ((col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95)
----

query I rowsort label-465
SELECT pk FROM tab4 WHERE NOT ((col0 >= 16) AND (col4 >= 76.13 AND col4 <= 8.74 AND col3 < 95))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 <= 62.18 OR col1 >= 32.17

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 62.18 OR col1 >= 32.17
----

query I rowsort label-480
SELECT pk FROM tab0 WHERE NOT (col1 <= 62.18 OR col1 >= 32.17)
----

statement ok
DELETE FROM tab1 WHERE col1 <= 62.18 OR col1 >= 32.17

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 62.18 OR col1 >= 32.17
----

query I rowsort label-480
SELECT pk FROM tab1 WHERE NOT (col1 <= 62.18 OR col1 >= 32.17)
----

statement ok
DELETE FROM tab2 WHERE col1 <= 62.18 OR col1 >= 32.17

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 62.18 OR col1 >= 32.17
----

query I rowsort label-480
SELECT pk FROM tab2 WHERE NOT (col1 <= 62.18 OR col1 >= 32.17)
----

statement ok
DELETE FROM tab3 WHERE col1 <= 62.18 OR col1 >= 32.17

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 62.18 OR col1 >= 32.17
----

query I rowsort label-480
SELECT pk FROM tab3 WHERE NOT (col1 <= 62.18 OR col1 >= 32.17)
----

statement ok
DELETE FROM tab4 WHERE col1 <= 62.18 OR col1 >= 32.17

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 62.18 OR col1 >= 32.17
----

query I rowsort label-480
SELECT pk FROM tab4 WHERE NOT (col1 <= 62.18 OR col1 >= 32.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,52,20.7,'vnxbg',31,3.71,'fkmds')

statement ok
INSERT INTO tab0 VALUES(1,78,21.31,'jhrhv',0,51.59,'xopyp')

statement ok
INSERT INTO tab0 VALUES(2,67,91.27,'vhanm',60,25.10,'yocky')

statement ok
INSERT INTO tab0 VALUES(3,26,48.16,'hkeip',51,54.19,'ccwxs')

statement ok
INSERT INTO tab0 VALUES(4,39,83.9,'crwyw',16,40.54,'zhlhq')

statement ok
INSERT INTO tab0 VALUES(5,29,66.71,'yzkqk',73,76.17,'fkzim')

statement ok
INSERT INTO tab0 VALUES(6,21,63.82,'cqwpx',70,55.6,'njkmc')

statement ok
INSERT INTO tab0 VALUES(7,3,47.0,'lybkt',54,83.82,'soqkq')

statement ok
INSERT INTO tab0 VALUES(8,93,11.25,'qxytb',25,93.23,'cjnqp')

statement ok
INSERT INTO tab0 VALUES(9,94,81.60,'hwlyy',7,56.97,'hqefz')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34
----

query I rowsort label-495
SELECT pk FROM tab0 WHERE NOT (col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34)
----
3
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34
----

query I rowsort label-495
SELECT pk FROM tab1 WHERE NOT (col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34)
----
3
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34
----

query I rowsort label-495
SELECT pk FROM tab2 WHERE NOT (col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34)
----
3
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34
----

query I rowsort label-495
SELECT pk FROM tab3 WHERE NOT (col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34)
----
3
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34
----

query I rowsort label-495
SELECT pk FROM tab4 WHERE NOT (col0 > 63 AND (col0 > 75) AND (col1 < 69.68 OR col4 > 84.58) AND col0 >= 67 OR col0 > 34)
----
3
5
6
7

statement ok
DELETE FROM tab0 WHERE (col3 < 6)

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

query I rowsort label-510
SELECT pk FROM tab0 WHERE NOT ((col3 < 6))
----
3
5
6
7

statement ok
DELETE FROM tab1 WHERE (col3 < 6)

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

query I rowsort label-510
SELECT pk FROM tab1 WHERE NOT ((col3 < 6))
----
3
5
6
7

statement ok
DELETE FROM tab2 WHERE (col3 < 6)

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

query I rowsort label-510
SELECT pk FROM tab2 WHERE NOT ((col3 < 6))
----
3
5
6
7

statement ok
DELETE FROM tab3 WHERE (col3 < 6)

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

query I rowsort label-510
SELECT pk FROM tab3 WHERE NOT ((col3 < 6))
----
3
5
6
7

statement ok
DELETE FROM tab4 WHERE (col3 < 6)

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

query I rowsort label-510
SELECT pk FROM tab4 WHERE NOT ((col3 < 6))
----
3
5
6
7

statement ok
DELETE FROM tab0 WHERE ((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89)))
----

query I rowsort label-525
SELECT pk FROM tab0 WHERE NOT (((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89))))
----
3
5
6
7

statement ok
DELETE FROM tab1 WHERE ((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89)))
----

query I rowsort label-525
SELECT pk FROM tab1 WHERE NOT (((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89))))
----
3
5
6
7

statement ok
DELETE FROM tab2 WHERE ((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89)))
----

query I rowsort label-525
SELECT pk FROM tab2 WHERE NOT (((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89))))
----
3
5
6
7

statement ok
DELETE FROM tab3 WHERE ((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89)))
----

query I rowsort label-525
SELECT pk FROM tab3 WHERE NOT (((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89))))
----
3
5
6
7

statement ok
DELETE FROM tab4 WHERE ((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89)))
----

query I rowsort label-525
SELECT pk FROM tab4 WHERE NOT (((col3 > 38 AND ((col3 <= 10)) AND (((col1 >= 28.91) AND col3 = 87) AND (col3 >= 99) OR ((col3 < 92)) OR col0 < 89))))
----
3
5
6
7

statement ok
DELETE FROM tab0 WHERE col0 >= 84

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

query I rowsort label-540
SELECT pk FROM tab0 WHERE NOT (col0 >= 84)
----
3
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 >= 84

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

query I rowsort label-540
SELECT pk FROM tab1 WHERE NOT (col0 >= 84)
----
3
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 >= 84

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

query I rowsort label-540
SELECT pk FROM tab2 WHERE NOT (col0 >= 84)
----
3
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 >= 84

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

query I rowsort label-540
SELECT pk FROM tab3 WHERE NOT (col0 >= 84)
----
3
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 >= 84

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

query I rowsort label-540
SELECT pk FROM tab4 WHERE NOT (col0 >= 84)
----
3
5
6
7

statement ok
DELETE FROM tab0 WHERE col1 > 15.43

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

query I rowsort label-555
SELECT pk FROM tab0 WHERE NOT (col1 > 15.43)
----

statement ok
DELETE FROM tab1 WHERE col1 > 15.43

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

query I rowsort label-555
SELECT pk FROM tab1 WHERE NOT (col1 > 15.43)
----

statement ok
DELETE FROM tab2 WHERE col1 > 15.43

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

query I rowsort label-555
SELECT pk FROM tab2 WHERE NOT (col1 > 15.43)
----

statement ok
DELETE FROM tab3 WHERE col1 > 15.43

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

query I rowsort label-555
SELECT pk FROM tab3 WHERE NOT (col1 > 15.43)
----

statement ok
DELETE FROM tab4 WHERE col1 > 15.43

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

query I rowsort label-555
SELECT pk FROM tab4 WHERE NOT (col1 > 15.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,43,58.7,'axawn',17,53.79,'zyogy')

statement ok
INSERT INTO tab0 VALUES(1,51,76.51,'dhpjj',95,83.46,'vdaod')

statement ok
INSERT INTO tab0 VALUES(2,87,70.37,'hbvyi',83,99.54,'zjyau')

statement ok
INSERT INTO tab0 VALUES(3,88,92.16,'wleqo',10,80.70,'hjkzz')

statement ok
INSERT INTO tab0 VALUES(4,16,25.40,'gnono',9,94.93,'snife')

statement ok
INSERT INTO tab0 VALUES(5,15,1.19,'aygzg',78,12.14,'lnscg')

statement ok
INSERT INTO tab0 VALUES(6,77,8.89,'zjhtd',44,19.79,'acvrx')

statement ok
INSERT INTO tab0 VALUES(7,4,9.71,'ljhdk',23,29.48,'lkcwk')

statement ok
INSERT INTO tab0 VALUES(8,70,44.36,'esyzd',87,96.67,'kwmlz')

statement ok
INSERT INTO tab0 VALUES(9,83,57.63,'qiscg',24,25.19,'frnlx')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,0.23,'vssmr',84,12.81,'sanqs')

statement ok
INSERT INTO tab0 VALUES(1,46,92.48,'owgsp',96,73.24,'jgtji')

statement ok
INSERT INTO tab0 VALUES(2,4,93.60,'szpby',13,77.1,'mwovi')

statement ok
INSERT INTO tab0 VALUES(3,61,89.50,'zvbsw',4,36.34,'xkyyq')

statement ok
INSERT INTO tab0 VALUES(4,68,44.88,'tdded',95,91.53,'besft')

statement ok
INSERT INTO tab0 VALUES(5,15,5.80,'dcuoy',28,25.58,'jstft')

statement ok
INSERT INTO tab0 VALUES(6,92,21.37,'idmoi',30,79.83,'gsxip')

statement ok
INSERT INTO tab0 VALUES(7,49,50.30,'mkive',68,60.57,'fghed')

statement ok
INSERT INTO tab0 VALUES(8,64,78.62,'aofsh',20,57.67,'aukmf')

statement ok
INSERT INTO tab0 VALUES(9,2,26.20,'qdyxq',31,53.21,'xocnw')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col0)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3)

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,56,8.12,'ajqxu',91,13.55,'ketlh')

statement ok
INSERT INTO tab0 VALUES(1,94,29.82,'uybjl',18,70.37,'kmunp')

statement ok
INSERT INTO tab0 VALUES(2,96,68.20,'icfpa',27,28.25,'oshlh')

statement ok
INSERT INTO tab0 VALUES(3,15,94.36,'xriuz',79,33.90,'hdzpl')

statement ok
INSERT INTO tab0 VALUES(4,20,24.93,'dader',56,65.11,'trcwj')

statement ok
INSERT INTO tab0 VALUES(5,12,89.13,'xbuea',78,97.84,'ptbvg')

statement ok
INSERT INTO tab0 VALUES(6,31,96.95,'vigjc',11,58.37,'npvas')

statement ok
INSERT INTO tab0 VALUES(7,71,87.21,'vhcvu',80,98.38,'zjxvn')

statement ok
INSERT INTO tab0 VALUES(8,95,7.78,'zgzdk',86,45.15,'tfqsf')

statement ok
INSERT INTO tab0 VALUES(9,41,63.59,'xsjog',13,74.61,'mjamq')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col1 = 85.65

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

query I rowsort label-570
SELECT pk FROM tab0 WHERE NOT (col1 = 85.65)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 = 85.65

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

query I rowsort label-570
SELECT pk FROM tab1 WHERE NOT (col1 = 85.65)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 = 85.65

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

query I rowsort label-570
SELECT pk FROM tab2 WHERE NOT (col1 = 85.65)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 = 85.65

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

query I rowsort label-570
SELECT pk FROM tab3 WHERE NOT (col1 = 85.65)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 = 85.65

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

query I rowsort label-570
SELECT pk FROM tab4 WHERE NOT (col1 = 85.65)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 > 23.51 OR (col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 23.51 OR (col1 IS NULL)
----

query I rowsort label-585
SELECT pk FROM tab0 WHERE NOT (col4 > 23.51 OR (col1 IS NULL))
----
0

statement ok
DELETE FROM tab1 WHERE col4 > 23.51 OR (col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 23.51 OR (col1 IS NULL)
----

query I rowsort label-585
SELECT pk FROM tab1 WHERE NOT (col4 > 23.51 OR (col1 IS NULL))
----
0

statement ok
DELETE FROM tab2 WHERE col4 > 23.51 OR (col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 23.51 OR (col1 IS NULL)
----

query I rowsort label-585
SELECT pk FROM tab2 WHERE NOT (col4 > 23.51 OR (col1 IS NULL))
----
0

statement ok
DELETE FROM tab3 WHERE col4 > 23.51 OR (col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 23.51 OR (col1 IS NULL)
----

query I rowsort label-585
SELECT pk FROM tab3 WHERE NOT (col4 > 23.51 OR (col1 IS NULL))
----
0

statement ok
DELETE FROM tab4 WHERE col4 > 23.51 OR (col1 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 23.51 OR (col1 IS NULL)
----

query I rowsort label-585
SELECT pk FROM tab4 WHERE NOT (col4 > 23.51 OR (col1 IS NULL))
----
0

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

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

query I rowsort label-600
SELECT pk FROM tab0 WHERE NOT (((col3 <= 48)))
----
0

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

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

query I rowsort label-600
SELECT pk FROM tab1 WHERE NOT (((col3 <= 48)))
----
0

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

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

query I rowsort label-600
SELECT pk FROM tab2 WHERE NOT (((col3 <= 48)))
----
0

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

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

query I rowsort label-600
SELECT pk FROM tab3 WHERE NOT (((col3 <= 48)))
----
0

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

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

query I rowsort label-600
SELECT pk FROM tab4 WHERE NOT (((col3 <= 48)))
----
0

statement ok
DELETE FROM tab0 WHERE col1 > 35.90

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

query I rowsort label-615
SELECT pk FROM tab0 WHERE NOT (col1 > 35.90)
----
0

statement ok
DELETE FROM tab1 WHERE col1 > 35.90

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

query I rowsort label-615
SELECT pk FROM tab1 WHERE NOT (col1 > 35.90)
----
0

statement ok
DELETE FROM tab2 WHERE col1 > 35.90

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

query I rowsort label-615
SELECT pk FROM tab2 WHERE NOT (col1 > 35.90)
----
0

statement ok
DELETE FROM tab3 WHERE col1 > 35.90

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

query I rowsort label-615
SELECT pk FROM tab3 WHERE NOT (col1 > 35.90)
----
0

statement ok
DELETE FROM tab4 WHERE col1 > 35.90

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

query I rowsort label-615
SELECT pk FROM tab4 WHERE NOT (col1 > 35.90)
----
0

statement ok
DELETE FROM tab0 WHERE (col3 < 37)

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

query I rowsort label-630
SELECT pk FROM tab0 WHERE NOT ((col3 < 37))
----
0

statement ok
DELETE FROM tab1 WHERE (col3 < 37)

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

query I rowsort label-630
SELECT pk FROM tab1 WHERE NOT ((col3 < 37))
----
0

statement ok
DELETE FROM tab2 WHERE (col3 < 37)

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

query I rowsort label-630
SELECT pk FROM tab2 WHERE NOT ((col3 < 37))
----
0

statement ok
DELETE FROM tab3 WHERE (col3 < 37)

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

query I rowsort label-630
SELECT pk FROM tab3 WHERE NOT ((col3 < 37))
----
0

statement ok
DELETE FROM tab4 WHERE (col3 < 37)

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

query I rowsort label-630
SELECT pk FROM tab4 WHERE NOT ((col3 < 37))
----
0

statement ok
DELETE FROM tab0 WHERE col3 > 41

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

query I rowsort label-645
SELECT pk FROM tab0 WHERE NOT (col3 > 41)
----

statement ok
DELETE FROM tab1 WHERE col3 > 41

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

query I rowsort label-645
SELECT pk FROM tab1 WHERE NOT (col3 > 41)
----

statement ok
DELETE FROM tab2 WHERE col3 > 41

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

query I rowsort label-645
SELECT pk FROM tab2 WHERE NOT (col3 > 41)
----

statement ok
DELETE FROM tab3 WHERE col3 > 41

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

query I rowsort label-645
SELECT pk FROM tab3 WHERE NOT (col3 > 41)
----

statement ok
DELETE FROM tab4 WHERE col3 > 41

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

query I rowsort label-645
SELECT pk FROM tab4 WHERE NOT (col3 > 41)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,93,61.2,'invvu',85,42.70,'dwmvc')

statement ok
INSERT INTO tab0 VALUES(1,92,52.55,'amvrl',83,69.53,'dnozl')

statement ok
INSERT INTO tab0 VALUES(2,59,94.51,'aajwq',60,19.36,'lvkva')

statement ok
INSERT INTO tab0 VALUES(3,94,51.2,'xajit',65,7.84,'zeepr')

statement ok
INSERT INTO tab0 VALUES(4,35,64.90,'cfkqm',73,78.59,'vuhjm')

statement ok
INSERT INTO tab0 VALUES(5,32,62.24,'ffdqx',40,26.87,'ejttz')

statement ok
INSERT INTO tab0 VALUES(6,95,81.9,'budwp',72,3.14,'ludnj')

statement ok
INSERT INTO tab0 VALUES(7,60,67.2,'uthkt',82,31.75,'oquek')

statement ok
INSERT INTO tab0 VALUES(8,58,97.79,'clrki',57,18.52,'yyxrt')

statement ok
INSERT INTO tab0 VALUES(9,74,87.94,'ekxsg',17,67.38,'sqsxa')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38
----

query I rowsort label-660
SELECT pk FROM tab0 WHERE NOT (col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38
----

query I rowsort label-660
SELECT pk FROM tab1 WHERE NOT (col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38
----

query I rowsort label-660
SELECT pk FROM tab2 WHERE NOT (col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38
----

query I rowsort label-660
SELECT pk FROM tab3 WHERE NOT (col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38
----

query I rowsort label-660
SELECT pk FROM tab4 WHERE NOT (col1 <= 58.71 AND col1 BETWEEN 58.38 AND 89.38)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 > 92.96

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

query I rowsort label-675
SELECT pk FROM tab0 WHERE NOT (col1 > 92.96)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab1 WHERE col1 > 92.96

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

query I rowsort label-675
SELECT pk FROM tab1 WHERE NOT (col1 > 92.96)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab2 WHERE col1 > 92.96

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

query I rowsort label-675
SELECT pk FROM tab2 WHERE NOT (col1 > 92.96)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab3 WHERE col1 > 92.96

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

query I rowsort label-675
SELECT pk FROM tab3 WHERE NOT (col1 > 92.96)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab4 WHERE col1 > 92.96

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

query I rowsort label-675
SELECT pk FROM tab4 WHERE NOT (col1 > 92.96)
----
0
1
3
4
5
6
7
9

statement ok
DELETE FROM tab0 WHERE (col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77))
----

query I rowsort label-690
SELECT pk FROM tab0 WHERE NOT ((col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77)))
----
3
4
5
6
9

statement ok
DELETE FROM tab1 WHERE (col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77))
----

query I rowsort label-690
SELECT pk FROM tab1 WHERE NOT ((col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77)))
----
3
4
5
6
9

statement ok
DELETE FROM tab2 WHERE (col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77))
----

query I rowsort label-690
SELECT pk FROM tab2 WHERE NOT ((col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77)))
----
3
4
5
6
9

statement ok
DELETE FROM tab3 WHERE (col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77))
----

query I rowsort label-690
SELECT pk FROM tab3 WHERE NOT ((col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77)))
----
3
4
5
6
9

statement ok
DELETE FROM tab4 WHERE (col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77))
----

query I rowsort label-690
SELECT pk FROM tab4 WHERE NOT ((col4 > 11.88 AND col0 >= 83) OR (col0 IN (83,81,60,77)))
----
3
4
5
6
9

statement ok
DELETE FROM tab0 WHERE col0 = 36 AND col4 >= 63.19

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 36 AND col4 >= 63.19
----

query I rowsort label-705
SELECT pk FROM tab0 WHERE NOT (col0 = 36 AND col4 >= 63.19)
----
3
4
5
6
9

statement ok
DELETE FROM tab1 WHERE col0 = 36 AND col4 >= 63.19

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 36 AND col4 >= 63.19
----

query I rowsort label-705
SELECT pk FROM tab1 WHERE NOT (col0 = 36 AND col4 >= 63.19)
----
3
4
5
6
9

statement ok
DELETE FROM tab2 WHERE col0 = 36 AND col4 >= 63.19

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 36 AND col4 >= 63.19
----

query I rowsort label-705
SELECT pk FROM tab2 WHERE NOT (col0 = 36 AND col4 >= 63.19)
----
3
4
5
6
9

statement ok
DELETE FROM tab3 WHERE col0 = 36 AND col4 >= 63.19

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 36 AND col4 >= 63.19
----

query I rowsort label-705
SELECT pk FROM tab3 WHERE NOT (col0 = 36 AND col4 >= 63.19)
----
3
4
5
6
9

statement ok
DELETE FROM tab4 WHERE col0 = 36 AND col4 >= 63.19

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 36 AND col4 >= 63.19
----

query I rowsort label-705
SELECT pk FROM tab4 WHERE NOT (col0 = 36 AND col4 >= 63.19)
----
3
4
5
6
9

statement ok
DELETE FROM tab0 WHERE (((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93))
----

query I rowsort label-720
SELECT pk FROM tab0 WHERE NOT ((((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93)))
----
5
9

statement ok
DELETE FROM tab1 WHERE (((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93))
----

query I rowsort label-720
SELECT pk FROM tab1 WHERE NOT ((((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93)))
----
5
9

statement ok
DELETE FROM tab2 WHERE (((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93))
----

query I rowsort label-720
SELECT pk FROM tab2 WHERE NOT ((((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93)))
----
5
9

statement ok
DELETE FROM tab3 WHERE (((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93))
----

query I rowsort label-720
SELECT pk FROM tab3 WHERE NOT ((((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93)))
----
5
9

statement ok
DELETE FROM tab4 WHERE (((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93))
----

query I rowsort label-720
SELECT pk FROM tab4 WHERE NOT ((((col4 < 36.90) AND col4 >= 30.26 OR col4 > 5.88 OR col4 < 41.49) AND (col1 < 10.77 AND col0 >= 8 AND (col0 <= 28) OR col3 BETWEEN 43 AND 93)))
----
5
9

statement ok
DELETE FROM tab0 WHERE ((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17)))
----

query I rowsort label-735
SELECT pk FROM tab0 WHERE NOT (((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17))))
----
5
9

statement ok
DELETE FROM tab1 WHERE ((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17)))
----

query I rowsort label-735
SELECT pk FROM tab1 WHERE NOT (((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17))))
----
5
9

statement ok
DELETE FROM tab2 WHERE ((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17)))
----

query I rowsort label-735
SELECT pk FROM tab2 WHERE NOT (((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17))))
----
5
9

statement ok
DELETE FROM tab3 WHERE ((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17)))
----

query I rowsort label-735
SELECT pk FROM tab3 WHERE NOT (((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17))))
----
5
9

statement ok
DELETE FROM tab4 WHERE ((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17)))
----

query I rowsort label-735
SELECT pk FROM tab4 WHERE NOT (((((col0 < 3) AND col1 < 94.68 AND col1 > 74.10)) OR (col0 IN (51,56,83,77,17))))
----
5
9

statement ok
DELETE FROM tab0 WHERE col0 >= 19 OR (col3 > 69)

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

query I rowsort label-750
SELECT pk FROM tab0 WHERE NOT (col0 >= 19 OR (col3 > 69))
----

statement ok
DELETE FROM tab1 WHERE col0 >= 19 OR (col3 > 69)

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

query I rowsort label-750
SELECT pk FROM tab1 WHERE NOT (col0 >= 19 OR (col3 > 69))
----

statement ok
DELETE FROM tab2 WHERE col0 >= 19 OR (col3 > 69)

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

query I rowsort label-750
SELECT pk FROM tab2 WHERE NOT (col0 >= 19 OR (col3 > 69))
----

statement ok
DELETE FROM tab3 WHERE col0 >= 19 OR (col3 > 69)

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

query I rowsort label-750
SELECT pk FROM tab3 WHERE NOT (col0 >= 19 OR (col3 > 69))
----

statement ok
DELETE FROM tab4 WHERE col0 >= 19 OR (col3 > 69)

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

query I rowsort label-750
SELECT pk FROM tab4 WHERE NOT (col0 >= 19 OR (col3 > 69))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,72,75.13,'toxtj',56,47.88,'rneob')

statement ok
INSERT INTO tab0 VALUES(1,31,70.7,'noxrz',25,64.99,'udlkx')

statement ok
INSERT INTO tab0 VALUES(2,33,4.36,'fidil',86,34.7,'srnqt')

statement ok
INSERT INTO tab0 VALUES(3,68,84.43,'osmjh',12,15.7,'qjvck')

statement ok
INSERT INTO tab0 VALUES(4,46,58.50,'xouhq',4,86.27,'uqrdm')

statement ok
INSERT INTO tab0 VALUES(5,8,77.71,'xrrlv',0,11.41,'xyvne')

statement ok
INSERT INTO tab0 VALUES(6,43,59.19,'fgaic',88,1.82,'cafrv')

statement ok
INSERT INTO tab0 VALUES(7,95,47.25,'wtrnz',22,76.55,'eemrm')

statement ok
INSERT INTO tab0 VALUES(8,77,79.44,'hdaag',29,29.47,'qbspq')

statement ok
INSERT INTO tab0 VALUES(9,86,45.75,'nysei',28,87.43,'xdylv')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col1 = 89.36

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

query I rowsort label-765
SELECT pk FROM tab0 WHERE NOT (col1 = 89.36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 = 89.36

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

query I rowsort label-765
SELECT pk FROM tab1 WHERE NOT (col1 = 89.36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 = 89.36

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

query I rowsort label-765
SELECT pk FROM tab2 WHERE NOT (col1 = 89.36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 = 89.36

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

query I rowsort label-765
SELECT pk FROM tab3 WHERE NOT (col1 = 89.36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 = 89.36

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

query I rowsort label-765
SELECT pk FROM tab4 WHERE NOT (col1 = 89.36)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69)
----

query I rowsort label-780
SELECT pk FROM tab0 WHERE NOT (((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE ((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69)
----

query I rowsort label-780
SELECT pk FROM tab1 WHERE NOT (((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE ((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69)
----

query I rowsort label-780
SELECT pk FROM tab2 WHERE NOT (((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE ((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69)
----

query I rowsort label-780
SELECT pk FROM tab3 WHERE NOT (((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE ((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69)
----

query I rowsort label-780
SELECT pk FROM tab4 WHERE NOT (((col3 <= 23) AND col3 < 39) AND (col4 BETWEEN 3.49 AND 71.69))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL OR (col0 IS NULL) AND col3 < 98)

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

query I rowsort label-795
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL OR (col0 IS NULL) AND col3 < 98))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL OR (col0 IS NULL) AND col3 < 98)

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

query I rowsort label-795
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL OR (col0 IS NULL) AND col3 < 98))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL OR (col0 IS NULL) AND col3 < 98)

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

query I rowsort label-795
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL OR (col0 IS NULL) AND col3 < 98))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL OR (col0 IS NULL) AND col3 < 98)

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

query I rowsort label-795
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL OR (col0 IS NULL) AND col3 < 98))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL OR (col0 IS NULL) AND col3 < 98)

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

query I rowsort label-795
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL OR (col0 IS NULL) AND col3 < 98))
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col1 > 98.88 AND col3 < 84

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 98.88 AND col3 < 84
----

query I rowsort label-810
SELECT pk FROM tab0 WHERE NOT (col1 > 98.88 AND col3 < 84)
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col1 > 98.88 AND col3 < 84

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 98.88 AND col3 < 84
----

query I rowsort label-810
SELECT pk FROM tab1 WHERE NOT (col1 > 98.88 AND col3 < 84)
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col1 > 98.88 AND col3 < 84

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 98.88 AND col3 < 84
----

query I rowsort label-810
SELECT pk FROM tab2 WHERE NOT (col1 > 98.88 AND col3 < 84)
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col1 > 98.88 AND col3 < 84

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 98.88 AND col3 < 84
----

query I rowsort label-810
SELECT pk FROM tab3 WHERE NOT (col1 > 98.88 AND col3 < 84)
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col1 > 98.88 AND col3 < 84

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 98.88 AND col3 < 84
----

query I rowsort label-810
SELECT pk FROM tab4 WHERE NOT (col1 > 98.88 AND col3 < 84)
----
0
1
2
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col3 > 17)

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

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

statement ok
DELETE FROM tab1 WHERE (col3 > 17)

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

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

statement ok
DELETE FROM tab2 WHERE (col3 > 17)

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

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

statement ok
DELETE FROM tab3 WHERE (col3 > 17)

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

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

statement ok
DELETE FROM tab4 WHERE (col3 > 17)

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

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

statement ok
DELETE FROM tab0 WHERE col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98)
----

query I rowsort label-840
SELECT pk FROM tab0 WHERE NOT (col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98))
----
4

statement ok
DELETE FROM tab1 WHERE col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98)
----

query I rowsort label-840
SELECT pk FROM tab1 WHERE NOT (col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98))
----
4

statement ok
DELETE FROM tab2 WHERE col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98)
----

query I rowsort label-840
SELECT pk FROM tab2 WHERE NOT (col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98))
----
4

statement ok
DELETE FROM tab3 WHERE col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98)
----

query I rowsort label-840
SELECT pk FROM tab3 WHERE NOT (col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98))
----
4

statement ok
DELETE FROM tab4 WHERE col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98)
----

query I rowsort label-840
SELECT pk FROM tab4 WHERE NOT (col0 > 63 OR (((col3 < 77))) AND (col4 < 62.98))
----
4

statement ok
DELETE FROM tab0 WHERE col4 < 71.40

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

query I rowsort label-855
SELECT pk FROM tab0 WHERE NOT (col4 < 71.40)
----
4

statement ok
DELETE FROM tab1 WHERE col4 < 71.40

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

query I rowsort label-855
SELECT pk FROM tab1 WHERE NOT (col4 < 71.40)
----
4

statement ok
DELETE FROM tab2 WHERE col4 < 71.40

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

query I rowsort label-855
SELECT pk FROM tab2 WHERE NOT (col4 < 71.40)
----
4

statement ok
DELETE FROM tab3 WHERE col4 < 71.40

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

query I rowsort label-855
SELECT pk FROM tab3 WHERE NOT (col4 < 71.40)
----
4

statement ok
DELETE FROM tab4 WHERE col4 < 71.40

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

query I rowsort label-855
SELECT pk FROM tab4 WHERE NOT (col4 < 71.40)
----
4

statement ok
DELETE FROM tab0 WHERE col1 > 33.69

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

query I rowsort label-870
SELECT pk FROM tab0 WHERE NOT (col1 > 33.69)
----

statement ok
DELETE FROM tab1 WHERE col1 > 33.69

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

query I rowsort label-870
SELECT pk FROM tab1 WHERE NOT (col1 > 33.69)
----

statement ok
DELETE FROM tab2 WHERE col1 > 33.69

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

query I rowsort label-870
SELECT pk FROM tab2 WHERE NOT (col1 > 33.69)
----

statement ok
DELETE FROM tab3 WHERE col1 > 33.69

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

query I rowsort label-870
SELECT pk FROM tab3 WHERE NOT (col1 > 33.69)
----

statement ok
DELETE FROM tab4 WHERE col1 > 33.69

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

query I rowsort label-870
SELECT pk FROM tab4 WHERE NOT (col1 > 33.69)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,5,51.23,'eikzs',13,31.91,'ieylm')

statement ok
INSERT INTO tab0 VALUES(1,99,57.43,'jkwzq',32,76.79,'fcgdt')

statement ok
INSERT INTO tab0 VALUES(2,96,52.55,'qoezj',1,33.96,'vudcc')

statement ok
INSERT INTO tab0 VALUES(3,61,17.80,'gqzgs',30,46.75,'dgwmp')

statement ok
INSERT INTO tab0 VALUES(4,6,99.45,'nsfcf',84,5.12,'htxao')

statement ok
INSERT INTO tab0 VALUES(5,97,71.90,'gitzy',87,11.71,'kyogx')

statement ok
INSERT INTO tab0 VALUES(6,71,1.83,'lkbub',43,36.2,'bdind')

statement ok
INSERT INTO tab0 VALUES(7,51,7.33,'wltri',40,86.50,'xdwfp')

statement ok
INSERT INTO tab0 VALUES(8,48,25.0,'stjlz',71,66.70,'iqjuj')

statement ok
INSERT INTO tab0 VALUES(9,86,67.11,'hmspc',41,38.35,'cihbu')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE 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_3 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE ((((col3 > 86))))

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

query I rowsort label-885
SELECT pk FROM tab0 WHERE NOT (((((col3 > 86)))))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE ((((col3 > 86))))

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

query I rowsort label-885
SELECT pk FROM tab1 WHERE NOT (((((col3 > 86)))))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE ((((col3 > 86))))

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

query I rowsort label-885
SELECT pk FROM tab2 WHERE NOT (((((col3 > 86)))))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE ((((col3 > 86))))

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

query I rowsort label-885
SELECT pk FROM tab3 WHERE NOT (((((col3 > 86)))))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE ((((col3 > 86))))

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

query I rowsort label-885
SELECT pk FROM tab4 WHERE NOT (((((col3 > 86)))))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col0 <= 0

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

query I rowsort label-900
SELECT pk FROM tab0 WHERE NOT (col0 <= 0)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE col0 <= 0

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

query I rowsort label-900
SELECT pk FROM tab1 WHERE NOT (col0 <= 0)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE col0 <= 0

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

query I rowsort label-900
SELECT pk FROM tab2 WHERE NOT (col0 <= 0)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE col0 <= 0

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

query I rowsort label-900
SELECT pk FROM tab3 WHERE NOT (col0 <= 0)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE col0 <= 0

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

query I rowsort label-900
SELECT pk FROM tab4 WHERE NOT (col0 <= 0)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col3 >= 80

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

query I rowsort label-915
SELECT pk FROM tab0 WHERE NOT (col3 >= 80)
----
0
1
2
3
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 >= 80

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

query I rowsort label-915
SELECT pk FROM tab1 WHERE NOT (col3 >= 80)
----
0
1
2
3
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 >= 80

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

query I rowsort label-915
SELECT pk FROM tab2 WHERE NOT (col3 >= 80)
----
0
1
2
3
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 >= 80

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

query I rowsort label-915
SELECT pk FROM tab3 WHERE NOT (col3 >= 80)
----
0
1
2
3
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 >= 80

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

query I rowsort label-915
SELECT pk FROM tab4 WHERE NOT (col3 >= 80)
----
0
1
2
3
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98
----

query I rowsort label-930
SELECT pk FROM tab0 WHERE NOT (col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98)
----
1
2
3
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98
----

query I rowsort label-930
SELECT pk FROM tab1 WHERE NOT (col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98)
----
1
2
3
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98
----

query I rowsort label-930
SELECT pk FROM tab2 WHERE NOT (col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98)
----
1
2
3
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98
----

query I rowsort label-930
SELECT pk FROM tab3 WHERE NOT (col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98)
----
1
2
3
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98
----

query I rowsort label-930
SELECT pk FROM tab4 WHERE NOT (col3 IS NULL AND col1 >= 43.19 OR col4 < 31.98)
----
1
2
3
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 >= 54.85

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

query I rowsort label-945
SELECT pk FROM tab0 WHERE NOT (col4 >= 54.85)
----
2
3
6
9

statement ok
DELETE FROM tab1 WHERE col4 >= 54.85

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

query I rowsort label-945
SELECT pk FROM tab1 WHERE NOT (col4 >= 54.85)
----
2
3
6
9

statement ok
DELETE FROM tab2 WHERE col4 >= 54.85

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

query I rowsort label-945
SELECT pk FROM tab2 WHERE NOT (col4 >= 54.85)
----
2
3
6
9

statement ok
DELETE FROM tab3 WHERE col4 >= 54.85

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

query I rowsort label-945
SELECT pk FROM tab3 WHERE NOT (col4 >= 54.85)
----
2
3
6
9

statement ok
DELETE FROM tab4 WHERE col4 >= 54.85

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

query I rowsort label-945
SELECT pk FROM tab4 WHERE NOT (col4 >= 54.85)
----
2
3
6
9

statement ok
DELETE FROM tab0 WHERE col3 <= 42

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

query I rowsort label-960
SELECT pk FROM tab0 WHERE NOT (col3 <= 42)
----
6

statement ok
DELETE FROM tab1 WHERE col3 <= 42

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

query I rowsort label-960
SELECT pk FROM tab1 WHERE NOT (col3 <= 42)
----
6

statement ok
DELETE FROM tab2 WHERE col3 <= 42

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

query I rowsort label-960
SELECT pk FROM tab2 WHERE NOT (col3 <= 42)
----
6

statement ok
DELETE FROM tab3 WHERE col3 <= 42

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

query I rowsort label-960
SELECT pk FROM tab3 WHERE NOT (col3 <= 42)
----
6

statement ok
DELETE FROM tab4 WHERE col3 <= 42

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

query I rowsort label-960
SELECT pk FROM tab4 WHERE NOT (col3 <= 42)
----
6

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

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

query I rowsort label-975
SELECT pk FROM tab0 WHERE NOT ((col3 >= 79))
----
6

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

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

query I rowsort label-975
SELECT pk FROM tab1 WHERE NOT ((col3 >= 79))
----
6

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

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

query I rowsort label-975
SELECT pk FROM tab2 WHERE NOT ((col3 >= 79))
----
6

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

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

query I rowsort label-975
SELECT pk FROM tab3 WHERE NOT ((col3 >= 79))
----
6

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

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

query I rowsort label-975
SELECT pk FROM tab4 WHERE NOT ((col3 >= 79))
----
6

statement ok
DELETE FROM tab0 WHERE ((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36))
----

query I rowsort label-990
SELECT pk FROM tab0 WHERE NOT (((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36)))
----
6

statement ok
DELETE FROM tab1 WHERE ((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36))
----

query I rowsort label-990
SELECT pk FROM tab1 WHERE NOT (((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36)))
----
6

statement ok
DELETE FROM tab2 WHERE ((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36))
----

query I rowsort label-990
SELECT pk FROM tab2 WHERE NOT (((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36)))
----
6

statement ok
DELETE FROM tab3 WHERE ((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36))
----

query I rowsort label-990
SELECT pk FROM tab3 WHERE NOT (((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36)))
----
6

statement ok
DELETE FROM tab4 WHERE ((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36))
----

query I rowsort label-990
SELECT pk FROM tab4 WHERE NOT (((col0 >= 90) OR (((((col0 = 59))) AND ((((col0 <= 8) AND col1 = 95.46 AND (col3 IS NULL AND ((col3 > 80) AND col4 = 41.52 OR (col1 > 41.81))) AND col0 >= 98 OR col3 >= 30 OR col0 < 72 AND col1 IN (96.45,72.61,79.49,2.86)) OR col4 < 36.64 OR ((col3 >= 97)))))) AND col1 >= 83.64 AND col1 IS NULL OR (col0 < 16) OR ((col3 <= 24)) AND ((col4 <= 85.48)) AND (col0 IS NULL OR col4 > 76.99) AND col3 IN (86,88,91,36)))
----
6

statement ok
DELETE FROM tab0 WHERE (((col3 = 24)))

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

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

statement ok
DELETE FROM tab1 WHERE (((col3 = 24)))

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

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

statement ok
DELETE FROM tab2 WHERE (((col3 = 24)))

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

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

statement ok
DELETE FROM tab3 WHERE (((col3 = 24)))

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

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

statement ok
DELETE FROM tab4 WHERE (((col3 = 24)))

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

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

statement ok
DELETE FROM tab0 WHERE (((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29))))
----

query I rowsort label-1020
SELECT pk FROM tab0 WHERE NOT ((((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29)))))
----

statement ok
DELETE FROM tab1 WHERE (((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29))))
----

query I rowsort label-1020
SELECT pk FROM tab1 WHERE NOT ((((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29)))))
----

statement ok
DELETE FROM tab2 WHERE (((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29))))
----

query I rowsort label-1020
SELECT pk FROM tab2 WHERE NOT ((((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29)))))
----

statement ok
DELETE FROM tab3 WHERE (((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29))))
----

query I rowsort label-1020
SELECT pk FROM tab3 WHERE NOT ((((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29)))))
----

statement ok
DELETE FROM tab4 WHERE (((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29))))
----

query I rowsort label-1020
SELECT pk FROM tab4 WHERE NOT ((((col3 < 57) AND (col3 >= 92) OR col3 IS NULL OR ((col4 IS NULL)) OR col0 BETWEEN 57 AND 35 OR col1 IS NULL AND col4 >= 77.16 OR ((col3 > 29)))))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,78,20.3,'nwlyh',11,84.8,'atqaq')

statement ok
INSERT INTO tab0 VALUES(1,33,72.23,'wjouq',35,30.66,'yrive')

statement ok
INSERT INTO tab0 VALUES(2,20,28.85,'wprkw',76,40.39,'pilzk')

statement ok
INSERT INTO tab0 VALUES(3,18,27.36,'eqxlp',86,34.39,'qqnaf')

statement ok
INSERT INTO tab0 VALUES(4,8,6.31,'chdrd',26,7.43,'ujmfk')

statement ok
INSERT INTO tab0 VALUES(5,83,60.47,'khjbx',77,96.7,'lgkpk')

statement ok
INSERT INTO tab0 VALUES(6,65,10.96,'uloal',50,41.75,'hfadv')

statement ok
INSERT INTO tab0 VALUES(7,10,56.34,'ordjr',4,49.94,'xgjvb')

statement ok
INSERT INTO tab0 VALUES(8,29,50.76,'hgppq',53,53.27,'mvkyb')

statement ok
INSERT INTO tab0 VALUES(9,95,51.11,'kvjzf',81,80.64,'jwszu')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1 DESC)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col4 < 7.39 OR col0 < 72

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 7.39 OR col0 < 72
----

query I rowsort label-1035
SELECT pk FROM tab0 WHERE NOT (col4 < 7.39 OR col0 < 72)
----
0
5
9

statement ok
DELETE FROM tab1 WHERE col4 < 7.39 OR col0 < 72

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 7.39 OR col0 < 72
----

query I rowsort label-1035
SELECT pk FROM tab1 WHERE NOT (col4 < 7.39 OR col0 < 72)
----
0
5
9

statement ok
DELETE FROM tab2 WHERE col4 < 7.39 OR col0 < 72

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 7.39 OR col0 < 72
----

query I rowsort label-1035
SELECT pk FROM tab2 WHERE NOT (col4 < 7.39 OR col0 < 72)
----
0
5
9

statement ok
DELETE FROM tab3 WHERE col4 < 7.39 OR col0 < 72

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 7.39 OR col0 < 72
----

query I rowsort label-1035
SELECT pk FROM tab3 WHERE NOT (col4 < 7.39 OR col0 < 72)
----
0
5
9

statement ok
DELETE FROM tab4 WHERE col4 < 7.39 OR col0 < 72

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 7.39 OR col0 < 72
----

query I rowsort label-1035
SELECT pk FROM tab4 WHERE NOT (col4 < 7.39 OR col0 < 72)
----
0
5
9

statement ok
DELETE FROM tab0 WHERE ((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58))
----

query I rowsort label-1050
SELECT pk FROM tab0 WHERE NOT (((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58)))
----

statement ok
DELETE FROM tab1 WHERE ((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58))
----

query I rowsort label-1050
SELECT pk FROM tab1 WHERE NOT (((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58)))
----

statement ok
DELETE FROM tab2 WHERE ((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58))
----

query I rowsort label-1050
SELECT pk FROM tab2 WHERE NOT (((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58)))
----

statement ok
DELETE FROM tab3 WHERE ((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58))
----

query I rowsort label-1050
SELECT pk FROM tab3 WHERE NOT (((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58)))
----

statement ok
DELETE FROM tab4 WHERE ((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58))
----

query I rowsort label-1050
SELECT pk FROM tab4 WHERE NOT (((col3 <= 92)) OR (col4 >= 63.98) OR (col3 < 77 AND col1 > 75.53) AND col3 > 84 AND col0 <= 38 AND col3 > 20 OR col4 IS NULL OR ((col0 < 58)))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,32,25.14,'oeuwt',74,71.73,'fwkyk')

statement ok
INSERT INTO tab0 VALUES(1,13,92.26,'bvuqz',67,26.86,'deupf')

statement ok
INSERT INTO tab0 VALUES(2,60,6.30,'nfnya',8,99.9,'hxibf')

statement ok
INSERT INTO tab0 VALUES(3,25,96.60,'znvbu',34,68.43,'shtbu')

statement ok
INSERT INTO tab0 VALUES(4,97,86.76,'vgrrx',52,4.97,'jexqq')

statement ok
INSERT INTO tab0 VALUES(5,65,1.26,'vrlmy',96,91.48,'bnfny')

statement ok
INSERT INTO tab0 VALUES(6,77,87.7,'etavn',97,36.5,'rhkdl')

statement ok
INSERT INTO tab0 VALUES(7,6,15.29,'slrii',35,81.72,'hszts')

statement ok
INSERT INTO tab0 VALUES(8,12,99.79,'znopk',11,15.6,'hfdoz')

statement ok
INSERT INTO tab0 VALUES(9,1,8.81,'ndord',6,89.87,'mwbzn')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC)

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

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE ((col1 > 73.79 AND (col0 <= 99)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 > 73.79 AND (col0 <= 99)))
----

query I rowsort label-1065
SELECT pk FROM tab0 WHERE NOT (((col1 > 73.79 AND (col0 <= 99))))
----
0
2
5
7
9

statement ok
DELETE FROM tab1 WHERE ((col1 > 73.79 AND (col0 <= 99)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 > 73.79 AND (col0 <= 99)))
----

query I rowsort label-1065
SELECT pk FROM tab1 WHERE NOT (((col1 > 73.79 AND (col0 <= 99))))
----
0
2
5
7
9

statement ok
DELETE FROM tab2 WHERE ((col1 > 73.79 AND (col0 <= 99)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 > 73.79 AND (col0 <= 99)))
----

query I rowsort label-1065
SELECT pk FROM tab2 WHERE NOT (((col1 > 73.79 AND (col0 <= 99))))
----
0
2
5
7
9

statement ok
DELETE FROM tab3 WHERE ((col1 > 73.79 AND (col0 <= 99)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 > 73.79 AND (col0 <= 99)))
----

query I rowsort label-1065
SELECT pk FROM tab3 WHERE NOT (((col1 > 73.79 AND (col0 <= 99))))
----
0
2
5
7
9

statement ok
DELETE FROM tab4 WHERE ((col1 > 73.79 AND (col0 <= 99)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 > 73.79 AND (col0 <= 99)))
----

query I rowsort label-1065
SELECT pk FROM tab4 WHERE NOT (((col1 > 73.79 AND (col0 <= 99))))
----
0
2
5
7
9

statement ok
DELETE FROM tab0 WHERE col4 < 26.13

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

query I rowsort label-1080
SELECT pk FROM tab0 WHERE NOT (col4 < 26.13)
----
0
2
5
7
9

statement ok
DELETE FROM tab1 WHERE col4 < 26.13

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

query I rowsort label-1080
SELECT pk FROM tab1 WHERE NOT (col4 < 26.13)
----
0
2
5
7
9

statement ok
DELETE FROM tab2 WHERE col4 < 26.13

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

query I rowsort label-1080
SELECT pk FROM tab2 WHERE NOT (col4 < 26.13)
----
0
2
5
7
9

statement ok
DELETE FROM tab3 WHERE col4 < 26.13

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

query I rowsort label-1080
SELECT pk FROM tab3 WHERE NOT (col4 < 26.13)
----
0
2
5
7
9

statement ok
DELETE FROM tab4 WHERE col4 < 26.13

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

query I rowsort label-1080
SELECT pk FROM tab4 WHERE NOT (col4 < 26.13)
----
0
2
5
7
9

statement ok
DELETE FROM tab0 WHERE ((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38
----

query I rowsort label-1095
SELECT pk FROM tab0 WHERE NOT (((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38)
----
2
7
9

statement ok
DELETE FROM tab1 WHERE ((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38
----

query I rowsort label-1095
SELECT pk FROM tab1 WHERE NOT (((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38)
----
2
7
9

statement ok
DELETE FROM tab2 WHERE ((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38
----

query I rowsort label-1095
SELECT pk FROM tab2 WHERE NOT (((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38)
----
2
7
9

statement ok
DELETE FROM tab3 WHERE ((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38
----

query I rowsort label-1095
SELECT pk FROM tab3 WHERE NOT (((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38)
----
2
7
9

statement ok
DELETE FROM tab4 WHERE ((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38
----

query I rowsort label-1095
SELECT pk FROM tab4 WHERE NOT (((col4 >= 67.49)) AND col0 >= 3 AND (col1 > 91.83) OR col3 > 38)
----
2
7
9

statement ok
DELETE FROM tab0 WHERE col3 >= 30

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

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

statement ok
DELETE FROM tab1 WHERE col3 >= 30

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

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

statement ok
DELETE FROM tab2 WHERE col3 >= 30

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

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

statement ok
DELETE FROM tab3 WHERE col3 >= 30

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

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

statement ok
DELETE FROM tab4 WHERE col3 >= 30

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

query I rowsort label-1110
SELECT pk FROM tab4 WHERE NOT (col3 >= 30)
----
2
9

statement ok
DELETE FROM tab0 WHERE col4 > 80.26

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

query I rowsort label-1125
SELECT pk FROM tab0 WHERE NOT (col4 > 80.26)
----

statement ok
DELETE FROM tab1 WHERE col4 > 80.26

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

query I rowsort label-1125
SELECT pk FROM tab1 WHERE NOT (col4 > 80.26)
----

statement ok
DELETE FROM tab2 WHERE col4 > 80.26

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

query I rowsort label-1125
SELECT pk FROM tab2 WHERE NOT (col4 > 80.26)
----

statement ok
DELETE FROM tab3 WHERE col4 > 80.26

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

query I rowsort label-1125
SELECT pk FROM tab3 WHERE NOT (col4 > 80.26)
----

statement ok
DELETE FROM tab4 WHERE col4 > 80.26

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

query I rowsort label-1125
SELECT pk FROM tab4 WHERE NOT (col4 > 80.26)
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,9,61.50,'opppw',97,51.91,'zhfol')

statement ok
INSERT INTO tab0 VALUES(1,30,25.22,'anyuo',33,80.64,'ujuzy')

statement ok
INSERT INTO tab0 VALUES(2,16,57.61,'zeera',66,86.52,'jglnu')

statement ok
INSERT INTO tab0 VALUES(3,43,89.66,'geoxn',92,46.23,'lvqha')

statement ok
INSERT INTO tab0 VALUES(4,68,23.44,'qqaem',68,60.85,'ufary')

statement ok
INSERT INTO tab0 VALUES(5,85,33.68,'vqiso',69,61.42,'eluye')

statement ok
INSERT INTO tab0 VALUES(6,96,88.40,'qbeau',59,26.61,'lblwr')

statement ok
INSERT INTO tab0 VALUES(7,65,56.56,'dzihu',47,94.32,'wrekd')

statement ok
INSERT INTO tab0 VALUES(8,87,22.66,'sntir',52,75.31,'btafv')

statement ok
INSERT INTO tab0 VALUES(9,45,97.37,'ggpym',64,62.82,'dbrlx')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98)
----

query I rowsort label-1140
SELECT pk FROM tab0 WHERE NOT ((col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98))
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab1 WHERE (col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98)
----

query I rowsort label-1140
SELECT pk FROM tab1 WHERE NOT ((col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98))
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab2 WHERE (col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98)
----

query I rowsort label-1140
SELECT pk FROM tab2 WHERE NOT ((col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98))
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab3 WHERE (col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98)
----

query I rowsort label-1140
SELECT pk FROM tab3 WHERE NOT ((col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98))
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab4 WHERE (col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98)
----

query I rowsort label-1140
SELECT pk FROM tab4 WHERE NOT ((col1 > 71.27) OR col0 <= 4 AND col3 < 93 AND col1 > 76.38 OR (col0 >= 98))
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab0 WHERE (col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9))
----

query I rowsort label-1155
SELECT pk FROM tab0 WHERE NOT ((col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9)))
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab1 WHERE (col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9))
----

query I rowsort label-1155
SELECT pk FROM tab1 WHERE NOT ((col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9)))
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab2 WHERE (col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9))
----

query I rowsort label-1155
SELECT pk FROM tab2 WHERE NOT ((col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9)))
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab3 WHERE (col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9))
----

query I rowsort label-1155
SELECT pk FROM tab3 WHERE NOT ((col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9)))
----
0
1
2
4
5
7
8

statement ok
DELETE FROM tab4 WHERE (col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9))
----

query I rowsort label-1155
SELECT pk FROM tab4 WHERE NOT ((col1 <= 49.52 AND (col1 < 70.62 AND col0 <= 52 AND ((col3 >= 27) AND (col3 = 86)) OR col0 IS NULL OR ((col1 >= 47.20)) AND col0 BETWEEN 79 AND 41) AND col4 IN (59.3) AND col4 <= 3.26 AND (((col3 > 60 AND (col3 > 50)))) OR (((col0 >= 64) OR (col3 < 77))) AND col0 = 42) AND col1 > 75.9 AND ((col0 BETWEEN 1 AND 9)))
----
0
1
2
4
5
7
8

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

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

query I rowsort label-1170
SELECT pk FROM tab0 WHERE NOT (((col0 >= 29)))
----
0
2

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

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

query I rowsort label-1170
SELECT pk FROM tab1 WHERE NOT (((col0 >= 29)))
----
0
2

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

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

query I rowsort label-1170
SELECT pk FROM tab2 WHERE NOT (((col0 >= 29)))
----
0
2

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

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

query I rowsort label-1170
SELECT pk FROM tab3 WHERE NOT (((col0 >= 29)))
----
0
2

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

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

query I rowsort label-1170
SELECT pk FROM tab4 WHERE NOT (((col0 >= 29)))
----
0
2

statement ok
DELETE FROM tab0 WHERE ((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74))
----

query I rowsort label-1185
SELECT pk FROM tab0 WHERE NOT (((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74)))
----

statement ok
DELETE FROM tab1 WHERE ((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74))
----

query I rowsort label-1185
SELECT pk FROM tab1 WHERE NOT (((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74)))
----

statement ok
DELETE FROM tab2 WHERE ((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74))
----

query I rowsort label-1185
SELECT pk FROM tab2 WHERE NOT (((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74)))
----

statement ok
DELETE FROM tab3 WHERE ((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74))
----

query I rowsort label-1185
SELECT pk FROM tab3 WHERE NOT (((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74)))
----

statement ok
DELETE FROM tab4 WHERE ((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74))
----

query I rowsort label-1185
SELECT pk FROM tab4 WHERE NOT (((col4 > 28.21)) AND col4 < 75.9 AND col4 > 3.43 OR col3 BETWEEN 52 AND 96 OR col0 > 74 AND (col0 BETWEEN 62 AND 89 OR col0 > 32) OR col3 <= 21 OR col0 BETWEEN 25 AND 32 AND col0 IS NULL AND col0 IN (87,31) AND (col4 IN (99.83,94.74)))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,3,48.27,'ofcig',59,29.19,'omjzi')

statement ok
INSERT INTO tab0 VALUES(1,59,10.20,'rqnyp',69,17.88,'zolbm')

statement ok
INSERT INTO tab0 VALUES(2,76,19.19,'paurz',86,47.81,'pqzpu')

statement ok
INSERT INTO tab0 VALUES(3,26,81.64,'nttdj',60,94.30,'wcneo')

statement ok
INSERT INTO tab0 VALUES(4,22,67.93,'tsilp',61,55.93,'ntiye')

statement ok
INSERT INTO tab0 VALUES(5,86,30.0,'wyynp',48,67.17,'njpjd')

statement ok
INSERT INTO tab0 VALUES(6,7,15.1,'tkizk',34,13.1,'gnoxb')

statement ok
INSERT INTO tab0 VALUES(7,8,76.95,'woytk',41,41.58,'txnlb')

statement ok
INSERT INTO tab0 VALUES(8,2,80.25,'jxvlh',67,71.79,'tgedp')

statement ok
INSERT INTO tab0 VALUES(9,63,31.43,'arzik',49,11.93,'tsnyw')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

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

query I rowsort label-1200
SELECT pk FROM tab0 WHERE NOT (((col0 < 52 AND col1 <= 50.8)))
----
1
2
3
4
5
7
8
9

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

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

query I rowsort label-1200
SELECT pk FROM tab1 WHERE NOT (((col0 < 52 AND col1 <= 50.8)))
----
1
2
3
4
5
7
8
9

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

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

query I rowsort label-1200
SELECT pk FROM tab2 WHERE NOT (((col0 < 52 AND col1 <= 50.8)))
----
1
2
3
4
5
7
8
9

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

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

query I rowsort label-1200
SELECT pk FROM tab3 WHERE NOT (((col0 < 52 AND col1 <= 50.8)))
----
1
2
3
4
5
7
8
9

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

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

query I rowsort label-1200
SELECT pk FROM tab4 WHERE NOT (((col0 < 52 AND col1 <= 50.8)))
----
1
2
3
4
5
7
8
9

statement ok
DELETE FROM tab0 WHERE col3 > 28

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

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

statement ok
DELETE FROM tab1 WHERE col3 > 28

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

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

statement ok
DELETE FROM tab2 WHERE col3 > 28

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

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

statement ok
DELETE FROM tab3 WHERE col3 > 28

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

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

statement ok
DELETE FROM tab4 WHERE col3 > 28

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

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

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,77,5.60,'lciaa',88,39.37,'lykkc')

statement ok
INSERT INTO tab0 VALUES(1,2,88.6,'fexvr',74,85.72,'laebz')

statement ok
INSERT INTO tab0 VALUES(2,12,23.25,'mlppb',17,15.49,'xdiwi')

statement ok
INSERT INTO tab0 VALUES(3,48,26.46,'yrbns',89,53.73,'itfwh')

statement ok
INSERT INTO tab0 VALUES(4,29,83.90,'ssojp',68,99.21,'axvku')

statement ok
INSERT INTO tab0 VALUES(5,13,62.30,'djuba',6,42.5,'iqvxw')

statement ok
INSERT INTO tab0 VALUES(6,58,27.57,'hrhiy',90,73.33,'rvoko')

statement ok
INSERT INTO tab0 VALUES(7,88,45.38,'rxljw',91,94.73,'qplch')

statement ok
INSERT INTO tab0 VALUES(8,53,9.82,'uvpmf',52,34.16,'fevfs')

statement ok
INSERT INTO tab0 VALUES(9,93,40.2,'vqdoh',30,62.35,'tifja')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

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

query I rowsort label-1230
SELECT pk FROM tab0 WHERE NOT ((col3 <= 75))
----
0
3
6
7

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

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

query I rowsort label-1230
SELECT pk FROM tab1 WHERE NOT ((col3 <= 75))
----
0
3
6
7

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

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

query I rowsort label-1230
SELECT pk FROM tab2 WHERE NOT ((col3 <= 75))
----
0
3
6
7

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

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

query I rowsort label-1230
SELECT pk FROM tab3 WHERE NOT ((col3 <= 75))
----
0
3
6
7

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

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

query I rowsort label-1230
SELECT pk FROM tab4 WHERE NOT ((col3 <= 75))
----
0
3
6
7

statement ok
DELETE FROM tab0 WHERE ((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80)
----

query I rowsort label-1245
SELECT pk FROM tab0 WHERE NOT (((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80))
----

statement ok
DELETE FROM tab1 WHERE ((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80)
----

query I rowsort label-1245
SELECT pk FROM tab1 WHERE NOT (((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80))
----

statement ok
DELETE FROM tab2 WHERE ((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80)
----

query I rowsort label-1245
SELECT pk FROM tab2 WHERE NOT (((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80))
----

statement ok
DELETE FROM tab3 WHERE ((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80)
----

query I rowsort label-1245
SELECT pk FROM tab3 WHERE NOT (((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80))
----

statement ok
DELETE FROM tab4 WHERE ((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80)
----

query I rowsort label-1245
SELECT pk FROM tab4 WHERE NOT (((col1 >= 22.76)) AND col0 > 64 AND col0 >= 51 OR (((col1 >= 22.32) AND ((col0 = 4 OR col1 <= 44.47) OR col3 = 50 AND col3 > 77)) AND (col4 >= 0.73) OR ((((col0 > 22)) OR (col4 >= 45.3) AND col0 IS NULL AND (col1 > 26.21 OR col0 <= 1 OR col3 > 18))) OR col1 > 51.32 OR col4 > 98.67 OR (col3 IS NULL AND (col0 >= 73 AND col1 > 81.12) AND col0 = 63) OR (col3 >= 35) AND col3 = 7) OR col0 > 76 AND col3 IS NULL AND col3 IN (73,59,60) AND col0 IN (80))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,0,27.57,'plsnz',19,21.71,'qvanf')

statement ok
INSERT INTO tab0 VALUES(1,40,57.34,'ppsfr',98,80.56,'uqfzy')

statement ok
INSERT INTO tab0 VALUES(2,18,78.80,'uwtpn',90,62.43,'ihvmh')

statement ok
INSERT INTO tab0 VALUES(3,51,3.58,'drown',91,43.0,'drnlk')

statement ok
INSERT INTO tab0 VALUES(4,53,54.8,'kbcup',73,68.2,'vasfr')

statement ok
INSERT INTO tab0 VALUES(5,99,72.6,'flnla',54,56.91,'cqqsr')

statement ok
INSERT INTO tab0 VALUES(6,86,34.26,'gzhth',51,19.39,'sojck')

statement ok
INSERT INTO tab0 VALUES(7,94,64.1,'kjngk',49,69.9,'qcdii')

statement ok
INSERT INTO tab0 VALUES(8,52,42.91,'umtny',60,33.21,'engvr')

statement ok
INSERT INTO tab0 VALUES(9,95,21.42,'zxlyc',87,70.10,'fqmdf')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col0 < 57)

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

query I rowsort label-1260
SELECT pk FROM tab0 WHERE NOT ((col0 < 57))
----
5
6
7
9

statement ok
DELETE FROM tab1 WHERE (col0 < 57)

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

query I rowsort label-1260
SELECT pk FROM tab1 WHERE NOT ((col0 < 57))
----
5
6
7
9

statement ok
DELETE FROM tab2 WHERE (col0 < 57)

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

query I rowsort label-1260
SELECT pk FROM tab2 WHERE NOT ((col0 < 57))
----
5
6
7
9

statement ok
DELETE FROM tab3 WHERE (col0 < 57)

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

query I rowsort label-1260
SELECT pk FROM tab3 WHERE NOT ((col0 < 57))
----
5
6
7
9

statement ok
DELETE FROM tab4 WHERE (col0 < 57)

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

query I rowsort label-1260
SELECT pk FROM tab4 WHERE NOT ((col0 < 57))
----
5
6
7
9

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,64,80.0,'qvbmj',19,32.98,'yngue')

statement ok
INSERT INTO tab0 VALUES(1,22,96.54,'vytnu',23,86.33,'cxyso')

statement ok
INSERT INTO tab0 VALUES(2,52,35.65,'bndtp',72,47.74,'xksvu')

statement ok
INSERT INTO tab0 VALUES(3,82,69.61,'dnkjl',95,79.60,'yyrps')

statement ok
INSERT INTO tab0 VALUES(4,70,76.47,'ushdi',9,90.16,'gxvbj')

statement ok
INSERT INTO tab0 VALUES(5,18,4.18,'xvqmf',28,87.59,'eenaq')

statement ok
INSERT INTO tab0 VALUES(6,83,37.66,'nryqu',79,42.12,'ridfv')

statement ok
INSERT INTO tab0 VALUES(7,88,50.1,'chfsy',14,53.22,'gpueg')

statement ok
INSERT INTO tab0 VALUES(8,41,81.57,'kciyj',22,10.63,'ihwtb')

statement ok
INSERT INTO tab0 VALUES(9,42,84.6,'cwuoj',39,50.59,'corvn')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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_3 ON tab2 (col4 DESC,col1 DESC)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col1 > 90.99

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

query I rowsort label-1275
SELECT pk FROM tab0 WHERE NOT (col1 > 90.99)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab1 WHERE col1 > 90.99

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

query I rowsort label-1275
SELECT pk FROM tab1 WHERE NOT (col1 > 90.99)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab2 WHERE col1 > 90.99

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

query I rowsort label-1275
SELECT pk FROM tab2 WHERE NOT (col1 > 90.99)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab3 WHERE col1 > 90.99

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

query I rowsort label-1275
SELECT pk FROM tab3 WHERE NOT (col1 > 90.99)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab4 WHERE col1 > 90.99

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

query I rowsort label-1275
SELECT pk FROM tab4 WHERE NOT (col1 > 90.99)
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab0 WHERE (col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91)
----

query I rowsort label-1290
SELECT pk FROM tab0 WHERE NOT ((col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab1 WHERE (col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91)
----

query I rowsort label-1290
SELECT pk FROM tab1 WHERE NOT ((col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab2 WHERE (col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91)
----

query I rowsort label-1290
SELECT pk FROM tab2 WHERE NOT ((col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab3 WHERE (col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91)
----

query I rowsort label-1290
SELECT pk FROM tab3 WHERE NOT ((col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab4 WHERE (col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91)
----

query I rowsort label-1290
SELECT pk FROM tab4 WHERE NOT ((col3 = 34 OR col0 <= 35 AND col0 > 43 AND col3 BETWEEN 49 AND 91))
----
9 values hashing to a09f741e1007d9cc99c658732e945c31

statement ok
DELETE FROM tab0 WHERE ((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93)))
----

query I rowsort label-1305
SELECT pk FROM tab0 WHERE NOT (((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93))))
----
0
3
4
7
8
9

statement ok
DELETE FROM tab1 WHERE ((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93)))
----

query I rowsort label-1305
SELECT pk FROM tab1 WHERE NOT (((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93))))
----
0
3
4
7
8
9

statement ok
DELETE FROM tab2 WHERE ((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93)))
----

query I rowsort label-1305
SELECT pk FROM tab2 WHERE NOT (((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93))))
----
0
3
4
7
8
9

statement ok
DELETE FROM tab3 WHERE ((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93)))
----

query I rowsort label-1305
SELECT pk FROM tab3 WHERE NOT (((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93))))
----
0
3
4
7
8
9

statement ok
DELETE FROM tab4 WHERE ((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93)))
----

query I rowsort label-1305
SELECT pk FROM tab4 WHERE NOT (((col1 < 41.80 OR (col0 BETWEEN 37 AND 89 AND col1 IS NULL AND (((((((col4 IS NULL) AND col0 <= 64 AND (col3 = 23) OR col0 > 49) AND col3 > 64) OR col1 < 23.76 OR col0 >= 32 AND (col1 >= 80.46))))) AND col3 IS NULL AND col0 < 98 AND ((((col3 < 83)))) OR col0 < 38 AND col0 > 61 OR (((col0 > 50)) AND (((col3 IS NULL OR col3 BETWEEN 63 AND 89 AND col0 <= 79 AND col0 > 38 AND col3 >= 17 OR col4 >= 41.78 AND col3 IN (19,12,89) AND col1 < 48.91 OR col1 > 19.93 AND col0 = 94 AND col1 <= 71.16 AND ((col0 = 79)) AND col3 < 89)))) AND col1 IS NULL) OR (col0 >= 93))))
----
0
3
4
7
8
9

statement ok
DELETE FROM tab0 WHERE col0 >= 90

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

query I rowsort label-1320
SELECT pk FROM tab0 WHERE NOT (col0 >= 90)
----
0
3
4
7
8
9

statement ok
DELETE FROM tab1 WHERE col0 >= 90

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

query I rowsort label-1320
SELECT pk FROM tab1 WHERE NOT (col0 >= 90)
----
0
3
4
7
8
9

statement ok
DELETE FROM tab2 WHERE col0 >= 90

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

query I rowsort label-1320
SELECT pk FROM tab2 WHERE NOT (col0 >= 90)
----
0
3
4
7
8
9

statement ok
DELETE FROM tab3 WHERE col0 >= 90

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

query I rowsort label-1320
SELECT pk FROM tab3 WHERE NOT (col0 >= 90)
----
0
3
4
7
8
9

statement ok
DELETE FROM tab4 WHERE col0 >= 90

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

query I rowsort label-1320
SELECT pk FROM tab4 WHERE NOT (col0 >= 90)
----
0
3
4
7
8
9

statement ok
DELETE FROM tab0 WHERE (col0 > 65)

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

query I rowsort label-1335
SELECT pk FROM tab0 WHERE NOT ((col0 > 65))
----
0
8
9

statement ok
DELETE FROM tab1 WHERE (col0 > 65)

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

query I rowsort label-1335
SELECT pk FROM tab1 WHERE NOT ((col0 > 65))
----
0
8
9

statement ok
DELETE FROM tab2 WHERE (col0 > 65)

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

query I rowsort label-1335
SELECT pk FROM tab2 WHERE NOT ((col0 > 65))
----
0
8
9

statement ok
DELETE FROM tab3 WHERE (col0 > 65)

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

query I rowsort label-1335
SELECT pk FROM tab3 WHERE NOT ((col0 > 65))
----
0
8
9

statement ok
DELETE FROM tab4 WHERE (col0 > 65)

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

query I rowsort label-1335
SELECT pk FROM tab4 WHERE NOT ((col0 > 65))
----
0
8
9

statement ok
DELETE FROM tab0 WHERE col4 < 17.47

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

query I rowsort label-1350
SELECT pk FROM tab0 WHERE NOT (col4 < 17.47)
----
0
9

statement ok
DELETE FROM tab1 WHERE col4 < 17.47

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

query I rowsort label-1350
SELECT pk FROM tab1 WHERE NOT (col4 < 17.47)
----
0
9

statement ok
DELETE FROM tab2 WHERE col4 < 17.47

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

query I rowsort label-1350
SELECT pk FROM tab2 WHERE NOT (col4 < 17.47)
----
0
9

statement ok
DELETE FROM tab3 WHERE col4 < 17.47

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

query I rowsort label-1350
SELECT pk FROM tab3 WHERE NOT (col4 < 17.47)
----
0
9

statement ok
DELETE FROM tab4 WHERE col4 < 17.47

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

query I rowsort label-1350
SELECT pk FROM tab4 WHERE NOT (col4 < 17.47)
----
0
9

statement ok
DELETE FROM tab0 WHERE ((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26))))
----

query I rowsort label-1365
SELECT pk FROM tab0 WHERE NOT (((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26)))))
----
0
9

statement ok
DELETE FROM tab1 WHERE ((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26))))
----

query I rowsort label-1365
SELECT pk FROM tab1 WHERE NOT (((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26)))))
----
0
9

statement ok
DELETE FROM tab2 WHERE ((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26))))
----

query I rowsort label-1365
SELECT pk FROM tab2 WHERE NOT (((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26)))))
----
0
9

statement ok
DELETE FROM tab3 WHERE ((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26))))
----

query I rowsort label-1365
SELECT pk FROM tab3 WHERE NOT (((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26)))))
----
0
9

statement ok
DELETE FROM tab4 WHERE ((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26))))
----

query I rowsort label-1365
SELECT pk FROM tab4 WHERE NOT (((col0 IS NULL AND col0 > 17)) OR col0 IS NULL AND col0 >= 68 AND col3 <= 21 OR (((col0 > 65 AND col3 < 22 OR (col0 BETWEEN 73 AND 26)))))
----
0
9

statement ok
DELETE FROM tab0 WHERE col3 >= 63

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

query I rowsort label-1380
SELECT pk FROM tab0 WHERE NOT (col3 >= 63)
----
0
9

statement ok
DELETE FROM tab1 WHERE col3 >= 63

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

query I rowsort label-1380
SELECT pk FROM tab1 WHERE NOT (col3 >= 63)
----
0
9

statement ok
DELETE FROM tab2 WHERE col3 >= 63

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

query I rowsort label-1380
SELECT pk FROM tab2 WHERE NOT (col3 >= 63)
----
0
9

statement ok
DELETE FROM tab3 WHERE col3 >= 63

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

query I rowsort label-1380
SELECT pk FROM tab3 WHERE NOT (col3 >= 63)
----
0
9

statement ok
DELETE FROM tab4 WHERE col3 >= 63

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

query I rowsort label-1380
SELECT pk FROM tab4 WHERE NOT (col3 >= 63)
----
0
9

statement ok
DELETE FROM tab0 WHERE col4 BETWEEN 66.25 AND 80.69

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 BETWEEN 66.25 AND 80.69
----

query I rowsort label-1395
SELECT pk FROM tab0 WHERE NOT (col4 BETWEEN 66.25 AND 80.69)
----
0
9

statement ok
DELETE FROM tab1 WHERE col4 BETWEEN 66.25 AND 80.69

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 BETWEEN 66.25 AND 80.69
----

query I rowsort label-1395
SELECT pk FROM tab1 WHERE NOT (col4 BETWEEN 66.25 AND 80.69)
----
0
9

statement ok
DELETE FROM tab2 WHERE col4 BETWEEN 66.25 AND 80.69

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 BETWEEN 66.25 AND 80.69
----

query I rowsort label-1395
SELECT pk FROM tab2 WHERE NOT (col4 BETWEEN 66.25 AND 80.69)
----
0
9

statement ok
DELETE FROM tab3 WHERE col4 BETWEEN 66.25 AND 80.69

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 BETWEEN 66.25 AND 80.69
----

query I rowsort label-1395
SELECT pk FROM tab3 WHERE NOT (col4 BETWEEN 66.25 AND 80.69)
----
0
9

statement ok
DELETE FROM tab4 WHERE col4 BETWEEN 66.25 AND 80.69

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 BETWEEN 66.25 AND 80.69
----

query I rowsort label-1395
SELECT pk FROM tab4 WHERE NOT (col4 BETWEEN 66.25 AND 80.69)
----
0
9

statement ok
DELETE FROM tab0 WHERE col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70
----

query I rowsort label-1410
SELECT pk FROM tab0 WHERE NOT (col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70)
----
0
9

statement ok
DELETE FROM tab1 WHERE col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70
----

query I rowsort label-1410
SELECT pk FROM tab1 WHERE NOT (col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70)
----
0
9

statement ok
DELETE FROM tab2 WHERE col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70
----

query I rowsort label-1410
SELECT pk FROM tab2 WHERE NOT (col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70)
----
0
9

statement ok
DELETE FROM tab3 WHERE col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70
----

query I rowsort label-1410
SELECT pk FROM tab3 WHERE NOT (col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70)
----
0
9

statement ok
DELETE FROM tab4 WHERE col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70
----

query I rowsort label-1410
SELECT pk FROM tab4 WHERE NOT (col3 <= 60 AND (col3 > 61 AND (col1 < 7.58)) AND col1 > 3.60 AND col3 <= 70)
----
0
9

statement ok
DELETE FROM tab0 WHERE (col0 < 29 AND col4 <= 32.53)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 29 AND col4 <= 32.53)
----

query I rowsort label-1425
SELECT pk FROM tab0 WHERE NOT ((col0 < 29 AND col4 <= 32.53))
----
0
9

statement ok
DELETE FROM tab1 WHERE (col0 < 29 AND col4 <= 32.53)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 29 AND col4 <= 32.53)
----

query I rowsort label-1425
SELECT pk FROM tab1 WHERE NOT ((col0 < 29 AND col4 <= 32.53))
----
0
9

statement ok
DELETE FROM tab2 WHERE (col0 < 29 AND col4 <= 32.53)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 29 AND col4 <= 32.53)
----

query I rowsort label-1425
SELECT pk FROM tab2 WHERE NOT ((col0 < 29 AND col4 <= 32.53))
----
0
9

statement ok
DELETE FROM tab3 WHERE (col0 < 29 AND col4 <= 32.53)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 29 AND col4 <= 32.53)
----

query I rowsort label-1425
SELECT pk FROM tab3 WHERE NOT ((col0 < 29 AND col4 <= 32.53))
----
0
9

statement ok
DELETE FROM tab4 WHERE (col0 < 29 AND col4 <= 32.53)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 29 AND col4 <= 32.53)
----

query I rowsort label-1425
SELECT pk FROM tab4 WHERE NOT ((col0 < 29 AND col4 <= 32.53))
----
0
9

statement ok
DELETE FROM tab0 WHERE (col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66)
----

query I rowsort label-1440
SELECT pk FROM tab0 WHERE NOT ((col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66))
----
9

statement ok
DELETE FROM tab1 WHERE (col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66)
----

query I rowsort label-1440
SELECT pk FROM tab1 WHERE NOT ((col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66))
----
9

statement ok
DELETE FROM tab2 WHERE (col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66)
----

query I rowsort label-1440
SELECT pk FROM tab2 WHERE NOT ((col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66))
----
9

statement ok
DELETE FROM tab3 WHERE (col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66)
----

query I rowsort label-1440
SELECT pk FROM tab3 WHERE NOT ((col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66))
----
9

statement ok
DELETE FROM tab4 WHERE (col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66)
----

query I rowsort label-1440
SELECT pk FROM tab4 WHERE NOT ((col3 < 35 AND ((col1 > 10.18)) OR ((col4 <= 13.96)) AND (((col4 < 76.36 AND (col0 >= 84 OR (col0 <= 77) AND ((col0 IS NULL)))) AND col4 < 87.29) OR ((col0 > 71))) AND (col4 >= 89.65)) AND (col1 > 51.64 OR col1 >= 19.66))
----
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,91,33.30,'uqrdi',14,54.28,'yrtzt')

statement ok
INSERT INTO tab0 VALUES(1,26,98.8,'wazmm',31,55.81,'ryqmg')

statement ok
INSERT INTO tab0 VALUES(2,9,2.61,'meqls',19,98.82,'aqvuu')

statement ok
INSERT INTO tab0 VALUES(3,7,40.29,'nxtjm',43,80.80,'rghsp')

statement ok
INSERT INTO tab0 VALUES(4,51,8.61,'tmswp',68,96.12,'rcjbu')

statement ok
INSERT INTO tab0 VALUES(5,3,7.72,'tmgmi',20,60.65,'pdvjo')

statement ok
INSERT INTO tab0 VALUES(6,19,65.11,'hhsbn',47,16.38,'qiyjg')

statement ok
INSERT INTO tab0 VALUES(7,8,45.19,'hryss',86,47.7,'qmvuj')

statement ok
INSERT INTO tab0 VALUES(8,95,55.95,'yqrdh',21,92.82,'kvhvz')

statement ok
INSERT INTO tab0 VALUES(9,89,67.55,'wtmlr',45,56.78,'tmdxn')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC)

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col0 < 81)

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

query I rowsort label-1455
SELECT pk FROM tab0 WHERE NOT ((col0 < 81))
----
0
8
9

statement ok
DELETE FROM tab1 WHERE (col0 < 81)

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

query I rowsort label-1455
SELECT pk FROM tab1 WHERE NOT ((col0 < 81))
----
0
8
9

statement ok
DELETE FROM tab2 WHERE (col0 < 81)

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

query I rowsort label-1455
SELECT pk FROM tab2 WHERE NOT ((col0 < 81))
----
0
8
9

statement ok
DELETE FROM tab3 WHERE (col0 < 81)

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

query I rowsort label-1455
SELECT pk FROM tab3 WHERE NOT ((col0 < 81))
----
0
8
9

statement ok
DELETE FROM tab4 WHERE (col0 < 81)

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

query I rowsort label-1455
SELECT pk FROM tab4 WHERE NOT ((col0 < 81))
----
0
8
9

statement ok
DELETE FROM tab0 WHERE col0 < 7 AND col1 >= 81.70

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 7 AND col1 >= 81.70
----

query I rowsort label-1470
SELECT pk FROM tab0 WHERE NOT (col0 < 7 AND col1 >= 81.70)
----
0
8
9

statement ok
DELETE FROM tab1 WHERE col0 < 7 AND col1 >= 81.70

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 7 AND col1 >= 81.70
----

query I rowsort label-1470
SELECT pk FROM tab1 WHERE NOT (col0 < 7 AND col1 >= 81.70)
----
0
8
9

statement ok
DELETE FROM tab2 WHERE col0 < 7 AND col1 >= 81.70

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 7 AND col1 >= 81.70
----

query I rowsort label-1470
SELECT pk FROM tab2 WHERE NOT (col0 < 7 AND col1 >= 81.70)
----
0
8
9

statement ok
DELETE FROM tab3 WHERE col0 < 7 AND col1 >= 81.70

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 7 AND col1 >= 81.70
----

query I rowsort label-1470
SELECT pk FROM tab3 WHERE NOT (col0 < 7 AND col1 >= 81.70)
----
0
8
9

statement ok
DELETE FROM tab4 WHERE col0 < 7 AND col1 >= 81.70

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 7 AND col1 >= 81.70
----

query I rowsort label-1470
SELECT pk FROM tab4 WHERE NOT (col0 < 7 AND col1 >= 81.70)
----
0
8
9

statement ok
DELETE FROM tab0 WHERE (col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95)
----

query I rowsort label-1485
SELECT pk FROM tab0 WHERE NOT ((col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95))
----

statement ok
DELETE FROM tab1 WHERE (col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95)
----

query I rowsort label-1485
SELECT pk FROM tab1 WHERE NOT ((col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95))
----

statement ok
DELETE FROM tab2 WHERE (col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95)
----

query I rowsort label-1485
SELECT pk FROM tab2 WHERE NOT ((col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95))
----

statement ok
DELETE FROM tab3 WHERE (col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95)
----

query I rowsort label-1485
SELECT pk FROM tab3 WHERE NOT ((col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95))
----

statement ok
DELETE FROM tab4 WHERE (col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95)
----

query I rowsort label-1485
SELECT pk FROM tab4 WHERE NOT ((col3 IS NULL) AND col3 <= 46 OR col0 > 74 OR col3 IN (56) AND col3 > 28 OR (col3 < 95))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,87,0.92,'vujkd',17,88.48,'owcdl')

statement ok
INSERT INTO tab0 VALUES(1,57,50.44,'mabns',49,3.85,'retfq')

statement ok
INSERT INTO tab0 VALUES(2,37,29.95,'gicur',18,4.30,'cksrl')

statement ok
INSERT INTO tab0 VALUES(3,67,39.48,'nwoqa',16,40.43,'nrjyq')

statement ok
INSERT INTO tab0 VALUES(4,95,71.45,'pfogb',44,36.77,'anzxp')

statement ok
INSERT INTO tab0 VALUES(5,80,69.78,'fkyzy',29,43.89,'hyhzc')

statement ok
INSERT INTO tab0 VALUES(6,16,85.99,'kytdn',30,7.55,'qpdio')

statement ok
INSERT INTO tab0 VALUES(7,35,49.35,'vdznr',56,32.81,'kxbab')

statement ok
INSERT INTO tab0 VALUES(8,23,28.0,'pbeee',76,41.18,'pdyyr')

statement ok
INSERT INTO tab0 VALUES(9,36,91.8,'vtyse',31,33.72,'oprfi')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col3 < 45

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

query I rowsort label-1500
SELECT pk FROM tab0 WHERE NOT (col3 < 45)
----
1
7
8

statement ok
DELETE FROM tab1 WHERE col3 < 45

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

query I rowsort label-1500
SELECT pk FROM tab1 WHERE NOT (col3 < 45)
----
1
7
8

statement ok
DELETE FROM tab2 WHERE col3 < 45

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

query I rowsort label-1500
SELECT pk FROM tab2 WHERE NOT (col3 < 45)
----
1
7
8

statement ok
DELETE FROM tab3 WHERE col3 < 45

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

query I rowsort label-1500
SELECT pk FROM tab3 WHERE NOT (col3 < 45)
----
1
7
8

statement ok
DELETE FROM tab4 WHERE col3 < 45

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

query I rowsort label-1500
SELECT pk FROM tab4 WHERE NOT (col3 < 45)
----
1
7
8

statement ok
DELETE FROM tab0 WHERE col0 <= 21

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

query I rowsort label-1515
SELECT pk FROM tab0 WHERE NOT (col0 <= 21)
----
1
7
8

statement ok
DELETE FROM tab1 WHERE col0 <= 21

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

query I rowsort label-1515
SELECT pk FROM tab1 WHERE NOT (col0 <= 21)
----
1
7
8

statement ok
DELETE FROM tab2 WHERE col0 <= 21

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

query I rowsort label-1515
SELECT pk FROM tab2 WHERE NOT (col0 <= 21)
----
1
7
8

statement ok
DELETE FROM tab3 WHERE col0 <= 21

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

query I rowsort label-1515
SELECT pk FROM tab3 WHERE NOT (col0 <= 21)
----
1
7
8

statement ok
DELETE FROM tab4 WHERE col0 <= 21

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

query I rowsort label-1515
SELECT pk FROM tab4 WHERE NOT (col0 <= 21)
----
1
7
8

statement ok
DELETE FROM tab0 WHERE col1 <= 18.35

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

query I rowsort label-1530
SELECT pk FROM tab0 WHERE NOT (col1 <= 18.35)
----
1
7
8

statement ok
DELETE FROM tab1 WHERE col1 <= 18.35

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

query I rowsort label-1530
SELECT pk FROM tab1 WHERE NOT (col1 <= 18.35)
----
1
7
8

statement ok
DELETE FROM tab2 WHERE col1 <= 18.35

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

query I rowsort label-1530
SELECT pk FROM tab2 WHERE NOT (col1 <= 18.35)
----
1
7
8

statement ok
DELETE FROM tab3 WHERE col1 <= 18.35

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

query I rowsort label-1530
SELECT pk FROM tab3 WHERE NOT (col1 <= 18.35)
----
1
7
8

statement ok
DELETE FROM tab4 WHERE col1 <= 18.35

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

query I rowsort label-1530
SELECT pk FROM tab4 WHERE NOT (col1 <= 18.35)
----
1
7
8

statement ok
DELETE FROM tab0 WHERE col1 = 16.24

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

query I rowsort label-1545
SELECT pk FROM tab0 WHERE NOT (col1 = 16.24)
----
1
7
8

statement ok
DELETE FROM tab1 WHERE col1 = 16.24

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

query I rowsort label-1545
SELECT pk FROM tab1 WHERE NOT (col1 = 16.24)
----
1
7
8

statement ok
DELETE FROM tab2 WHERE col1 = 16.24

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

query I rowsort label-1545
SELECT pk FROM tab2 WHERE NOT (col1 = 16.24)
----
1
7
8

statement ok
DELETE FROM tab3 WHERE col1 = 16.24

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

query I rowsort label-1545
SELECT pk FROM tab3 WHERE NOT (col1 = 16.24)
----
1
7
8

statement ok
DELETE FROM tab4 WHERE col1 = 16.24

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

query I rowsort label-1545
SELECT pk FROM tab4 WHERE NOT (col1 = 16.24)
----
1
7
8

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,34,40.40,'kblww',47,48.80,'dqdqy')

statement ok
INSERT INTO tab0 VALUES(1,25,85.71,'vvauy',76,33.60,'hslxr')

statement ok
INSERT INTO tab0 VALUES(2,87,41.55,'peiut',52,55.39,'rgnop')

statement ok
INSERT INTO tab0 VALUES(3,7,6.99,'klkev',80,66.66,'pkfol')

statement ok
INSERT INTO tab0 VALUES(4,49,62.63,'jkepp',19,57.72,'dkxlv')

statement ok
INSERT INTO tab0 VALUES(5,8,87.13,'kurtj',42,71.30,'zkjek')

statement ok
INSERT INTO tab0 VALUES(6,74,69.93,'cyxyp',1,16.16,'tyfpv')

statement ok
INSERT INTO tab0 VALUES(7,3,14.81,'aleuw',91,80.77,'youff')

statement ok
INSERT INTO tab0 VALUES(8,68,67.54,'uwftd',6,38.86,'hojrx')

statement ok
INSERT INTO tab0 VALUES(9,29,15.49,'edexu',11,69.10,'qphmu')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3 DESC,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,col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91)
----

query I rowsort label-1560
SELECT pk FROM tab0 WHERE NOT ((col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91))
----

statement ok
DELETE FROM tab1 WHERE (col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91)
----

query I rowsort label-1560
SELECT pk FROM tab1 WHERE NOT ((col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91))
----

statement ok
DELETE FROM tab2 WHERE (col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91)
----

query I rowsort label-1560
SELECT pk FROM tab2 WHERE NOT ((col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91))
----

statement ok
DELETE FROM tab3 WHERE (col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91)
----

query I rowsort label-1560
SELECT pk FROM tab3 WHERE NOT ((col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91))
----

statement ok
DELETE FROM tab4 WHERE (col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91)
----

query I rowsort label-1560
SELECT pk FROM tab4 WHERE NOT ((col0 <= 38 AND ((col3 <= 21)) OR (((col1 < 72.69))) AND col4 >= 49.77 OR col3 > 41 OR col3 = 61 OR col1 < 44.0 AND (col4 < 35.55) OR col0 < 91))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,17,37.70,'wnpiz',79,41.11,'duywg')

statement ok
INSERT INTO tab0 VALUES(1,21,63.89,'skgyr',50,71.38,'nbwap')

statement ok
INSERT INTO tab0 VALUES(2,24,38.84,'hvctl',27,27.96,'banwc')

statement ok
INSERT INTO tab0 VALUES(3,0,91.99,'yeulq',42,72.49,'rtwhc')

statement ok
INSERT INTO tab0 VALUES(4,66,26.70,'mufjl',25,61.55,'iuhcr')

statement ok
INSERT INTO tab0 VALUES(5,94,77.30,'qgypw',18,24.79,'whgvm')

statement ok
INSERT INTO tab0 VALUES(6,25,76.30,'sfzez',90,11.7,'ogwae')

statement ok
INSERT INTO tab0 VALUES(7,80,10.43,'frgfx',44,63.56,'pooha')

statement ok
INSERT INTO tab0 VALUES(8,75,90.83,'oehzc',33,74.87,'zbror')

statement ok
INSERT INTO tab0 VALUES(9,29,7.14,'qtxyh',73,49.20,'vwcbu')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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,col4)

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col3 > 5 OR ((col0 = 9))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 5 OR ((col0 = 9))
----

query I rowsort label-1575
SELECT pk FROM tab0 WHERE NOT (col3 > 5 OR ((col0 = 9)))
----

statement ok
DELETE FROM tab1 WHERE col3 > 5 OR ((col0 = 9))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 5 OR ((col0 = 9))
----

query I rowsort label-1575
SELECT pk FROM tab1 WHERE NOT (col3 > 5 OR ((col0 = 9)))
----

statement ok
DELETE FROM tab2 WHERE col3 > 5 OR ((col0 = 9))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 5 OR ((col0 = 9))
----

query I rowsort label-1575
SELECT pk FROM tab2 WHERE NOT (col3 > 5 OR ((col0 = 9)))
----

statement ok
DELETE FROM tab3 WHERE col3 > 5 OR ((col0 = 9))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 5 OR ((col0 = 9))
----

query I rowsort label-1575
SELECT pk FROM tab3 WHERE NOT (col3 > 5 OR ((col0 = 9)))
----

statement ok
DELETE FROM tab4 WHERE col3 > 5 OR ((col0 = 9))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 5 OR ((col0 = 9))
----

query I rowsort label-1575
SELECT pk FROM tab4 WHERE NOT (col3 > 5 OR ((col0 = 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,6,42.89,'humxp',10,49.47,'txirh')

statement ok
INSERT INTO tab0 VALUES(1,22,85.83,'punko',37,78.60,'nsrry')

statement ok
INSERT INTO tab0 VALUES(2,36,17.17,'azblo',96,12.2,'ouosb')

statement ok
INSERT INTO tab0 VALUES(3,21,8.10,'ebbua',78,71.41,'zhvxe')

statement ok
INSERT INTO tab0 VALUES(4,50,31.68,'atxef',2,87.14,'wpufd')

statement ok
INSERT INTO tab0 VALUES(5,55,77.48,'yhhdj',80,11.89,'hyfyk')

statement ok
INSERT INTO tab0 VALUES(6,95,65.22,'aaqja',81,34.29,'nyppg')

statement ok
INSERT INTO tab0 VALUES(7,11,55.33,'caynw',88,90.51,'fjclq')

statement ok
INSERT INTO tab0 VALUES(8,97,64.64,'uwbua',67,79.94,'kptzp')

statement ok
INSERT INTO tab0 VALUES(9,54,73.99,'ubxle',24,66.76,'pmssg')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,63.0,'smewb',61,97.75,'djflw')

statement ok
INSERT INTO tab0 VALUES(1,36,95.42,'jylrw',21,94.80,'ifnrb')

statement ok
INSERT INTO tab0 VALUES(2,17,54.15,'ecklv',37,63.92,'cfffm')

statement ok
INSERT INTO tab0 VALUES(3,31,67.3,'pntlx',70,4.74,'snuum')

statement ok
INSERT INTO tab0 VALUES(4,0,52.21,'iereb',54,92.69,'vbazx')

statement ok
INSERT INTO tab0 VALUES(5,26,80.23,'ssonb',12,35.17,'hfwio')

statement ok
INSERT INTO tab0 VALUES(6,6,37.13,'rnqzy',68,38.68,'rhtow')

statement ok
INSERT INTO tab0 VALUES(7,45,88.64,'btptt',60,67.94,'ummqp')

statement ok
INSERT INTO tab0 VALUES(8,66,38.23,'lpdva',52,7.98,'qzpuh')

statement ok
INSERT INTO tab0 VALUES(9,27,97.30,'sksco',46,32.32,'qegwe')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4)

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,64,78.51,'jqwzj',72,39.41,'zsykm')

statement ok
INSERT INTO tab0 VALUES(1,43,36.2,'drusl',7,33.85,'devtt')

statement ok
INSERT INTO tab0 VALUES(2,82,95.43,'vjoyw',83,54.48,'dilem')

statement ok
INSERT INTO tab0 VALUES(3,1,80.68,'rbpmp',38,66.10,'pgrev')

statement ok
INSERT INTO tab0 VALUES(4,11,30.23,'ircsz',12,25.62,'vybhm')

statement ok
INSERT INTO tab0 VALUES(5,34,63.20,'mdvth',59,51.16,'oeilm')

statement ok
INSERT INTO tab0 VALUES(6,8,38.49,'lhnmk',57,82.16,'kveus')

statement ok
INSERT INTO tab0 VALUES(7,7,18.89,'xbqrl',25,45.55,'rzsbo')

statement ok
INSERT INTO tab0 VALUES(8,45,29.21,'lpwgg',31,11.81,'yygop')

statement ok
INSERT INTO tab0 VALUES(9,99,31.42,'dmagg',8,60.17,'nmuke')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

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

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

statement ok
CREATE INDEX idx_tab3_4 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,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col3 = 8

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

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

statement ok
DELETE FROM tab1 WHERE col3 = 8

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

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

statement ok
DELETE FROM tab2 WHERE col3 = 8

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

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

statement ok
DELETE FROM tab3 WHERE col3 = 8

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

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

statement ok
DELETE FROM tab4 WHERE col3 = 8

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

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

statement ok
DELETE FROM tab0 WHERE col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96)
----

query I rowsort label-1605
SELECT pk FROM tab0 WHERE NOT (col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96))
----
1
2
3
4
6

statement ok
DELETE FROM tab1 WHERE col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96)
----

query I rowsort label-1605
SELECT pk FROM tab1 WHERE NOT (col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96))
----
1
2
3
4
6

statement ok
DELETE FROM tab2 WHERE col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96)
----

query I rowsort label-1605
SELECT pk FROM tab2 WHERE NOT (col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96))
----
1
2
3
4
6

statement ok
DELETE FROM tab3 WHERE col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96)
----

query I rowsort label-1605
SELECT pk FROM tab3 WHERE NOT (col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96))
----
1
2
3
4
6

statement ok
DELETE FROM tab4 WHERE col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96)
----

query I rowsort label-1605
SELECT pk FROM tab4 WHERE NOT (col3 > 20 AND col4 < 52.2 AND ((col1 <= 93.14)) OR col3 > 19 AND (col3 > 96))
----
1
2
3
4
6

statement ok
DELETE FROM tab0 WHERE col0 = 40 OR (col1 < 83.95)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 40 OR (col1 < 83.95)
----

query I rowsort label-1620
SELECT pk FROM tab0 WHERE NOT (col0 = 40 OR (col1 < 83.95))
----
2

statement ok
DELETE FROM tab1 WHERE col0 = 40 OR (col1 < 83.95)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 40 OR (col1 < 83.95)
----

query I rowsort label-1620
SELECT pk FROM tab1 WHERE NOT (col0 = 40 OR (col1 < 83.95))
----
2

statement ok
DELETE FROM tab2 WHERE col0 = 40 OR (col1 < 83.95)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 40 OR (col1 < 83.95)
----

query I rowsort label-1620
SELECT pk FROM tab2 WHERE NOT (col0 = 40 OR (col1 < 83.95))
----
2

statement ok
DELETE FROM tab3 WHERE col0 = 40 OR (col1 < 83.95)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 40 OR (col1 < 83.95)
----

query I rowsort label-1620
SELECT pk FROM tab3 WHERE NOT (col0 = 40 OR (col1 < 83.95))
----
2

statement ok
DELETE FROM tab4 WHERE col0 = 40 OR (col1 < 83.95)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 40 OR (col1 < 83.95)
----

query I rowsort label-1620
SELECT pk FROM tab4 WHERE NOT (col0 = 40 OR (col1 < 83.95))
----
2

statement ok
DELETE FROM tab0 WHERE (col3 < 44)

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

query I rowsort label-1635
SELECT pk FROM tab0 WHERE NOT ((col3 < 44))
----
2

statement ok
DELETE FROM tab1 WHERE (col3 < 44)

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

query I rowsort label-1635
SELECT pk FROM tab1 WHERE NOT ((col3 < 44))
----
2

statement ok
DELETE FROM tab2 WHERE (col3 < 44)

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

query I rowsort label-1635
SELECT pk FROM tab2 WHERE NOT ((col3 < 44))
----
2

statement ok
DELETE FROM tab3 WHERE (col3 < 44)

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

query I rowsort label-1635
SELECT pk FROM tab3 WHERE NOT ((col3 < 44))
----
2

statement ok
DELETE FROM tab4 WHERE (col3 < 44)

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

query I rowsort label-1635
SELECT pk FROM tab4 WHERE NOT ((col3 < 44))
----
2

statement ok
DELETE FROM tab0 WHERE ((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97)
----

query I rowsort label-1650
SELECT pk FROM tab0 WHERE NOT (((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97))
----

statement ok
DELETE FROM tab1 WHERE ((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97)
----

query I rowsort label-1650
SELECT pk FROM tab1 WHERE NOT (((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97))
----

statement ok
DELETE FROM tab2 WHERE ((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97)
----

query I rowsort label-1650
SELECT pk FROM tab2 WHERE NOT (((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97))
----

statement ok
DELETE FROM tab3 WHERE ((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97)
----

query I rowsort label-1650
SELECT pk FROM tab3 WHERE NOT (((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97))
----

statement ok
DELETE FROM tab4 WHERE ((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97)
----

query I rowsort label-1650
SELECT pk FROM tab4 WHERE NOT (((col0 >= 65 OR col3 > 61 AND col4 > 2.78 OR col0 < 75 OR (((col1 IS NULL AND (col1 <= 12.46)))) OR (((col4 < 93.54) AND ((col3 >= 82) OR ((col3 > 82 OR col3 IN (65,51) AND col0 <= 83 OR col4 > 93.93 AND col3 > 85 AND (col3 >= 80))) AND (col3 > 38) OR col3 > 20) OR col0 IS NULL))) AND col0 < 97))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,29,3.14,'eoyme',16,52.27,'krtmy')

statement ok
INSERT INTO tab0 VALUES(1,87,20.70,'reuvk',42,45.36,'cnofn')

statement ok
INSERT INTO tab0 VALUES(2,65,19.10,'irhzo',31,76.13,'ydnby')

statement ok
INSERT INTO tab0 VALUES(3,22,40.64,'sgjev',58,32.44,'rrnfj')

statement ok
INSERT INTO tab0 VALUES(4,40,48.88,'mqrjj',4,85.72,'nrvxy')

statement ok
INSERT INTO tab0 VALUES(5,90,46.27,'slxtl',21,96.60,'wlfbc')

statement ok
INSERT INTO tab0 VALUES(6,95,86.81,'vbplm',91,36.56,'utyrk')

statement ok
INSERT INTO tab0 VALUES(7,88,82.60,'xcpdk',90,90.51,'xlctz')

statement ok
INSERT INTO tab0 VALUES(8,77,22.52,'scxsm',51,77.47,'pdmsk')

statement ok
INSERT INTO tab0 VALUES(9,10,80.87,'ucbvq',25,55.14,'duzdy')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

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

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,58.34,'allke',70,37.33,'eibgw')

statement ok
INSERT INTO tab0 VALUES(1,37,13.84,'zqsdw',51,2.42,'wwqbo')

statement ok
INSERT INTO tab0 VALUES(2,92,49.30,'kstuo',61,39.13,'yezox')

statement ok
INSERT INTO tab0 VALUES(3,62,65.97,'tyffg',91,62.30,'zxeco')

statement ok
INSERT INTO tab0 VALUES(4,35,94.21,'criof',90,21.72,'vhbcb')

statement ok
INSERT INTO tab0 VALUES(5,83,7.15,'ddyyw',20,13.75,'mrdqp')

statement ok
INSERT INTO tab0 VALUES(6,28,30.29,'qvwxb',27,96.94,'mzxgl')

statement ok
INSERT INTO tab0 VALUES(7,2,56.13,'ejrff',97,0.66,'xotix')

statement ok
INSERT INTO tab0 VALUES(8,12,57.80,'ozeli',21,42.69,'nrhyo')

statement ok
INSERT INTO tab0 VALUES(9,0,93.68,'tcimh',60,36.92,'wejjf')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

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

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL)
----

query I rowsort label-1665
SELECT pk FROM tab0 WHERE NOT ((col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL)
----

query I rowsort label-1665
SELECT pk FROM tab1 WHERE NOT ((col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL)
----

query I rowsort label-1665
SELECT pk FROM tab2 WHERE NOT ((col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL)
----

query I rowsort label-1665
SELECT pk FROM tab3 WHERE NOT ((col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL)
----

query I rowsort label-1665
SELECT pk FROM tab4 WHERE NOT ((col0 = 9 AND ((((((col0 BETWEEN 82 AND 99)))))) AND col3 >= 27 OR (((col0 < 76))) AND col1 IS NULL AND col4 > 79.69 AND col3 IS NULL))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8
----

query I rowsort label-1680
SELECT pk FROM tab0 WHERE NOT ((((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8)
----
0
6
8

statement ok
DELETE FROM tab1 WHERE (((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8
----

query I rowsort label-1680
SELECT pk FROM tab1 WHERE NOT ((((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8)
----
0
6
8

statement ok
DELETE FROM tab2 WHERE (((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8
----

query I rowsort label-1680
SELECT pk FROM tab2 WHERE NOT ((((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8)
----
0
6
8

statement ok
DELETE FROM tab3 WHERE (((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8
----

query I rowsort label-1680
SELECT pk FROM tab3 WHERE NOT ((((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8)
----
0
6
8

statement ok
DELETE FROM tab4 WHERE (((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8
----

query I rowsort label-1680
SELECT pk FROM tab4 WHERE NOT ((((col0 > 51))) OR col4 <= 49.3 AND ((col1 <= 19.53 OR ((col1 > 59.10 AND col0 < 78 OR col0 > 8 AND (col3 < 21 AND (col1 > 47.83) OR ((((col1 >= 6.27 AND col0 IS NULL)))) OR ((col0 = 57 AND col0 >= 54 AND col4 > 48.38 OR col0 IN (14,57,10))) OR col4 > 53.12))) AND ((((col0 >= 25)) OR (((((((col3 < 0 AND col3 <= 25))))))))))) OR col0 BETWEEN 91 AND 63 AND ((col3 > 14 AND col3 >= 47)) AND col3 >= 6 OR col0 <= 8)
----
0
6
8

statement ok
DELETE FROM tab0 WHERE col4 > 39.5

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

query I rowsort label-1695
SELECT pk FROM tab0 WHERE NOT (col4 > 39.5)
----
0

statement ok
DELETE FROM tab1 WHERE col4 > 39.5

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

query I rowsort label-1695
SELECT pk FROM tab1 WHERE NOT (col4 > 39.5)
----
0

statement ok
DELETE FROM tab2 WHERE col4 > 39.5

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

query I rowsort label-1695
SELECT pk FROM tab2 WHERE NOT (col4 > 39.5)
----
0

statement ok
DELETE FROM tab3 WHERE col4 > 39.5

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

query I rowsort label-1695
SELECT pk FROM tab3 WHERE NOT (col4 > 39.5)
----
0

statement ok
DELETE FROM tab4 WHERE col4 > 39.5

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

query I rowsort label-1695
SELECT pk FROM tab4 WHERE NOT (col4 > 39.5)
----
0

statement ok
DELETE FROM tab0 WHERE (col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37)
----

query I rowsort label-1710
SELECT pk FROM tab0 WHERE NOT ((col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37))
----

statement ok
DELETE FROM tab1 WHERE (col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37)
----

query I rowsort label-1710
SELECT pk FROM tab1 WHERE NOT ((col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37))
----

statement ok
DELETE FROM tab2 WHERE (col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37)
----

query I rowsort label-1710
SELECT pk FROM tab2 WHERE NOT ((col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37))
----

statement ok
DELETE FROM tab3 WHERE (col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37)
----

query I rowsort label-1710
SELECT pk FROM tab3 WHERE NOT ((col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37))
----

statement ok
DELETE FROM tab4 WHERE (col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37)
----

query I rowsort label-1710
SELECT pk FROM tab4 WHERE NOT ((col4 = 59.89 OR col3 < 26 OR col3 >= 63 OR (col0 > 35) OR col4 IN (17.32,59.97,22.94,7.96,12.56) AND (col3 >= 95) AND col1 = 77.68 AND ((col0 IS NULL)) AND ((col3 IS NULL AND ((col0 < 98)) OR col4 <= 54.35 OR col3 <= 28 AND col1 >= 62.96 AND col3 <= 88 AND ((col3 <= 86) OR col1 <= 83.81) AND col0 < 87 AND col0 = 68)) OR col3 = 82 OR col0 >= 44 AND col3 IS NULL AND col4 > 72.41 OR ((((((col1 < 74.44))) AND col0 > 35 OR (col3 < 19) AND (((col3 > 51) AND (col0 < 9) OR col1 >= 97.65 AND col0 > 5 OR col0 > 62 AND col0 < 81 OR col4 > 3.9 AND col4 < 66.23 OR ((col0 BETWEEN 42 AND 68)) AND col3 > 18 AND (col0 < 66) AND (col4 > 66.10 OR col3 IN (57) AND col3 >= 39 AND ((col0 > 43)) AND col0 < 46 AND col3 <= 54 AND (col3 > 72) OR ((col4 < 24.48) OR (col4 >= 31.21) AND ((((col3 < 80))))) AND col1 > 34.48 AND (col3 > 74 OR col1 > 79.6) OR (col4 < 19.13) OR col3 > 32) AND (col1 > 55.57))) OR col3 <= 94 OR (((col0 > 79 AND col1 > 71.94) OR col1 = 66.99) OR col3 > 85 OR col3 < 47) OR col4 <= 20.48 OR (col0 < 4 AND (col1 >= 63.76) AND (((col3 >= 69))))))) AND col3 > 50 AND col4 IN (12.73,78.12,96.4,54.21) AND ((((col0 IS NULL)))) OR col0 = 23 AND col3 > 7 OR ((((col3 >= 34)) AND col0 <= 2 AND ((col4 > 55.23)) OR (col4 IN (46.80,75.94)) AND col0 = 8 AND (((col4 > 64.94))) AND (col1 >= 43.9))) AND col4 BETWEEN 17.13 AND 88.21 OR col1 < 21.37))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,46,8.32,'qbubh',34,26.70,'htiof')

statement ok
INSERT INTO tab0 VALUES(1,39,24.0,'zhgda',80,58.99,'wiarb')

statement ok
INSERT INTO tab0 VALUES(2,15,85.3,'soryj',52,25.28,'truvp')

statement ok
INSERT INTO tab0 VALUES(3,77,73.20,'pavyn',94,87.8,'mrmch')

statement ok
INSERT INTO tab0 VALUES(4,76,26.70,'gihec',30,62.13,'buyxr')

statement ok
INSERT INTO tab0 VALUES(5,74,47.68,'kcovf',26,42.94,'bzzof')

statement ok
INSERT INTO tab0 VALUES(6,7,18.96,'sphwq',54,4.51,'tambu')

statement ok
INSERT INTO tab0 VALUES(7,47,14.57,'figqx',53,23.86,'chspk')

statement ok
INSERT INTO tab0 VALUES(8,66,15.47,'hsonn',88,83.72,'dlfes')

statement ok
INSERT INTO tab0 VALUES(9,94,12.6,'tuwqw',25,94.13,'wxchv')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1)

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88))
----

query I rowsort label-1725
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88)))
----
1

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88))
----

query I rowsort label-1725
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88)))
----
1

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88))
----

query I rowsort label-1725
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88)))
----
1

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88))
----

query I rowsort label-1725
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88)))
----
1

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88))
----

query I rowsort label-1725
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL AND col4 <= 80.18 OR col0 <= 18 OR col0 >= 40 OR col3 <= 43 OR col3 = 45 AND col1 = 23.22 AND (col1 = 1.88)))
----
1

statement ok
DELETE FROM tab0 WHERE (col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0)
----

query I rowsort label-1740
SELECT pk FROM tab0 WHERE NOT ((col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0))
----

statement ok
DELETE FROM tab1 WHERE (col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0)
----

query I rowsort label-1740
SELECT pk FROM tab1 WHERE NOT ((col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0))
----

statement ok
DELETE FROM tab2 WHERE (col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0)
----

query I rowsort label-1740
SELECT pk FROM tab2 WHERE NOT ((col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0))
----

statement ok
DELETE FROM tab3 WHERE (col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0)
----

query I rowsort label-1740
SELECT pk FROM tab3 WHERE NOT ((col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0))
----

statement ok
DELETE FROM tab4 WHERE (col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0)
----

query I rowsort label-1740
SELECT pk FROM tab4 WHERE NOT ((col0 < 46 OR col3 <= 69 OR col3 IS NULL AND (col3 < 20 OR (((col0 = 74)) OR col0 IS NULL AND col0 < 91 AND (col1 > 25.49 AND col0 < 51)) AND col3 >= 27 OR ((col1 >= 93.19 OR col1 IS NULL AND col1 = 63.40)) OR (col4 = 28.72 OR col0 BETWEEN 33 AND 84 AND col0 > 29 OR col3 IS NULL AND col0 >= 14 OR col0 >= 73 AND (col4 >= 29.77) AND (col0 >= 52))) AND col4 > 21.73 AND col0 BETWEEN 91 AND 55 AND col3 < 21 OR col0 < 0))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,30,6.74,'mnvyr',70,44.78,'cuncn')

statement ok
INSERT INTO tab0 VALUES(1,0,14.91,'vtzbo',43,37.88,'luhad')

statement ok
INSERT INTO tab0 VALUES(2,34,9.70,'ewefx',29,74.63,'lsilu')

statement ok
INSERT INTO tab0 VALUES(3,33,49.37,'pynuz',31,14.31,'crkmn')

statement ok
INSERT INTO tab0 VALUES(4,41,70.89,'favvi',73,49.18,'nrtew')

statement ok
INSERT INTO tab0 VALUES(5,4,98.49,'cxxkt',64,16.14,'agazq')

statement ok
INSERT INTO tab0 VALUES(6,35,62.35,'sspot',61,15.30,'cynni')

statement ok
INSERT INTO tab0 VALUES(7,74,7.20,'umyti',28,11.63,'seghc')

statement ok
INSERT INTO tab0 VALUES(8,52,1.91,'ovfni',5,58.60,'ksdbx')

statement ok
INSERT INTO tab0 VALUES(9,55,58.19,'vngci',63,5.80,'jgcqr')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

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

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

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col0 > 24 OR col3 = 23

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

query I rowsort label-1755
SELECT pk FROM tab0 WHERE NOT (col0 > 24 OR col3 = 23)
----
1
5

statement ok
DELETE FROM tab1 WHERE col0 > 24 OR col3 = 23

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

query I rowsort label-1755
SELECT pk FROM tab1 WHERE NOT (col0 > 24 OR col3 = 23)
----
1
5

statement ok
DELETE FROM tab2 WHERE col0 > 24 OR col3 = 23

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

query I rowsort label-1755
SELECT pk FROM tab2 WHERE NOT (col0 > 24 OR col3 = 23)
----
1
5

statement ok
DELETE FROM tab3 WHERE col0 > 24 OR col3 = 23

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

query I rowsort label-1755
SELECT pk FROM tab3 WHERE NOT (col0 > 24 OR col3 = 23)
----
1
5

statement ok
DELETE FROM tab4 WHERE col0 > 24 OR col3 = 23

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

query I rowsort label-1755
SELECT pk FROM tab4 WHERE NOT (col0 > 24 OR col3 = 23)
----
1
5

statement ok
DELETE FROM tab0 WHERE col3 = 92

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

query I rowsort label-1770
SELECT pk FROM tab0 WHERE NOT (col3 = 92)
----
1
5

statement ok
DELETE FROM tab1 WHERE col3 = 92

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

query I rowsort label-1770
SELECT pk FROM tab1 WHERE NOT (col3 = 92)
----
1
5

statement ok
DELETE FROM tab2 WHERE col3 = 92

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

query I rowsort label-1770
SELECT pk FROM tab2 WHERE NOT (col3 = 92)
----
1
5

statement ok
DELETE FROM tab3 WHERE col3 = 92

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

query I rowsort label-1770
SELECT pk FROM tab3 WHERE NOT (col3 = 92)
----
1
5

statement ok
DELETE FROM tab4 WHERE col3 = 92

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

query I rowsort label-1770
SELECT pk FROM tab4 WHERE NOT (col3 = 92)
----
1
5

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

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

query I rowsort label-1785
SELECT pk FROM tab0 WHERE NOT ((((col0 < 26))))
----

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

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

query I rowsort label-1785
SELECT pk FROM tab1 WHERE NOT ((((col0 < 26))))
----

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

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

query I rowsort label-1785
SELECT pk FROM tab2 WHERE NOT ((((col0 < 26))))
----

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

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

query I rowsort label-1785
SELECT pk FROM tab3 WHERE NOT ((((col0 < 26))))
----

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

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

query I rowsort label-1785
SELECT pk FROM tab4 WHERE NOT ((((col0 < 26))))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,27,47.44,'lofso',81,77.50,'lybqr')

statement ok
INSERT INTO tab0 VALUES(1,81,99.45,'xewzh',74,0.91,'gbtlk')

statement ok
INSERT INTO tab0 VALUES(2,47,5.54,'laqtm',42,44.90,'ibkxy')

statement ok
INSERT INTO tab0 VALUES(3,21,37.0,'zffws',8,90.41,'nwgez')

statement ok
INSERT INTO tab0 VALUES(4,82,2.99,'vicvw',39,89.30,'ejscj')

statement ok
INSERT INTO tab0 VALUES(5,12,13.58,'nievn',58,28.40,'lpwhm')

statement ok
INSERT INTO tab0 VALUES(6,4,43.92,'kzkxv',57,87.72,'eqdhz')

statement ok
INSERT INTO tab0 VALUES(7,75,95.36,'frjew',5,4.49,'jdzsl')

statement ok
INSERT INTO tab0 VALUES(8,79,60.59,'rwasn',69,40.35,'zalgw')

statement ok
INSERT INTO tab0 VALUES(9,18,81.71,'fxezy',18,34.44,'iwwzk')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0)

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

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

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

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

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

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

query I rowsort label-1800
SELECT pk FROM tab0 WHERE NOT ((col0 >= 51))
----
0
2
3
5
6
9

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

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

query I rowsort label-1800
SELECT pk FROM tab1 WHERE NOT ((col0 >= 51))
----
0
2
3
5
6
9

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

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

query I rowsort label-1800
SELECT pk FROM tab2 WHERE NOT ((col0 >= 51))
----
0
2
3
5
6
9

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

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

query I rowsort label-1800
SELECT pk FROM tab3 WHERE NOT ((col0 >= 51))
----
0
2
3
5
6
9

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

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

query I rowsort label-1800
SELECT pk FROM tab4 WHERE NOT ((col0 >= 51))
----
0
2
3
5
6
9

statement ok
DELETE FROM tab0 WHERE col0 = 62

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

query I rowsort label-1815
SELECT pk FROM tab0 WHERE NOT (col0 = 62)
----
0
2
3
5
6
9

statement ok
DELETE FROM tab1 WHERE col0 = 62

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

query I rowsort label-1815
SELECT pk FROM tab1 WHERE NOT (col0 = 62)
----
0
2
3
5
6
9

statement ok
DELETE FROM tab2 WHERE col0 = 62

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

query I rowsort label-1815
SELECT pk FROM tab2 WHERE NOT (col0 = 62)
----
0
2
3
5
6
9

statement ok
DELETE FROM tab3 WHERE col0 = 62

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

query I rowsort label-1815
SELECT pk FROM tab3 WHERE NOT (col0 = 62)
----
0
2
3
5
6
9

statement ok
DELETE FROM tab4 WHERE col0 = 62

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

query I rowsort label-1815
SELECT pk FROM tab4 WHERE NOT (col0 = 62)
----
0
2
3
5
6
9

statement ok
DELETE FROM tab0 WHERE col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95)
----

query I rowsort label-1830
SELECT pk FROM tab0 WHERE NOT (col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95))
----
0
2
3
5

statement ok
DELETE FROM tab1 WHERE col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95)
----

query I rowsort label-1830
SELECT pk FROM tab1 WHERE NOT (col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95))
----
0
2
3
5

statement ok
DELETE FROM tab2 WHERE col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95)
----

query I rowsort label-1830
SELECT pk FROM tab2 WHERE NOT (col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95))
----
0
2
3
5

statement ok
DELETE FROM tab3 WHERE col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95)
----

query I rowsort label-1830
SELECT pk FROM tab3 WHERE NOT (col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95))
----
0
2
3
5

statement ok
DELETE FROM tab4 WHERE col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95)
----

query I rowsort label-1830
SELECT pk FROM tab4 WHERE NOT (col1 > 74.23 AND col3 < 97 OR col0 < 7 OR col0 > 76 AND ((((((col4 < 61.32)))))) OR col3 IN (33,64,12,65,95))
----
0
2
3
5

statement ok
DELETE FROM tab0 WHERE col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53)
----

query I rowsort label-1845
SELECT pk FROM tab0 WHERE NOT (col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53))
----
0
2
3
5

statement ok
DELETE FROM tab1 WHERE col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53)
----

query I rowsort label-1845
SELECT pk FROM tab1 WHERE NOT (col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53))
----
0
2
3
5

statement ok
DELETE FROM tab2 WHERE col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53)
----

query I rowsort label-1845
SELECT pk FROM tab2 WHERE NOT (col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53))
----
0
2
3
5

statement ok
DELETE FROM tab3 WHERE col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53)
----

query I rowsort label-1845
SELECT pk FROM tab3 WHERE NOT (col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53))
----
0
2
3
5

statement ok
DELETE FROM tab4 WHERE col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53)
----

query I rowsort label-1845
SELECT pk FROM tab4 WHERE NOT (col3 >= 81 AND (col3 = 13) OR (col1 IS NULL AND col3 > 52) AND col0 IN (92,67,95,53))
----
0
2
3
5

statement ok
DELETE FROM tab0 WHERE (col0 > 37)

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

query I rowsort label-1860
SELECT pk FROM tab0 WHERE NOT ((col0 > 37))
----
0
3
5

statement ok
DELETE FROM tab1 WHERE (col0 > 37)

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

query I rowsort label-1860
SELECT pk FROM tab1 WHERE NOT ((col0 > 37))
----
0
3
5

statement ok
DELETE FROM tab2 WHERE (col0 > 37)

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

query I rowsort label-1860
SELECT pk FROM tab2 WHERE NOT ((col0 > 37))
----
0
3
5

statement ok
DELETE FROM tab3 WHERE (col0 > 37)

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

query I rowsort label-1860
SELECT pk FROM tab3 WHERE NOT ((col0 > 37))
----
0
3
5

statement ok
DELETE FROM tab4 WHERE (col0 > 37)

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

query I rowsort label-1860
SELECT pk FROM tab4 WHERE NOT ((col0 > 37))
----
0
3
5

statement ok
DELETE FROM tab0 WHERE col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68))
----

query I rowsort label-1875
SELECT pk FROM tab0 WHERE NOT (col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68)))
----

statement ok
DELETE FROM tab1 WHERE col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68))
----

query I rowsort label-1875
SELECT pk FROM tab1 WHERE NOT (col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68)))
----

statement ok
DELETE FROM tab2 WHERE col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68))
----

query I rowsort label-1875
SELECT pk FROM tab2 WHERE NOT (col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68)))
----

statement ok
DELETE FROM tab3 WHERE col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68))
----

query I rowsort label-1875
SELECT pk FROM tab3 WHERE NOT (col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68)))
----

statement ok
DELETE FROM tab4 WHERE col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68))
----

query I rowsort label-1875
SELECT pk FROM tab4 WHERE NOT (col1 < 23.4 AND col3 < 81 AND col1 < 69.59 OR (col3 < 76 OR (col4 < 66.32 OR col1 BETWEEN 21.2 AND 68.11 OR col0 IS NULL AND col4 > 24.35 AND col3 > 94) OR (((col0 > 51)) OR ((col3 > 0) AND col1 IN (48.62,20.79) OR col1 > 98.3 OR ((col4 IN (17.35,7.41,6.74,40.81,80.25,58.48)))) OR col0 <= 68)))
----

statement ok
DROP TABLE tab0

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

statement ok
INSERT INTO tab0 VALUES(0,11,70.73,'kepxi',54,89.36,'gvsvs')

statement ok
INSERT INTO tab0 VALUES(1,47,86.86,'jxbkg',30,72.1,'eesla')

statement ok
INSERT INTO tab0 VALUES(2,4,90.29,'bxkep',56,30.27,'gpevv')

statement ok
INSERT INTO tab0 VALUES(3,0,18.22,'bchht',31,52.74,'wpduk')

statement ok
INSERT INTO tab0 VALUES(4,84,16.56,'utptl',17,44.51,'wdzvx')

statement ok
INSERT INTO tab0 VALUES(5,96,54.52,'utuzc',0,41.82,'rjusr')

statement ok
INSERT INTO tab0 VALUES(6,32,35.24,'tozmv',50,20.65,'nfeck')

statement ok
INSERT INTO tab0 VALUES(7,3,12.46,'rszmo',87,10.36,'mxrfc')

statement ok
INSERT INTO tab0 VALUES(8,5,97.7,'zkoof',43,11.30,'qvvji')

statement ok
INSERT INTO tab0 VALUES(9,69,76.80,'sglgu',23,97.48,'dwdug')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

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

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0)

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

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

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

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

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

statement ok
DELETE FROM tab0 WHERE col4 < 99.64

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

query I rowsort label-1890
SELECT pk FROM tab0 WHERE NOT (col4 < 99.64)
----

statement ok
DELETE FROM tab1 WHERE col4 < 99.64

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

query I rowsort label-1890
SELECT pk FROM tab1 WHERE NOT (col4 < 99.64)
----

statement ok
DELETE FROM tab2 WHERE col4 < 99.64

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

query I rowsort label-1890
SELECT pk FROM tab2 WHERE NOT (col4 < 99.64)
----

statement ok
DELETE FROM tab3 WHERE col4 < 99.64

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

query I rowsort label-1890
SELECT pk FROM tab3 WHERE NOT (col4 < 99.64)
----

statement ok
DELETE FROM tab4 WHERE col4 < 99.64

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

query I rowsort label-1890
SELECT pk FROM tab4 WHERE NOT (col4 < 99.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,36,19.25,'grstx',52,84.58,'mixdm')

statement ok
INSERT INTO tab0 VALUES(1,1,25.96,'psvdx',54,58.19,'ocint')

statement ok
INSERT INTO tab0 VALUES(2,15,53.50,'ogcrw',37,6.52,'foaoo')

statement ok
INSERT INTO tab0 VALUES(3,89,21.72,'hilpo',93,7.57,'ecxfg')

statement ok
INSERT INTO tab0 VALUES(4,22,87.30,'pjnsx',56,13.24,'oabdg')

statement ok
INSERT INTO tab0 VALUES(5,11,9.87,'ijnmr',16,8.42,'ltjsn')

statement ok
INSERT INTO tab0 VALUES(6,67,12.13,'expgc',31,68.14,'ovahj')

statement ok
INSERT INTO tab0 VALUES(7,23,45.98,'fjpkj',39,33.70,'uhdgy')

statement ok
INSERT INTO tab0 VALUES(8,52,48.64,'qcsjl',73,59.78,'vnodw')

statement ok
INSERT INTO tab0 VALUES(9,73,13.77,'djzvq',69,88.56,'ymhuy')

statement ok
DROP TABLE tab1

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

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

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

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

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

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

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

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

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

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

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC,col3)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 <= 14)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 14)
----

query I rowsort label-1905
SELECT pk FROM tab0 WHERE NOT ((col3 <= 14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 <= 14)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 14)
----

query I rowsort label-1905
SELECT pk FROM tab1 WHERE NOT ((col3 <= 14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 <= 14)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 14)
----

query I rowsort label-1905
SELECT pk FROM tab2 WHERE NOT ((col3 <= 14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 <= 14)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 14)
----

query I rowsort label-1905
SELECT pk FROM tab3 WHERE NOT ((col3 <= 14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 <= 14)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 14)
----

query I rowsort label-1905
SELECT pk FROM tab4 WHERE NOT ((col3 <= 14))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col1 >= 13.96)) AND col0 > 56

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 >= 13.96)) AND col0 > 56
----

query I rowsort label-1920
SELECT pk FROM tab0 WHERE NOT (((col1 >= 13.96)) AND col0 > 56)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab1 WHERE ((col1 >= 13.96)) AND col0 > 56

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 >= 13.96)) AND col0 > 56
----

query I rowsort label-1920
SELECT pk FROM tab1 WHERE NOT (((col1 >= 13.96)) AND col0 > 56)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab2 WHERE ((col1 >= 13.96)) AND col0 > 56

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 >= 13.96)) AND col0 > 56
----

query I rowsort label-1920
SELECT pk FROM tab2 WHERE NOT (((col1 >= 13.96)) AND col0 > 56)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab3 WHERE ((col1 >= 13.96)) AND col0 > 56

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 >= 13.96)) AND col0 > 56
----

query I rowsort label-1920
SELECT pk FROM tab3 WHERE NOT (((col1 >= 13.96)) AND col0 > 56)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab4 WHERE ((col1 >= 13.96)) AND col0 > 56

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 >= 13.96)) AND col0 > 56
----

query I rowsort label-1920
SELECT pk FROM tab4 WHERE NOT (((col1 >= 13.96)) AND col0 > 56)
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab0 WHERE col0 IN (96,10,33,84)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (96,10,33,84)
----

query I rowsort label-1935
SELECT pk FROM tab0 WHERE NOT (col0 IN (96,10,33,84))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab1 WHERE col0 IN (96,10,33,84)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (96,10,33,84)
----

query I rowsort label-1935
SELECT pk FROM tab1 WHERE NOT (col0 IN (96,10,33,84))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab2 WHERE col0 IN (96,10,33,84)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (96,10,33,84)
----

query I rowsort label-1935
SELECT pk FROM tab2 WHERE NOT (col0 IN (96,10,33,84))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab3 WHERE col0 IN (96,10,33,84)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (96,10,33,84)
----

query I rowsort label-1935
SELECT pk FROM tab3 WHERE NOT (col0 IN (96,10,33,84))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab4 WHERE col0 IN (96,10,33,84)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (96,10,33,84)
----

query I rowsort label-1935
SELECT pk FROM tab4 WHERE NOT (col0 IN (96,10,33,84))
----
9 values hashing to 39e3d4d27bae24c9e33e78b000cc7d61

statement ok
DELETE FROM tab0 WHERE col0 = 73

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 73
----

query I rowsort label-1950
SELECT pk FROM tab0 WHERE NOT (col0 = 73)
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab1 WHERE col0 = 73

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 73
----

query I rowsort label-1950
SELECT pk FROM tab1 WHERE NOT (col0 = 73)
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab2 WHERE col0 = 73

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 73
----

query I rowsort label-1950
SELECT pk FROM tab2 WHERE NOT (col0 = 73)
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab3 WHERE col0 = 73

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 73
----

query I rowsort label-1950
SELECT pk FROM tab3 WHERE NOT (col0 = 73)
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab4 WHERE col0 = 73

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 73
----

query I rowsort label-1950
SELECT pk FROM tab4 WHERE NOT (col0 = 73)
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab0 WHERE col3 IN (63,79)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (63,79)
----

query I rowsort label-1965
SELECT pk FROM tab0 WHERE NOT (col3 IN (63,79))
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab1 WHERE col3 IN (63,79)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (63,79)
----

query I rowsort label-1965
SELECT pk FROM tab1 WHERE NOT (col3 IN (63,79))
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab2 WHERE col3 IN (63,79)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (63,79)
----

query I rowsort label-1965
SELECT pk FROM tab2 WHERE NOT (col3 IN (63,79))
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab3 WHERE col3 IN (63,79)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (63,79)
----

query I rowsort label-1965
SELECT pk FROM tab3 WHERE NOT (col3 IN (63,79))
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab4 WHERE col3 IN (63,79)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (63,79)
----

query I rowsort label-1965
SELECT pk FROM tab4 WHERE NOT (col3 IN (63,79))
----
0
1
2
4
5
6
7
8

statement ok
DELETE FROM tab0 WHERE (col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12)
----

query I rowsort label-1980
SELECT pk FROM tab0 WHERE NOT ((col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12))
----
2
4
5
7

statement ok
DELETE FROM tab1 WHERE (col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12)
----

query I rowsort label-1980
SELECT pk FROM tab1 WHERE NOT ((col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12))
----
2
4
5
7

statement ok
DELETE FROM tab2 WHERE (col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12)
----

query I rowsort label-1980
SELECT pk FROM tab2 WHERE NOT ((col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12))
----
2
4
5
7

statement ok
DELETE FROM tab3 WHERE (col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12)
----

query I rowsort label-1980
SELECT pk FROM tab3 WHERE NOT ((col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12))
----
2
4
5
7

statement ok
DELETE FROM tab4 WHERE (col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12)
----

query I rowsort label-1980
SELECT pk FROM tab4 WHERE NOT ((col4 >= 56.22 AND col3 >= 20 OR col3 < 92 AND col3 <= 12))
----
2
4
5
7

statement ok
DELETE FROM tab0 WHERE col0 < 42

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 42
----

query I rowsort label-1995
SELECT pk FROM tab0 WHERE NOT (col0 < 42)
----

statement ok
DELETE FROM tab1 WHERE col0 < 42

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 42
----

query I rowsort label-1995
SELECT pk FROM tab1 WHERE NOT (col0 < 42)
----

statement ok
DELETE FROM tab2 WHERE col0 < 42

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 42
----

query I rowsort label-1995
SELECT pk FROM tab2 WHERE NOT (col0 < 42)
----

statement ok
DELETE FROM tab3 WHERE col0 < 42

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 42
----

query I rowsort label-1995
SELECT pk FROM tab3 WHERE NOT (col0 < 42)
----

statement ok
DELETE FROM tab4 WHERE col0 < 42

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 42
----

query I rowsort label-1995
SELECT pk FROM tab4 WHERE NOT (col0 < 42)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,80,1.12,'pfvtv',78,46.91,'wgkkt')

statement ok
INSERT INTO tab0 VALUES(1,81,87.14,'aweni',74,32.56,'rdiem')

statement ok
INSERT INTO tab0 VALUES(2,86,29.92,'gfjlt',9,87.19,'xamsu')

statement ok
INSERT INTO tab0 VALUES(3,92,13.58,'zezah',90,61.95,'fcsuw')

statement ok
INSERT INTO tab0 VALUES(4,74,95.7,'jfxoi',10,58.37,'xdyrr')

statement ok
INSERT INTO tab0 VALUES(5,93,65.33,'rkdll',54,97.54,'vqabk')

statement ok
INSERT INTO tab0 VALUES(6,14,14.36,'xqfbu',16,76.19,'vxdki')

statement ok
INSERT INTO tab0 VALUES(7,12,88.39,'juzeu',11,34.81,'kipzf')

statement ok
INSERT INTO tab0 VALUES(8,91,55.97,'mrbwt',81,11.81,'lhlyb')

statement ok
INSERT INTO tab0 VALUES(9,94,72.13,'ejsqn',19,16.61,'qlyms')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC,col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col3 DESC,col0)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4 DESC,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,col1)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3,col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 = 21 AND col0 < 38

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 21 AND col0 < 38
----

query I rowsort label-2010
SELECT pk FROM tab0 WHERE NOT (col0 = 21 AND col0 < 38)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 = 21 AND col0 < 38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 21 AND col0 < 38
----

query I rowsort label-2010
SELECT pk FROM tab1 WHERE NOT (col0 = 21 AND col0 < 38)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 = 21 AND col0 < 38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 21 AND col0 < 38
----

query I rowsort label-2010
SELECT pk FROM tab2 WHERE NOT (col0 = 21 AND col0 < 38)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 = 21 AND col0 < 38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 21 AND col0 < 38
----

query I rowsort label-2010
SELECT pk FROM tab3 WHERE NOT (col0 = 21 AND col0 < 38)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 = 21 AND col0 < 38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 21 AND col0 < 38
----

query I rowsort label-2010
SELECT pk FROM tab4 WHERE NOT (col0 = 21 AND col0 < 38)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 < 82.90 OR col4 > 71.46

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 82.90 OR col4 > 71.46
----

query I rowsort label-2025
SELECT pk FROM tab0 WHERE NOT (col1 < 82.90 OR col4 > 71.46)
----
1
4
7

statement ok
DELETE FROM tab1 WHERE col1 < 82.90 OR col4 > 71.46

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 82.90 OR col4 > 71.46
----

query I rowsort label-2025
SELECT pk FROM tab1 WHERE NOT (col1 < 82.90 OR col4 > 71.46)
----
1
4
7

statement ok
DELETE FROM tab2 WHERE col1 < 82.90 OR col4 > 71.46

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 82.90 OR col4 > 71.46
----

query I rowsort label-2025
SELECT pk FROM tab2 WHERE NOT (col1 < 82.90 OR col4 > 71.46)
----
1
4
7

statement ok
DELETE FROM tab3 WHERE col1 < 82.90 OR col4 > 71.46

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 82.90 OR col4 > 71.46
----

query I rowsort label-2025
SELECT pk FROM tab3 WHERE NOT (col1 < 82.90 OR col4 > 71.46)
----
1
4
7

statement ok
DELETE FROM tab4 WHERE col1 < 82.90 OR col4 > 71.46

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 82.90 OR col4 > 71.46
----

query I rowsort label-2025
SELECT pk FROM tab4 WHERE NOT (col1 < 82.90 OR col4 > 71.46)
----
1
4
7

statement ok
DELETE FROM tab0 WHERE col1 >= 36.84 OR col1 >= 86.94

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 36.84 OR col1 >= 86.94
----

query I rowsort label-2040
SELECT pk FROM tab0 WHERE NOT (col1 >= 36.84 OR col1 >= 86.94)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 36.84 OR col1 >= 86.94

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 36.84 OR col1 >= 86.94
----

query I rowsort label-2040
SELECT pk FROM tab1 WHERE NOT (col1 >= 36.84 OR col1 >= 86.94)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 36.84 OR col1 >= 86.94

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 36.84 OR col1 >= 86.94
----

query I rowsort label-2040
SELECT pk FROM tab2 WHERE NOT (col1 >= 36.84 OR col1 >= 86.94)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 36.84 OR col1 >= 86.94

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 36.84 OR col1 >= 86.94
----

query I rowsort label-2040
SELECT pk FROM tab3 WHERE NOT (col1 >= 36.84 OR col1 >= 86.94)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 36.84 OR col1 >= 86.94

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 36.84 OR col1 >= 86.94
----

query I rowsort label-2040
SELECT pk FROM tab4 WHERE NOT (col1 >= 36.84 OR col1 >= 86.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,91,63.25,'pvgky',62,52.71,'mokjk')

statement ok
INSERT INTO tab0 VALUES(1,97,36.22,'oghbc',29,18.81,'omvje')

statement ok
INSERT INTO tab0 VALUES(2,16,83.9,'zntyo',47,84.85,'lnmha')

statement ok
INSERT INTO tab0 VALUES(3,15,28.31,'xrfyv',46,86.96,'guxdx')

statement ok
INSERT INTO tab0 VALUES(4,93,6.0,'rlpay',94,49.47,'ozsrr')

statement ok
INSERT INTO tab0 VALUES(5,89,27.97,'gbrlg',5,60.0,'aphkr')

statement ok
INSERT INTO tab0 VALUES(6,96,41.94,'csuws',54,20.62,'zzjyi')

statement ok
INSERT INTO tab0 VALUES(7,74,94.60,'qnkmw',89,14.95,'cnovu')

statement ok
INSERT INTO tab0 VALUES(8,61,0.77,'ypwce',42,72.28,'bqeyq')

statement ok
INSERT INTO tab0 VALUES(9,90,95.52,'jiuix',48,28.72,'zftli')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC,col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1,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 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL
----

query I rowsort label-2055
SELECT pk FROM tab0 WHERE NOT (col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL)
----
5
7
9

statement ok
DELETE FROM tab1 WHERE col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL
----

query I rowsort label-2055
SELECT pk FROM tab1 WHERE NOT (col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL)
----
5
7
9

statement ok
DELETE FROM tab2 WHERE col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL
----

query I rowsort label-2055
SELECT pk FROM tab2 WHERE NOT (col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL)
----
5
7
9

statement ok
DELETE FROM tab3 WHERE col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL
----

query I rowsort label-2055
SELECT pk FROM tab3 WHERE NOT (col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL)
----
5
7
9

statement ok
DELETE FROM tab4 WHERE col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL
----

query I rowsort label-2055
SELECT pk FROM tab4 WHERE NOT (col1 < 77.65 AND col3 > 19 OR ((col4 >= 81.83)) OR (col4 <= 11.61 OR col0 BETWEEN 78 AND 76) OR ((((col0 <= 69) OR col4 >= 63.65) OR col1 >= 58.42 AND (col3 <= 21) AND col3 IN (37,21,71,95,24) OR col4 = 99.44 AND col0 < 67 AND col3 = 87 OR (col0 IN (49,42))) OR col4 > 21.62 OR (((((col3 < 30))))) OR col3 = 59) AND col0 IS NULL)
----
5
7
9

statement ok
DELETE FROM tab0 WHERE (((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66))
----

query I rowsort label-2070
SELECT pk FROM tab0 WHERE NOT ((((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66)))
----

statement ok
DELETE FROM tab1 WHERE (((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66))
----

query I rowsort label-2070
SELECT pk FROM tab1 WHERE NOT ((((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66)))
----

statement ok
DELETE FROM tab2 WHERE (((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66))
----

query I rowsort label-2070
SELECT pk FROM tab2 WHERE NOT ((((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66)))
----

statement ok
DELETE FROM tab3 WHERE (((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66))
----

query I rowsort label-2070
SELECT pk FROM tab3 WHERE NOT ((((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66)))
----

statement ok
DELETE FROM tab4 WHERE (((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66))
----

query I rowsort label-2070
SELECT pk FROM tab4 WHERE NOT ((((((col4 < 79.13) AND col1 >= 20.2)) OR (col1 >= 89.48) OR (col3 > 90) AND col3 < 66)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,98,63.21,'jiozk',34,10.78,'ufktc')

statement ok
INSERT INTO tab0 VALUES(1,68,40.11,'jczaw',81,62.50,'jlezr')

statement ok
INSERT INTO tab0 VALUES(2,4,89.28,'ttibn',79,70.83,'uojsr')

statement ok
INSERT INTO tab0 VALUES(3,76,28.36,'cxmce',74,23.22,'hkmgc')

statement ok
INSERT INTO tab0 VALUES(4,8,11.88,'jbvrm',72,31.54,'sqgzx')

statement ok
INSERT INTO tab0 VALUES(5,92,93.34,'opyum',52,85.22,'iwljv')

statement ok
INSERT INTO tab0 VALUES(6,97,91.38,'izdag',80,20.38,'jzjzy')

statement ok
INSERT INTO tab0 VALUES(7,85,49.87,'qydwn',14,77.92,'pbpwj')

statement ok
INSERT INTO tab0 VALUES(8,22,96.4,'elupk',31,66.71,'ynnlu')

statement ok
INSERT INTO tab0 VALUES(9,93,13.65,'iylpw',24,29.64,'hibtd')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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_2 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4,col1)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4 DESC,col0 DESC,col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC,col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7))
----

query I rowsort label-2085
SELECT pk FROM tab0 WHERE NOT ((((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7)))
----
2
5
6
8

statement ok
DELETE FROM tab1 WHERE (((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7))
----

query I rowsort label-2085
SELECT pk FROM tab1 WHERE NOT ((((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7)))
----
2
5
6
8

statement ok
DELETE FROM tab2 WHERE (((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7))
----

query I rowsort label-2085
SELECT pk FROM tab2 WHERE NOT ((((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7)))
----
2
5
6
8

statement ok
DELETE FROM tab3 WHERE (((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7))
----

query I rowsort label-2085
SELECT pk FROM tab3 WHERE NOT ((((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7)))
----
2
5
6
8

statement ok
DELETE FROM tab4 WHERE (((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7))
----

query I rowsort label-2085
SELECT pk FROM tab4 WHERE NOT ((((((col0 < 2) AND col4 > 99.34)) OR col4 = 65.22) AND ((col1 IS NULL) OR col4 >= 32.25) OR (col1 < 77.7)))
----
2
5
6
8

statement ok
DELETE FROM tab0 WHERE ((col3 <= 40))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 <= 40))
----

query I rowsort label-2100
SELECT pk FROM tab0 WHERE NOT (((col3 <= 40)))
----
2
5
6

statement ok
DELETE FROM tab1 WHERE ((col3 <= 40))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 <= 40))
----

query I rowsort label-2100
SELECT pk FROM tab1 WHERE NOT (((col3 <= 40)))
----
2
5
6

statement ok
DELETE FROM tab2 WHERE ((col3 <= 40))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 <= 40))
----

query I rowsort label-2100
SELECT pk FROM tab2 WHERE NOT (((col3 <= 40)))
----
2
5
6

statement ok
DELETE FROM tab3 WHERE ((col3 <= 40))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 <= 40))
----

query I rowsort label-2100
SELECT pk FROM tab3 WHERE NOT (((col3 <= 40)))
----
2
5
6

statement ok
DELETE FROM tab4 WHERE ((col3 <= 40))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 <= 40))
----

query I rowsort label-2100
SELECT pk FROM tab4 WHERE NOT (((col3 <= 40)))
----
2
5
6

statement ok
DELETE FROM tab0 WHERE ((col3 < 30 OR col3 >= 7) OR col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 30 OR col3 >= 7) OR col0 > 55)
----

query I rowsort label-2115
SELECT pk FROM tab0 WHERE NOT (((col3 < 30 OR col3 >= 7) OR col0 > 55))
----

statement ok
DELETE FROM tab1 WHERE ((col3 < 30 OR col3 >= 7) OR col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 30 OR col3 >= 7) OR col0 > 55)
----

query I rowsort label-2115
SELECT pk FROM tab1 WHERE NOT (((col3 < 30 OR col3 >= 7) OR col0 > 55))
----

statement ok
DELETE FROM tab2 WHERE ((col3 < 30 OR col3 >= 7) OR col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 30 OR col3 >= 7) OR col0 > 55)
----

query I rowsort label-2115
SELECT pk FROM tab2 WHERE NOT (((col3 < 30 OR col3 >= 7) OR col0 > 55))
----

statement ok
DELETE FROM tab3 WHERE ((col3 < 30 OR col3 >= 7) OR col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 30 OR col3 >= 7) OR col0 > 55)
----

query I rowsort label-2115
SELECT pk FROM tab3 WHERE NOT (((col3 < 30 OR col3 >= 7) OR col0 > 55))
----

statement ok
DELETE FROM tab4 WHERE ((col3 < 30 OR col3 >= 7) OR col0 > 55)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 30 OR col3 >= 7) OR col0 > 55)
----

query I rowsort label-2115
SELECT pk FROM tab4 WHERE NOT (((col3 < 30 OR col3 >= 7) OR col0 > 55))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,30,18.94,'okrso',66,89.70,'vgrys')

statement ok
INSERT INTO tab0 VALUES(1,31,29.95,'nkvmd',24,79.3,'zpnmo')

statement ok
INSERT INTO tab0 VALUES(2,66,45.89,'xenuk',85,17.67,'moerz')

statement ok
INSERT INTO tab0 VALUES(3,28,37.47,'fztsa',83,43.19,'hfzpv')

statement ok
INSERT INTO tab0 VALUES(4,9,67.53,'qnkgh',86,99.11,'mofzd')

statement ok
INSERT INTO tab0 VALUES(5,64,9.70,'wpzuf',51,40.57,'huwvc')

statement ok
INSERT INTO tab0 VALUES(6,78,53.2,'lpevo',3,46.94,'hfdxi')

statement ok
INSERT INTO tab0 VALUES(7,21,23.58,'vhrla',81,37.40,'oriry')

statement ok
INSERT INTO tab0 VALUES(8,19,87.9,'likdj',7,83.64,'shboq')

statement ok
INSERT INTO tab0 VALUES(9,10,71.59,'ywrhn',52,19.41,'dzitw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55))
----

query I rowsort label-2130
SELECT pk FROM tab0 WHERE NOT ((col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55)))
----
0

statement ok
DELETE FROM tab1 WHERE (col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55))
----

query I rowsort label-2130
SELECT pk FROM tab1 WHERE NOT ((col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55)))
----
0

statement ok
DELETE FROM tab2 WHERE (col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55))
----

query I rowsort label-2130
SELECT pk FROM tab2 WHERE NOT ((col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55)))
----
0

statement ok
DELETE FROM tab3 WHERE (col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55))
----

query I rowsort label-2130
SELECT pk FROM tab3 WHERE NOT ((col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55)))
----
0

statement ok
DELETE FROM tab4 WHERE (col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55))
----

query I rowsort label-2130
SELECT pk FROM tab4 WHERE NOT ((col3 < 2 OR ((((((col4 < 49.27)) OR ((col4 < 31.34) OR (col4 < 73.64 OR col3 = 69)) AND (col0 > 45) OR col4 > 25.99 AND col3 = 17 AND ((col0 = 45)) AND col3 = 30 AND col1 > 32.15 AND col1 < 79.88 AND ((col3 = 60 OR (((col0 <= 13) AND col1 BETWEEN 64.61 AND 73.17)))) OR col3 >= 84 OR (((((((col1 IS NULL)))))) AND (col4 = 38.90) AND ((col4 = 60.20))) OR col3 > 76 AND (col4 > 62.5) OR col4 < 89.40)) OR col3 = 53) AND ((col0 IN (49,43) AND col3 = 29 AND (col1 > 23.40 OR col3 IN (48,54,24,83,50) OR col0 > 44 AND col0 >= 9 OR col0 > 61 AND ((col0 IS NULL) OR (col0 > 61))) AND col0 IS NULL AND col4 > 26.43) OR col4 < 99.44 AND (col3 BETWEEN 58 AND 5 OR col1 > 38.25 AND (col0 > 42) AND col0 > 19 OR col0 IS NULL AND (col3 >= 33 AND col4 = 76.87) AND col0 = 26 AND ((col3 IN (6) OR col1 > 35.85)) OR (col0 < 52) OR (((col3 > 99 OR col0 = 92)) OR col1 > 86.19 AND (col0 >= 66))))) OR ((col3 < 11) AND ((((col3 IS NULL)) OR ((col0 = 73 OR col0 > 24)) AND col1 > 97.36 AND col3 >= 60 AND (col0 > 21) AND col0 < 33 AND col3 < 16 OR col1 > 5.8) OR col1 < 78.82 OR col1 > 14.67) OR col4 < 49.9 OR col1 >= 91.55)))
----
0

statement ok
DELETE FROM tab0 WHERE col3 >= 52

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 52
----

query I rowsort label-2145
SELECT pk FROM tab0 WHERE NOT (col3 >= 52)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 52

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 52
----

query I rowsort label-2145
SELECT pk FROM tab1 WHERE NOT (col3 >= 52)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 52

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 52
----

query I rowsort label-2145
SELECT pk FROM tab2 WHERE NOT (col3 >= 52)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 52

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 52
----

query I rowsort label-2145
SELECT pk FROM tab3 WHERE NOT (col3 >= 52)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 52

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 52
----

query I rowsort label-2145
SELECT pk FROM tab4 WHERE NOT (col3 >= 52)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,92,33.0,'rzmzd',88,39.25,'cxacg')

statement ok
INSERT INTO tab0 VALUES(1,97,34.53,'kwkja',15,86.22,'hleyc')

statement ok
INSERT INTO tab0 VALUES(2,2,30.77,'uajbr',96,33.84,'adxyj')

statement ok
INSERT INTO tab0 VALUES(3,87,64.9,'tnrmo',56,87.60,'zzeks')

statement ok
INSERT INTO tab0 VALUES(4,74,47.87,'eowcv',68,98.54,'ymbda')

statement ok
INSERT INTO tab0 VALUES(5,43,14.63,'ntllf',71,32.45,'rjkwy')

statement ok
INSERT INTO tab0 VALUES(6,44,96.17,'jdool',80,22.95,'gblan')

statement ok
INSERT INTO tab0 VALUES(7,9,72.72,'fkksy',99,38.61,'cmjdt')

statement ok
INSERT INTO tab0 VALUES(8,65,41.99,'uycvo',30,46.11,'dobui')

statement ok
INSERT INTO tab0 VALUES(9,47,79.38,'badoz',91,72.31,'vyqxg')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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 DESC,col3)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 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_0 ON tab3 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0,col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 >= 43.31)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 >= 43.31)
----

query I rowsort label-2160
SELECT pk FROM tab0 WHERE NOT ((col1 >= 43.31))
----
0
1
2
5
8

statement ok
DELETE FROM tab1 WHERE (col1 >= 43.31)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 >= 43.31)
----

query I rowsort label-2160
SELECT pk FROM tab1 WHERE NOT ((col1 >= 43.31))
----
0
1
2
5
8

statement ok
DELETE FROM tab2 WHERE (col1 >= 43.31)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 >= 43.31)
----

query I rowsort label-2160
SELECT pk FROM tab2 WHERE NOT ((col1 >= 43.31))
----
0
1
2
5
8

statement ok
DELETE FROM tab3 WHERE (col1 >= 43.31)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 >= 43.31)
----

query I rowsort label-2160
SELECT pk FROM tab3 WHERE NOT ((col1 >= 43.31))
----
0
1
2
5
8

statement ok
DELETE FROM tab4 WHERE (col1 >= 43.31)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 >= 43.31)
----

query I rowsort label-2160
SELECT pk FROM tab4 WHERE NOT ((col1 >= 43.31))
----
0
1
2
5
8

statement ok
DELETE FROM tab0 WHERE (col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39))
----

query I rowsort label-2175
SELECT pk FROM tab0 WHERE NOT ((col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39)))
----
0
1
2
5
8

statement ok
DELETE FROM tab1 WHERE (col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39))
----

query I rowsort label-2175
SELECT pk FROM tab1 WHERE NOT ((col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39)))
----
0
1
2
5
8

statement ok
DELETE FROM tab2 WHERE (col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39))
----

query I rowsort label-2175
SELECT pk FROM tab2 WHERE NOT ((col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39)))
----
0
1
2
5
8

statement ok
DELETE FROM tab3 WHERE (col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39))
----

query I rowsort label-2175
SELECT pk FROM tab3 WHERE NOT ((col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39)))
----
0
1
2
5
8

statement ok
DELETE FROM tab4 WHERE (col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39))
----

query I rowsort label-2175
SELECT pk FROM tab4 WHERE NOT ((col1 > 66.33 OR ((col0 = 23) AND col3 < 63 AND col0 > 39)))
----
0
1
2
5
8

statement ok
DELETE FROM tab0 WHERE col3 = 19 OR col3 >= 90

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 19 OR col3 >= 90
----

query I rowsort label-2190
SELECT pk FROM tab0 WHERE NOT (col3 = 19 OR col3 >= 90)
----
0
1
5
8

statement ok
DELETE FROM tab1 WHERE col3 = 19 OR col3 >= 90

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 19 OR col3 >= 90
----

query I rowsort label-2190
SELECT pk FROM tab1 WHERE NOT (col3 = 19 OR col3 >= 90)
----
0
1
5
8

statement ok
DELETE FROM tab2 WHERE col3 = 19 OR col3 >= 90

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 19 OR col3 >= 90
----

query I rowsort label-2190
SELECT pk FROM tab2 WHERE NOT (col3 = 19 OR col3 >= 90)
----
0
1
5
8

statement ok
DELETE FROM tab3 WHERE col3 = 19 OR col3 >= 90

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 19 OR col3 >= 90
----

query I rowsort label-2190
SELECT pk FROM tab3 WHERE NOT (col3 = 19 OR col3 >= 90)
----
0
1
5
8

statement ok
DELETE FROM tab4 WHERE col3 = 19 OR col3 >= 90

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 19 OR col3 >= 90
----

query I rowsort label-2190
SELECT pk FROM tab4 WHERE NOT (col3 = 19 OR col3 >= 90)
----
0
1
5
8

statement ok
DELETE FROM tab0 WHERE (col1 > 67.22 OR (col0 > 69))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 67.22 OR (col0 > 69))
----

query I rowsort label-2205
SELECT pk FROM tab0 WHERE NOT ((col1 > 67.22 OR (col0 > 69)))
----
5
8

statement ok
DELETE FROM tab1 WHERE (col1 > 67.22 OR (col0 > 69))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 67.22 OR (col0 > 69))
----

query I rowsort label-2205
SELECT pk FROM tab1 WHERE NOT ((col1 > 67.22 OR (col0 > 69)))
----
5
8

statement ok
DELETE FROM tab2 WHERE (col1 > 67.22 OR (col0 > 69))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 67.22 OR (col0 > 69))
----

query I rowsort label-2205
SELECT pk FROM tab2 WHERE NOT ((col1 > 67.22 OR (col0 > 69)))
----
5
8

statement ok
DELETE FROM tab3 WHERE (col1 > 67.22 OR (col0 > 69))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 67.22 OR (col0 > 69))
----

query I rowsort label-2205
SELECT pk FROM tab3 WHERE NOT ((col1 > 67.22 OR (col0 > 69)))
----
5
8

statement ok
DELETE FROM tab4 WHERE (col1 > 67.22 OR (col0 > 69))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 67.22 OR (col0 > 69))
----

query I rowsort label-2205
SELECT pk FROM tab4 WHERE NOT ((col1 > 67.22 OR (col0 > 69)))
----
5
8

statement ok
DELETE FROM tab0 WHERE ((col0 < 50) OR col0 >= 17)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 50) OR col0 >= 17)
----

query I rowsort label-2220
SELECT pk FROM tab0 WHERE NOT (((col0 < 50) OR col0 >= 17))
----

statement ok
DELETE FROM tab1 WHERE ((col0 < 50) OR col0 >= 17)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 50) OR col0 >= 17)
----

query I rowsort label-2220
SELECT pk FROM tab1 WHERE NOT (((col0 < 50) OR col0 >= 17))
----

statement ok
DELETE FROM tab2 WHERE ((col0 < 50) OR col0 >= 17)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 50) OR col0 >= 17)
----

query I rowsort label-2220
SELECT pk FROM tab2 WHERE NOT (((col0 < 50) OR col0 >= 17))
----

statement ok
DELETE FROM tab3 WHERE ((col0 < 50) OR col0 >= 17)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 50) OR col0 >= 17)
----

query I rowsort label-2220
SELECT pk FROM tab3 WHERE NOT (((col0 < 50) OR col0 >= 17))
----

statement ok
DELETE FROM tab4 WHERE ((col0 < 50) OR col0 >= 17)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 50) OR col0 >= 17)
----

query I rowsort label-2220
SELECT pk FROM tab4 WHERE NOT (((col0 < 50) OR col0 >= 17))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,61,29.17,'kskxt',59,47.55,'zoxwc')

statement ok
INSERT INTO tab0 VALUES(1,33,32.55,'vuzpp',17,40.93,'odrda')

statement ok
INSERT INTO tab0 VALUES(2,28,38.18,'bkqkq',77,68.68,'hrdxc')

statement ok
INSERT INTO tab0 VALUES(3,48,19.52,'soqot',34,16.87,'btvuz')

statement ok
INSERT INTO tab0 VALUES(4,39,15.5,'imqjo',39,17.18,'uhjak')

statement ok
INSERT INTO tab0 VALUES(5,6,92.43,'btdid',1,14.99,'loeqz')

statement ok
INSERT INTO tab0 VALUES(6,21,10.56,'fljfr',10,21.54,'hlzlq')

statement ok
INSERT INTO tab0 VALUES(7,40,78.77,'uenfb',42,87.0,'ujoii')

statement ok
INSERT INTO tab0 VALUES(8,13,25.89,'iivdl',74,57.66,'grigr')

statement ok
INSERT INTO tab0 VALUES(9,98,56.41,'leulc',96,38.0,'dpxlp')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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_2 ON tab2 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 <= 29

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 29
----

query I rowsort label-2235
SELECT pk FROM tab0 WHERE NOT (col0 <= 29)
----
0
1
3
4
7
9

statement ok
DELETE FROM tab1 WHERE col0 <= 29

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 29
----

query I rowsort label-2235
SELECT pk FROM tab1 WHERE NOT (col0 <= 29)
----
0
1
3
4
7
9

statement ok
DELETE FROM tab2 WHERE col0 <= 29

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 29
----

query I rowsort label-2235
SELECT pk FROM tab2 WHERE NOT (col0 <= 29)
----
0
1
3
4
7
9

statement ok
DELETE FROM tab3 WHERE col0 <= 29

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 29
----

query I rowsort label-2235
SELECT pk FROM tab3 WHERE NOT (col0 <= 29)
----
0
1
3
4
7
9

statement ok
DELETE FROM tab4 WHERE col0 <= 29

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 29
----

query I rowsort label-2235
SELECT pk FROM tab4 WHERE NOT (col0 <= 29)
----
0
1
3
4
7
9

statement ok
DELETE FROM tab0 WHERE (col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 45)
----

query I rowsort label-2250
SELECT pk FROM tab0 WHERE NOT ((col0 > 45))
----
1
4
7

statement ok
DELETE FROM tab1 WHERE (col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 45)
----

query I rowsort label-2250
SELECT pk FROM tab1 WHERE NOT ((col0 > 45))
----
1
4
7

statement ok
DELETE FROM tab2 WHERE (col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 45)
----

query I rowsort label-2250
SELECT pk FROM tab2 WHERE NOT ((col0 > 45))
----
1
4
7

statement ok
DELETE FROM tab3 WHERE (col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 45)
----

query I rowsort label-2250
SELECT pk FROM tab3 WHERE NOT ((col0 > 45))
----
1
4
7

statement ok
DELETE FROM tab4 WHERE (col0 > 45)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 45)
----

query I rowsort label-2250
SELECT pk FROM tab4 WHERE NOT ((col0 > 45))
----
1
4
7

statement ok
DELETE FROM tab0 WHERE col4 IN (31.15,44.32,84.54,2.90)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (31.15,44.32,84.54,2.90)
----

query I rowsort label-2265
SELECT pk FROM tab0 WHERE NOT (col4 IN (31.15,44.32,84.54,2.90))
----
1
4
7

statement ok
DELETE FROM tab1 WHERE col4 IN (31.15,44.32,84.54,2.90)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (31.15,44.32,84.54,2.90)
----

query I rowsort label-2265
SELECT pk FROM tab1 WHERE NOT (col4 IN (31.15,44.32,84.54,2.90))
----
1
4
7

statement ok
DELETE FROM tab2 WHERE col4 IN (31.15,44.32,84.54,2.90)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (31.15,44.32,84.54,2.90)
----

query I rowsort label-2265
SELECT pk FROM tab2 WHERE NOT (col4 IN (31.15,44.32,84.54,2.90))
----
1
4
7

statement ok
DELETE FROM tab3 WHERE col4 IN (31.15,44.32,84.54,2.90)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (31.15,44.32,84.54,2.90)
----

query I rowsort label-2265
SELECT pk FROM tab3 WHERE NOT (col4 IN (31.15,44.32,84.54,2.90))
----
1
4
7

statement ok
DELETE FROM tab4 WHERE col4 IN (31.15,44.32,84.54,2.90)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (31.15,44.32,84.54,2.90)
----

query I rowsort label-2265
SELECT pk FROM tab4 WHERE NOT (col4 IN (31.15,44.32,84.54,2.90))
----
1
4
7

statement ok
DELETE FROM tab0 WHERE col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25
----

query I rowsort label-2280
SELECT pk FROM tab0 WHERE NOT (col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25)
----
1
4
7

statement ok
DELETE FROM tab1 WHERE col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25
----

query I rowsort label-2280
SELECT pk FROM tab1 WHERE NOT (col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25)
----
1
4
7

statement ok
DELETE FROM tab2 WHERE col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25
----

query I rowsort label-2280
SELECT pk FROM tab2 WHERE NOT (col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25)
----
1
4
7

statement ok
DELETE FROM tab3 WHERE col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25
----

query I rowsort label-2280
SELECT pk FROM tab3 WHERE NOT (col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25)
----
1
4
7

statement ok
DELETE FROM tab4 WHERE col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25
----

query I rowsort label-2280
SELECT pk FROM tab4 WHERE NOT (col0 >= 98 OR col1 = 19.79 OR ((col3 > 95)) AND col1 < 21.70 OR col1 = 9.89 AND col1 < 32.25)
----
1
4
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,31,22.76,'nwcyp',12,12.62,'jrmex')

statement ok
INSERT INTO tab0 VALUES(1,43,90.40,'xugzf',57,2.31,'tlaxh')

statement ok
INSERT INTO tab0 VALUES(2,47,80.8,'pajig',20,72.11,'tbkhv')

statement ok
INSERT INTO tab0 VALUES(3,19,85.15,'bofbr',3,40.67,'xenea')

statement ok
INSERT INTO tab0 VALUES(4,92,37.82,'echne',72,41.6,'phsjm')

statement ok
INSERT INTO tab0 VALUES(5,66,67.32,'wmdsz',63,92.92,'kxetq')

statement ok
INSERT INTO tab0 VALUES(6,17,68.98,'qlbgi',98,55.56,'xqvkf')

statement ok
INSERT INTO tab0 VALUES(7,16,61.37,'hbxlc',99,99.10,'ilsuy')

statement ok
INSERT INTO tab0 VALUES(8,36,53.44,'mpjrm',93,59.60,'apstc')

statement ok
INSERT INTO tab0 VALUES(9,68,0.63,'mwzdq',35,5.17,'ewgwi')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4,col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3)

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_1 ON tab3 (col1,col0,col3)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3,col0 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 IN (16.79,50.4,18.55,85.19))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 IN (16.79,50.4,18.55,85.19))
----

query I rowsort label-2295
SELECT pk FROM tab0 WHERE NOT ((col1 IN (16.79,50.4,18.55,85.19)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col1 IN (16.79,50.4,18.55,85.19))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 IN (16.79,50.4,18.55,85.19))
----

query I rowsort label-2295
SELECT pk FROM tab1 WHERE NOT ((col1 IN (16.79,50.4,18.55,85.19)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col1 IN (16.79,50.4,18.55,85.19))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 IN (16.79,50.4,18.55,85.19))
----

query I rowsort label-2295
SELECT pk FROM tab2 WHERE NOT ((col1 IN (16.79,50.4,18.55,85.19)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col1 IN (16.79,50.4,18.55,85.19))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 IN (16.79,50.4,18.55,85.19))
----

query I rowsort label-2295
SELECT pk FROM tab3 WHERE NOT ((col1 IN (16.79,50.4,18.55,85.19)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col1 IN (16.79,50.4,18.55,85.19))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 IN (16.79,50.4,18.55,85.19))
----

query I rowsort label-2295
SELECT pk FROM tab4 WHERE NOT ((col1 IN (16.79,50.4,18.55,85.19)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 <= 9.68

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 9.68
----

query I rowsort label-2310
SELECT pk FROM tab0 WHERE NOT (col4 <= 9.68)
----
0
2
3
4
5
6
7
8

statement ok
DELETE FROM tab1 WHERE col4 <= 9.68

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 9.68
----

query I rowsort label-2310
SELECT pk FROM tab1 WHERE NOT (col4 <= 9.68)
----
0
2
3
4
5
6
7
8

statement ok
DELETE FROM tab2 WHERE col4 <= 9.68

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 9.68
----

query I rowsort label-2310
SELECT pk FROM tab2 WHERE NOT (col4 <= 9.68)
----
0
2
3
4
5
6
7
8

statement ok
DELETE FROM tab3 WHERE col4 <= 9.68

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 9.68
----

query I rowsort label-2310
SELECT pk FROM tab3 WHERE NOT (col4 <= 9.68)
----
0
2
3
4
5
6
7
8

statement ok
DELETE FROM tab4 WHERE col4 <= 9.68

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 9.68
----

query I rowsort label-2310
SELECT pk FROM tab4 WHERE NOT (col4 <= 9.68)
----
0
2
3
4
5
6
7
8

statement ok
DELETE FROM tab0 WHERE (col0 < 23)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 23)
----

query I rowsort label-2325
SELECT pk FROM tab0 WHERE NOT ((col0 < 23))
----
0
2
4
5
8

statement ok
DELETE FROM tab1 WHERE (col0 < 23)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 23)
----

query I rowsort label-2325
SELECT pk FROM tab1 WHERE NOT ((col0 < 23))
----
0
2
4
5
8

statement ok
DELETE FROM tab2 WHERE (col0 < 23)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 23)
----

query I rowsort label-2325
SELECT pk FROM tab2 WHERE NOT ((col0 < 23))
----
0
2
4
5
8

statement ok
DELETE FROM tab3 WHERE (col0 < 23)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 23)
----

query I rowsort label-2325
SELECT pk FROM tab3 WHERE NOT ((col0 < 23))
----
0
2
4
5
8

statement ok
DELETE FROM tab4 WHERE (col0 < 23)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 23)
----

query I rowsort label-2325
SELECT pk FROM tab4 WHERE NOT ((col0 < 23))
----
0
2
4
5
8

statement ok
DELETE FROM tab0 WHERE col4 > 96.28

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 96.28
----

query I rowsort label-2340
SELECT pk FROM tab0 WHERE NOT (col4 > 96.28)
----
0
2
4
5
8

statement ok
DELETE FROM tab1 WHERE col4 > 96.28

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 96.28
----

query I rowsort label-2340
SELECT pk FROM tab1 WHERE NOT (col4 > 96.28)
----
0
2
4
5
8

statement ok
DELETE FROM tab2 WHERE col4 > 96.28

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 96.28
----

query I rowsort label-2340
SELECT pk FROM tab2 WHERE NOT (col4 > 96.28)
----
0
2
4
5
8

statement ok
DELETE FROM tab3 WHERE col4 > 96.28

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 96.28
----

query I rowsort label-2340
SELECT pk FROM tab3 WHERE NOT (col4 > 96.28)
----
0
2
4
5
8

statement ok
DELETE FROM tab4 WHERE col4 > 96.28

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 96.28
----

query I rowsort label-2340
SELECT pk FROM tab4 WHERE NOT (col4 > 96.28)
----
0
2
4
5
8

statement ok
DELETE FROM tab0 WHERE (((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8)))
----

query I rowsort label-2355
SELECT pk FROM tab0 WHERE NOT ((((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8))))
----

statement ok
DELETE FROM tab1 WHERE (((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8)))
----

query I rowsort label-2355
SELECT pk FROM tab1 WHERE NOT ((((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8))))
----

statement ok
DELETE FROM tab2 WHERE (((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8)))
----

query I rowsort label-2355
SELECT pk FROM tab2 WHERE NOT ((((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8))))
----

statement ok
DELETE FROM tab3 WHERE (((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8)))
----

query I rowsort label-2355
SELECT pk FROM tab3 WHERE NOT ((((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8))))
----

statement ok
DELETE FROM tab4 WHERE (((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.8)))
----

query I rowsort label-2355
SELECT pk FROM tab4 WHERE NOT ((((col0 <= 90)) AND col1 <= 50.75 OR col0 >= 86 OR (((col3 IN (79,48,61,64,88,87))) OR col4 > 39.41 OR col0 <= 62 AND (col3 < 72) AND ((col0 > 22)) OR col1 IS NULL) OR (col0 > 2 OR col0 IS NULL OR (col0 > 49) AND col1 < 73.7 AND ((col0 < 70))) AND ((((col4 IS NULL)) OR col1 > 75.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,9,86.21,'oxweo',34,22.78,'qoroo')

statement ok
INSERT INTO tab0 VALUES(1,95,61.23,'zcojv',29,85.98,'lkqsg')

statement ok
INSERT INTO tab0 VALUES(2,90,51.89,'skqxe',68,19.40,'xmkhh')

statement ok
INSERT INTO tab0 VALUES(3,25,38.79,'uvgxz',46,8.57,'lbmmp')

statement ok
INSERT INTO tab0 VALUES(4,98,87.2,'wtksg',9,75.82,'zmtea')

statement ok
INSERT INTO tab0 VALUES(5,46,57.79,'gncvc',20,98.87,'eaqmi')

statement ok
INSERT INTO tab0 VALUES(6,99,19.3,'benip',22,17.52,'pjgpo')

statement ok
INSERT INTO tab0 VALUES(7,49,64.4,'gxcod',97,52.23,'uhohv')

statement ok
INSERT INTO tab0 VALUES(8,10,17.11,'xymvh',30,11.77,'hdllu')

statement ok
INSERT INTO tab0 VALUES(9,79,49.13,'fvawf',70,6.82,'zsuvo')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4,col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1 DESC,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3 DESC,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 <= 91)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 91)
----

query I rowsort label-2370
SELECT pk FROM tab0 WHERE NOT ((col0 <= 91))
----
1
4
6

statement ok
DELETE FROM tab1 WHERE (col0 <= 91)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 91)
----

query I rowsort label-2370
SELECT pk FROM tab1 WHERE NOT ((col0 <= 91))
----
1
4
6

statement ok
DELETE FROM tab2 WHERE (col0 <= 91)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 91)
----

query I rowsort label-2370
SELECT pk FROM tab2 WHERE NOT ((col0 <= 91))
----
1
4
6

statement ok
DELETE FROM tab3 WHERE (col0 <= 91)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 91)
----

query I rowsort label-2370
SELECT pk FROM tab3 WHERE NOT ((col0 <= 91))
----
1
4
6

statement ok
DELETE FROM tab4 WHERE (col0 <= 91)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 91)
----

query I rowsort label-2370
SELECT pk FROM tab4 WHERE NOT ((col0 <= 91))
----
1
4
6

statement ok
DELETE FROM tab0 WHERE col1 < 5.86

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 5.86
----

query I rowsort label-2385
SELECT pk FROM tab0 WHERE NOT (col1 < 5.86)
----
1
4
6

statement ok
DELETE FROM tab1 WHERE col1 < 5.86

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 5.86
----

query I rowsort label-2385
SELECT pk FROM tab1 WHERE NOT (col1 < 5.86)
----
1
4
6

statement ok
DELETE FROM tab2 WHERE col1 < 5.86

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 5.86
----

query I rowsort label-2385
SELECT pk FROM tab2 WHERE NOT (col1 < 5.86)
----
1
4
6

statement ok
DELETE FROM tab3 WHERE col1 < 5.86

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 5.86
----

query I rowsort label-2385
SELECT pk FROM tab3 WHERE NOT (col1 < 5.86)
----
1
4
6

statement ok
DELETE FROM tab4 WHERE col1 < 5.86

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 5.86
----

query I rowsort label-2385
SELECT pk FROM tab4 WHERE NOT (col1 < 5.86)
----
1
4
6

statement ok
DELETE FROM tab0 WHERE col3 >= 66

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 66
----

query I rowsort label-2400
SELECT pk FROM tab0 WHERE NOT (col3 >= 66)
----
1
4
6

statement ok
DELETE FROM tab1 WHERE col3 >= 66

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 66
----

query I rowsort label-2400
SELECT pk FROM tab1 WHERE NOT (col3 >= 66)
----
1
4
6

statement ok
DELETE FROM tab2 WHERE col3 >= 66

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 66
----

query I rowsort label-2400
SELECT pk FROM tab2 WHERE NOT (col3 >= 66)
----
1
4
6

statement ok
DELETE FROM tab3 WHERE col3 >= 66

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 66
----

query I rowsort label-2400
SELECT pk FROM tab3 WHERE NOT (col3 >= 66)
----
1
4
6

statement ok
DELETE FROM tab4 WHERE col3 >= 66

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 66
----

query I rowsort label-2400
SELECT pk FROM tab4 WHERE NOT (col3 >= 66)
----
1
4
6

statement ok
DELETE FROM tab0 WHERE (col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60
----

query I rowsort label-2415
SELECT pk FROM tab0 WHERE NOT ((col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60)
----

statement ok
DELETE FROM tab1 WHERE (col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60
----

query I rowsort label-2415
SELECT pk FROM tab1 WHERE NOT ((col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60)
----

statement ok
DELETE FROM tab2 WHERE (col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60
----

query I rowsort label-2415
SELECT pk FROM tab2 WHERE NOT ((col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60)
----

statement ok
DELETE FROM tab3 WHERE (col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60
----

query I rowsort label-2415
SELECT pk FROM tab3 WHERE NOT ((col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60)
----

statement ok
DELETE FROM tab4 WHERE (col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60
----

query I rowsort label-2415
SELECT pk FROM tab4 WHERE NOT ((col0 = 76) OR col3 < 87 OR col4 >= 45.82 OR col0 < 60)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,25,62.54,'gojfi',40,9.91,'hnuyr')

statement ok
INSERT INTO tab0 VALUES(1,89,83.17,'rcmzs',24,63.92,'rznrx')

statement ok
INSERT INTO tab0 VALUES(2,55,19.14,'emxuw',91,81.14,'oecnu')

statement ok
INSERT INTO tab0 VALUES(3,51,18.20,'amctl',29,30.74,'yjlbv')

statement ok
INSERT INTO tab0 VALUES(4,27,56.19,'hidnk',52,89.48,'cjzwa')

statement ok
INSERT INTO tab0 VALUES(5,69,5.11,'kzanm',20,11.89,'xsxzp')

statement ok
INSERT INTO tab0 VALUES(6,10,94.29,'zcpby',44,90.37,'trarm')

statement ok
INSERT INTO tab0 VALUES(7,43,68.46,'iezhf',3,18.30,'bofwd')

statement ok
INSERT INTO tab0 VALUES(8,35,58.94,'auhoi',54,50.19,'tueba')

statement ok
INSERT INTO tab0 VALUES(9,38,33.71,'rqhku',47,65.77,'evcpf')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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,col0)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3,col1 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1 DESC,col4)

statement ok
CREATE 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 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22)))
----

query I rowsort label-2430
SELECT pk FROM tab0 WHERE NOT (col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22)))
----

query I rowsort label-2430
SELECT pk FROM tab1 WHERE NOT (col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22)))
----

query I rowsort label-2430
SELECT pk FROM tab2 WHERE NOT (col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22)))
----

query I rowsort label-2430
SELECT pk FROM tab3 WHERE NOT (col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22)))
----

query I rowsort label-2430
SELECT pk FROM tab4 WHERE NOT (col3 <= 24 AND (((col3 IN (18,59,55,53)) AND col1 <= 55.28 OR col3 < 99 AND (col3 <= 88) AND (((col3 < 19))) AND ((col4 >= 3.48) AND col0 < 22))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 >= 16.10 AND (((col0 > 16)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 16.10 AND (((col0 > 16)))
----

query I rowsort label-2445
SELECT pk FROM tab0 WHERE NOT (col4 >= 16.10 AND (((col0 > 16))))
----
0
5
6

statement ok
DELETE FROM tab1 WHERE col4 >= 16.10 AND (((col0 > 16)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 16.10 AND (((col0 > 16)))
----

query I rowsort label-2445
SELECT pk FROM tab1 WHERE NOT (col4 >= 16.10 AND (((col0 > 16))))
----
0
5
6

statement ok
DELETE FROM tab2 WHERE col4 >= 16.10 AND (((col0 > 16)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 16.10 AND (((col0 > 16)))
----

query I rowsort label-2445
SELECT pk FROM tab2 WHERE NOT (col4 >= 16.10 AND (((col0 > 16))))
----
0
5
6

statement ok
DELETE FROM tab3 WHERE col4 >= 16.10 AND (((col0 > 16)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 16.10 AND (((col0 > 16)))
----

query I rowsort label-2445
SELECT pk FROM tab3 WHERE NOT (col4 >= 16.10 AND (((col0 > 16))))
----
0
5
6

statement ok
DELETE FROM tab4 WHERE col4 >= 16.10 AND (((col0 > 16)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 16.10 AND (((col0 > 16)))
----

query I rowsort label-2445
SELECT pk FROM tab4 WHERE NOT (col4 >= 16.10 AND (((col0 > 16))))
----
0
5
6

statement ok
DELETE FROM tab0 WHERE (col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL))
----

query I rowsort label-2460
SELECT pk FROM tab0 WHERE NOT ((col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL)))
----
0
5
6

statement ok
DELETE FROM tab1 WHERE (col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL))
----

query I rowsort label-2460
SELECT pk FROM tab1 WHERE NOT ((col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL)))
----
0
5
6

statement ok
DELETE FROM tab2 WHERE (col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL))
----

query I rowsort label-2460
SELECT pk FROM tab2 WHERE NOT ((col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL)))
----
0
5
6

statement ok
DELETE FROM tab3 WHERE (col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL))
----

query I rowsort label-2460
SELECT pk FROM tab3 WHERE NOT ((col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL)))
----
0
5
6

statement ok
DELETE FROM tab4 WHERE (col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL))
----

query I rowsort label-2460
SELECT pk FROM tab4 WHERE NOT ((col0 >= 76 OR col0 IS NULL AND col3 >= 55 OR (col3 = 88) AND ((col0 >= 55)) AND ((col3 >= 84 OR (((col0 < 83 AND (col3 >= 1) AND ((col3 > 57)))) AND col3 <= 29 AND (col0 > 79)) AND col1 >= 95.90) AND col3 IS NULL)))
----
0
5
6

statement ok
DELETE FROM tab0 WHERE col3 < 90

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 90
----

query I rowsort label-2475
SELECT pk FROM tab0 WHERE NOT (col3 < 90)
----

statement ok
DELETE FROM tab1 WHERE col3 < 90

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 90
----

query I rowsort label-2475
SELECT pk FROM tab1 WHERE NOT (col3 < 90)
----

statement ok
DELETE FROM tab2 WHERE col3 < 90

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 90
----

query I rowsort label-2475
SELECT pk FROM tab2 WHERE NOT (col3 < 90)
----

statement ok
DELETE FROM tab3 WHERE col3 < 90

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 90
----

query I rowsort label-2475
SELECT pk FROM tab3 WHERE NOT (col3 < 90)
----

statement ok
DELETE FROM tab4 WHERE col3 < 90

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 90
----

query I rowsort label-2475
SELECT pk FROM tab4 WHERE NOT (col3 < 90)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,27,76.55,'tccig',65,44.37,'ssybc')

statement ok
INSERT INTO tab0 VALUES(1,53,40.61,'uqmva',40,86.64,'uklwl')

statement ok
INSERT INTO tab0 VALUES(2,33,85.49,'fxkhd',27,47.13,'ivzwa')

statement ok
INSERT INTO tab0 VALUES(3,89,24.42,'kvkaa',9,57.59,'cnwcz')

statement ok
INSERT INTO tab0 VALUES(4,17,43.46,'dumgr',52,0.18,'svsed')

statement ok
INSERT INTO tab0 VALUES(5,4,63.65,'jxqfy',15,75.58,'brugs')

statement ok
INSERT INTO tab0 VALUES(6,37,2.12,'ublem',64,58.14,'exxbu')

statement ok
INSERT INTO tab0 VALUES(7,15,38.18,'lbvtd',87,69.95,'vixgd')

statement ok
INSERT INTO tab0 VALUES(8,65,70.51,'htnup',2,28.4,'ywjiq')

statement ok
INSERT INTO tab0 VALUES(9,52,82.25,'zesud',73,23.44,'mqdxb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0,col3 DESC,col1)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col0,col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92)
----

query I rowsort label-2490
SELECT pk FROM tab0 WHERE NOT ((col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92))
----

statement ok
DELETE FROM tab1 WHERE (col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92)
----

query I rowsort label-2490
SELECT pk FROM tab1 WHERE NOT ((col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92))
----

statement ok
DELETE FROM tab2 WHERE (col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92)
----

query I rowsort label-2490
SELECT pk FROM tab2 WHERE NOT ((col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92))
----

statement ok
DELETE FROM tab3 WHERE (col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92)
----

query I rowsort label-2490
SELECT pk FROM tab3 WHERE NOT ((col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92))
----

statement ok
DELETE FROM tab4 WHERE (col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92)
----

query I rowsort label-2490
SELECT pk FROM tab4 WHERE NOT ((col0 < 97 OR ((col4 >= 12.88 AND (col3 <= 45))) AND col0 <= 80 AND col4 > 57.92))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,2,1.53,'bcbjs',16,0.61,'shmwb')

statement ok
INSERT INTO tab0 VALUES(1,15,92.10,'rnbvk',79,5.15,'llcxz')

statement ok
INSERT INTO tab0 VALUES(2,65,94.28,'bidek',35,63.64,'gjghf')

statement ok
INSERT INTO tab0 VALUES(3,44,2.93,'szmcb',90,35.94,'nrjbi')

statement ok
INSERT INTO tab0 VALUES(4,24,81.71,'pjqei',32,32.32,'mpzpn')

statement ok
INSERT INTO tab0 VALUES(5,66,32.28,'wccxz',44,83.57,'tdnxm')

statement ok
INSERT INTO tab0 VALUES(6,25,53.35,'imabn',18,97.15,'cburs')

statement ok
INSERT INTO tab0 VALUES(7,80,0.87,'fwvnu',63,20.26,'verhk')

statement ok
INSERT INTO tab0 VALUES(8,28,54.11,'rowoj',21,4.3,'qjvfv')

statement ok
INSERT INTO tab0 VALUES(9,8,75.83,'ocvym',80,65.61,'dvbwf')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3 DESC,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC,col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0,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 UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,98,5.69,'ycjim',6,71.3,'ujrdj')

statement ok
INSERT INTO tab0 VALUES(1,26,48.75,'zgyek',98,22.23,'pzvln')

statement ok
INSERT INTO tab0 VALUES(2,87,4.67,'hrwig',15,62.25,'ylpwt')

statement ok
INSERT INTO tab0 VALUES(3,90,7.42,'vwcwg',60,53.25,'hqlte')

statement ok
INSERT INTO tab0 VALUES(4,68,26.99,'ncsrz',35,49.68,'ffptj')

statement ok
INSERT INTO tab0 VALUES(5,38,76.95,'ogmhl',12,4.91,'lclji')

statement ok
INSERT INTO tab0 VALUES(6,63,31.14,'jfrhh',89,89.87,'cdnlt')

statement ok
INSERT INTO tab0 VALUES(7,18,35.22,'vsiau',55,2.64,'xurzc')

statement ok
INSERT INTO tab0 VALUES(8,47,17.38,'ivkga',53,80.14,'ysfss')

statement ok
INSERT INTO tab0 VALUES(9,32,2.88,'yrvtd',41,14.67,'hiyqw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3 DESC,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4)

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 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56))
----

query I rowsort label-2505
SELECT pk FROM tab0 WHERE NOT (((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56)))
----
1
5
7

statement ok
DELETE FROM tab1 WHERE ((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56))
----

query I rowsort label-2505
SELECT pk FROM tab1 WHERE NOT (((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56)))
----
1
5
7

statement ok
DELETE FROM tab2 WHERE ((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56))
----

query I rowsort label-2505
SELECT pk FROM tab2 WHERE NOT (((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56)))
----
1
5
7

statement ok
DELETE FROM tab3 WHERE ((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56))
----

query I rowsort label-2505
SELECT pk FROM tab3 WHERE NOT (((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56)))
----
1
5
7

statement ok
DELETE FROM tab4 WHERE ((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56))
----

query I rowsort label-2505
SELECT pk FROM tab4 WHERE NOT (((((col0 > 75 AND col0 BETWEEN 53 AND 59))) AND col3 < 23 OR (col1 <= 32.56)))
----
1
5
7

statement ok
DELETE FROM tab0 WHERE col0 IN (40,18,53)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IN (40,18,53)
----

query I rowsort label-2520
SELECT pk FROM tab0 WHERE NOT (col0 IN (40,18,53))
----
1
5

statement ok
DELETE FROM tab1 WHERE col0 IN (40,18,53)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IN (40,18,53)
----

query I rowsort label-2520
SELECT pk FROM tab1 WHERE NOT (col0 IN (40,18,53))
----
1
5

statement ok
DELETE FROM tab2 WHERE col0 IN (40,18,53)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IN (40,18,53)
----

query I rowsort label-2520
SELECT pk FROM tab2 WHERE NOT (col0 IN (40,18,53))
----
1
5

statement ok
DELETE FROM tab3 WHERE col0 IN (40,18,53)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IN (40,18,53)
----

query I rowsort label-2520
SELECT pk FROM tab3 WHERE NOT (col0 IN (40,18,53))
----
1
5

statement ok
DELETE FROM tab4 WHERE col0 IN (40,18,53)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IN (40,18,53)
----

query I rowsort label-2520
SELECT pk FROM tab4 WHERE NOT (col0 IN (40,18,53))
----
1
5

statement ok
DELETE FROM tab0 WHERE col0 <= 47

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 47
----

query I rowsort label-2535
SELECT pk FROM tab0 WHERE NOT (col0 <= 47)
----

statement ok
DELETE FROM tab1 WHERE col0 <= 47

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 47
----

query I rowsort label-2535
SELECT pk FROM tab1 WHERE NOT (col0 <= 47)
----

statement ok
DELETE FROM tab2 WHERE col0 <= 47

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 47
----

query I rowsort label-2535
SELECT pk FROM tab2 WHERE NOT (col0 <= 47)
----

statement ok
DELETE FROM tab3 WHERE col0 <= 47

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 47
----

query I rowsort label-2535
SELECT pk FROM tab3 WHERE NOT (col0 <= 47)
----

statement ok
DELETE FROM tab4 WHERE col0 <= 47

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 47
----

query I rowsort label-2535
SELECT pk FROM tab4 WHERE NOT (col0 <= 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,37,81.6,'babij',15,96.32,'tvtlb')

statement ok
INSERT INTO tab0 VALUES(1,8,31.57,'wszdw',83,88.81,'cirdo')

statement ok
INSERT INTO tab0 VALUES(2,83,94.45,'txoba',38,82.83,'qqzua')

statement ok
INSERT INTO tab0 VALUES(3,34,82.53,'uuwmz',41,24.13,'qgzff')

statement ok
INSERT INTO tab0 VALUES(4,13,65.76,'sswix',39,6.13,'itoij')

statement ok
INSERT INTO tab0 VALUES(5,63,45.32,'ldvjo',71,26.6,'pbxlo')

statement ok
INSERT INTO tab0 VALUES(6,31,9.77,'xwded',96,50.9,'lkxhp')

statement ok
INSERT INTO tab0 VALUES(7,81,92.15,'ldsmq',88,75.42,'tqbgl')

statement ok
INSERT INTO tab0 VALUES(8,5,46.14,'owwbr',60,94.47,'xdviy')

statement ok
INSERT INTO tab0 VALUES(9,39,93.16,'pnvza',72,54.93,'gbnml')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE 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_3 ON tab2 (col0,col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0,col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 <= 17.6 AND col4 >= 78.96

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 17.6 AND col4 >= 78.96
----

query I rowsort label-2550
SELECT pk FROM tab0 WHERE NOT (col4 <= 17.6 AND col4 >= 78.96)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 <= 17.6 AND col4 >= 78.96

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 17.6 AND col4 >= 78.96
----

query I rowsort label-2550
SELECT pk FROM tab1 WHERE NOT (col4 <= 17.6 AND col4 >= 78.96)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 <= 17.6 AND col4 >= 78.96

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 17.6 AND col4 >= 78.96
----

query I rowsort label-2550
SELECT pk FROM tab2 WHERE NOT (col4 <= 17.6 AND col4 >= 78.96)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 <= 17.6 AND col4 >= 78.96

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 17.6 AND col4 >= 78.96
----

query I rowsort label-2550
SELECT pk FROM tab3 WHERE NOT (col4 <= 17.6 AND col4 >= 78.96)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 <= 17.6 AND col4 >= 78.96

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 17.6 AND col4 >= 78.96
----

query I rowsort label-2550
SELECT pk FROM tab4 WHERE NOT (col4 <= 17.6 AND col4 >= 78.96)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 IN (92.93,46.92,38.59,73.92)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (92.93,46.92,38.59,73.92)
----

query I rowsort label-2565
SELECT pk FROM tab0 WHERE NOT (col4 IN (92.93,46.92,38.59,73.92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 IN (92.93,46.92,38.59,73.92)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (92.93,46.92,38.59,73.92)
----

query I rowsort label-2565
SELECT pk FROM tab1 WHERE NOT (col4 IN (92.93,46.92,38.59,73.92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 IN (92.93,46.92,38.59,73.92)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (92.93,46.92,38.59,73.92)
----

query I rowsort label-2565
SELECT pk FROM tab2 WHERE NOT (col4 IN (92.93,46.92,38.59,73.92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 IN (92.93,46.92,38.59,73.92)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (92.93,46.92,38.59,73.92)
----

query I rowsort label-2565
SELECT pk FROM tab3 WHERE NOT (col4 IN (92.93,46.92,38.59,73.92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 IN (92.93,46.92,38.59,73.92)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (92.93,46.92,38.59,73.92)
----

query I rowsort label-2565
SELECT pk FROM tab4 WHERE NOT (col4 IN (92.93,46.92,38.59,73.92))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 = 61

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 61
----

query I rowsort label-2580
SELECT pk FROM tab0 WHERE NOT (col3 = 61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 = 61

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 61
----

query I rowsort label-2580
SELECT pk FROM tab1 WHERE NOT (col3 = 61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 = 61

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 61
----

query I rowsort label-2580
SELECT pk FROM tab2 WHERE NOT (col3 = 61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 = 61

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 61
----

query I rowsort label-2580
SELECT pk FROM tab3 WHERE NOT (col3 = 61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 = 61

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 61
----

query I rowsort label-2580
SELECT pk FROM tab4 WHERE NOT (col3 = 61)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13))))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13))))))
----

query I rowsort label-2595
SELECT pk FROM tab0 WHERE NOT (col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13)))))))
----

statement ok
DELETE FROM tab1 WHERE col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13))))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13))))))
----

query I rowsort label-2595
SELECT pk FROM tab1 WHERE NOT (col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13)))))))
----

statement ok
DELETE FROM tab2 WHERE col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13))))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13))))))
----

query I rowsort label-2595
SELECT pk FROM tab2 WHERE NOT (col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13)))))))
----

statement ok
DELETE FROM tab3 WHERE col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13))))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13))))))
----

query I rowsort label-2595
SELECT pk FROM tab3 WHERE NOT (col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13)))))))
----

statement ok
DELETE FROM tab4 WHERE col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13))))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.13))))))
----

query I rowsort label-2595
SELECT pk FROM tab4 WHERE NOT (col0 >= 50 AND col0 <= 57 OR (((col3 IS NULL OR (col3 >= 20 AND (col3 < 90 AND (col4 > 26.25 AND col0 IN (85)) AND (col0 IS NULL OR (col3 > 25) AND ((col0 >= 54)))) OR ((col1 < 77.99) OR (col4 > 0.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,53,14.5,'envlr',90,75.69,'towzb')

statement ok
INSERT INTO tab0 VALUES(1,60,89.85,'odtii',63,60.32,'oizin')

statement ok
INSERT INTO tab0 VALUES(2,70,36.62,'cjmul',89,26.72,'xltby')

statement ok
INSERT INTO tab0 VALUES(3,89,15.28,'djbbv',85,6.57,'utzao')

statement ok
INSERT INTO tab0 VALUES(4,93,71.2,'bsysh',40,7.37,'uowtx')

statement ok
INSERT INTO tab0 VALUES(5,41,9.44,'doyti',35,65.58,'lypys')

statement ok
INSERT INTO tab0 VALUES(6,87,45.66,'awntx',49,19.76,'esxje')

statement ok
INSERT INTO tab0 VALUES(7,90,76.46,'kjrwt',78,66.70,'rqxzv')

statement ok
INSERT INTO tab0 VALUES(8,33,39.38,'svlfi',41,21.48,'rmned')

statement ok
INSERT INTO tab0 VALUES(9,26,74.87,'qcotf',95,90.69,'ledua')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0,col1 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3,col1)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col1,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

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 col3 <= 25 AND (col3 IN (44,64))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 25 AND (col3 IN (44,64))
----

query I rowsort label-2610
SELECT pk FROM tab0 WHERE NOT (col3 <= 25 AND (col3 IN (44,64)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 <= 25 AND (col3 IN (44,64))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 25 AND (col3 IN (44,64))
----

query I rowsort label-2610
SELECT pk FROM tab1 WHERE NOT (col3 <= 25 AND (col3 IN (44,64)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 <= 25 AND (col3 IN (44,64))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 25 AND (col3 IN (44,64))
----

query I rowsort label-2610
SELECT pk FROM tab2 WHERE NOT (col3 <= 25 AND (col3 IN (44,64)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 <= 25 AND (col3 IN (44,64))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 25 AND (col3 IN (44,64))
----

query I rowsort label-2610
SELECT pk FROM tab3 WHERE NOT (col3 <= 25 AND (col3 IN (44,64)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 <= 25 AND (col3 IN (44,64))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 25 AND (col3 IN (44,64))
----

query I rowsort label-2610
SELECT pk FROM tab4 WHERE NOT (col3 <= 25 AND (col3 IN (44,64)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 > 56.50 AND col0 >= 1

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 56.50 AND col0 >= 1
----

query I rowsort label-2625
SELECT pk FROM tab0 WHERE NOT (col1 > 56.50 AND col0 >= 1)
----
0
2
3
5
6
8

statement ok
DELETE FROM tab1 WHERE col1 > 56.50 AND col0 >= 1

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 56.50 AND col0 >= 1
----

query I rowsort label-2625
SELECT pk FROM tab1 WHERE NOT (col1 > 56.50 AND col0 >= 1)
----
0
2
3
5
6
8

statement ok
DELETE FROM tab2 WHERE col1 > 56.50 AND col0 >= 1

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 56.50 AND col0 >= 1
----

query I rowsort label-2625
SELECT pk FROM tab2 WHERE NOT (col1 > 56.50 AND col0 >= 1)
----
0
2
3
5
6
8

statement ok
DELETE FROM tab3 WHERE col1 > 56.50 AND col0 >= 1

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 56.50 AND col0 >= 1
----

query I rowsort label-2625
SELECT pk FROM tab3 WHERE NOT (col1 > 56.50 AND col0 >= 1)
----
0
2
3
5
6
8

statement ok
DELETE FROM tab4 WHERE col1 > 56.50 AND col0 >= 1

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 56.50 AND col0 >= 1
----

query I rowsort label-2625
SELECT pk FROM tab4 WHERE NOT (col1 > 56.50 AND col0 >= 1)
----
0
2
3
5
6
8

statement ok
DELETE FROM tab0 WHERE col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9
----

query I rowsort label-2640
SELECT pk FROM tab0 WHERE NOT (col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9)
----
2
3
6
8

statement ok
DELETE FROM tab1 WHERE col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9
----

query I rowsort label-2640
SELECT pk FROM tab1 WHERE NOT (col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9)
----
2
3
6
8

statement ok
DELETE FROM tab2 WHERE col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9
----

query I rowsort label-2640
SELECT pk FROM tab2 WHERE NOT (col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9)
----
2
3
6
8

statement ok
DELETE FROM tab3 WHERE col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9
----

query I rowsort label-2640
SELECT pk FROM tab3 WHERE NOT (col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9)
----
2
3
6
8

statement ok
DELETE FROM tab4 WHERE col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9
----

query I rowsort label-2640
SELECT pk FROM tab4 WHERE NOT (col4 > 57.18 OR col0 IN (43,89,85) AND col4 >= 42.9)
----
2
3
6
8

statement ok
DELETE FROM tab0 WHERE col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10)
----

query I rowsort label-2655
SELECT pk FROM tab0 WHERE NOT (col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10))
----
2
3
6
8

statement ok
DELETE FROM tab1 WHERE col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10)
----

query I rowsort label-2655
SELECT pk FROM tab1 WHERE NOT (col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10))
----
2
3
6
8

statement ok
DELETE FROM tab2 WHERE col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10)
----

query I rowsort label-2655
SELECT pk FROM tab2 WHERE NOT (col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10))
----
2
3
6
8

statement ok
DELETE FROM tab3 WHERE col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10)
----

query I rowsort label-2655
SELECT pk FROM tab3 WHERE NOT (col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10))
----
2
3
6
8

statement ok
DELETE FROM tab4 WHERE col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10)
----

query I rowsort label-2655
SELECT pk FROM tab4 WHERE NOT (col0 = 17 AND col0 <= 91 AND col0 IN (43,74,40,23,10))
----
2
3
6
8

statement ok
DELETE FROM tab0 WHERE col3 < 27

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 27
----

query I rowsort label-2670
SELECT pk FROM tab0 WHERE NOT (col3 < 27)
----
2
3
6
8

statement ok
DELETE FROM tab1 WHERE col3 < 27

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 27
----

query I rowsort label-2670
SELECT pk FROM tab1 WHERE NOT (col3 < 27)
----
2
3
6
8

statement ok
DELETE FROM tab2 WHERE col3 < 27

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 27
----

query I rowsort label-2670
SELECT pk FROM tab2 WHERE NOT (col3 < 27)
----
2
3
6
8

statement ok
DELETE FROM tab3 WHERE col3 < 27

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 27
----

query I rowsort label-2670
SELECT pk FROM tab3 WHERE NOT (col3 < 27)
----
2
3
6
8

statement ok
DELETE FROM tab4 WHERE col3 < 27

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 27
----

query I rowsort label-2670
SELECT pk FROM tab4 WHERE NOT (col3 < 27)
----
2
3
6
8

statement ok
DELETE FROM tab0 WHERE ((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46))
----

query I rowsort label-2685
SELECT pk FROM tab0 WHERE NOT (((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46)))
----

statement ok
DELETE FROM tab1 WHERE ((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46))
----

query I rowsort label-2685
SELECT pk FROM tab1 WHERE NOT (((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46)))
----

statement ok
DELETE FROM tab2 WHERE ((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46))
----

query I rowsort label-2685
SELECT pk FROM tab2 WHERE NOT (((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46)))
----

statement ok
DELETE FROM tab3 WHERE ((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46))
----

query I rowsort label-2685
SELECT pk FROM tab3 WHERE NOT (((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46)))
----

statement ok
DELETE FROM tab4 WHERE ((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46))
----

query I rowsort label-2685
SELECT pk FROM tab4 WHERE NOT (((col1 < 75.95) OR (col0 > 19 AND (col4 IS NULL) AND col3 < 46)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,63,40.41,'mopxw',18,16.35,'utzug')

statement ok
INSERT INTO tab0 VALUES(1,45,22.1,'svxsh',59,80.88,'hikjz')

statement ok
INSERT INTO tab0 VALUES(2,34,42.21,'ljxkr',12,66.65,'ylxdo')

statement ok
INSERT INTO tab0 VALUES(3,26,54.20,'tzdqz',30,50.14,'zkkqi')

statement ok
INSERT INTO tab0 VALUES(4,49,10.16,'sexuk',33,17.60,'frpxm')

statement ok
INSERT INTO tab0 VALUES(5,29,78.83,'uvmmf',65,69.71,'kggbw')

statement ok
INSERT INTO tab0 VALUES(6,47,52.20,'swbdf',62,44.15,'anfvh')

statement ok
INSERT INTO tab0 VALUES(7,6,63.10,'ptdto',11,22.29,'rsohs')

statement ok
INSERT INTO tab0 VALUES(8,93,94.81,'fflme',13,40.77,'dsqne')

statement ok
INSERT INTO tab0 VALUES(9,38,93.73,'cvbcn',42,8.14,'jnkba')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 BETWEEN 81.82 AND 88.92

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 BETWEEN 81.82 AND 88.92
----

query I rowsort label-2700
SELECT pk FROM tab0 WHERE NOT (col4 BETWEEN 81.82 AND 88.92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 BETWEEN 81.82 AND 88.92

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 BETWEEN 81.82 AND 88.92
----

query I rowsort label-2700
SELECT pk FROM tab1 WHERE NOT (col4 BETWEEN 81.82 AND 88.92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 BETWEEN 81.82 AND 88.92

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 BETWEEN 81.82 AND 88.92
----

query I rowsort label-2700
SELECT pk FROM tab2 WHERE NOT (col4 BETWEEN 81.82 AND 88.92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 BETWEEN 81.82 AND 88.92

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 BETWEEN 81.82 AND 88.92
----

query I rowsort label-2700
SELECT pk FROM tab3 WHERE NOT (col4 BETWEEN 81.82 AND 88.92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 BETWEEN 81.82 AND 88.92

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 BETWEEN 81.82 AND 88.92
----

query I rowsort label-2700
SELECT pk FROM tab4 WHERE NOT (col4 BETWEEN 81.82 AND 88.92)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 < 39 AND col4 < 21.49

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 39 AND col4 < 21.49
----

query I rowsort label-2715
SELECT pk FROM tab0 WHERE NOT (col0 < 39 AND col4 < 21.49)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab1 WHERE col0 < 39 AND col4 < 21.49

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 39 AND col4 < 21.49
----

query I rowsort label-2715
SELECT pk FROM tab1 WHERE NOT (col0 < 39 AND col4 < 21.49)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab2 WHERE col0 < 39 AND col4 < 21.49

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 39 AND col4 < 21.49
----

query I rowsort label-2715
SELECT pk FROM tab2 WHERE NOT (col0 < 39 AND col4 < 21.49)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab3 WHERE col0 < 39 AND col4 < 21.49

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 39 AND col4 < 21.49
----

query I rowsort label-2715
SELECT pk FROM tab3 WHERE NOT (col0 < 39 AND col4 < 21.49)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DELETE FROM tab4 WHERE col0 < 39 AND col4 < 21.49

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 39 AND col4 < 21.49
----

query I rowsort label-2715
SELECT pk FROM tab4 WHERE NOT (col0 < 39 AND col4 < 21.49)
----
9 values hashing to 6ba058c53c08bb0173bcc14ce59aeeff

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,19,60.68,'lblfu',41,62.55,'aomoa')

statement ok
INSERT INTO tab0 VALUES(1,22,21.89,'jnsze',24,93.64,'stnyv')

statement ok
INSERT INTO tab0 VALUES(2,27,99.37,'qabzx',42,78.86,'ccdmm')

statement ok
INSERT INTO tab0 VALUES(3,40,90.80,'pelhr',6,91.61,'lnaws')

statement ok
INSERT INTO tab0 VALUES(4,76,69.41,'ztgyf',21,40.13,'jawdj')

statement ok
INSERT INTO tab0 VALUES(5,17,6.66,'vkgqm',40,82.23,'wgkgm')

statement ok
INSERT INTO tab0 VALUES(6,75,76.84,'rduhr',27,39.84,'oelsl')

statement ok
INSERT INTO tab0 VALUES(7,58,73.67,'tgzpj',23,4.65,'vqcfd')

statement ok
INSERT INTO tab0 VALUES(8,30,19.97,'zotvv',7,59.75,'szxeb')

statement ok
INSERT INTO tab0 VALUES(9,77,82.26,'fjzju',54,84.25,'jtxol')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,95.38,'ubaab',93,2.94,'lcpxu')

statement ok
INSERT INTO tab0 VALUES(1,1,87.49,'huuno',69,74.14,'kmjoq')

statement ok
INSERT INTO tab0 VALUES(2,68,53.24,'uhiau',90,4.44,'cdwoo')

statement ok
INSERT INTO tab0 VALUES(3,38,50.32,'yjijj',66,12.62,'zfjxs')

statement ok
INSERT INTO tab0 VALUES(4,94,80.11,'lmhwt',81,96.14,'lgidt')

statement ok
INSERT INTO tab0 VALUES(5,53,52.71,'tzhhu',8,94.29,'kfalo')

statement ok
INSERT INTO tab0 VALUES(6,71,47.13,'qdkeg',18,44.31,'xncrt')

statement ok
INSERT INTO tab0 VALUES(7,61,78.36,'wkpuq',94,51.51,'vhinm')

statement ok
INSERT INTO tab0 VALUES(8,5,54.56,'vhaio',45,42.40,'jkbsy')

statement ok
INSERT INTO tab0 VALUES(9,65,40.13,'auyaq',14,39.80,'xqabz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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,col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE 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 (col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3 DESC,col4 DESC,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40))
----

query I rowsort label-2730
SELECT pk FROM tab0 WHERE NOT ((col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40)))
----
1

statement ok
DELETE FROM tab1 WHERE (col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40))
----

query I rowsort label-2730
SELECT pk FROM tab1 WHERE NOT ((col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40)))
----
1

statement ok
DELETE FROM tab2 WHERE (col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40))
----

query I rowsort label-2730
SELECT pk FROM tab2 WHERE NOT ((col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40)))
----
1

statement ok
DELETE FROM tab3 WHERE (col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40))
----

query I rowsort label-2730
SELECT pk FROM tab3 WHERE NOT ((col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40)))
----
1

statement ok
DELETE FROM tab4 WHERE (col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40))
----

query I rowsort label-2730
SELECT pk FROM tab4 WHERE NOT ((col4 < 36.20) OR col3 < 26 OR (col3 >= 78 AND ((col3 = 41 AND col3 = 12 OR (col1 > 16.40) OR col3 >= 2 OR (((col3 <= 81))) OR (col3 > 35 OR ((col0 < 18)) AND (((((col1 > 59.34 AND col4 > 91.74 OR (((col3 > 44)))) OR col1 <= 53.16 OR (((col3 <= 98))) OR col1 = 85.71 OR col0 IN (41) AND col4 > 84.97 OR col1 >= 3.80 OR (col0 > 64) AND (col1 < 19.40) AND col3 IN (14,7,25,49,98) OR col3 = 81) AND ((col1 <= 21.83)) AND col3 < 73))) OR ((col1 > 90.13 OR col4 > 41.69 AND ((col0 < 34)) AND col4 IN (45.90,38.6,42.44,82.38) AND (col1 <= 98.86) AND ((col3 < 21))))) AND ((col0 > 72) AND col3 IS NULL AND ((col4 IS NULL) AND col3 > 71))))) AND col1 > 90.29 OR col3 < 53 OR (col4 <= 80.99 AND (col0 >= 21) OR (((((col3 <= 7))))) OR col3 < 48 OR (col0 > 40)))
----
1

statement ok
DELETE FROM tab0 WHERE col3 <= 64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 64
----

query I rowsort label-2745
SELECT pk FROM tab0 WHERE NOT (col3 <= 64)
----
1

statement ok
DELETE FROM tab1 WHERE col3 <= 64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 64
----

query I rowsort label-2745
SELECT pk FROM tab1 WHERE NOT (col3 <= 64)
----
1

statement ok
DELETE FROM tab2 WHERE col3 <= 64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 64
----

query I rowsort label-2745
SELECT pk FROM tab2 WHERE NOT (col3 <= 64)
----
1

statement ok
DELETE FROM tab3 WHERE col3 <= 64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 64
----

query I rowsort label-2745
SELECT pk FROM tab3 WHERE NOT (col3 <= 64)
----
1

statement ok
DELETE FROM tab4 WHERE col3 <= 64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 64
----

query I rowsort label-2745
SELECT pk FROM tab4 WHERE NOT (col3 <= 64)
----
1

statement ok
DELETE FROM tab0 WHERE col4 < 49.49

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 49.49
----

query I rowsort label-2760
SELECT pk FROM tab0 WHERE NOT (col4 < 49.49)
----
1

statement ok
DELETE FROM tab1 WHERE col4 < 49.49

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 49.49
----

query I rowsort label-2760
SELECT pk FROM tab1 WHERE NOT (col4 < 49.49)
----
1

statement ok
DELETE FROM tab2 WHERE col4 < 49.49

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 49.49
----

query I rowsort label-2760
SELECT pk FROM tab2 WHERE NOT (col4 < 49.49)
----
1

statement ok
DELETE FROM tab3 WHERE col4 < 49.49

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 49.49
----

query I rowsort label-2760
SELECT pk FROM tab3 WHERE NOT (col4 < 49.49)
----
1

statement ok
DELETE FROM tab4 WHERE col4 < 49.49

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 49.49
----

query I rowsort label-2760
SELECT pk FROM tab4 WHERE NOT (col4 < 49.49)
----
1

statement ok
DELETE FROM tab0 WHERE col3 >= 86

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 86
----

query I rowsort label-2775
SELECT pk FROM tab0 WHERE NOT (col3 >= 86)
----
1

statement ok
DELETE FROM tab1 WHERE col3 >= 86

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 86
----

query I rowsort label-2775
SELECT pk FROM tab1 WHERE NOT (col3 >= 86)
----
1

statement ok
DELETE FROM tab2 WHERE col3 >= 86

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 86
----

query I rowsort label-2775
SELECT pk FROM tab2 WHERE NOT (col3 >= 86)
----
1

statement ok
DELETE FROM tab3 WHERE col3 >= 86

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 86
----

query I rowsort label-2775
SELECT pk FROM tab3 WHERE NOT (col3 >= 86)
----
1

statement ok
DELETE FROM tab4 WHERE col3 >= 86

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 86
----

query I rowsort label-2775
SELECT pk FROM tab4 WHERE NOT (col3 >= 86)
----
1

statement ok
DELETE FROM tab0 WHERE col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61)
----

query I rowsort label-2790
SELECT pk FROM tab0 WHERE NOT (col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61))
----

statement ok
DELETE FROM tab1 WHERE col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61)
----

query I rowsort label-2790
SELECT pk FROM tab1 WHERE NOT (col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61))
----

statement ok
DELETE FROM tab2 WHERE col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61)
----

query I rowsort label-2790
SELECT pk FROM tab2 WHERE NOT (col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61))
----

statement ok
DELETE FROM tab3 WHERE col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61)
----

query I rowsort label-2790
SELECT pk FROM tab3 WHERE NOT (col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61))
----

statement ok
DELETE FROM tab4 WHERE col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.61)
----

query I rowsort label-2790
SELECT pk FROM tab4 WHERE NOT (col0 < 23 AND col1 BETWEEN 81.0 AND 43.87 AND col3 = 7 OR (col1 > 49.29 AND col4 >= 26.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,65,68.38,'sozue',2,94.16,'qxdox')

statement ok
INSERT INTO tab0 VALUES(1,40,22.91,'hozqh',3,40.0,'hados')

statement ok
INSERT INTO tab0 VALUES(2,37,93.84,'kivkq',92,17.60,'cyiku')

statement ok
INSERT INTO tab0 VALUES(3,23,49.18,'wskcs',4,86.17,'hfgby')

statement ok
INSERT INTO tab0 VALUES(4,43,23.1,'jxfpb',31,29.28,'aqtpb')

statement ok
INSERT INTO tab0 VALUES(5,82,21.8,'qeqlo',93,61.52,'owzcn')

statement ok
INSERT INTO tab0 VALUES(6,27,46.42,'jmwjn',90,44.5,'gboca')

statement ok
INSERT INTO tab0 VALUES(7,35,0.1,'pciwr',70,99.29,'tnviw')

statement ok
INSERT INTO tab0 VALUES(8,87,98.36,'rflal',94,16.51,'chted')

statement ok
INSERT INTO tab0 VALUES(9,58,87.17,'lrcvy',85,73.49,'zuhpq')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0,col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4 DESC,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 >= 27

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 27
----

query I rowsort label-2805
SELECT pk FROM tab0 WHERE NOT (col3 >= 27)
----
0
1
3

statement ok
DELETE FROM tab1 WHERE col3 >= 27

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 27
----

query I rowsort label-2805
SELECT pk FROM tab1 WHERE NOT (col3 >= 27)
----
0
1
3

statement ok
DELETE FROM tab2 WHERE col3 >= 27

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 27
----

query I rowsort label-2805
SELECT pk FROM tab2 WHERE NOT (col3 >= 27)
----
0
1
3

statement ok
DELETE FROM tab3 WHERE col3 >= 27

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 27
----

query I rowsort label-2805
SELECT pk FROM tab3 WHERE NOT (col3 >= 27)
----
0
1
3

statement ok
DELETE FROM tab4 WHERE col3 >= 27

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 27
----

query I rowsort label-2805
SELECT pk FROM tab4 WHERE NOT (col3 >= 27)
----
0
1
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-2820
SELECT pk FROM tab0 WHERE NOT (col0 <= 18)
----
0
1
3

statement ok
DELETE FROM tab1 WHERE col0 <= 18

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 18
----

query I rowsort label-2820
SELECT pk FROM tab1 WHERE NOT (col0 <= 18)
----
0
1
3

statement ok
DELETE FROM tab2 WHERE col0 <= 18

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 18
----

query I rowsort label-2820
SELECT pk FROM tab2 WHERE NOT (col0 <= 18)
----
0
1
3

statement ok
DELETE FROM tab3 WHERE col0 <= 18

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 18
----

query I rowsort label-2820
SELECT pk FROM tab3 WHERE NOT (col0 <= 18)
----
0
1
3

statement ok
DELETE FROM tab4 WHERE col0 <= 18

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 18
----

query I rowsort label-2820
SELECT pk FROM tab4 WHERE NOT (col0 <= 18)
----
0
1
3

statement ok
DELETE FROM tab0 WHERE col1 < 74.51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 74.51
----

query I rowsort label-2835
SELECT pk FROM tab0 WHERE NOT (col1 < 74.51)
----

statement ok
DELETE FROM tab1 WHERE col1 < 74.51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 74.51
----

query I rowsort label-2835
SELECT pk FROM tab1 WHERE NOT (col1 < 74.51)
----

statement ok
DELETE FROM tab2 WHERE col1 < 74.51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 74.51
----

query I rowsort label-2835
SELECT pk FROM tab2 WHERE NOT (col1 < 74.51)
----

statement ok
DELETE FROM tab3 WHERE col1 < 74.51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 74.51
----

query I rowsort label-2835
SELECT pk FROM tab3 WHERE NOT (col1 < 74.51)
----

statement ok
DELETE FROM tab4 WHERE col1 < 74.51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 74.51
----

query I rowsort label-2835
SELECT pk FROM tab4 WHERE NOT (col1 < 74.51)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,79,60.55,'amecf',38,93.1,'cwedb')

statement ok
INSERT INTO tab0 VALUES(1,60,13.23,'vvnzt',25,37.92,'ohaeg')

statement ok
INSERT INTO tab0 VALUES(2,35,84.81,'bzleo',80,69.96,'unsgu')

statement ok
INSERT INTO tab0 VALUES(3,71,4.53,'nyyiw',34,22.31,'tbqaa')

statement ok
INSERT INTO tab0 VALUES(4,67,98.80,'ngdts',60,3.91,'ebagk')

statement ok
INSERT INTO tab0 VALUES(5,74,48.35,'kfwqr',87,58.55,'fmshe')

statement ok
INSERT INTO tab0 VALUES(6,1,52.32,'gahci',9,33.3,'ahquc')

statement ok
INSERT INTO tab0 VALUES(7,29,93.44,'lwojd',98,35.24,'knohw')

statement ok
INSERT INTO tab0 VALUES(8,27,96.9,'jeluu',21,97.36,'kjpzx')

statement ok
INSERT INTO tab0 VALUES(9,61,94.48,'ymwfc',45,42.90,'ajzxy')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3)

statement ok
CREATE INDEX idx_tab3_4 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)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 = 67

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 67
----

query I rowsort label-2850
SELECT pk FROM tab0 WHERE NOT (col3 = 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 = 67

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 67
----

query I rowsort label-2850
SELECT pk FROM tab1 WHERE NOT (col3 = 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 = 67

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 67
----

query I rowsort label-2850
SELECT pk FROM tab2 WHERE NOT (col3 = 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 = 67

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 67
----

query I rowsort label-2850
SELECT pk FROM tab3 WHERE NOT (col3 = 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 = 67

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 67
----

query I rowsort label-2850
SELECT pk FROM tab4 WHERE NOT (col3 = 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col1 > 23.87 AND col0 < 33))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 > 23.87 AND col0 < 33))
----

query I rowsort label-2865
SELECT pk FROM tab0 WHERE NOT (((col1 > 23.87 AND col0 < 33)))
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab1 WHERE ((col1 > 23.87 AND col0 < 33))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 > 23.87 AND col0 < 33))
----

query I rowsort label-2865
SELECT pk FROM tab1 WHERE NOT (((col1 > 23.87 AND col0 < 33)))
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab2 WHERE ((col1 > 23.87 AND col0 < 33))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 > 23.87 AND col0 < 33))
----

query I rowsort label-2865
SELECT pk FROM tab2 WHERE NOT (((col1 > 23.87 AND col0 < 33)))
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab3 WHERE ((col1 > 23.87 AND col0 < 33))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 > 23.87 AND col0 < 33))
----

query I rowsort label-2865
SELECT pk FROM tab3 WHERE NOT (((col1 > 23.87 AND col0 < 33)))
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab4 WHERE ((col1 > 23.87 AND col0 < 33))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 > 23.87 AND col0 < 33))
----

query I rowsort label-2865
SELECT pk FROM tab4 WHERE NOT (((col1 > 23.87 AND col0 < 33)))
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab0 WHERE col0 = 78 AND col3 >= 94

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 78 AND col3 >= 94
----

query I rowsort label-2880
SELECT pk FROM tab0 WHERE NOT (col0 = 78 AND col3 >= 94)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab1 WHERE col0 = 78 AND col3 >= 94

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 78 AND col3 >= 94
----

query I rowsort label-2880
SELECT pk FROM tab1 WHERE NOT (col0 = 78 AND col3 >= 94)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab2 WHERE col0 = 78 AND col3 >= 94

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 78 AND col3 >= 94
----

query I rowsort label-2880
SELECT pk FROM tab2 WHERE NOT (col0 = 78 AND col3 >= 94)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab3 WHERE col0 = 78 AND col3 >= 94

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 78 AND col3 >= 94
----

query I rowsort label-2880
SELECT pk FROM tab3 WHERE NOT (col0 = 78 AND col3 >= 94)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab4 WHERE col0 = 78 AND col3 >= 94

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 78 AND col3 >= 94
----

query I rowsort label-2880
SELECT pk FROM tab4 WHERE NOT (col0 = 78 AND col3 >= 94)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab0 WHERE col3 IN (67,11,0,30,24,23)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (67,11,0,30,24,23)
----

query I rowsort label-2895
SELECT pk FROM tab0 WHERE NOT (col3 IN (67,11,0,30,24,23))
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab1 WHERE col3 IN (67,11,0,30,24,23)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (67,11,0,30,24,23)
----

query I rowsort label-2895
SELECT pk FROM tab1 WHERE NOT (col3 IN (67,11,0,30,24,23))
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab2 WHERE col3 IN (67,11,0,30,24,23)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (67,11,0,30,24,23)
----

query I rowsort label-2895
SELECT pk FROM tab2 WHERE NOT (col3 IN (67,11,0,30,24,23))
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab3 WHERE col3 IN (67,11,0,30,24,23)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (67,11,0,30,24,23)
----

query I rowsort label-2895
SELECT pk FROM tab3 WHERE NOT (col3 IN (67,11,0,30,24,23))
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab4 WHERE col3 IN (67,11,0,30,24,23)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (67,11,0,30,24,23)
----

query I rowsort label-2895
SELECT pk FROM tab4 WHERE NOT (col3 IN (67,11,0,30,24,23))
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab0 WHERE (col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34
----

query I rowsort label-2910
SELECT pk FROM tab0 WHERE NOT ((col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab1 WHERE (col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34
----

query I rowsort label-2910
SELECT pk FROM tab1 WHERE NOT ((col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab2 WHERE (col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34
----

query I rowsort label-2910
SELECT pk FROM tab2 WHERE NOT ((col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab3 WHERE (col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34
----

query I rowsort label-2910
SELECT pk FROM tab3 WHERE NOT ((col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab4 WHERE (col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34
----

query I rowsort label-2910
SELECT pk FROM tab4 WHERE NOT ((col0 = 19 OR (col1 >= 67.24)) AND (col4 > 49.57) AND col3 >= 74 AND col3 > 92 AND col4 > 57.34)
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab0 WHERE col4 IS NULL AND ((col4 >= 0.93))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IS NULL AND ((col4 >= 0.93))
----

query I rowsort label-2925
SELECT pk FROM tab0 WHERE NOT (col4 IS NULL AND ((col4 >= 0.93)))
----
0
1
2
3
4
5
9

statement ok
DELETE FROM tab1 WHERE col4 IS NULL AND ((col4 >= 0.93))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IS NULL AND ((col4 >= 0.93))
----

statement ok
DELETE FROM tab0 WHERE col4 > 52.25

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 52.25
----

query I rowsort label-2930
SELECT pk FROM tab0 WHERE NOT (col4 > 52.25)
----
1
3
4
9

statement ok
DELETE FROM tab1 WHERE col4 > 52.25

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 52.25
----

query I rowsort label-2930
SELECT pk FROM tab1 WHERE NOT (col4 > 52.25)
----
1
3
4
9

statement ok
DELETE FROM tab2 WHERE col4 > 52.25

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 52.25
----

query I rowsort label-2930
SELECT pk FROM tab2 WHERE NOT (col4 > 52.25)
----
1
3
4
9

statement ok
DELETE FROM tab3 WHERE col4 > 52.25

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 52.25
----

query I rowsort label-2930
SELECT pk FROM tab3 WHERE NOT (col4 > 52.25)
----
1
3
4
9

statement ok
DELETE FROM tab4 WHERE col4 > 52.25

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 52.25
----

query I rowsort label-2930
SELECT pk FROM tab4 WHERE NOT (col4 > 52.25)
----
1
3
4
9

statement ok
DELETE FROM tab0 WHERE (((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24))
----

query I rowsort label-2945
SELECT pk FROM tab0 WHERE NOT ((((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24)))
----
1
3
4
9

statement ok
DELETE FROM tab1 WHERE (((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24))
----

query I rowsort label-2945
SELECT pk FROM tab1 WHERE NOT ((((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24)))
----
1
3
4
9

statement ok
DELETE FROM tab2 WHERE (((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24))
----

query I rowsort label-2945
SELECT pk FROM tab2 WHERE NOT ((((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24)))
----
1
3
4
9

statement ok
DELETE FROM tab3 WHERE (((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24))
----

query I rowsort label-2945
SELECT pk FROM tab3 WHERE NOT ((((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24)))
----
1
3
4
9

statement ok
DELETE FROM tab4 WHERE (((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24))
----

query I rowsort label-2945
SELECT pk FROM tab4 WHERE NOT ((((col1 <= 32.75 AND col3 > 66) AND (col3 > 95) AND col0 > 14 AND (col0 >= 20) OR ((col4 >= 69.80 AND col3 > 66 AND (col0 > 4 AND (col0 > 40 AND (((col3 IS NULL AND col3 >= 24 OR col3 = 78 AND col1 <= 85.86 AND (col3 >= 49) AND col1 > 79.77 AND col3 <= 83 OR col3 < 85)))) OR col1 <= 81.48 AND col1 > 53.79 OR col4 IS NULL AND col3 = 20 AND col4 > 2.81 OR col0 >= 79 OR col4 < 39.60))) AND col4 <= 19.84 AND ((((col0 = 32))) OR col3 >= 69 AND (col4 BETWEEN 36.34 AND 78.80)) AND ((col4 <= 55.84)) AND col3 > 24)))
----
1
3
4
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-2960
SELECT pk FROM tab0 WHERE NOT (col0 < 25)
----
1
3
4
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-2960
SELECT pk FROM tab1 WHERE NOT (col0 < 25)
----
1
3
4
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-2960
SELECT pk FROM tab2 WHERE NOT (col0 < 25)
----
1
3
4
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-2960
SELECT pk FROM tab3 WHERE NOT (col0 < 25)
----
1
3
4
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-2960
SELECT pk FROM tab4 WHERE NOT (col0 < 25)
----
1
3
4
9

statement ok
DELETE FROM tab0 WHERE col3 IN (91,60,44,19,70)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IN (91,60,44,19,70)
----

query I rowsort label-2975
SELECT pk FROM tab0 WHERE NOT (col3 IN (91,60,44,19,70))
----
1
3
9

statement ok
DELETE FROM tab1 WHERE col3 IN (91,60,44,19,70)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IN (91,60,44,19,70)
----

query I rowsort label-2975
SELECT pk FROM tab1 WHERE NOT (col3 IN (91,60,44,19,70))
----
1
3
9

statement ok
DELETE FROM tab2 WHERE col3 IN (91,60,44,19,70)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IN (91,60,44,19,70)
----

query I rowsort label-2975
SELECT pk FROM tab2 WHERE NOT (col3 IN (91,60,44,19,70))
----
1
3
9

statement ok
DELETE FROM tab3 WHERE col3 IN (91,60,44,19,70)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IN (91,60,44,19,70)
----

query I rowsort label-2975
SELECT pk FROM tab3 WHERE NOT (col3 IN (91,60,44,19,70))
----
1
3
9

statement ok
DELETE FROM tab4 WHERE col3 IN (91,60,44,19,70)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IN (91,60,44,19,70)
----

query I rowsort label-2975
SELECT pk FROM tab4 WHERE NOT (col3 IN (91,60,44,19,70))
----
1
3
9

statement ok
DELETE FROM tab0 WHERE (col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59)
----

query I rowsort label-2990
SELECT pk FROM tab0 WHERE NOT ((col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59))
----
1
3
9

statement ok
DELETE FROM tab1 WHERE (col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59)
----

query I rowsort label-2990
SELECT pk FROM tab1 WHERE NOT ((col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59))
----
1
3
9

statement ok
DELETE FROM tab2 WHERE (col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59)
----

query I rowsort label-2990
SELECT pk FROM tab2 WHERE NOT ((col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59))
----
1
3
9

statement ok
DELETE FROM tab3 WHERE (col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59)
----

query I rowsort label-2990
SELECT pk FROM tab3 WHERE NOT ((col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59))
----
1
3
9

statement ok
DELETE FROM tab4 WHERE (col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59)
----

query I rowsort label-2990
SELECT pk FROM tab4 WHERE NOT ((col3 < 20) AND (col1 IN (62.53,6.71,56.80,20.72,13.6) OR (col1 >= 30.0) OR col3 >= 59))
----
1
3
9

statement ok
DELETE FROM tab0 WHERE col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53
----

query I rowsort label-3005
SELECT pk FROM tab0 WHERE NOT (col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53)
----

statement ok
DELETE FROM tab1 WHERE col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53
----

query I rowsort label-3005
SELECT pk FROM tab1 WHERE NOT (col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53)
----

statement ok
DELETE FROM tab2 WHERE col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53
----

query I rowsort label-3005
SELECT pk FROM tab2 WHERE NOT (col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53)
----

statement ok
DELETE FROM tab3 WHERE col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53
----

query I rowsort label-3005
SELECT pk FROM tab3 WHERE NOT (col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53)
----

statement ok
DELETE FROM tab4 WHERE col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53
----

query I rowsort label-3005
SELECT pk FROM tab4 WHERE NOT (col3 = 90 OR col3 >= 0 OR col3 IN (57) OR (col3 > 35) OR (col4 = 27.64) OR col3 = 63 AND col0 > 53)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,1.86,'suqwr',33,9.19,'hzlrj')

statement ok
INSERT INTO tab0 VALUES(1,55,42.47,'yjzbe',76,12.27,'htujy')

statement ok
INSERT INTO tab0 VALUES(2,15,92.48,'nxftz',96,3.57,'pjuta')

statement ok
INSERT INTO tab0 VALUES(3,13,23.59,'nazml',58,92.72,'narqw')

statement ok
INSERT INTO tab0 VALUES(4,14,45.43,'mpexj',6,53.35,'nodcd')

statement ok
INSERT INTO tab0 VALUES(5,17,68.66,'rxqzl',70,94.18,'rvgpe')

statement ok
INSERT INTO tab0 VALUES(6,66,60.9,'wqqgd',87,13.18,'jutcw')

statement ok
INSERT INTO tab0 VALUES(7,64,13.84,'bfqqe',5,60.64,'amzgf')

statement ok
INSERT INTO tab0 VALUES(8,86,8.45,'wqyxe',4,11.35,'mifiw')

statement ok
INSERT INTO tab0 VALUES(9,92,72.99,'kycpi',99,14.71,'xeoqw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1,col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_4 ON tab2 (col1,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79)))
----

query I rowsort label-3020
SELECT pk FROM tab0 WHERE NOT ((((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79))))
----
0
8
9

statement ok
DELETE FROM tab1 WHERE (((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79)))
----

query I rowsort label-3020
SELECT pk FROM tab1 WHERE NOT ((((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79))))
----
0
8
9

statement ok
DELETE FROM tab2 WHERE (((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79)))
----

query I rowsort label-3020
SELECT pk FROM tab2 WHERE NOT ((((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79))))
----
0
8
9

statement ok
DELETE FROM tab3 WHERE (((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79)))
----

query I rowsort label-3020
SELECT pk FROM tab3 WHERE NOT ((((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79))))
----
0
8
9

statement ok
DELETE FROM tab4 WHERE (((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79)))
----

query I rowsort label-3020
SELECT pk FROM tab4 WHERE NOT ((((((col3 > 81)) AND col1 < 8.20)) OR col4 = 55.97 AND col3 IN (20,2,46)) OR ((((col3 IN (65,71,96)) OR col0 < 79))))
----
0
8
9

statement ok
DELETE FROM tab0 WHERE col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7)
----

query I rowsort label-3035
SELECT pk FROM tab0 WHERE NOT (col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7))
----
0
8
9

statement ok
DELETE FROM tab1 WHERE col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7)
----

query I rowsort label-3035
SELECT pk FROM tab1 WHERE NOT (col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7))
----
0
8
9

statement ok
DELETE FROM tab2 WHERE col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7)
----

query I rowsort label-3035
SELECT pk FROM tab2 WHERE NOT (col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7))
----
0
8
9

statement ok
DELETE FROM tab3 WHERE col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7)
----

query I rowsort label-3035
SELECT pk FROM tab3 WHERE NOT (col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7))
----
0
8
9

statement ok
DELETE FROM tab4 WHERE col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7)
----

query I rowsort label-3035
SELECT pk FROM tab4 WHERE NOT (col4 > 38.15 AND col3 > 25 AND (col0 IS NULL OR col1 = 83.7))
----
0
8
9

statement ok
DELETE FROM tab0 WHERE col3 > 47 OR col3 > 47

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 47 OR col3 > 47
----

query I rowsort label-3050
SELECT pk FROM tab0 WHERE NOT (col3 > 47 OR col3 > 47)
----
0
8

statement ok
DELETE FROM tab1 WHERE col3 > 47 OR col3 > 47

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 47 OR col3 > 47
----

query I rowsort label-3050
SELECT pk FROM tab1 WHERE NOT (col3 > 47 OR col3 > 47)
----
0
8

statement ok
DELETE FROM tab2 WHERE col3 > 47 OR col3 > 47

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 47 OR col3 > 47
----

query I rowsort label-3050
SELECT pk FROM tab2 WHERE NOT (col3 > 47 OR col3 > 47)
----
0
8

statement ok
DELETE FROM tab3 WHERE col3 > 47 OR col3 > 47

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 47 OR col3 > 47
----

query I rowsort label-3050
SELECT pk FROM tab3 WHERE NOT (col3 > 47 OR col3 > 47)
----
0
8

statement ok
DELETE FROM tab4 WHERE col3 > 47 OR col3 > 47

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 47 OR col3 > 47
----

query I rowsort label-3050
SELECT pk FROM tab4 WHERE NOT (col3 > 47 OR col3 > 47)
----
0
8

statement ok
DELETE FROM tab0 WHERE col0 > 98 OR col4 > 99.87

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 98 OR col4 > 99.87
----

query I rowsort label-3065
SELECT pk FROM tab0 WHERE NOT (col0 > 98 OR col4 > 99.87)
----
0
8

statement ok
DELETE FROM tab1 WHERE col0 > 98 OR col4 > 99.87

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 98 OR col4 > 99.87
----

query I rowsort label-3065
SELECT pk FROM tab1 WHERE NOT (col0 > 98 OR col4 > 99.87)
----
0
8

statement ok
DELETE FROM tab2 WHERE col0 > 98 OR col4 > 99.87

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 98 OR col4 > 99.87
----

query I rowsort label-3065
SELECT pk FROM tab2 WHERE NOT (col0 > 98 OR col4 > 99.87)
----
0
8

statement ok
DELETE FROM tab3 WHERE col0 > 98 OR col4 > 99.87

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 98 OR col4 > 99.87
----

query I rowsort label-3065
SELECT pk FROM tab3 WHERE NOT (col0 > 98 OR col4 > 99.87)
----
0
8

statement ok
DELETE FROM tab4 WHERE col0 > 98 OR col4 > 99.87

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 98 OR col4 > 99.87
----

query I rowsort label-3065
SELECT pk FROM tab4 WHERE NOT (col0 > 98 OR col4 > 99.87)
----
0
8

statement ok
DELETE FROM tab0 WHERE ((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39)
----

query I rowsort label-3080
SELECT pk FROM tab0 WHERE NOT (((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39))
----
0
8

statement ok
DELETE FROM tab1 WHERE ((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39)
----

query I rowsort label-3080
SELECT pk FROM tab1 WHERE NOT (((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39))
----
0
8

statement ok
DELETE FROM tab2 WHERE ((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39)
----

query I rowsort label-3080
SELECT pk FROM tab2 WHERE NOT (((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39))
----
0
8

statement ok
DELETE FROM tab3 WHERE ((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39)
----

query I rowsort label-3080
SELECT pk FROM tab3 WHERE NOT (((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39))
----
0
8

statement ok
DELETE FROM tab4 WHERE ((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39)
----

query I rowsort label-3080
SELECT pk FROM tab4 WHERE NOT (((col3 >= 46 OR (col3 IS NULL)) AND col3 > 59) AND col3 >= 73 OR (col4 = 8.82 OR col3 > 39))
----
0
8

statement ok
DELETE FROM tab0 WHERE col4 > 68.76

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 68.76
----

query I rowsort label-3095
SELECT pk FROM tab0 WHERE NOT (col4 > 68.76)
----
0
8

statement ok
DELETE FROM tab1 WHERE col4 > 68.76

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 68.76
----

query I rowsort label-3095
SELECT pk FROM tab1 WHERE NOT (col4 > 68.76)
----
0
8

statement ok
DELETE FROM tab2 WHERE col4 > 68.76

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 68.76
----

query I rowsort label-3095
SELECT pk FROM tab2 WHERE NOT (col4 > 68.76)
----
0
8

statement ok
DELETE FROM tab3 WHERE col4 > 68.76

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 68.76
----

query I rowsort label-3095
SELECT pk FROM tab3 WHERE NOT (col4 > 68.76)
----
0
8

statement ok
DELETE FROM tab4 WHERE col4 > 68.76

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 68.76
----

query I rowsort label-3095
SELECT pk FROM tab4 WHERE NOT (col4 > 68.76)
----
0
8

statement ok
DELETE FROM tab0 WHERE (col0 > 48)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 48)
----

query I rowsort label-3110
SELECT pk FROM tab0 WHERE NOT ((col0 > 48))
----

statement ok
DELETE FROM tab1 WHERE (col0 > 48)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 48)
----

query I rowsort label-3110
SELECT pk FROM tab1 WHERE NOT ((col0 > 48))
----

statement ok
DELETE FROM tab2 WHERE (col0 > 48)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 48)
----

query I rowsort label-3110
SELECT pk FROM tab2 WHERE NOT ((col0 > 48))
----

statement ok
DELETE FROM tab3 WHERE (col0 > 48)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 48)
----

query I rowsort label-3110
SELECT pk FROM tab3 WHERE NOT ((col0 > 48))
----

statement ok
DELETE FROM tab4 WHERE (col0 > 48)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 48)
----

query I rowsort label-3110
SELECT pk FROM tab4 WHERE NOT ((col0 > 48))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,15,82.57,'bymra',29,47.65,'fcweb')

statement ok
INSERT INTO tab0 VALUES(1,25,79.88,'kakuz',35,38.90,'rgqyq')

statement ok
INSERT INTO tab0 VALUES(2,63,25.20,'xvqmi',3,40.37,'kkspv')

statement ok
INSERT INTO tab0 VALUES(3,9,63.82,'rrhmp',33,35.22,'ztsmd')

statement ok
INSERT INTO tab0 VALUES(4,32,57.54,'jsjzn',24,4.70,'qivzu')

statement ok
INSERT INTO tab0 VALUES(5,14,47.83,'owfzw',87,87.25,'bbowg')

statement ok
INSERT INTO tab0 VALUES(6,53,12.92,'qcjea',63,46.68,'xxicx')

statement ok
INSERT INTO tab0 VALUES(7,81,36.95,'gkzem',27,28.24,'laxip')

statement ok
INSERT INTO tab0 VALUES(8,74,70.8,'wcnuq',9,26.78,'dvjqj')

statement ok
INSERT INTO tab0 VALUES(9,64,92.63,'pukvj',0,43.86,'jelza')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4,col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3,col1 DESC)

statement ok
CREATE INDEX idx_tab2_5 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 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1,col4 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4 DESC,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 BETWEEN 54 AND 77)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 BETWEEN 54 AND 77)
----

query I rowsort label-3125
SELECT pk FROM tab0 WHERE NOT ((col3 BETWEEN 54 AND 77))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab1 WHERE (col3 BETWEEN 54 AND 77)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 BETWEEN 54 AND 77)
----

query I rowsort label-3125
SELECT pk FROM tab1 WHERE NOT ((col3 BETWEEN 54 AND 77))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab2 WHERE (col3 BETWEEN 54 AND 77)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 BETWEEN 54 AND 77)
----

query I rowsort label-3125
SELECT pk FROM tab2 WHERE NOT ((col3 BETWEEN 54 AND 77))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab3 WHERE (col3 BETWEEN 54 AND 77)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 BETWEEN 54 AND 77)
----

query I rowsort label-3125
SELECT pk FROM tab3 WHERE NOT ((col3 BETWEEN 54 AND 77))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab4 WHERE (col3 BETWEEN 54 AND 77)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 BETWEEN 54 AND 77)
----

query I rowsort label-3125
SELECT pk FROM tab4 WHERE NOT ((col3 BETWEEN 54 AND 77))
----
9 values hashing to b62312116f93d37c7a952ee38494f224

statement ok
DELETE FROM tab0 WHERE col1 < 66.91

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 66.91
----

query I rowsort label-3140
SELECT pk FROM tab0 WHERE NOT (col1 < 66.91)
----
0
1
8
9

statement ok
DELETE FROM tab1 WHERE col1 < 66.91

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 66.91
----

query I rowsort label-3140
SELECT pk FROM tab1 WHERE NOT (col1 < 66.91)
----
0
1
8
9

statement ok
DELETE FROM tab2 WHERE col1 < 66.91

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 66.91
----

query I rowsort label-3140
SELECT pk FROM tab2 WHERE NOT (col1 < 66.91)
----
0
1
8
9

statement ok
DELETE FROM tab3 WHERE col1 < 66.91

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 66.91
----

query I rowsort label-3140
SELECT pk FROM tab3 WHERE NOT (col1 < 66.91)
----
0
1
8
9

statement ok
DELETE FROM tab4 WHERE col1 < 66.91

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 66.91
----

query I rowsort label-3140
SELECT pk FROM tab4 WHERE NOT (col1 < 66.91)
----
0
1
8
9

statement ok
DELETE FROM tab0 WHERE (col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59)
----

query I rowsort label-3155
SELECT pk FROM tab0 WHERE NOT ((col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59))
----
9

statement ok
DELETE FROM tab1 WHERE (col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59)
----

query I rowsort label-3155
SELECT pk FROM tab1 WHERE NOT ((col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59))
----
9

statement ok
DELETE FROM tab2 WHERE (col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59)
----

query I rowsort label-3155
SELECT pk FROM tab2 WHERE NOT ((col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59))
----
9

statement ok
DELETE FROM tab3 WHERE (col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59)
----

query I rowsort label-3155
SELECT pk FROM tab3 WHERE NOT ((col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59))
----
9

statement ok
DELETE FROM tab4 WHERE (col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59)
----

query I rowsort label-3155
SELECT pk FROM tab4 WHERE NOT ((col0 <= 17 OR col3 = 97 AND (col1 >= 2.31) AND (col1 > 50.75) AND col1 = 72.95 OR col4 >= 32.95 AND ((col0 <= 15)) OR col3 <= 57) AND (col1 < 88.55) OR col3 IN (81,59))
----
9

statement ok
DELETE FROM tab0 WHERE ((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22)
----

query I rowsort label-3170
SELECT pk FROM tab0 WHERE NOT (((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22))
----

statement ok
DELETE FROM tab1 WHERE ((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22)
----

query I rowsort label-3170
SELECT pk FROM tab1 WHERE NOT (((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22))
----

statement ok
DELETE FROM tab2 WHERE ((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22)
----

query I rowsort label-3170
SELECT pk FROM tab2 WHERE NOT (((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22))
----

statement ok
DELETE FROM tab3 WHERE ((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22)
----

query I rowsort label-3170
SELECT pk FROM tab3 WHERE NOT (((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22))
----

statement ok
DELETE FROM tab4 WHERE ((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22)
----

query I rowsort label-3170
SELECT pk FROM tab4 WHERE NOT (((col3 < 80 OR (col1 < 69.27))) OR col1 >= 62.29 OR col1 >= 69.61 AND ((((col4 > 40.16 AND col3 >= 74)) AND col3 < 29 AND col1 > 74.60 OR (col0 >= 76 AND col0 > 85 OR (col3 = 77) OR ((col0 > 27 AND ((((col3 <= 74) AND ((col1 IS NULL))))) AND col0 <= 25)) OR col4 < 87.97) OR col4 >= 0.32 OR col0 IN (53,66) AND (col3 IS NULL) AND col3 < 34 OR col0 < 26 AND (col3 >= 40) AND (col4 > 36.61) OR col3 > 50 OR col4 < 6.90 AND (col3 >= 77) OR col0 IS NULL OR col0 IS NULL OR col3 > 30 OR col1 <= 96.13 AND (col1 IS NULL) AND col1 > 67.50 AND col3 > 32)) OR (col3 >= 34) AND col4 > 7.17 OR (((((col3 <= 26))))) AND ((col0 IS NULL) OR (col0 >= 24 AND (col0 < 49))) AND ((((col3 = 43)))) AND (col1 <= 55.65) AND col1 > 12.21 OR (col1 IN (68.61,73.73) AND (col0 IN (45,89,8,67,75,53)) AND col1 >= 12.22))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,42,58.40,'qqtzo',67,24.79,'abazi')

statement ok
INSERT INTO tab0 VALUES(1,62,99.75,'enmad',54,67.15,'nfjuw')

statement ok
INSERT INTO tab0 VALUES(2,7,52.63,'xrtqz',15,53.81,'vjhcc')

statement ok
INSERT INTO tab0 VALUES(3,57,78.10,'abhym',11,0.14,'dyudw')

statement ok
INSERT INTO tab0 VALUES(4,33,19.85,'rapzi',0,39.15,'rnxgd')

statement ok
INSERT INTO tab0 VALUES(5,9,59.26,'znmud',49,71.65,'hqjus')

statement ok
INSERT INTO tab0 VALUES(6,23,83.60,'mbqog',45,36.38,'cfcfr')

statement ok
INSERT INTO tab0 VALUES(7,90,50.9,'udjrb',12,73.9,'blylh')

statement ok
INSERT INTO tab0 VALUES(8,16,46.7,'cahay',14,80.73,'qbhuj')

statement ok
INSERT INTO tab0 VALUES(9,10,47.10,'bdrwr',81,81.51,'mkqcc')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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 (col4,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3 DESC,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0,col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col3,col0 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col1 DESC,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col3 < 14)) AND col1 < 5.50

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 14)) AND col1 < 5.50
----

query I rowsort label-3185
SELECT pk FROM tab0 WHERE NOT (((col3 < 14)) AND col1 < 5.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col3 < 14)) AND col1 < 5.50

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 14)) AND col1 < 5.50
----

query I rowsort label-3185
SELECT pk FROM tab1 WHERE NOT (((col3 < 14)) AND col1 < 5.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col3 < 14)) AND col1 < 5.50

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 14)) AND col1 < 5.50
----

query I rowsort label-3185
SELECT pk FROM tab2 WHERE NOT (((col3 < 14)) AND col1 < 5.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col3 < 14)) AND col1 < 5.50

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 14)) AND col1 < 5.50
----

query I rowsort label-3185
SELECT pk FROM tab3 WHERE NOT (((col3 < 14)) AND col1 < 5.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col3 < 14)) AND col1 < 5.50

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 14)) AND col1 < 5.50
----

query I rowsort label-3185
SELECT pk FROM tab4 WHERE NOT (((col3 < 14)) AND col1 < 5.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44))
----

query I rowsort label-3200
SELECT pk FROM tab0 WHERE NOT ((((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44))
----

query I rowsort label-3200
SELECT pk FROM tab1 WHERE NOT ((((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44))
----

query I rowsort label-3200
SELECT pk FROM tab2 WHERE NOT ((((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44))
----

query I rowsort label-3200
SELECT pk FROM tab3 WHERE NOT ((((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44))
----

query I rowsort label-3200
SELECT pk FROM tab4 WHERE NOT ((((col3 >= 29 OR col3 < 55) AND (col1 > 85.29) AND col3 < 44)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL
----

query I rowsort label-3215
SELECT pk FROM tab0 WHERE NOT ((((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL)
----

statement ok
DELETE FROM tab1 WHERE (((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL
----

query I rowsort label-3215
SELECT pk FROM tab1 WHERE NOT ((((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL)
----

statement ok
DELETE FROM tab2 WHERE (((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL
----

query I rowsort label-3215
SELECT pk FROM tab2 WHERE NOT ((((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL)
----

statement ok
DELETE FROM tab3 WHERE (((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL
----

query I rowsort label-3215
SELECT pk FROM tab3 WHERE NOT ((((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL)
----

statement ok
DELETE FROM tab4 WHERE (((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL
----

query I rowsort label-3215
SELECT pk FROM tab4 WHERE NOT ((((((col1 > 43.24)) AND (col0 >= 44) AND col0 >= 98))) AND col0 = 9 AND col0 >= 5 OR (col4 = 73.67) AND col3 < 52 AND col3 < 87 AND col3 < 69 OR (col3 < 32 OR col3 > 22) OR ((((((col3 > 36 AND col1 >= 25.40 OR ((col0 < 92 AND col3 > 37 AND col0 IN (80,87,83) AND (col0 < 94) AND col3 >= 76 OR (col0 BETWEEN 74 AND 77) OR col0 BETWEEN 79 AND 87 AND col3 <= 86)))) AND (col0 <= 10))))) AND col0 IS NULL)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,34,75.46,'adnmt',84,5.56,'ftryz')

statement ok
INSERT INTO tab0 VALUES(1,58,49.47,'kkgyt',10,70.24,'rrvya')

statement ok
INSERT INTO tab0 VALUES(2,6,74.76,'bcoli',60,77.77,'sdoum')

statement ok
INSERT INTO tab0 VALUES(3,44,83.46,'cjxnd',57,80.69,'grskv')

statement ok
INSERT INTO tab0 VALUES(4,59,42.80,'jucfx',56,48.14,'inovw')

statement ok
INSERT INTO tab0 VALUES(5,71,10.14,'irdih',52,20.3,'uodjr')

statement ok
INSERT INTO tab0 VALUES(6,56,1.19,'jbqmm',94,78.13,'xmetd')

statement ok
INSERT INTO tab0 VALUES(7,42,52.7,'swrhq',0,0.18,'xakfn')

statement ok
INSERT INTO tab0 VALUES(8,35,76.45,'vbelu',63,30.8,'rumse')

statement ok
INSERT INTO tab0 VALUES(9,21,35.69,'dqvuh',71,35.95,'ivivd')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0,col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1,col3)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40)
----

query I rowsort label-3230
SELECT pk FROM tab0 WHERE NOT (((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40)
----

query I rowsort label-3230
SELECT pk FROM tab1 WHERE NOT (((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40)
----

query I rowsort label-3230
SELECT pk FROM tab2 WHERE NOT (((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40)
----

query I rowsort label-3230
SELECT pk FROM tab3 WHERE NOT (((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40)
----

query I rowsort label-3230
SELECT pk FROM tab4 WHERE NOT (((col4 = 96.51)) AND col0 < 70 AND col3 IN (60,34,40))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col1 >= 37.17 OR ((((col0 > 94))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 37.17 OR ((((col0 > 94))))
----

query I rowsort label-3245
SELECT pk FROM tab0 WHERE NOT (col1 >= 37.17 OR ((((col0 > 94)))))
----
5
6
9

statement ok
DELETE FROM tab1 WHERE col1 >= 37.17 OR ((((col0 > 94))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 37.17 OR ((((col0 > 94))))
----

query I rowsort label-3245
SELECT pk FROM tab1 WHERE NOT (col1 >= 37.17 OR ((((col0 > 94)))))
----
5
6
9

statement ok
DELETE FROM tab2 WHERE col1 >= 37.17 OR ((((col0 > 94))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 37.17 OR ((((col0 > 94))))
----

query I rowsort label-3245
SELECT pk FROM tab2 WHERE NOT (col1 >= 37.17 OR ((((col0 > 94)))))
----
5
6
9

statement ok
DELETE FROM tab3 WHERE col1 >= 37.17 OR ((((col0 > 94))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 37.17 OR ((((col0 > 94))))
----

query I rowsort label-3245
SELECT pk FROM tab3 WHERE NOT (col1 >= 37.17 OR ((((col0 > 94)))))
----
5
6
9

statement ok
DELETE FROM tab4 WHERE col1 >= 37.17 OR ((((col0 > 94))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 37.17 OR ((((col0 > 94))))
----

query I rowsort label-3245
SELECT pk FROM tab4 WHERE NOT (col1 >= 37.17 OR ((((col0 > 94)))))
----
5
6
9

statement ok
DELETE FROM tab0 WHERE col0 < 70

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 70
----

query I rowsort label-3260
SELECT pk FROM tab0 WHERE NOT (col0 < 70)
----
5

statement ok
DELETE FROM tab1 WHERE col0 < 70

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 70
----

query I rowsort label-3260
SELECT pk FROM tab1 WHERE NOT (col0 < 70)
----
5

statement ok
DELETE FROM tab2 WHERE col0 < 70

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 70
----

query I rowsort label-3260
SELECT pk FROM tab2 WHERE NOT (col0 < 70)
----
5

statement ok
DELETE FROM tab3 WHERE col0 < 70

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 70
----

query I rowsort label-3260
SELECT pk FROM tab3 WHERE NOT (col0 < 70)
----
5

statement ok
DELETE FROM tab4 WHERE col0 < 70

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 70
----

query I rowsort label-3260
SELECT pk FROM tab4 WHERE NOT (col0 < 70)
----
5

statement ok
DELETE FROM tab0 WHERE col4 > 13.1

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 13.1
----

query I rowsort label-3275
SELECT pk FROM tab0 WHERE NOT (col4 > 13.1)
----

statement ok
DELETE FROM tab1 WHERE col4 > 13.1

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 13.1
----

query I rowsort label-3275
SELECT pk FROM tab1 WHERE NOT (col4 > 13.1)
----

statement ok
DELETE FROM tab2 WHERE col4 > 13.1

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 13.1
----

query I rowsort label-3275
SELECT pk FROM tab2 WHERE NOT (col4 > 13.1)
----

statement ok
DELETE FROM tab3 WHERE col4 > 13.1

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 13.1
----

query I rowsort label-3275
SELECT pk FROM tab3 WHERE NOT (col4 > 13.1)
----

statement ok
DELETE FROM tab4 WHERE col4 > 13.1

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 13.1
----

query I rowsort label-3275
SELECT pk FROM tab4 WHERE NOT (col4 > 13.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,67,52.87,'meodw',90,0.22,'hkazy')

statement ok
INSERT INTO tab0 VALUES(1,5,37.50,'pxpnf',22,45.0,'lxird')

statement ok
INSERT INTO tab0 VALUES(2,76,91.49,'ajckp',46,75.94,'miwgl')

statement ok
INSERT INTO tab0 VALUES(3,35,81.90,'zclkc',17,49.43,'rberz')

statement ok
INSERT INTO tab0 VALUES(4,44,48.74,'azvrl',10,76.38,'yznzr')

statement ok
INSERT INTO tab0 VALUES(5,89,60.8,'miwvq',25,78.28,'gniie')

statement ok
INSERT INTO tab0 VALUES(6,92,82.16,'efjjl',8,50.40,'itbde')

statement ok
INSERT INTO tab0 VALUES(7,22,33.52,'yjtlf',55,28.86,'ksrgf')

statement ok
INSERT INTO tab0 VALUES(8,8,53.16,'llwhj',31,46.79,'oefzh')

statement ok
INSERT INTO tab0 VALUES(9,54,62.61,'ndmfa',81,1.43,'rfoki')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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 DESC,col0)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col4,col0)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col1,col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 IN (85,64,29,70))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 IN (85,64,29,70))
----

query I rowsort label-3290
SELECT pk FROM tab0 WHERE NOT ((col3 IN (85,64,29,70)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col3 IN (85,64,29,70))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 IN (85,64,29,70))
----

query I rowsort label-3290
SELECT pk FROM tab1 WHERE NOT ((col3 IN (85,64,29,70)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col3 IN (85,64,29,70))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 IN (85,64,29,70))
----

query I rowsort label-3290
SELECT pk FROM tab2 WHERE NOT ((col3 IN (85,64,29,70)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col3 IN (85,64,29,70))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 IN (85,64,29,70))
----

query I rowsort label-3290
SELECT pk FROM tab3 WHERE NOT ((col3 IN (85,64,29,70)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col3 IN (85,64,29,70))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 IN (85,64,29,70))
----

query I rowsort label-3290
SELECT pk FROM tab4 WHERE NOT ((col3 IN (85,64,29,70)))
----
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-3305
SELECT pk FROM tab0 WHERE NOT (col3 <= 7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 <= 7

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 7
----

query I rowsort label-3305
SELECT pk FROM tab1 WHERE NOT (col3 <= 7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 <= 7

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 7
----

query I rowsort label-3305
SELECT pk FROM tab2 WHERE NOT (col3 <= 7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 <= 7

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 7
----

query I rowsort label-3305
SELECT pk FROM tab3 WHERE NOT (col3 <= 7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 <= 7

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 7
----

query I rowsort label-3305
SELECT pk FROM tab4 WHERE NOT (col3 <= 7)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 = 32

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 32
----

query I rowsort label-3320
SELECT pk FROM tab0 WHERE NOT (col0 = 32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 = 32

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 32
----

query I rowsort label-3320
SELECT pk FROM tab1 WHERE NOT (col0 = 32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 = 32

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 32
----

query I rowsort label-3320
SELECT pk FROM tab2 WHERE NOT (col0 = 32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 = 32

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 32
----

query I rowsort label-3320
SELECT pk FROM tab3 WHERE NOT (col0 = 32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 = 32

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 32
----

query I rowsort label-3320
SELECT pk FROM tab4 WHERE NOT (col0 = 32)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col3 > 16)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 16)
----

query I rowsort label-3335
SELECT pk FROM tab0 WHERE NOT ((col3 > 16))
----
4
6

statement ok
DELETE FROM tab1 WHERE (col3 > 16)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 16)
----

query I rowsort label-3335
SELECT pk FROM tab1 WHERE NOT ((col3 > 16))
----
4
6

statement ok
DELETE FROM tab2 WHERE (col3 > 16)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 16)
----

query I rowsort label-3335
SELECT pk FROM tab2 WHERE NOT ((col3 > 16))
----
4
6

statement ok
DELETE FROM tab3 WHERE (col3 > 16)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 16)
----

query I rowsort label-3335
SELECT pk FROM tab3 WHERE NOT ((col3 > 16))
----
4
6

statement ok
DELETE FROM tab4 WHERE (col3 > 16)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 16)
----

query I rowsort label-3335
SELECT pk FROM tab4 WHERE NOT ((col3 > 16))
----
4
6

statement ok
DELETE FROM tab0 WHERE (col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76))))
----

query I rowsort label-3350
SELECT pk FROM tab0 WHERE NOT ((col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76)))))
----
6

statement ok
DELETE FROM tab1 WHERE (col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76))))
----

query I rowsort label-3350
SELECT pk FROM tab1 WHERE NOT ((col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76)))))
----
6

statement ok
DELETE FROM tab2 WHERE (col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76))))
----

query I rowsort label-3350
SELECT pk FROM tab2 WHERE NOT ((col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76)))))
----
6

statement ok
DELETE FROM tab3 WHERE (col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76))))
----

query I rowsort label-3350
SELECT pk FROM tab3 WHERE NOT ((col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76)))))
----
6

statement ok
DELETE FROM tab4 WHERE (col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76))))
----

query I rowsort label-3350
SELECT pk FROM tab4 WHERE NOT ((col4 < 26.29) OR ((col0 = 27 OR ((col1 < 75.99) OR col0 > 72 AND col0 > 13 AND (col4 < 2.74 AND col0 >= 70 OR ((col0 >= 55)) AND col1 = 30.76)))))
----
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,71,45.67,'ttopp',55,20.69,'mzifp')

statement ok
INSERT INTO tab0 VALUES(1,61,6.28,'oncsh',38,8.49,'yoqsj')

statement ok
INSERT INTO tab0 VALUES(2,93,83.57,'hbgga',16,42.63,'uczck')

statement ok
INSERT INTO tab0 VALUES(3,23,29.51,'nnyhe',15,52.69,'skpoy')

statement ok
INSERT INTO tab0 VALUES(4,42,84.44,'ntmxp',83,14.95,'hprns')

statement ok
INSERT INTO tab0 VALUES(5,43,85.74,'pruma',49,57.4,'aupah')

statement ok
INSERT INTO tab0 VALUES(6,79,80.43,'dyjmy',84,82.52,'qsupe')

statement ok
INSERT INTO tab0 VALUES(7,32,50.79,'rsnaw',67,66.55,'bhfrx')

statement ok
INSERT INTO tab0 VALUES(8,72,3.0,'bdloj',47,83.48,'qicje')

statement ok
INSERT INTO tab0 VALUES(9,12,1.76,'qbjli',1,10.51,'fakxz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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,col3 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col1,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20
----

query I rowsort label-3365
SELECT pk FROM tab0 WHERE NOT (((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20)
----
9

statement ok
DELETE FROM tab1 WHERE ((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20
----

query I rowsort label-3365
SELECT pk FROM tab1 WHERE NOT (((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20)
----
9

statement ok
DELETE FROM tab2 WHERE ((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20
----

query I rowsort label-3365
SELECT pk FROM tab2 WHERE NOT (((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20)
----
9

statement ok
DELETE FROM tab3 WHERE ((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20
----

query I rowsort label-3365
SELECT pk FROM tab3 WHERE NOT (((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20)
----
9

statement ok
DELETE FROM tab4 WHERE ((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20
----

query I rowsort label-3365
SELECT pk FROM tab4 WHERE NOT (((col1 IS NULL)) AND col0 > 27 AND col3 >= 22 AND (col3 <= 26) OR (col1 > 0.25 AND (col4 > 20.5 AND (col4 >= 46.48)) AND col1 IN (49.69,37.4,38.37,96.94,28.3,87.10) AND col3 > 20 OR (col4 BETWEEN 46.64 AND 95.26) AND col1 >= 46.5 AND (col0 > 47 AND ((col3 > 10))) AND col4 IN (90.42,9.45,44.35,22.11,84.11) AND col0 < 93 OR ((((col3 >= 8))))) OR col3 >= 20)
----
9

statement ok
DELETE FROM tab0 WHERE col4 IN (15.17,71.60,37.50,92.81,67.69,64.39)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IN (15.17,71.60,37.50,92.81,67.69,64.39)
----

query I rowsort label-3380
SELECT pk FROM tab0 WHERE NOT (col4 IN (15.17,71.60,37.50,92.81,67.69,64.39))
----
9

statement ok
DELETE FROM tab1 WHERE col4 IN (15.17,71.60,37.50,92.81,67.69,64.39)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IN (15.17,71.60,37.50,92.81,67.69,64.39)
----

query I rowsort label-3380
SELECT pk FROM tab1 WHERE NOT (col4 IN (15.17,71.60,37.50,92.81,67.69,64.39))
----
9

statement ok
DELETE FROM tab2 WHERE col4 IN (15.17,71.60,37.50,92.81,67.69,64.39)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IN (15.17,71.60,37.50,92.81,67.69,64.39)
----

query I rowsort label-3380
SELECT pk FROM tab2 WHERE NOT (col4 IN (15.17,71.60,37.50,92.81,67.69,64.39))
----
9

statement ok
DELETE FROM tab3 WHERE col4 IN (15.17,71.60,37.50,92.81,67.69,64.39)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IN (15.17,71.60,37.50,92.81,67.69,64.39)
----

query I rowsort label-3380
SELECT pk FROM tab3 WHERE NOT (col4 IN (15.17,71.60,37.50,92.81,67.69,64.39))
----
9

statement ok
DELETE FROM tab4 WHERE col4 IN (15.17,71.60,37.50,92.81,67.69,64.39)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IN (15.17,71.60,37.50,92.81,67.69,64.39)
----

query I rowsort label-3380
SELECT pk FROM tab4 WHERE NOT (col4 IN (15.17,71.60,37.50,92.81,67.69,64.39))
----
9

statement ok
DELETE FROM tab0 WHERE (col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85)))))
----

query I rowsort label-3395
SELECT pk FROM tab0 WHERE NOT ((col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85))))))
----
9

statement ok
DELETE FROM tab1 WHERE (col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85)))))
----

query I rowsort label-3395
SELECT pk FROM tab1 WHERE NOT ((col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85))))))
----
9

statement ok
DELETE FROM tab2 WHERE (col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85)))))
----

query I rowsort label-3395
SELECT pk FROM tab2 WHERE NOT ((col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85))))))
----
9

statement ok
DELETE FROM tab3 WHERE (col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85)))))
----

query I rowsort label-3395
SELECT pk FROM tab3 WHERE NOT ((col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85))))))
----
9

statement ok
DELETE FROM tab4 WHERE (col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85)))))
----

query I rowsort label-3395
SELECT pk FROM tab4 WHERE NOT ((col0 IS NULL AND ((((col4 > 93.3 OR (col0 = 84)) AND col1 > 57.4) OR ((col0 > 84) AND col0 > 72 AND ((col0 <= 74) OR col4 > 23.53) AND (col4 <= 91.92) AND (col1 > 21.25) AND ((col0 IS NULL) OR ((col0 >= 0)) AND col4 < 70.13) AND (col3 = 5) OR ((col1 <= 5.18 AND col3 <= 17 AND ((col3 < 74 AND col1 <= 15.13)) OR col1 = 20.53 AND col1 <= 98.86 OR (col4 >= 88.25) OR col3 > 61) OR col4 > 9.67 AND col0 < 31) OR (((col1 <= 6.34) AND col0 = 6) AND (((col1 >= 99.22)))) AND (col1 >= 93.53) AND col1 <= 12.68 AND ((col0 > 64))) AND ((((col4 = 46.46 AND col3 < 23 AND ((col3 IS NULL)))) AND (col0 IN (48,20,76,34,5)) OR (col1 <= 56.54) AND (col0 < 89)) OR ((col0 < 76)) OR ((col4 <= 89.14 AND col4 = 32.33 AND col0 IS NULL AND col3 = 54 OR ((col3 >= 54))) AND (col4 IS NULL) AND col3 < 97))) AND col3 > 17) AND col0 < 63 OR col3 >= 4 OR (((col1 IN (27.60,13.85))))))
----
9

statement ok
DELETE FROM tab0 WHERE (col0 <= 69)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 <= 69)
----

query I rowsort label-3410
SELECT pk FROM tab0 WHERE NOT ((col0 <= 69))
----

statement ok
DELETE FROM tab1 WHERE (col0 <= 69)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 <= 69)
----

query I rowsort label-3410
SELECT pk FROM tab1 WHERE NOT ((col0 <= 69))
----

statement ok
DELETE FROM tab2 WHERE (col0 <= 69)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 <= 69)
----

query I rowsort label-3410
SELECT pk FROM tab2 WHERE NOT ((col0 <= 69))
----

statement ok
DELETE FROM tab3 WHERE (col0 <= 69)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 <= 69)
----

query I rowsort label-3410
SELECT pk FROM tab3 WHERE NOT ((col0 <= 69))
----

statement ok
DELETE FROM tab4 WHERE (col0 <= 69)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 <= 69)
----

query I rowsort label-3410
SELECT pk FROM tab4 WHERE NOT ((col0 <= 69))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,69,25.91,'ntbxb',53,25.97,'adzzf')

statement ok
INSERT INTO tab0 VALUES(1,68,18.85,'amior',22,44.38,'uobjk')

statement ok
INSERT INTO tab0 VALUES(2,74,3.24,'eyvkc',20,96.72,'jydpf')

statement ok
INSERT INTO tab0 VALUES(3,91,28.61,'fqlco',69,75.23,'aaivp')

statement ok
INSERT INTO tab0 VALUES(4,4,10.55,'hjuji',55,95.50,'vrznt')

statement ok
INSERT INTO tab0 VALUES(5,37,39.33,'obimz',83,6.13,'zsvxd')

statement ok
INSERT INTO tab0 VALUES(6,17,99.50,'gijyn',42,0.29,'uldvt')

statement ok
INSERT INTO tab0 VALUES(7,38,74.54,'tcibj',72,33.44,'whtgc')

statement ok
INSERT INTO tab0 VALUES(8,23,65.50,'yevpq',18,27.84,'flhxj')

statement ok
INSERT INTO tab0 VALUES(9,83,98.57,'carjf',0,93.29,'mmfxq')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3,col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col4 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1,col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 < 90.12)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 90.12)
----

query I rowsort label-3425
SELECT pk FROM tab0 WHERE NOT ((col1 < 90.12))
----
6
9

statement ok
DELETE FROM tab1 WHERE (col1 < 90.12)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 90.12)
----

query I rowsort label-3425
SELECT pk FROM tab1 WHERE NOT ((col1 < 90.12))
----
6
9

statement ok
DELETE FROM tab2 WHERE (col1 < 90.12)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 90.12)
----

query I rowsort label-3425
SELECT pk FROM tab2 WHERE NOT ((col1 < 90.12))
----
6
9

statement ok
DELETE FROM tab3 WHERE (col1 < 90.12)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 90.12)
----

query I rowsort label-3425
SELECT pk FROM tab3 WHERE NOT ((col1 < 90.12))
----
6
9

statement ok
DELETE FROM tab4 WHERE (col1 < 90.12)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 90.12)
----

query I rowsort label-3425
SELECT pk FROM tab4 WHERE NOT ((col1 < 90.12))
----
6
9

statement ok
DELETE FROM tab0 WHERE col1 IN (26.64)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IN (26.64)
----

query I rowsort label-3440
SELECT pk FROM tab0 WHERE NOT (col1 IN (26.64))
----
6
9

statement ok
DELETE FROM tab1 WHERE col1 IN (26.64)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IN (26.64)
----

query I rowsort label-3440
SELECT pk FROM tab1 WHERE NOT (col1 IN (26.64))
----
6
9

statement ok
DELETE FROM tab2 WHERE col1 IN (26.64)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IN (26.64)
----

query I rowsort label-3440
SELECT pk FROM tab2 WHERE NOT (col1 IN (26.64))
----
6
9

statement ok
DELETE FROM tab3 WHERE col1 IN (26.64)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IN (26.64)
----

query I rowsort label-3440
SELECT pk FROM tab3 WHERE NOT (col1 IN (26.64))
----
6
9

statement ok
DELETE FROM tab4 WHERE col1 IN (26.64)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IN (26.64)
----

query I rowsort label-3440
SELECT pk FROM tab4 WHERE NOT (col1 IN (26.64))
----
6
9

statement ok
DELETE FROM tab0 WHERE ((col1 > 85.78))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 > 85.78))
----

query I rowsort label-3455
SELECT pk FROM tab0 WHERE NOT (((col1 > 85.78)))
----

statement ok
DELETE FROM tab1 WHERE ((col1 > 85.78))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 > 85.78))
----

query I rowsort label-3455
SELECT pk FROM tab1 WHERE NOT (((col1 > 85.78)))
----

statement ok
DELETE FROM tab2 WHERE ((col1 > 85.78))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 > 85.78))
----

query I rowsort label-3455
SELECT pk FROM tab2 WHERE NOT (((col1 > 85.78)))
----

statement ok
DELETE FROM tab3 WHERE ((col1 > 85.78))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 > 85.78))
----

query I rowsort label-3455
SELECT pk FROM tab3 WHERE NOT (((col1 > 85.78)))
----

statement ok
DELETE FROM tab4 WHERE ((col1 > 85.78))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 > 85.78))
----

query I rowsort label-3455
SELECT pk FROM tab4 WHERE NOT (((col1 > 85.78)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,68,26.36,'dendy',75,73.60,'xrlay')

statement ok
INSERT INTO tab0 VALUES(1,91,32.14,'cstxt',85,4.39,'wkuth')

statement ok
INSERT INTO tab0 VALUES(2,56,74.50,'wrmzn',5,79.11,'vfbhp')

statement ok
INSERT INTO tab0 VALUES(3,75,96.79,'kcbnh',47,42.3,'bghyk')

statement ok
INSERT INTO tab0 VALUES(4,9,87.95,'ygzhi',78,71.55,'iyhfv')

statement ok
INSERT INTO tab0 VALUES(5,86,48.64,'otltr',35,31.35,'rgnxy')

statement ok
INSERT INTO tab0 VALUES(6,6,52.33,'uwbis',38,40.51,'wtrgq')

statement ok
INSERT INTO tab0 VALUES(7,61,4.50,'injjx',2,34.64,'dreaa')

statement ok
INSERT INTO tab0 VALUES(8,42,9.67,'okqjf',48,26.99,'reysf')

statement ok
INSERT INTO tab0 VALUES(9,54,30.60,'hbjbb',17,70.61,'mjxpz')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3,col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4 DESC,col0 DESC,col3)

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_1 ON tab4 (col0,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 >= 79)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 79)
----

query I rowsort label-3470
SELECT pk FROM tab0 WHERE NOT ((col0 >= 79))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col0 >= 79)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 79)
----

query I rowsort label-3470
SELECT pk FROM tab1 WHERE NOT ((col0 >= 79))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col0 >= 79)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 79)
----

query I rowsort label-3470
SELECT pk FROM tab2 WHERE NOT ((col0 >= 79))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col0 >= 79)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 79)
----

query I rowsort label-3470
SELECT pk FROM tab3 WHERE NOT ((col0 >= 79))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col0 >= 79)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 79)
----

query I rowsort label-3470
SELECT pk FROM tab4 WHERE NOT ((col0 >= 79))
----
0
2
3
4
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 > 38.1

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 38.1
----

query I rowsort label-3485
SELECT pk FROM tab0 WHERE NOT (col4 > 38.1)
----
7
8

statement ok
DELETE FROM tab1 WHERE col4 > 38.1

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 38.1
----

query I rowsort label-3485
SELECT pk FROM tab1 WHERE NOT (col4 > 38.1)
----
7
8

statement ok
DELETE FROM tab2 WHERE col4 > 38.1

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 38.1
----

query I rowsort label-3485
SELECT pk FROM tab2 WHERE NOT (col4 > 38.1)
----
7
8

statement ok
DELETE FROM tab3 WHERE col4 > 38.1

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 38.1
----

query I rowsort label-3485
SELECT pk FROM tab3 WHERE NOT (col4 > 38.1)
----
7
8

statement ok
DELETE FROM tab4 WHERE col4 > 38.1

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 38.1
----

query I rowsort label-3485
SELECT pk FROM tab4 WHERE NOT (col4 > 38.1)
----
7
8

statement ok
DELETE FROM tab0 WHERE ((col4 IS NULL) AND col3 > 47 OR col3 >= 2)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 IS NULL) AND col3 > 47 OR col3 >= 2)
----

query I rowsort label-3500
SELECT pk FROM tab0 WHERE NOT (((col4 IS NULL) AND col3 > 47 OR col3 >= 2))
----

statement ok
DELETE FROM tab1 WHERE ((col4 IS NULL) AND col3 > 47 OR col3 >= 2)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 IS NULL) AND col3 > 47 OR col3 >= 2)
----

query I rowsort label-3500
SELECT pk FROM tab1 WHERE NOT (((col4 IS NULL) AND col3 > 47 OR col3 >= 2))
----

statement ok
DELETE FROM tab2 WHERE ((col4 IS NULL) AND col3 > 47 OR col3 >= 2)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 IS NULL) AND col3 > 47 OR col3 >= 2)
----

query I rowsort label-3500
SELECT pk FROM tab2 WHERE NOT (((col4 IS NULL) AND col3 > 47 OR col3 >= 2))
----

statement ok
DELETE FROM tab3 WHERE ((col4 IS NULL) AND col3 > 47 OR col3 >= 2)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 IS NULL) AND col3 > 47 OR col3 >= 2)
----

query I rowsort label-3500
SELECT pk FROM tab3 WHERE NOT (((col4 IS NULL) AND col3 > 47 OR col3 >= 2))
----

statement ok
DELETE FROM tab4 WHERE ((col4 IS NULL) AND col3 > 47 OR col3 >= 2)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 IS NULL) AND col3 > 47 OR col3 >= 2)
----

query I rowsort label-3500
SELECT pk FROM tab4 WHERE NOT (((col4 IS NULL) AND col3 > 47 OR col3 >= 2))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,85,51.89,'uewky',59,30.45,'hdpub')

statement ok
INSERT INTO tab0 VALUES(1,29,27.98,'ntzzs',24,38.4,'imhee')

statement ok
INSERT INTO tab0 VALUES(2,65,44.84,'lmgdw',64,24.62,'yyojj')

statement ok
INSERT INTO tab0 VALUES(3,72,94.84,'arwcx',7,39.83,'ubouk')

statement ok
INSERT INTO tab0 VALUES(4,26,76.18,'ftejj',81,19.68,'htivg')

statement ok
INSERT INTO tab0 VALUES(5,14,59.96,'fokvk',34,55.67,'ojrtx')

statement ok
INSERT INTO tab0 VALUES(6,45,41.35,'zmhdl',41,46.92,'ruqet')

statement ok
INSERT INTO tab0 VALUES(7,64,17.72,'bmqmr',20,70.30,'qqeuo')

statement ok
INSERT INTO tab0 VALUES(8,66,37.72,'yixzv',42,40.54,'siuxs')

statement ok
INSERT INTO tab0 VALUES(9,98,68.43,'yqasu',44,71.38,'hhbdd')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1 DESC,col0)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col0,col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4,col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,10.0,'zanhl',59,48.37,'sgxkq')

statement ok
INSERT INTO tab0 VALUES(1,15,67.54,'yfbwa',86,62.88,'zaotb')

statement ok
INSERT INTO tab0 VALUES(2,84,6.5,'hxusw',53,80.8,'jskza')

statement ok
INSERT INTO tab0 VALUES(3,76,68.56,'cmsmv',87,12.92,'acole')

statement ok
INSERT INTO tab0 VALUES(4,95,35.87,'berpd',31,17.94,'qaydb')

statement ok
INSERT INTO tab0 VALUES(5,92,44.16,'wqedk',10,13.86,'cajnd')

statement ok
INSERT INTO tab0 VALUES(6,28,0.59,'dlvft',90,92.20,'ayqyy')

statement ok
INSERT INTO tab0 VALUES(7,40,84.97,'qweux',42,32.95,'qqsjg')

statement ok
INSERT INTO tab0 VALUES(8,0,72.35,'imbhm',5,6.14,'zmsye')

statement ok
INSERT INTO tab0 VALUES(9,79,41.66,'rqpcw',47,99.50,'acith')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0,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 INDEX idx_tab4_0 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL)))))
----

query I rowsort label-3515
SELECT pk FROM tab0 WHERE NOT (((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL))))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL)))))
----

query I rowsort label-3515
SELECT pk FROM tab1 WHERE NOT (((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL))))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL)))))
----

query I rowsort label-3515
SELECT pk FROM tab2 WHERE NOT (((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL))))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL)))))
----

query I rowsort label-3515
SELECT pk FROM tab3 WHERE NOT (((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL))))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL)))))
----

query I rowsort label-3515
SELECT pk FROM tab4 WHERE NOT (((((col1 BETWEEN 94.11 AND 17.61 OR (col0 IS NULL))))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 >= 0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 0
----

query I rowsort label-3530
SELECT pk FROM tab0 WHERE NOT (col0 >= 0)
----

statement ok
DELETE FROM tab1 WHERE col0 >= 0

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 0
----

query I rowsort label-3530
SELECT pk FROM tab1 WHERE NOT (col0 >= 0)
----

statement ok
DELETE FROM tab2 WHERE col0 >= 0

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 0
----

query I rowsort label-3530
SELECT pk FROM tab2 WHERE NOT (col0 >= 0)
----

statement ok
DELETE FROM tab3 WHERE col0 >= 0

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 0
----

query I rowsort label-3530
SELECT pk FROM tab3 WHERE NOT (col0 >= 0)
----

statement ok
DELETE FROM tab4 WHERE col0 >= 0

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 0
----

query I rowsort label-3530
SELECT pk FROM tab4 WHERE NOT (col0 >= 0)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,13,30.73,'ikxiu',66,71.58,'jxnpl')

statement ok
INSERT INTO tab0 VALUES(1,65,75.11,'rpfli',81,68.40,'qyswk')

statement ok
INSERT INTO tab0 VALUES(2,25,22.15,'ojrkp',45,58.71,'enqdc')

statement ok
INSERT INTO tab0 VALUES(3,91,59.79,'bgexd',36,90.68,'mdhop')

statement ok
INSERT INTO tab0 VALUES(4,70,36.21,'tquuu',48,53.27,'sctdo')

statement ok
INSERT INTO tab0 VALUES(5,0,26.94,'cylif',10,43.32,'iyvsx')

statement ok
INSERT INTO tab0 VALUES(6,54,83.94,'euqjs',96,16.73,'slmfi')

statement ok
INSERT INTO tab0 VALUES(7,56,11.78,'icygp',34,62.52,'vrvtb')

statement ok
INSERT INTO tab0 VALUES(8,96,23.73,'udsbz',26,59.0,'ufkuh')

statement ok
INSERT INTO tab0 VALUES(9,38,2.92,'euqxm',53,36.88,'mezez')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4,col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0,col1 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col4,col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC,col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1,col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC,col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4,col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 <= 8

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 8
----

query I rowsort label-3545
SELECT pk FROM tab0 WHERE NOT (col3 <= 8)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col3 <= 8

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 8
----

query I rowsort label-3545
SELECT pk FROM tab1 WHERE NOT (col3 <= 8)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col3 <= 8

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 8
----

query I rowsort label-3545
SELECT pk FROM tab2 WHERE NOT (col3 <= 8)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col3 <= 8

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 8
----

query I rowsort label-3545
SELECT pk FROM tab3 WHERE NOT (col3 <= 8)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col3 <= 8

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 8
----

query I rowsort label-3545
SELECT pk FROM tab4 WHERE NOT (col3 <= 8)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 < 11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 11
----

query I rowsort label-3560
SELECT pk FROM tab0 WHERE NOT (col3 < 11)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE col3 < 11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 11
----

query I rowsort label-3560
SELECT pk FROM tab1 WHERE NOT (col3 < 11)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE col3 < 11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 11
----

query I rowsort label-3560
SELECT pk FROM tab2 WHERE NOT (col3 < 11)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE col3 < 11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 11
----

query I rowsort label-3560
SELECT pk FROM tab3 WHERE NOT (col3 < 11)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE col3 < 11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 11
----

query I rowsort label-3560
SELECT pk FROM tab4 WHERE NOT (col3 < 11)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col0 = 34

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 34
----

query I rowsort label-3575
SELECT pk FROM tab0 WHERE NOT (col0 = 34)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE col0 = 34

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 34
----

query I rowsort label-3575
SELECT pk FROM tab1 WHERE NOT (col0 = 34)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE col0 = 34

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 34
----

query I rowsort label-3575
SELECT pk FROM tab2 WHERE NOT (col0 = 34)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE col0 = 34

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 34
----

query I rowsort label-3575
SELECT pk FROM tab3 WHERE NOT (col0 = 34)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE col0 = 34

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 34
----

query I rowsort label-3575
SELECT pk FROM tab4 WHERE NOT (col0 = 34)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE ((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8)
----

query I rowsort label-3590
SELECT pk FROM tab0 WHERE NOT (((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE ((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8)
----

query I rowsort label-3590
SELECT pk FROM tab1 WHERE NOT (((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE ((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8)
----

query I rowsort label-3590
SELECT pk FROM tab2 WHERE NOT (((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE ((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8)
----

query I rowsort label-3590
SELECT pk FROM tab3 WHERE NOT (((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE ((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8)
----

query I rowsort label-3590
SELECT pk FROM tab4 WHERE NOT (((((((col4 = 55.71)) AND col3 >= 92 AND (col0 < 59 OR col0 BETWEEN 97 AND 3 AND ((((col3 > 28)))) OR col0 <= 37)))) OR col0 < 37 AND col3 < 8))
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col0 = 51

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 51
----

query I rowsort label-3605
SELECT pk FROM tab0 WHERE NOT (col0 = 51)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE col0 = 51

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 51
----

query I rowsort label-3605
SELECT pk FROM tab1 WHERE NOT (col0 = 51)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE col0 = 51

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 51
----

query I rowsort label-3605
SELECT pk FROM tab2 WHERE NOT (col0 = 51)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE col0 = 51

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 51
----

query I rowsort label-3605
SELECT pk FROM tab3 WHERE NOT (col0 = 51)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE col0 = 51

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 51
----

query I rowsort label-3605
SELECT pk FROM tab4 WHERE NOT (col0 = 51)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col4 < 86.90

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 86.90
----

query I rowsort label-3620
SELECT pk FROM tab0 WHERE NOT (col4 < 86.90)
----
3

statement ok
DELETE FROM tab1 WHERE col4 < 86.90

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 86.90
----

query I rowsort label-3620
SELECT pk FROM tab1 WHERE NOT (col4 < 86.90)
----
3

statement ok
DELETE FROM tab2 WHERE col4 < 86.90

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 86.90
----

query I rowsort label-3620
SELECT pk FROM tab2 WHERE NOT (col4 < 86.90)
----
3

statement ok
DELETE FROM tab3 WHERE col4 < 86.90

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 86.90
----

query I rowsort label-3620
SELECT pk FROM tab3 WHERE NOT (col4 < 86.90)
----
3

statement ok
DELETE FROM tab4 WHERE col4 < 86.90

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 86.90
----

query I rowsort label-3620
SELECT pk FROM tab4 WHERE NOT (col4 < 86.90)
----
3

statement ok
DELETE FROM tab0 WHERE col3 >= 28

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 28
----

query I rowsort label-3635
SELECT pk FROM tab0 WHERE NOT (col3 >= 28)
----

statement ok
DELETE FROM tab1 WHERE col3 >= 28

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 28
----

query I rowsort label-3635
SELECT pk FROM tab1 WHERE NOT (col3 >= 28)
----

statement ok
DELETE FROM tab2 WHERE col3 >= 28

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 28
----

query I rowsort label-3635
SELECT pk FROM tab2 WHERE NOT (col3 >= 28)
----

statement ok
DELETE FROM tab3 WHERE col3 >= 28

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 28
----

query I rowsort label-3635
SELECT pk FROM tab3 WHERE NOT (col3 >= 28)
----

statement ok
DELETE FROM tab4 WHERE col3 >= 28

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 28
----

query I rowsort label-3635
SELECT pk FROM tab4 WHERE NOT (col3 >= 28)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,95,52.62,'wcpbi',6,18.81,'dorzs')

statement ok
INSERT INTO tab0 VALUES(1,60,76.84,'srqgy',69,78.38,'zmhis')

statement ok
INSERT INTO tab0 VALUES(2,80,90.28,'tzpyr',61,24.67,'hshhm')

statement ok
INSERT INTO tab0 VALUES(3,5,31.7,'rhahr',43,62.74,'zyiww')

statement ok
INSERT INTO tab0 VALUES(4,72,81.9,'yqdlh',94,49.23,'jvvqr')

statement ok
INSERT INTO tab0 VALUES(5,67,71.62,'znayj',72,0.94,'eszpo')

statement ok
INSERT INTO tab0 VALUES(6,87,4.93,'ckqph',78,3.50,'rhctg')

statement ok
INSERT INTO tab0 VALUES(7,1,58.90,'vicza',17,32.98,'uipqu')

statement ok
INSERT INTO tab0 VALUES(8,17,5.68,'utqah',64,59.51,'iydzn')

statement ok
INSERT INTO tab0 VALUES(9,40,20.29,'dxxsu',19,66.91,'yrume')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (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 INDEX idx_tab3_0 ON tab3 (col0,col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3,col0,col4 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col4)

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,col0 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4 DESC,col1 DESC,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17)
----

query I rowsort label-3650
SELECT pk FROM tab0 WHERE NOT (col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17))
----
1
8

statement ok
DELETE FROM tab1 WHERE col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17)
----

query I rowsort label-3650
SELECT pk FROM tab1 WHERE NOT (col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17))
----
1
8

statement ok
DELETE FROM tab2 WHERE col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17)
----

query I rowsort label-3650
SELECT pk FROM tab2 WHERE NOT (col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17))
----
1
8

statement ok
DELETE FROM tab3 WHERE col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17)
----

query I rowsort label-3650
SELECT pk FROM tab3 WHERE NOT (col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17))
----
1
8

statement ok
DELETE FROM tab4 WHERE col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17)
----

query I rowsort label-3650
SELECT pk FROM tab4 WHERE NOT (col0 <= 38 AND col0 > 84 AND col3 < 2 OR ((col3 <= 50) OR col4 <= 56.17))
----
1
8

statement ok
DELETE FROM tab0 WHERE (((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81
----

query I rowsort label-3665
SELECT pk FROM tab0 WHERE NOT ((((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81)
----
1

statement ok
DELETE FROM tab1 WHERE (((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81
----

query I rowsort label-3665
SELECT pk FROM tab1 WHERE NOT ((((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81)
----
1

statement ok
DELETE FROM tab2 WHERE (((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81
----

query I rowsort label-3665
SELECT pk FROM tab2 WHERE NOT ((((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81)
----
1

statement ok
DELETE FROM tab3 WHERE (((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81
----

query I rowsort label-3665
SELECT pk FROM tab3 WHERE NOT ((((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81)
----
1

statement ok
DELETE FROM tab4 WHERE (((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81
----

query I rowsort label-3665
SELECT pk FROM tab4 WHERE NOT ((((col3 >= 86) OR col1 <= 75.12 AND (col4 > 49.74))) OR (col1 > 56.67) AND (col0 IS NULL) AND (col0 > 87) AND col4 = 48.9 OR col4 <= 38.81)
----
1

statement ok
DELETE FROM tab0 WHERE ((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69
----

query I rowsort label-3680
SELECT pk FROM tab0 WHERE NOT (((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69)
----

statement ok
DELETE FROM tab1 WHERE ((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69
----

query I rowsort label-3680
SELECT pk FROM tab1 WHERE NOT (((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69)
----

statement ok
DELETE FROM tab2 WHERE ((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69
----

query I rowsort label-3680
SELECT pk FROM tab2 WHERE NOT (((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69)
----

statement ok
DELETE FROM tab3 WHERE ((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69
----

query I rowsort label-3680
SELECT pk FROM tab3 WHERE NOT (((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69)
----

statement ok
DELETE FROM tab4 WHERE ((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69
----

query I rowsort label-3680
SELECT pk FROM tab4 WHERE NOT (((((((col4 < 70.70 OR col0 IS NULL OR ((col3 IS NULL)) AND (col4 IS NULL)) OR col0 BETWEEN 61 AND 55 OR col4 >= 76.55 OR col0 IS NULL AND col0 < 65 OR (col3 IN (60)) AND (col1 < 44.21) AND (col0 < 38)) OR col0 IS NULL OR (col1 < 19.4) OR col1 > 47.99 AND (col4 = 15.32)) AND col4 <= 16.37 OR col4 > 92.78))) OR col0 <= 84 OR col1 < 21.69)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,25,23.96,'lolyc',70,83.82,'fezqe')

statement ok
INSERT INTO tab0 VALUES(1,36,42.0,'ueobj',29,34.93,'olnwg')

statement ok
INSERT INTO tab0 VALUES(2,37,63.52,'oksvn',96,85.83,'pwfxg')

statement ok
INSERT INTO tab0 VALUES(3,91,47.76,'zvjqy',42,88.3,'sqspc')

statement ok
INSERT INTO tab0 VALUES(4,19,11.17,'odmyn',67,7.62,'oyrfg')

statement ok
INSERT INTO tab0 VALUES(5,43,48.6,'gvubx',62,35.81,'kleea')

statement ok
INSERT INTO tab0 VALUES(6,61,28.27,'otzpo',72,8.64,'aason')

statement ok
INSERT INTO tab0 VALUES(7,5,25.69,'psqfv',55,9.59,'xljty')

statement ok
INSERT INTO tab0 VALUES(8,4,17.99,'igmgf',51,86.15,'mvtep')

statement ok
INSERT INTO tab0 VALUES(9,46,4.19,'oaohj',39,73.51,'bimsb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1,col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0 DESC,col3)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (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 INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,43,52.52,'ooqvh',70,25.39,'pusis')

statement ok
INSERT INTO tab0 VALUES(1,30,60.76,'uulia',76,38.87,'fwkla')

statement ok
INSERT INTO tab0 VALUES(2,50,93.10,'soneq',18,88.47,'gsaqc')

statement ok
INSERT INTO tab0 VALUES(3,27,65.38,'ymejp',67,46.34,'mruby')

statement ok
INSERT INTO tab0 VALUES(4,48,7.95,'oxbri',90,6.93,'qcjlf')

statement ok
INSERT INTO tab0 VALUES(5,24,79.30,'idkdl',8,98.66,'qodmh')

statement ok
INSERT INTO tab0 VALUES(6,51,84.66,'qifqw',57,99.50,'txesi')

statement ok
INSERT INTO tab0 VALUES(7,73,76.64,'wcerv',56,44.59,'solzo')

statement ok
INSERT INTO tab0 VALUES(8,49,80.84,'hycvd',65,47.91,'rjzbd')

statement ok
INSERT INTO tab0 VALUES(9,4,94.51,'kbtmi',49,1.87,'qbwio')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE 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 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col3 DESC,col0 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 > 82 OR col0 > 29

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 82 OR col0 > 29
----

query I rowsort label-3695
SELECT pk FROM tab0 WHERE NOT (col0 > 82 OR col0 > 29)
----
3
5
9

statement ok
DELETE FROM tab1 WHERE col0 > 82 OR col0 > 29

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 82 OR col0 > 29
----

query I rowsort label-3695
SELECT pk FROM tab1 WHERE NOT (col0 > 82 OR col0 > 29)
----
3
5
9

statement ok
DELETE FROM tab2 WHERE col0 > 82 OR col0 > 29

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 82 OR col0 > 29
----

query I rowsort label-3695
SELECT pk FROM tab2 WHERE NOT (col0 > 82 OR col0 > 29)
----
3
5
9

statement ok
DELETE FROM tab3 WHERE col0 > 82 OR col0 > 29

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 82 OR col0 > 29
----

query I rowsort label-3695
SELECT pk FROM tab3 WHERE NOT (col0 > 82 OR col0 > 29)
----
3
5
9

statement ok
DELETE FROM tab4 WHERE col0 > 82 OR col0 > 29

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 82 OR col0 > 29
----

query I rowsort label-3695
SELECT pk FROM tab4 WHERE NOT (col0 > 82 OR col0 > 29)
----
3
5
9

statement ok
DELETE FROM tab0 WHERE col4 < 4.46

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 4.46
----

query I rowsort label-3710
SELECT pk FROM tab0 WHERE NOT (col4 < 4.46)
----
3
5

statement ok
DELETE FROM tab1 WHERE col4 < 4.46

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 4.46
----

query I rowsort label-3710
SELECT pk FROM tab1 WHERE NOT (col4 < 4.46)
----
3
5

statement ok
DELETE FROM tab2 WHERE col4 < 4.46

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 4.46
----

query I rowsort label-3710
SELECT pk FROM tab2 WHERE NOT (col4 < 4.46)
----
3
5

statement ok
DELETE FROM tab3 WHERE col4 < 4.46

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 4.46
----

query I rowsort label-3710
SELECT pk FROM tab3 WHERE NOT (col4 < 4.46)
----
3
5

statement ok
DELETE FROM tab4 WHERE col4 < 4.46

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 4.46
----

query I rowsort label-3710
SELECT pk FROM tab4 WHERE NOT (col4 < 4.46)
----
3
5

statement ok
DELETE FROM tab0 WHERE (col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9
----

query I rowsort label-3725
SELECT pk FROM tab0 WHERE NOT ((col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9)
----
3

statement ok
DELETE FROM tab1 WHERE (col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9
----

query I rowsort label-3725
SELECT pk FROM tab1 WHERE NOT ((col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9)
----
3

statement ok
DELETE FROM tab2 WHERE (col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9
----

query I rowsort label-3725
SELECT pk FROM tab2 WHERE NOT ((col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9)
----
3

statement ok
DELETE FROM tab3 WHERE (col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9
----

query I rowsort label-3725
SELECT pk FROM tab3 WHERE NOT ((col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9)
----
3

statement ok
DELETE FROM tab4 WHERE (col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9
----

query I rowsort label-3725
SELECT pk FROM tab4 WHERE NOT ((col1 < 1.35) AND col0 <= 38 OR (col3 < 31) AND col3 <= 9)
----
3

statement ok
DELETE FROM tab0 WHERE col1 = 27.88 AND col3 < 39

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 27.88 AND col3 < 39
----

query I rowsort label-3740
SELECT pk FROM tab0 WHERE NOT (col1 = 27.88 AND col3 < 39)
----
3

statement ok
DELETE FROM tab1 WHERE col1 = 27.88 AND col3 < 39

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 27.88 AND col3 < 39
----

query I rowsort label-3740
SELECT pk FROM tab1 WHERE NOT (col1 = 27.88 AND col3 < 39)
----
3

statement ok
DELETE FROM tab2 WHERE col1 = 27.88 AND col3 < 39

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 27.88 AND col3 < 39
----

query I rowsort label-3740
SELECT pk FROM tab2 WHERE NOT (col1 = 27.88 AND col3 < 39)
----
3

statement ok
DELETE FROM tab3 WHERE col1 = 27.88 AND col3 < 39

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 27.88 AND col3 < 39
----

query I rowsort label-3740
SELECT pk FROM tab3 WHERE NOT (col1 = 27.88 AND col3 < 39)
----
3

statement ok
DELETE FROM tab4 WHERE col1 = 27.88 AND col3 < 39

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 27.88 AND col3 < 39
----

query I rowsort label-3740
SELECT pk FROM tab4 WHERE NOT (col1 = 27.88 AND col3 < 39)
----
3

statement ok
DELETE FROM tab0 WHERE (col4 <= 17.80)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 <= 17.80)
----

query I rowsort label-3755
SELECT pk FROM tab0 WHERE NOT ((col4 <= 17.80))
----
3

statement ok
DELETE FROM tab1 WHERE (col4 <= 17.80)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 <= 17.80)
----

query I rowsort label-3755
SELECT pk FROM tab1 WHERE NOT ((col4 <= 17.80))
----
3

statement ok
DELETE FROM tab2 WHERE (col4 <= 17.80)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 <= 17.80)
----

query I rowsort label-3755
SELECT pk FROM tab2 WHERE NOT ((col4 <= 17.80))
----
3

statement ok
DELETE FROM tab3 WHERE (col4 <= 17.80)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 <= 17.80)
----

query I rowsort label-3755
SELECT pk FROM tab3 WHERE NOT ((col4 <= 17.80))
----
3

statement ok
DELETE FROM tab4 WHERE (col4 <= 17.80)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 <= 17.80)
----

query I rowsort label-3755
SELECT pk FROM tab4 WHERE NOT ((col4 <= 17.80))
----
3

statement ok
DELETE FROM tab0 WHERE (col1 > 23.21)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 23.21)
----

query I rowsort label-3770
SELECT pk FROM tab0 WHERE NOT ((col1 > 23.21))
----

statement ok
DELETE FROM tab1 WHERE (col1 > 23.21)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 23.21)
----

query I rowsort label-3770
SELECT pk FROM tab1 WHERE NOT ((col1 > 23.21))
----

statement ok
DELETE FROM tab2 WHERE (col1 > 23.21)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 23.21)
----

query I rowsort label-3770
SELECT pk FROM tab2 WHERE NOT ((col1 > 23.21))
----

statement ok
DELETE FROM tab3 WHERE (col1 > 23.21)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 23.21)
----

query I rowsort label-3770
SELECT pk FROM tab3 WHERE NOT ((col1 > 23.21))
----

statement ok
DELETE FROM tab4 WHERE (col1 > 23.21)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 23.21)
----

query I rowsort label-3770
SELECT pk FROM tab4 WHERE NOT ((col1 > 23.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,81,78.95,'mnzdp',66,34.16,'qhhsq')

statement ok
INSERT INTO tab0 VALUES(1,34,45.70,'nslim',72,63.55,'owzch')

statement ok
INSERT INTO tab0 VALUES(2,28,77.24,'nwinc',42,3.9,'yngfj')

statement ok
INSERT INTO tab0 VALUES(3,99,39.66,'znifa',89,76.21,'npzri')

statement ok
INSERT INTO tab0 VALUES(4,82,84.38,'qwzid',14,47.95,'absrb')

statement ok
INSERT INTO tab0 VALUES(5,83,70.73,'kkymx',63,42.58,'nxllb')

statement ok
INSERT INTO tab0 VALUES(6,29,68.57,'pozuj',92,57.23,'oxbco')

statement ok
INSERT INTO tab0 VALUES(7,46,79.96,'xkflk',31,73.53,'dgedn')

statement ok
INSERT INTO tab0 VALUES(8,7,40.75,'tcgis',41,67.21,'zboay')

statement ok
INSERT INTO tab0 VALUES(9,4,44.21,'eqcra',84,23.74,'pczvu')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC,col4)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk 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 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3 DESC,col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16)
----

query I rowsort label-3785
SELECT pk FROM tab0 WHERE NOT (col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16))
----

statement ok
DELETE FROM tab1 WHERE col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16)
----

query I rowsort label-3785
SELECT pk FROM tab1 WHERE NOT (col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16))
----

statement ok
DELETE FROM tab2 WHERE col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16)
----

query I rowsort label-3785
SELECT pk FROM tab2 WHERE NOT (col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16))
----

statement ok
DELETE FROM tab3 WHERE col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16)
----

query I rowsort label-3785
SELECT pk FROM tab3 WHERE NOT (col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16))
----

statement ok
DELETE FROM tab4 WHERE col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16)
----

query I rowsort label-3785
SELECT pk FROM tab4 WHERE NOT (col3 IS NULL OR (col3 IS NULL) OR (col4 <= 78.16))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,33,10.74,'ggrmk',39,46.11,'rpsbd')

statement ok
INSERT INTO tab0 VALUES(1,63,58.85,'cjsvc',22,59.74,'wkxhg')

statement ok
INSERT INTO tab0 VALUES(2,92,50.95,'srecw',50,82.32,'ahglz')

statement ok
INSERT INTO tab0 VALUES(3,91,24.25,'doymo',95,49.18,'xppyi')

statement ok
INSERT INTO tab0 VALUES(4,64,28.74,'ghmrh',16,36.49,'vfoto')

statement ok
INSERT INTO tab0 VALUES(5,53,79.31,'dafai',72,20.37,'gkfqt')

statement ok
INSERT INTO tab0 VALUES(6,60,29.82,'aymsk',35,40.0,'jeqej')

statement ok
INSERT INTO tab0 VALUES(7,56,23.31,'oqwur',98,64.75,'uhpzy')

statement ok
INSERT INTO tab0 VALUES(8,88,66.4,'svyja',96,50.34,'fjftt')

statement ok
INSERT INTO tab0 VALUES(9,0,82.68,'hvxtx',7,5.92,'zclii')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col1 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3,col1)

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 (col1 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 < 96.56

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 96.56
----

query I rowsort label-3800
SELECT pk FROM tab0 WHERE NOT (col1 < 96.56)
----

statement ok
DELETE FROM tab1 WHERE col1 < 96.56

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 96.56
----

query I rowsort label-3800
SELECT pk FROM tab1 WHERE NOT (col1 < 96.56)
----

statement ok
DELETE FROM tab2 WHERE col1 < 96.56

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 96.56
----

query I rowsort label-3800
SELECT pk FROM tab2 WHERE NOT (col1 < 96.56)
----

statement ok
DELETE FROM tab3 WHERE col1 < 96.56

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 96.56
----

query I rowsort label-3800
SELECT pk FROM tab3 WHERE NOT (col1 < 96.56)
----

statement ok
DELETE FROM tab4 WHERE col1 < 96.56

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 96.56
----

query I rowsort label-3800
SELECT pk FROM tab4 WHERE NOT (col1 < 96.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,60,55.23,'akenl',13,90.83,'urdrd')

statement ok
INSERT INTO tab0 VALUES(1,51,50.39,'ftmox',37,45.74,'jjpis')

statement ok
INSERT INTO tab0 VALUES(2,57,19.29,'swxww',94,48.18,'vdpiy')

statement ok
INSERT INTO tab0 VALUES(3,4,98.41,'qjavl',8,49.21,'navnf')

statement ok
INSERT INTO tab0 VALUES(4,1,79.51,'yymkj',63,10.51,'ssstv')

statement ok
INSERT INTO tab0 VALUES(5,98,20.36,'vwfbl',69,15.4,'zlkqy')

statement ok
INSERT INTO tab0 VALUES(6,55,62.28,'tpkcj',23,88.65,'fjyzz')

statement ok
INSERT INTO tab0 VALUES(7,0,39.79,'mmsod',73,1.70,'qjlpl')

statement ok
INSERT INTO tab0 VALUES(8,90,89.25,'khlqx',80,89.70,'focvh')

statement ok
INSERT INTO tab0 VALUES(9,79,70.48,'kxolj',79,58.94,'maldw')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 >= 13 AND col4 <= 83.63

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 13 AND col4 <= 83.63
----

query I rowsort label-3815
SELECT pk FROM tab0 WHERE NOT (col3 >= 13 AND col4 <= 83.63)
----
0
3
6
8

statement ok
DELETE FROM tab1 WHERE col3 >= 13 AND col4 <= 83.63

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 13 AND col4 <= 83.63
----

query I rowsort label-3815
SELECT pk FROM tab1 WHERE NOT (col3 >= 13 AND col4 <= 83.63)
----
0
3
6
8

statement ok
DELETE FROM tab2 WHERE col3 >= 13 AND col4 <= 83.63

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 13 AND col4 <= 83.63
----

query I rowsort label-3815
SELECT pk FROM tab2 WHERE NOT (col3 >= 13 AND col4 <= 83.63)
----
0
3
6
8

statement ok
DELETE FROM tab3 WHERE col3 >= 13 AND col4 <= 83.63

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 13 AND col4 <= 83.63
----

query I rowsort label-3815
SELECT pk FROM tab3 WHERE NOT (col3 >= 13 AND col4 <= 83.63)
----
0
3
6
8

statement ok
DELETE FROM tab4 WHERE col3 >= 13 AND col4 <= 83.63

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 13 AND col4 <= 83.63
----

query I rowsort label-3815
SELECT pk FROM tab4 WHERE NOT (col3 >= 13 AND col4 <= 83.63)
----
0
3
6
8

statement ok
DELETE FROM tab0 WHERE col0 < 66

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 66
----

query I rowsort label-3830
SELECT pk FROM tab0 WHERE NOT (col0 < 66)
----
8

statement ok
DELETE FROM tab1 WHERE col0 < 66

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 66
----

query I rowsort label-3830
SELECT pk FROM tab1 WHERE NOT (col0 < 66)
----
8

statement ok
DELETE FROM tab2 WHERE col0 < 66

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 66
----

query I rowsort label-3830
SELECT pk FROM tab2 WHERE NOT (col0 < 66)
----
8

statement ok
DELETE FROM tab3 WHERE col0 < 66

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 66
----

query I rowsort label-3830
SELECT pk FROM tab3 WHERE NOT (col0 < 66)
----
8

statement ok
DELETE FROM tab4 WHERE col0 < 66

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 66
----

query I rowsort label-3830
SELECT pk FROM tab4 WHERE NOT (col0 < 66)
----
8

statement ok
DELETE FROM tab0 WHERE col4 >= 10.4

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 10.4
----

query I rowsort label-3845
SELECT pk FROM tab0 WHERE NOT (col4 >= 10.4)
----

statement ok
DELETE FROM tab1 WHERE col4 >= 10.4

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 10.4
----

query I rowsort label-3845
SELECT pk FROM tab1 WHERE NOT (col4 >= 10.4)
----

statement ok
DELETE FROM tab2 WHERE col4 >= 10.4

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 10.4
----

query I rowsort label-3845
SELECT pk FROM tab2 WHERE NOT (col4 >= 10.4)
----

statement ok
DELETE FROM tab3 WHERE col4 >= 10.4

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 10.4
----

query I rowsort label-3845
SELECT pk FROM tab3 WHERE NOT (col4 >= 10.4)
----

statement ok
DELETE FROM tab4 WHERE col4 >= 10.4

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 10.4
----

query I rowsort label-3845
SELECT pk FROM tab4 WHERE NOT (col4 >= 10.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,77,98.44,'hzetk',33,79.4,'vereb')

statement ok
INSERT INTO tab0 VALUES(1,65,72.81,'jjdme',6,83.16,'wiupu')

statement ok
INSERT INTO tab0 VALUES(2,68,59.47,'zrtyi',31,92.82,'vttin')

statement ok
INSERT INTO tab0 VALUES(3,10,42.39,'yyuti',72,70.46,'cwcqx')

statement ok
INSERT INTO tab0 VALUES(4,21,84.5,'owfuw',51,96.14,'ijybn')

statement ok
INSERT INTO tab0 VALUES(5,49,95.58,'ivwjh',70,27.58,'ceprk')

statement ok
INSERT INTO tab0 VALUES(6,72,92.86,'ibfhk',14,56.35,'ooccz')

statement ok
INSERT INTO tab0 VALUES(7,13,64.64,'csqcy',68,80.94,'ykzth')

statement ok
INSERT INTO tab0 VALUES(8,47,31.71,'bciai',30,62.93,'ievwy')

statement ok
INSERT INTO tab0 VALUES(9,22,11.97,'gsyje',21,88.9,'eevqo')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk 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,col3)

statement ok
CREATE 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 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 < 56.2

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 56.2
----

query I rowsort label-3860
SELECT pk FROM tab0 WHERE NOT (col4 < 56.2)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab1 WHERE col4 < 56.2

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 56.2
----

query I rowsort label-3860
SELECT pk FROM tab1 WHERE NOT (col4 < 56.2)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab2 WHERE col4 < 56.2

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 56.2
----

query I rowsort label-3860
SELECT pk FROM tab2 WHERE NOT (col4 < 56.2)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab3 WHERE col4 < 56.2

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 56.2
----

query I rowsort label-3860
SELECT pk FROM tab3 WHERE NOT (col4 < 56.2)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab4 WHERE col4 < 56.2

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 56.2
----

query I rowsort label-3860
SELECT pk FROM tab4 WHERE NOT (col4 < 56.2)
----
9 values hashing to 7c052a6f22ec636843783dd115badb9d

statement ok
DELETE FROM tab0 WHERE col1 >= 2.88

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 2.88
----

query I rowsort label-3875
SELECT pk FROM tab0 WHERE NOT (col1 >= 2.88)
----

statement ok
DELETE FROM tab1 WHERE col1 >= 2.88

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 2.88
----

query I rowsort label-3875
SELECT pk FROM tab1 WHERE NOT (col1 >= 2.88)
----

statement ok
DELETE FROM tab2 WHERE col1 >= 2.88

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 2.88
----

query I rowsort label-3875
SELECT pk FROM tab2 WHERE NOT (col1 >= 2.88)
----

statement ok
DELETE FROM tab3 WHERE col1 >= 2.88

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 2.88
----

query I rowsort label-3875
SELECT pk FROM tab3 WHERE NOT (col1 >= 2.88)
----

statement ok
DELETE FROM tab4 WHERE col1 >= 2.88

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 2.88
----

query I rowsort label-3875
SELECT pk FROM tab4 WHERE NOT (col1 >= 2.88)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,60,30.76,'uxcpg',91,48.93,'geqri')

statement ok
INSERT INTO tab0 VALUES(1,28,65.55,'snbtj',23,3.96,'fswxo')

statement ok
INSERT INTO tab0 VALUES(2,43,36.52,'wsaxp',40,0.40,'oyetf')

statement ok
INSERT INTO tab0 VALUES(3,29,59.47,'asswf',71,41.41,'wlldz')

statement ok
INSERT INTO tab0 VALUES(4,84,29.82,'alvfa',50,17.59,'ppuss')

statement ok
INSERT INTO tab0 VALUES(5,44,33.25,'zbiyv',77,15.60,'wknhr')

statement ok
INSERT INTO tab0 VALUES(6,42,61.32,'lpkbc',83,31.80,'ueilo')

statement ok
INSERT INTO tab0 VALUES(7,71,21.8,'irvhm',93,88.86,'nylkq')

statement ok
INSERT INTO tab0 VALUES(8,51,50.71,'ixvps',84,40.37,'kfshy')

statement ok
INSERT INTO tab0 VALUES(9,85,26.15,'twjvv',51,92.51,'boudg')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0 DESC,col1)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col1,col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,10,51.85,'lewkw',41,20.10,'fblnm')

statement ok
INSERT INTO tab0 VALUES(1,17,36.15,'bagci',90,92.60,'ynjur')

statement ok
INSERT INTO tab0 VALUES(2,29,1.61,'ydvtv',30,55.2,'micra')

statement ok
INSERT INTO tab0 VALUES(3,89,2.20,'fdzjv',45,29.43,'pfqzj')

statement ok
INSERT INTO tab0 VALUES(4,80,62.93,'xxlzt',75,78.54,'gghhs')

statement ok
INSERT INTO tab0 VALUES(5,45,29.97,'pqvvi',20,79.74,'fwyvu')

statement ok
INSERT INTO tab0 VALUES(6,98,46.73,'zahmm',57,76.29,'wzztu')

statement ok
INSERT INTO tab0 VALUES(7,32,6.6,'pjiyt',52,54.37,'ohtdx')

statement ok
INSERT INTO tab0 VALUES(8,38,19.30,'lsbtb',70,91.29,'mggfw')

statement ok
INSERT INTO tab0 VALUES(9,11,74.47,'nxdbi',92,24.54,'edqnu')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4,col3 DESC,col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1 DESC,col3 DESC)

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 INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 >= 62.66

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 62.66
----

query I rowsort label-3890
SELECT pk FROM tab0 WHERE NOT (col1 >= 62.66)
----
0
1
2
3
5
6
7
8

statement ok
DELETE FROM tab1 WHERE col1 >= 62.66

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 62.66
----

query I rowsort label-3890
SELECT pk FROM tab1 WHERE NOT (col1 >= 62.66)
----
0
1
2
3
5
6
7
8

statement ok
DELETE FROM tab2 WHERE col1 >= 62.66

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 62.66
----

query I rowsort label-3890
SELECT pk FROM tab2 WHERE NOT (col1 >= 62.66)
----
0
1
2
3
5
6
7
8

statement ok
DELETE FROM tab3 WHERE col1 >= 62.66

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 62.66
----

query I rowsort label-3890
SELECT pk FROM tab3 WHERE NOT (col1 >= 62.66)
----
0
1
2
3
5
6
7
8

statement ok
DELETE FROM tab4 WHERE col1 >= 62.66

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 62.66
----

query I rowsort label-3890
SELECT pk FROM tab4 WHERE NOT (col1 >= 62.66)
----
0
1
2
3
5
6
7
8

statement ok
DELETE FROM tab0 WHERE col1 < 12.80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 12.80
----

query I rowsort label-3905
SELECT pk FROM tab0 WHERE NOT (col1 < 12.80)
----
0
1
5
6
8

statement ok
DELETE FROM tab1 WHERE col1 < 12.80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 12.80
----

query I rowsort label-3905
SELECT pk FROM tab1 WHERE NOT (col1 < 12.80)
----
0
1
5
6
8

statement ok
DELETE FROM tab2 WHERE col1 < 12.80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 12.80
----

query I rowsort label-3905
SELECT pk FROM tab2 WHERE NOT (col1 < 12.80)
----
0
1
5
6
8

statement ok
DELETE FROM tab3 WHERE col1 < 12.80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 12.80
----

query I rowsort label-3905
SELECT pk FROM tab3 WHERE NOT (col1 < 12.80)
----
0
1
5
6
8

statement ok
DELETE FROM tab4 WHERE col1 < 12.80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 12.80
----

query I rowsort label-3905
SELECT pk FROM tab4 WHERE NOT (col1 < 12.80)
----
0
1
5
6
8

statement ok
DELETE FROM tab0 WHERE col3 >= 70

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 70
----

query I rowsort label-3920
SELECT pk FROM tab0 WHERE NOT (col3 >= 70)
----
0
5
6

statement ok
DELETE FROM tab1 WHERE col3 >= 70

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 70
----

query I rowsort label-3920
SELECT pk FROM tab1 WHERE NOT (col3 >= 70)
----
0
5
6

statement ok
DELETE FROM tab2 WHERE col3 >= 70

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 70
----

query I rowsort label-3920
SELECT pk FROM tab2 WHERE NOT (col3 >= 70)
----
0
5
6

statement ok
DELETE FROM tab3 WHERE col3 >= 70

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 70
----

query I rowsort label-3920
SELECT pk FROM tab3 WHERE NOT (col3 >= 70)
----
0
5
6

statement ok
DELETE FROM tab4 WHERE col3 >= 70

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 70
----

query I rowsort label-3920
SELECT pk FROM tab4 WHERE NOT (col3 >= 70)
----
0
5
6

statement ok
DELETE FROM tab0 WHERE col0 > 43

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 43
----

query I rowsort label-3935
SELECT pk FROM tab0 WHERE NOT (col0 > 43)
----
0

statement ok
DELETE FROM tab1 WHERE col0 > 43

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 43
----

query I rowsort label-3935
SELECT pk FROM tab1 WHERE NOT (col0 > 43)
----
0

statement ok
DELETE FROM tab2 WHERE col0 > 43

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 43
----

query I rowsort label-3935
SELECT pk FROM tab2 WHERE NOT (col0 > 43)
----
0

statement ok
DELETE FROM tab3 WHERE col0 > 43

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 43
----

query I rowsort label-3935
SELECT pk FROM tab3 WHERE NOT (col0 > 43)
----
0

statement ok
DELETE FROM tab4 WHERE col0 > 43

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 43
----

query I rowsort label-3935
SELECT pk FROM tab4 WHERE NOT (col0 > 43)
----
0

statement ok
DELETE FROM tab0 WHERE (((((col1 <= 68.52)) AND col3 < 65)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((col1 <= 68.52)) AND col3 < 65)))
----

query I rowsort label-3950
SELECT pk FROM tab0 WHERE NOT ((((((col1 <= 68.52)) AND col3 < 65))))
----

statement ok
DELETE FROM tab1 WHERE (((((col1 <= 68.52)) AND col3 < 65)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((col1 <= 68.52)) AND col3 < 65)))
----

query I rowsort label-3950
SELECT pk FROM tab1 WHERE NOT ((((((col1 <= 68.52)) AND col3 < 65))))
----

statement ok
DELETE FROM tab2 WHERE (((((col1 <= 68.52)) AND col3 < 65)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((col1 <= 68.52)) AND col3 < 65)))
----

query I rowsort label-3950
SELECT pk FROM tab2 WHERE NOT ((((((col1 <= 68.52)) AND col3 < 65))))
----

statement ok
DELETE FROM tab3 WHERE (((((col1 <= 68.52)) AND col3 < 65)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((col1 <= 68.52)) AND col3 < 65)))
----

query I rowsort label-3950
SELECT pk FROM tab3 WHERE NOT ((((((col1 <= 68.52)) AND col3 < 65))))
----

statement ok
DELETE FROM tab4 WHERE (((((col1 <= 68.52)) AND col3 < 65)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((col1 <= 68.52)) AND col3 < 65)))
----

query I rowsort label-3950
SELECT pk FROM tab4 WHERE NOT ((((((col1 <= 68.52)) AND col3 < 65))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,22,0.5,'lzryj',35,5.61,'ncckh')

statement ok
INSERT INTO tab0 VALUES(1,54,66.45,'lluiv',15,75.74,'zldtc')

statement ok
INSERT INTO tab0 VALUES(2,7,77.73,'qlqbf',0,95.88,'kfzuc')

statement ok
INSERT INTO tab0 VALUES(3,74,24.18,'zfrky',73,83.50,'kfngl')

statement ok
INSERT INTO tab0 VALUES(4,66,32.10,'pxoro',20,49.34,'mvqdt')

statement ok
INSERT INTO tab0 VALUES(5,83,72.38,'qdqqe',91,3.11,'ouhed')

statement ok
INSERT INTO tab0 VALUES(6,70,74.15,'qrsfm',67,73.3,'uvnoj')

statement ok
INSERT INTO tab0 VALUES(7,82,39.41,'oalbv',19,13.51,'xetqx')

statement ok
INSERT INTO tab0 VALUES(8,45,53.63,'ubhgj',69,16.77,'dfwjd')

statement ok
INSERT INTO tab0 VALUES(9,21,96.42,'mstxg',58,29.44,'mhgcn')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col0 DESC)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col1 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col4 > 39.11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 39.11
----

query I rowsort label-3965
SELECT pk FROM tab0 WHERE NOT (col4 > 39.11)
----
0
5
7
8
9

statement ok
DELETE FROM tab1 WHERE col4 > 39.11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 39.11
----

query I rowsort label-3965
SELECT pk FROM tab1 WHERE NOT (col4 > 39.11)
----
0
5
7
8
9

statement ok
DELETE FROM tab2 WHERE col4 > 39.11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 39.11
----

query I rowsort label-3965
SELECT pk FROM tab2 WHERE NOT (col4 > 39.11)
----
0
5
7
8
9

statement ok
DELETE FROM tab3 WHERE col4 > 39.11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 39.11
----

query I rowsort label-3965
SELECT pk FROM tab3 WHERE NOT (col4 > 39.11)
----
0
5
7
8
9

statement ok
DELETE FROM tab4 WHERE col4 > 39.11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 39.11
----

query I rowsort label-3965
SELECT pk FROM tab4 WHERE NOT (col4 > 39.11)
----
0
5
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41)))
----

query I rowsort label-3980
SELECT pk FROM tab0 WHERE NOT (col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41))))
----
0
5
7
8
9

statement ok
DELETE FROM tab1 WHERE col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41)))
----

query I rowsort label-3980
SELECT pk FROM tab1 WHERE NOT (col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41))))
----
0
5
7
8
9

statement ok
DELETE FROM tab2 WHERE col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41)))
----

query I rowsort label-3980
SELECT pk FROM tab2 WHERE NOT (col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41))))
----
0
5
7
8
9

statement ok
DELETE FROM tab3 WHERE col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41)))
----

query I rowsort label-3980
SELECT pk FROM tab3 WHERE NOT (col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41))))
----
0
5
7
8
9

statement ok
DELETE FROM tab4 WHERE col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41)))
----

query I rowsort label-3980
SELECT pk FROM tab4 WHERE NOT (col4 >= 90.32 AND ((((col1 > 74.36) OR col1 = 0.41))))
----
0
5
7
8
9

statement ok
DELETE FROM tab0 WHERE col4 IS NULL OR col0 < 55

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 IS NULL OR col0 < 55
----

query I rowsort label-3995
SELECT pk FROM tab0 WHERE NOT (col4 IS NULL OR col0 < 55)
----
5
7

statement ok
DELETE FROM tab1 WHERE col4 IS NULL OR col0 < 55

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 IS NULL OR col0 < 55
----

query I rowsort label-3995
SELECT pk FROM tab1 WHERE NOT (col4 IS NULL OR col0 < 55)
----
5
7

statement ok
DELETE FROM tab2 WHERE col4 IS NULL OR col0 < 55

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 IS NULL OR col0 < 55
----

query I rowsort label-3995
SELECT pk FROM tab2 WHERE NOT (col4 IS NULL OR col0 < 55)
----
5
7

statement ok
DELETE FROM tab3 WHERE col4 IS NULL OR col0 < 55

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 IS NULL OR col0 < 55
----

query I rowsort label-3995
SELECT pk FROM tab3 WHERE NOT (col4 IS NULL OR col0 < 55)
----
5
7

statement ok
DELETE FROM tab4 WHERE col4 IS NULL OR col0 < 55

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 IS NULL OR col0 < 55
----

query I rowsort label-3995
SELECT pk FROM tab4 WHERE NOT (col4 IS NULL OR col0 < 55)
----
5
7

statement ok
DELETE FROM tab0 WHERE (((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74
----

query I rowsort label-4010
SELECT pk FROM tab0 WHERE NOT ((((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74)
----
5
7

statement ok
DELETE FROM tab1 WHERE (((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74
----

query I rowsort label-4010
SELECT pk FROM tab1 WHERE NOT ((((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74)
----
5
7

statement ok
DELETE FROM tab2 WHERE (((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74
----

query I rowsort label-4010
SELECT pk FROM tab2 WHERE NOT ((((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74)
----
5
7

statement ok
DELETE FROM tab3 WHERE (((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74
----

query I rowsort label-4010
SELECT pk FROM tab3 WHERE NOT ((((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74)
----
5
7

statement ok
DELETE FROM tab4 WHERE (((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74
----

query I rowsort label-4010
SELECT pk FROM tab4 WHERE NOT ((((col4 = 33.60)) AND (((((col4 > 6.5 OR col3 <= 37 OR (((col1 <= 32.95)))) OR ((col1 > 82.52) AND (((col4 > 87.36)))) OR (col0 > 34) AND ((((col3 > 49 AND col0 BETWEEN 34 AND 50 AND col0 < 95)))) AND (col4 IN (0.32,73.34,87.96,10.9)) OR col4 IS NULL OR col4 = 39.8 AND col3 > 25))) OR (col1 <= 30.54) AND ((col0 > 59))) AND col3 < 49) AND col3 BETWEEN 70 AND 74)
----
5
7

statement ok
DELETE FROM tab0 WHERE ((col1 = 26.51 AND (col0 >= 96)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 = 26.51 AND (col0 >= 96)))
----

query I rowsort label-4025
SELECT pk FROM tab0 WHERE NOT (((col1 = 26.51 AND (col0 >= 96))))
----
5
7

statement ok
DELETE FROM tab1 WHERE ((col1 = 26.51 AND (col0 >= 96)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 = 26.51 AND (col0 >= 96)))
----

query I rowsort label-4025
SELECT pk FROM tab1 WHERE NOT (((col1 = 26.51 AND (col0 >= 96))))
----
5
7

statement ok
DELETE FROM tab2 WHERE ((col1 = 26.51 AND (col0 >= 96)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 = 26.51 AND (col0 >= 96)))
----

query I rowsort label-4025
SELECT pk FROM tab2 WHERE NOT (((col1 = 26.51 AND (col0 >= 96))))
----
5
7

statement ok
DELETE FROM tab3 WHERE ((col1 = 26.51 AND (col0 >= 96)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 = 26.51 AND (col0 >= 96)))
----

query I rowsort label-4025
SELECT pk FROM tab3 WHERE NOT (((col1 = 26.51 AND (col0 >= 96))))
----
5
7

statement ok
DELETE FROM tab4 WHERE ((col1 = 26.51 AND (col0 >= 96)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 = 26.51 AND (col0 >= 96)))
----

query I rowsort label-4025
SELECT pk FROM tab4 WHERE NOT (((col1 = 26.51 AND (col0 >= 96))))
----
5
7

statement ok
DELETE FROM tab0 WHERE ((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44))))
----

query I rowsort label-4040
SELECT pk FROM tab0 WHERE NOT (((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44)))))
----
5
7

statement ok
DELETE FROM tab1 WHERE ((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44))))
----

query I rowsort label-4040
SELECT pk FROM tab1 WHERE NOT (((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44)))))
----
5
7

statement ok
DELETE FROM tab2 WHERE ((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44))))
----

query I rowsort label-4040
SELECT pk FROM tab2 WHERE NOT (((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44)))))
----
5
7

statement ok
DELETE FROM tab3 WHERE ((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44))))
----

query I rowsort label-4040
SELECT pk FROM tab3 WHERE NOT (((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44)))))
----
5
7

statement ok
DELETE FROM tab4 WHERE ((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44))))
----

query I rowsort label-4040
SELECT pk FROM tab4 WHERE NOT (((col0 < 31) AND ((col3 > 41 OR (((col1 = 87.54)) AND col4 > 48.7 OR (col0 IN (14,54,93,62,46)) OR col0 > 44)))))
----
5
7

statement ok
DELETE FROM tab0 WHERE ((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30))
----

query I rowsort label-4055
SELECT pk FROM tab0 WHERE NOT (((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30)))
----
5
7

statement ok
DELETE FROM tab1 WHERE ((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30))
----

query I rowsort label-4055
SELECT pk FROM tab1 WHERE NOT (((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30)))
----
5
7

statement ok
DELETE FROM tab2 WHERE ((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30))
----

query I rowsort label-4055
SELECT pk FROM tab2 WHERE NOT (((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30)))
----
5
7

statement ok
DELETE FROM tab3 WHERE ((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30))
----

query I rowsort label-4055
SELECT pk FROM tab3 WHERE NOT (((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30)))
----
5
7

statement ok
DELETE FROM tab4 WHERE ((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30))
----

query I rowsort label-4055
SELECT pk FROM tab4 WHERE NOT (((((col3 IS NULL)))) OR (col0 > 68) AND (col4 >= 49.16 AND col0 >= 22 OR (((col1 = 15.2)) AND col1 > 39.30)))
----
5
7

statement ok
DELETE FROM tab0 WHERE col0 < 43

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 43
----

query I rowsort label-4070
SELECT pk FROM tab0 WHERE NOT (col0 < 43)
----
5
7

statement ok
DELETE FROM tab1 WHERE col0 < 43

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 43
----

query I rowsort label-4070
SELECT pk FROM tab1 WHERE NOT (col0 < 43)
----
5
7

statement ok
DELETE FROM tab2 WHERE col0 < 43

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 43
----

query I rowsort label-4070
SELECT pk FROM tab2 WHERE NOT (col0 < 43)
----
5
7

statement ok
DELETE FROM tab3 WHERE col0 < 43

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 43
----

query I rowsort label-4070
SELECT pk FROM tab3 WHERE NOT (col0 < 43)
----
5
7

statement ok
DELETE FROM tab4 WHERE col0 < 43

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 43
----

query I rowsort label-4070
SELECT pk FROM tab4 WHERE NOT (col0 < 43)
----
5
7

statement ok
DELETE FROM tab0 WHERE col4 = 25.46

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 25.46
----

query I rowsort label-4085
SELECT pk FROM tab0 WHERE NOT (col4 = 25.46)
----
5
7

statement ok
DELETE FROM tab1 WHERE col4 = 25.46

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 25.46
----

query I rowsort label-4085
SELECT pk FROM tab1 WHERE NOT (col4 = 25.46)
----
5
7

statement ok
DELETE FROM tab2 WHERE col4 = 25.46

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 25.46
----

query I rowsort label-4085
SELECT pk FROM tab2 WHERE NOT (col4 = 25.46)
----
5
7

statement ok
DELETE FROM tab3 WHERE col4 = 25.46

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 25.46
----

query I rowsort label-4085
SELECT pk FROM tab3 WHERE NOT (col4 = 25.46)
----
5
7

statement ok
DELETE FROM tab4 WHERE col4 = 25.46

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 25.46
----

query I rowsort label-4085
SELECT pk FROM tab4 WHERE NOT (col4 = 25.46)
----
5
7

statement ok
DELETE FROM tab0 WHERE (col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78)
----

query I rowsort label-4100
SELECT pk FROM tab0 WHERE NOT ((col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78))
----

statement ok
DELETE FROM tab1 WHERE (col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78)
----

query I rowsort label-4100
SELECT pk FROM tab1 WHERE NOT ((col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78))
----

statement ok
DELETE FROM tab2 WHERE (col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78)
----

query I rowsort label-4100
SELECT pk FROM tab2 WHERE NOT ((col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78))
----

statement ok
DELETE FROM tab3 WHERE (col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78)
----

query I rowsort label-4100
SELECT pk FROM tab3 WHERE NOT ((col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78))
----

statement ok
DELETE FROM tab4 WHERE (col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78)
----

query I rowsort label-4100
SELECT pk FROM tab4 WHERE NOT ((col3 > 98) AND col0 <= 37 OR col3 > 20 OR (col3 < 93) OR col4 > 38.36 OR col3 > 13 AND col3 < 40 AND (((col1 > 62.34))) OR col4 <= 1.92 AND (col4 >= 73.42) AND col0 > 90 AND col4 >= 52.6 OR col3 = 17 OR (col1 > 96.28) OR (col3 > 78))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,88,49.92,'grwcd',32,69.91,'doean')

statement ok
INSERT INTO tab0 VALUES(1,57,63.75,'kibsy',46,81.1,'anugg')

statement ok
INSERT INTO tab0 VALUES(2,10,50.12,'evuzy',96,50.99,'bjpdw')

statement ok
INSERT INTO tab0 VALUES(3,56,10.22,'nuyqd',80,11.96,'jytvc')

statement ok
INSERT INTO tab0 VALUES(4,85,4.37,'zyjyn',81,42.72,'cgarx')

statement ok
INSERT INTO tab0 VALUES(5,77,19.13,'mcfau',78,28.88,'aokhj')

statement ok
INSERT INTO tab0 VALUES(6,16,28.43,'slryz',65,23.98,'zntwc')

statement ok
INSERT INTO tab0 VALUES(7,5,56.70,'yqsrz',55,12.60,'uhjcy')

statement ok
INSERT INTO tab0 VALUES(8,72,40.98,'owjlg',99,76.53,'qqqkq')

statement ok
INSERT INTO tab0 VALUES(9,90,92.6,'sbusm',92,49.84,'udtcl')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col3 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0,col3)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3 DESC,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 <= 46)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 <= 46)
----

query I rowsort label-4115
SELECT pk FROM tab0 WHERE NOT ((col3 <= 46))
----
2
3
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE (col3 <= 46)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 <= 46)
----

query I rowsort label-4115
SELECT pk FROM tab1 WHERE NOT ((col3 <= 46))
----
2
3
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE (col3 <= 46)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 <= 46)
----

query I rowsort label-4115
SELECT pk FROM tab2 WHERE NOT ((col3 <= 46))
----
2
3
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE (col3 <= 46)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 <= 46)
----

query I rowsort label-4115
SELECT pk FROM tab3 WHERE NOT ((col3 <= 46))
----
2
3
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE (col3 <= 46)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 <= 46)
----

query I rowsort label-4115
SELECT pk FROM tab4 WHERE NOT ((col3 <= 46))
----
2
3
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE ((col4 <= 67.9))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 <= 67.9))
----

query I rowsort label-4130
SELECT pk FROM tab0 WHERE NOT (((col4 <= 67.9)))
----
8

statement ok
DELETE FROM tab1 WHERE ((col4 <= 67.9))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 <= 67.9))
----

query I rowsort label-4130
SELECT pk FROM tab1 WHERE NOT (((col4 <= 67.9)))
----
8

statement ok
DELETE FROM tab2 WHERE ((col4 <= 67.9))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 <= 67.9))
----

query I rowsort label-4130
SELECT pk FROM tab2 WHERE NOT (((col4 <= 67.9)))
----
8

statement ok
DELETE FROM tab3 WHERE ((col4 <= 67.9))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 <= 67.9))
----

query I rowsort label-4130
SELECT pk FROM tab3 WHERE NOT (((col4 <= 67.9)))
----
8

statement ok
DELETE FROM tab4 WHERE ((col4 <= 67.9))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 <= 67.9))
----

query I rowsort label-4130
SELECT pk FROM tab4 WHERE NOT (((col4 <= 67.9)))
----
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,81,26.64,'xwrzq',98,8.72,'jdkjl')

statement ok
INSERT INTO tab0 VALUES(1,80,56.64,'cxwrv',64,72.88,'upins')

statement ok
INSERT INTO tab0 VALUES(2,85,27.14,'eqhht',76,58.6,'rpbab')

statement ok
INSERT INTO tab0 VALUES(3,27,0.66,'jgnbf',5,11.27,'ttzpi')

statement ok
INSERT INTO tab0 VALUES(4,41,22.25,'fkjke',79,93.13,'zsbll')

statement ok
INSERT INTO tab0 VALUES(5,82,83.59,'oondh',6,39.91,'gnjdv')

statement ok
INSERT INTO tab0 VALUES(6,34,84.13,'ubdss',77,27.75,'amuxc')

statement ok
INSERT INTO tab0 VALUES(7,25,90.19,'tdnem',83,33.71,'vorst')

statement ok
INSERT INTO tab0 VALUES(8,40,6.11,'ecrki',28,2.92,'bgijo')

statement ok
INSERT INTO tab0 VALUES(9,29,30.35,'lnzdd',42,1.73,'mywpo')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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_3 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_5 ON tab2 (col0 DESC,col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC,col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC,col3)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,23,15.93,'ktasj',14,37.52,'lqtjc')

statement ok
INSERT INTO tab0 VALUES(1,65,77.83,'fotsj',21,35.71,'msbmb')

statement ok
INSERT INTO tab0 VALUES(2,89,38.95,'fsgiz',24,83.75,'kfepk')

statement ok
INSERT INTO tab0 VALUES(3,21,58.30,'bfotz',27,9.59,'avykh')

statement ok
INSERT INTO tab0 VALUES(4,58,85.20,'lakcf',36,36.35,'rpzjn')

statement ok
INSERT INTO tab0 VALUES(5,32,69.96,'cbiap',23,90.93,'htsjm')

statement ok
INSERT INTO tab0 VALUES(6,67,73.47,'zjtpj',84,23.63,'pcpkj')

statement ok
INSERT INTO tab0 VALUES(7,49,84.86,'jedqb',5,16.80,'fsedk')

statement ok
INSERT INTO tab0 VALUES(8,81,30.10,'bfcot',25,94.43,'wrfou')

statement ok
INSERT INTO tab0 VALUES(9,51,90.61,'jmpva',96,42.80,'iovox')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col3,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col4,col1 DESC)

statement ok
CREATE INDEX idx_tab2_4 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 (col3 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0 DESC,col4)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col4 IN (84.19,99.14,73.37,18.34,59.12))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 IN (84.19,99.14,73.37,18.34,59.12))
----

query I rowsort label-4145
SELECT pk FROM tab0 WHERE NOT ((col4 IN (84.19,99.14,73.37,18.34,59.12)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col4 IN (84.19,99.14,73.37,18.34,59.12))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 IN (84.19,99.14,73.37,18.34,59.12))
----

query I rowsort label-4145
SELECT pk FROM tab1 WHERE NOT ((col4 IN (84.19,99.14,73.37,18.34,59.12)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col4 IN (84.19,99.14,73.37,18.34,59.12))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 IN (84.19,99.14,73.37,18.34,59.12))
----

query I rowsort label-4145
SELECT pk FROM tab2 WHERE NOT ((col4 IN (84.19,99.14,73.37,18.34,59.12)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col4 IN (84.19,99.14,73.37,18.34,59.12))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 IN (84.19,99.14,73.37,18.34,59.12))
----

query I rowsort label-4145
SELECT pk FROM tab3 WHERE NOT ((col4 IN (84.19,99.14,73.37,18.34,59.12)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col4 IN (84.19,99.14,73.37,18.34,59.12))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 IN (84.19,99.14,73.37,18.34,59.12))
----

query I rowsort label-4145
SELECT pk FROM tab4 WHERE NOT ((col4 IN (84.19,99.14,73.37,18.34,59.12)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col4 BETWEEN 58.98 AND 75.97 AND col0 > 11)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 BETWEEN 58.98 AND 75.97 AND col0 > 11)
----

query I rowsort label-4160
SELECT pk FROM tab0 WHERE NOT ((col4 BETWEEN 58.98 AND 75.97 AND col0 > 11))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col4 BETWEEN 58.98 AND 75.97 AND col0 > 11)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 BETWEEN 58.98 AND 75.97 AND col0 > 11)
----

query I rowsort label-4160
SELECT pk FROM tab1 WHERE NOT ((col4 BETWEEN 58.98 AND 75.97 AND col0 > 11))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col4 BETWEEN 58.98 AND 75.97 AND col0 > 11)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 BETWEEN 58.98 AND 75.97 AND col0 > 11)
----

query I rowsort label-4160
SELECT pk FROM tab2 WHERE NOT ((col4 BETWEEN 58.98 AND 75.97 AND col0 > 11))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col4 BETWEEN 58.98 AND 75.97 AND col0 > 11)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 BETWEEN 58.98 AND 75.97 AND col0 > 11)
----

query I rowsort label-4160
SELECT pk FROM tab3 WHERE NOT ((col4 BETWEEN 58.98 AND 75.97 AND col0 > 11))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col4 BETWEEN 58.98 AND 75.97 AND col0 > 11)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 BETWEEN 58.98 AND 75.97 AND col0 > 11)
----

query I rowsort label-4160
SELECT pk FROM tab4 WHERE NOT ((col4 BETWEEN 58.98 AND 75.97 AND col0 > 11))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 36 AND 81

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 36 AND 81
----

query I rowsort label-4175
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 36 AND 81)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 36 AND 81

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 36 AND 81
----

query I rowsort label-4175
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 36 AND 81)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 36 AND 81

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 36 AND 81
----

query I rowsort label-4175
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 36 AND 81)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 36 AND 81

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 36 AND 81
----

query I rowsort label-4175
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 36 AND 81)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 36 AND 81

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 36 AND 81
----

query I rowsort label-4175
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 36 AND 81)
----
9 values hashing to 4290bd41ca7ca69dc280e33882d8e9de

statement ok
DELETE FROM tab0 WHERE col3 <= 52 OR col4 <= 65.37

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 52 OR col4 <= 65.37
----

query I rowsort label-4190
SELECT pk FROM tab0 WHERE NOT (col3 <= 52 OR col4 <= 65.37)
----

statement ok
DELETE FROM tab1 WHERE col3 <= 52 OR col4 <= 65.37

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 52 OR col4 <= 65.37
----

query I rowsort label-4190
SELECT pk FROM tab1 WHERE NOT (col3 <= 52 OR col4 <= 65.37)
----

statement ok
DELETE FROM tab2 WHERE col3 <= 52 OR col4 <= 65.37

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 52 OR col4 <= 65.37
----

query I rowsort label-4190
SELECT pk FROM tab2 WHERE NOT (col3 <= 52 OR col4 <= 65.37)
----

statement ok
DELETE FROM tab3 WHERE col3 <= 52 OR col4 <= 65.37

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 52 OR col4 <= 65.37
----

query I rowsort label-4190
SELECT pk FROM tab3 WHERE NOT (col3 <= 52 OR col4 <= 65.37)
----

statement ok
DELETE FROM tab4 WHERE col3 <= 52 OR col4 <= 65.37

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 52 OR col4 <= 65.37
----

query I rowsort label-4190
SELECT pk FROM tab4 WHERE NOT (col3 <= 52 OR col4 <= 65.37)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,74,37.62,'tirjv',13,88.74,'krdiq')

statement ok
INSERT INTO tab0 VALUES(1,36,81.41,'ceade',65,56.28,'gxzzk')

statement ok
INSERT INTO tab0 VALUES(2,85,20.23,'fwlmu',14,52.95,'jckem')

statement ok
INSERT INTO tab0 VALUES(3,19,34.30,'jdyrh',15,82.20,'igqgk')

statement ok
INSERT INTO tab0 VALUES(4,7,97.13,'fgaii',4,26.34,'iyijd')

statement ok
INSERT INTO tab0 VALUES(5,99,35.60,'bcjmk',2,95.64,'nifss')

statement ok
INSERT INTO tab0 VALUES(6,42,86.14,'qfmtd',31,0.44,'ykmps')

statement ok
INSERT INTO tab0 VALUES(7,88,72.81,'wbjlf',28,11.33,'xcsoa')

statement ok
INSERT INTO tab0 VALUES(8,11,53.46,'dbapz',55,20.19,'rkjnm')

statement ok
INSERT INTO tab0 VALUES(9,13,93.83,'itegv',12,2.40,'gkgxj')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE 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 (col3,col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3,col0,col4 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4)

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 (col1,col3 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col3 > 26

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 26
----

query I rowsort label-4205
SELECT pk FROM tab0 WHERE NOT (col3 > 26)
----
0
2
3
4
5
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-4205
SELECT pk FROM tab1 WHERE NOT (col3 > 26)
----
0
2
3
4
5
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-4205
SELECT pk FROM tab2 WHERE NOT (col3 > 26)
----
0
2
3
4
5
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-4205
SELECT pk FROM tab3 WHERE NOT (col3 > 26)
----
0
2
3
4
5
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-4205
SELECT pk FROM tab4 WHERE NOT (col3 > 26)
----
0
2
3
4
5
9

statement ok
DELETE FROM tab0 WHERE (col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26)
----

query I rowsort label-4220
SELECT pk FROM tab0 WHERE NOT ((col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26))
----
0
2
5

statement ok
DELETE FROM tab1 WHERE (col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26)
----

query I rowsort label-4220
SELECT pk FROM tab1 WHERE NOT ((col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26))
----
0
2
5

statement ok
DELETE FROM tab2 WHERE (col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26)
----

query I rowsort label-4220
SELECT pk FROM tab2 WHERE NOT ((col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26))
----
0
2
5

statement ok
DELETE FROM tab3 WHERE (col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26)
----

query I rowsort label-4220
SELECT pk FROM tab3 WHERE NOT ((col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26))
----
0
2
5

statement ok
DELETE FROM tab4 WHERE (col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26)
----

query I rowsort label-4220
SELECT pk FROM tab4 WHERE NOT ((col0 < 21 AND col1 <= 97.30) AND col4 IN (24.37,63.38,5.39,89.30,54.89) AND ((col4 > 20.64 AND col4 < 26.21) AND col1 > 92.75 AND ((((col0 = 57 OR col4 < 73.8))) AND col3 > 15 OR (col3 > 3))) AND col0 IS NULL OR (col1 < 81.70) AND col0 <= 50 OR col0 <= 43 OR (col3 > 26))
----
0
2
5

statement ok
DELETE FROM tab0 WHERE col3 BETWEEN 63 AND 80

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 BETWEEN 63 AND 80
----

query I rowsort label-4235
SELECT pk FROM tab0 WHERE NOT (col3 BETWEEN 63 AND 80)
----
0
2
5

statement ok
DELETE FROM tab1 WHERE col3 BETWEEN 63 AND 80

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 BETWEEN 63 AND 80
----

query I rowsort label-4235
SELECT pk FROM tab1 WHERE NOT (col3 BETWEEN 63 AND 80)
----
0
2
5

statement ok
DELETE FROM tab2 WHERE col3 BETWEEN 63 AND 80

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 BETWEEN 63 AND 80
----

query I rowsort label-4235
SELECT pk FROM tab2 WHERE NOT (col3 BETWEEN 63 AND 80)
----
0
2
5

statement ok
DELETE FROM tab3 WHERE col3 BETWEEN 63 AND 80

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 BETWEEN 63 AND 80
----

query I rowsort label-4235
SELECT pk FROM tab3 WHERE NOT (col3 BETWEEN 63 AND 80)
----
0
2
5

statement ok
DELETE FROM tab4 WHERE col3 BETWEEN 63 AND 80

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 BETWEEN 63 AND 80
----

query I rowsort label-4235
SELECT pk FROM tab4 WHERE NOT (col3 BETWEEN 63 AND 80)
----
0
2
5

statement ok
DELETE FROM tab0 WHERE col0 >= 19

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 19
----

query I rowsort label-4250
SELECT pk FROM tab0 WHERE NOT (col0 >= 19)
----

statement ok
DELETE FROM tab1 WHERE col0 >= 19

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 19
----

query I rowsort label-4250
SELECT pk FROM tab1 WHERE NOT (col0 >= 19)
----

statement ok
DELETE FROM tab2 WHERE col0 >= 19

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 19
----

query I rowsort label-4250
SELECT pk FROM tab2 WHERE NOT (col0 >= 19)
----

statement ok
DELETE FROM tab3 WHERE col0 >= 19

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 19
----

query I rowsort label-4250
SELECT pk FROM tab3 WHERE NOT (col0 >= 19)
----

statement ok
DELETE FROM tab4 WHERE col0 >= 19

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 19
----

query I rowsort label-4250
SELECT pk FROM tab4 WHERE NOT (col0 >= 19)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,0,4.55,'lamhn',27,29.49,'xudpj')

statement ok
INSERT INTO tab0 VALUES(1,20,84.36,'fmjxe',98,80.66,'lpcrk')

statement ok
INSERT INTO tab0 VALUES(2,78,7.60,'bicjz',48,94.46,'yohuu')

statement ok
INSERT INTO tab0 VALUES(3,19,70.55,'quspj',28,48.78,'hkfyq')

statement ok
INSERT INTO tab0 VALUES(4,3,17.96,'fqslt',8,49.56,'ejysg')

statement ok
INSERT INTO tab0 VALUES(5,21,10.23,'ceaxb',1,98.90,'tipjv')

statement ok
INSERT INTO tab0 VALUES(6,4,81.49,'njkik',62,53.25,'izzac')

statement ok
INSERT INTO tab0 VALUES(7,34,2.74,'yaflr',9,91.45,'wuitv')

statement ok
INSERT INTO tab0 VALUES(8,68,46.98,'xzwkg',30,69.92,'pjuto')

statement ok
INSERT INTO tab0 VALUES(9,35,47.31,'qaren',2,90.75,'uicie')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3,col1)

statement ok
CREATE UNIQUE INDEX idx_tab2_2 ON tab2 (col3 DESC,col0)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC,col1,col4 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col3,col0 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 = 0.75)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 = 0.75)
----

query I rowsort label-4265
SELECT pk FROM tab0 WHERE NOT ((col1 = 0.75))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col1 = 0.75)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 = 0.75)
----

query I rowsort label-4265
SELECT pk FROM tab1 WHERE NOT ((col1 = 0.75))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col1 = 0.75)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 = 0.75)
----

query I rowsort label-4265
SELECT pk FROM tab2 WHERE NOT ((col1 = 0.75))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col1 = 0.75)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 = 0.75)
----

query I rowsort label-4265
SELECT pk FROM tab3 WHERE NOT ((col1 = 0.75))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col1 = 0.75)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 = 0.75)
----

query I rowsort label-4265
SELECT pk FROM tab4 WHERE NOT ((col1 = 0.75))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col3 < 34)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 34)
----

query I rowsort label-4280
SELECT pk FROM tab0 WHERE NOT ((col3 < 34))
----
1
2
6

statement ok
DELETE FROM tab1 WHERE (col3 < 34)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 34)
----

query I rowsort label-4280
SELECT pk FROM tab1 WHERE NOT ((col3 < 34))
----
1
2
6

statement ok
DELETE FROM tab2 WHERE (col3 < 34)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 34)
----

query I rowsort label-4280
SELECT pk FROM tab2 WHERE NOT ((col3 < 34))
----
1
2
6

statement ok
DELETE FROM tab3 WHERE (col3 < 34)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 34)
----

query I rowsort label-4280
SELECT pk FROM tab3 WHERE NOT ((col3 < 34))
----
1
2
6

statement ok
DELETE FROM tab4 WHERE (col3 < 34)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 34)
----

query I rowsort label-4280
SELECT pk FROM tab4 WHERE NOT ((col3 < 34))
----
1
2
6

statement ok
DELETE FROM tab0 WHERE col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL
----

query I rowsort label-4295
SELECT pk FROM tab0 WHERE NOT (col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL)
----
1
2
6

statement ok
DELETE FROM tab1 WHERE col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL
----

query I rowsort label-4295
SELECT pk FROM tab1 WHERE NOT (col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL)
----
1
2
6

statement ok
DELETE FROM tab2 WHERE col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL
----

query I rowsort label-4295
SELECT pk FROM tab2 WHERE NOT (col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL)
----
1
2
6

statement ok
DELETE FROM tab3 WHERE col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL
----

query I rowsort label-4295
SELECT pk FROM tab3 WHERE NOT (col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL)
----
1
2
6

statement ok
DELETE FROM tab4 WHERE col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL
----

query I rowsort label-4295
SELECT pk FROM tab4 WHERE NOT (col3 <= 1 AND col1 IN (70.14,7.47,51.60,75.15) AND col3 IS NULL)
----
1
2
6

statement ok
DELETE FROM tab0 WHERE ((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62)
----

query I rowsort label-4310
SELECT pk FROM tab0 WHERE NOT (((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62))
----

statement ok
DELETE FROM tab1 WHERE ((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62)
----

query I rowsort label-4310
SELECT pk FROM tab1 WHERE NOT (((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62))
----

statement ok
DELETE FROM tab2 WHERE ((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62)
----

query I rowsort label-4310
SELECT pk FROM tab2 WHERE NOT (((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62))
----

statement ok
DELETE FROM tab3 WHERE ((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62)
----

query I rowsort label-4310
SELECT pk FROM tab3 WHERE NOT (((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62))
----

statement ok
DELETE FROM tab4 WHERE ((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62)
----

query I rowsort label-4310
SELECT pk FROM tab4 WHERE NOT (((col0 >= 57 OR ((((col3 < 34))) OR col3 >= 48))) AND (col4 > 15.62))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,87,42.44,'fhuzi',54,49.39,'sfbab')

statement ok
INSERT INTO tab0 VALUES(1,58,99.56,'qwvny',61,65.94,'nbknx')

statement ok
INSERT INTO tab0 VALUES(2,66,16.24,'vlnoo',20,91.68,'rihlx')

statement ok
INSERT INTO tab0 VALUES(3,41,41.81,'jhaej',46,24.51,'fclyv')

statement ok
INSERT INTO tab0 VALUES(4,99,73.11,'lwsla',68,18.61,'gzxbr')

statement ok
INSERT INTO tab0 VALUES(5,98,74.6,'ypihd',92,94.5,'ftgkt')

statement ok
INSERT INTO tab0 VALUES(6,7,81.31,'oghzz',62,60.45,'xaput')

statement ok
INSERT INTO tab0 VALUES(7,62,21.84,'axntx',26,16.58,'rtwwy')

statement ok
INSERT INTO tab0 VALUES(8,35,22.61,'cfwnl',94,68.98,'naurh')

statement ok
INSERT INTO tab0 VALUES(9,94,23.18,'ufblh',4,45.64,'eocko')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3 DESC,col1)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 = 3.50

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 3.50
----

query I rowsort label-4325
SELECT pk FROM tab0 WHERE NOT (col1 = 3.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col1 = 3.50

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 3.50
----

query I rowsort label-4325
SELECT pk FROM tab1 WHERE NOT (col1 = 3.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col1 = 3.50

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 3.50
----

query I rowsort label-4325
SELECT pk FROM tab2 WHERE NOT (col1 = 3.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col1 = 3.50

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 3.50
----

query I rowsort label-4325
SELECT pk FROM tab3 WHERE NOT (col1 = 3.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col1 = 3.50

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 3.50
----

query I rowsort label-4325
SELECT pk FROM tab4 WHERE NOT (col1 = 3.50)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col0 >= 94 AND col1 <= 85.93

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 >= 94 AND col1 <= 85.93
----

query I rowsort label-4340
SELECT pk FROM tab0 WHERE NOT (col0 >= 94 AND col1 <= 85.93)
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab1 WHERE col0 >= 94 AND col1 <= 85.93

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 >= 94 AND col1 <= 85.93
----

query I rowsort label-4340
SELECT pk FROM tab1 WHERE NOT (col0 >= 94 AND col1 <= 85.93)
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab2 WHERE col0 >= 94 AND col1 <= 85.93

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 >= 94 AND col1 <= 85.93
----

query I rowsort label-4340
SELECT pk FROM tab2 WHERE NOT (col0 >= 94 AND col1 <= 85.93)
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab3 WHERE col0 >= 94 AND col1 <= 85.93

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 >= 94 AND col1 <= 85.93
----

query I rowsort label-4340
SELECT pk FROM tab3 WHERE NOT (col0 >= 94 AND col1 <= 85.93)
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab4 WHERE col0 >= 94 AND col1 <= 85.93

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 >= 94 AND col1 <= 85.93
----

query I rowsort label-4340
SELECT pk FROM tab4 WHERE NOT (col0 >= 94 AND col1 <= 85.93)
----
0
1
2
3
6
7
8

statement ok
DELETE FROM tab0 WHERE col4 < 57.59 OR col0 = 70

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 57.59 OR col0 = 70
----

query I rowsort label-4355
SELECT pk FROM tab0 WHERE NOT (col4 < 57.59 OR col0 = 70)
----
1
2
6
8

statement ok
DELETE FROM tab1 WHERE col4 < 57.59 OR col0 = 70

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 57.59 OR col0 = 70
----

query I rowsort label-4355
SELECT pk FROM tab1 WHERE NOT (col4 < 57.59 OR col0 = 70)
----
1
2
6
8

statement ok
DELETE FROM tab2 WHERE col4 < 57.59 OR col0 = 70

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 57.59 OR col0 = 70
----

query I rowsort label-4355
SELECT pk FROM tab2 WHERE NOT (col4 < 57.59 OR col0 = 70)
----
1
2
6
8

statement ok
DELETE FROM tab3 WHERE col4 < 57.59 OR col0 = 70

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 57.59 OR col0 = 70
----

query I rowsort label-4355
SELECT pk FROM tab3 WHERE NOT (col4 < 57.59 OR col0 = 70)
----
1
2
6
8

statement ok
DELETE FROM tab4 WHERE col4 < 57.59 OR col0 = 70

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 57.59 OR col0 = 70
----

query I rowsort label-4355
SELECT pk FROM tab4 WHERE NOT (col4 < 57.59 OR col0 = 70)
----
1
2
6
8

statement ok
DELETE FROM tab0 WHERE (((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57)
----

query I rowsort label-4370
SELECT pk FROM tab0 WHERE NOT ((((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57))
----
1
2
6
8

statement ok
DELETE FROM tab1 WHERE (((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57)
----

query I rowsort label-4370
SELECT pk FROM tab1 WHERE NOT ((((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57))
----
1
2
6
8

statement ok
DELETE FROM tab2 WHERE (((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57)
----

query I rowsort label-4370
SELECT pk FROM tab2 WHERE NOT ((((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57))
----
1
2
6
8

statement ok
DELETE FROM tab3 WHERE (((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57)
----

query I rowsort label-4370
SELECT pk FROM tab3 WHERE NOT ((((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57))
----
1
2
6
8

statement ok
DELETE FROM tab4 WHERE (((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57)
----

query I rowsort label-4370
SELECT pk FROM tab4 WHERE NOT ((((((((col0 < 38)) AND (col1 IS NULL AND col3 IS NULL) OR col3 < 46 AND col3 > 85)) AND col0 >= 32)) AND col3 >= 3 OR col0 < 80 AND col3 IS NULL OR col0 IN (52,27)) AND col3 > 48 AND (((col3 > 21))) OR col3 IN (64,2,39,53,57))
----
1
2
6
8

statement ok
DELETE FROM tab0 WHERE ((col3 < 48))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 < 48))
----

query I rowsort label-4385
SELECT pk FROM tab0 WHERE NOT (((col3 < 48)))
----
1
6
8

statement ok
DELETE FROM tab1 WHERE ((col3 < 48))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 < 48))
----

query I rowsort label-4385
SELECT pk FROM tab1 WHERE NOT (((col3 < 48)))
----
1
6
8

statement ok
DELETE FROM tab2 WHERE ((col3 < 48))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 < 48))
----

query I rowsort label-4385
SELECT pk FROM tab2 WHERE NOT (((col3 < 48)))
----
1
6
8

statement ok
DELETE FROM tab3 WHERE ((col3 < 48))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 < 48))
----

query I rowsort label-4385
SELECT pk FROM tab3 WHERE NOT (((col3 < 48)))
----
1
6
8

statement ok
DELETE FROM tab4 WHERE ((col3 < 48))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 < 48))
----

query I rowsort label-4385
SELECT pk FROM tab4 WHERE NOT (((col3 < 48)))
----
1
6
8

statement ok
DELETE FROM tab0 WHERE col3 > 18

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 18
----

query I rowsort label-4400
SELECT pk FROM tab0 WHERE NOT (col3 > 18)
----

statement ok
DELETE FROM tab1 WHERE col3 > 18

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 18
----

query I rowsort label-4400
SELECT pk FROM tab1 WHERE NOT (col3 > 18)
----

statement ok
DELETE FROM tab2 WHERE col3 > 18

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 18
----

query I rowsort label-4400
SELECT pk FROM tab2 WHERE NOT (col3 > 18)
----

statement ok
DELETE FROM tab3 WHERE col3 > 18

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 18
----

query I rowsort label-4400
SELECT pk FROM tab3 WHERE NOT (col3 > 18)
----

statement ok
DELETE FROM tab4 WHERE col3 > 18

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 18
----

query I rowsort label-4400
SELECT pk FROM tab4 WHERE NOT (col3 > 18)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,2,90.60,'erhrz',55,29.93,'mrqug')

statement ok
INSERT INTO tab0 VALUES(1,66,27.8,'rorkx',86,33.56,'fulhl')

statement ok
INSERT INTO tab0 VALUES(2,16,7.71,'vjvwx',93,64.30,'lnqhd')

statement ok
INSERT INTO tab0 VALUES(3,35,34.80,'odotb',56,30.28,'olnzc')

statement ok
INSERT INTO tab0 VALUES(4,32,37.86,'dtetq',39,99.90,'bnhpv')

statement ok
INSERT INTO tab0 VALUES(5,51,35.72,'ublrk',97,56.96,'kcupl')

statement ok
INSERT INTO tab0 VALUES(6,86,0.65,'ntzop',90,74.76,'mfcpe')

statement ok
INSERT INTO tab0 VALUES(7,92,17.50,'owyuj',98,67.21,'hndtw')

statement ok
INSERT INTO tab0 VALUES(8,1,47.83,'bqrgi',29,59.2,'npisy')

statement ok
INSERT INTO tab0 VALUES(9,29,93.99,'qqjjk',37,45.77,'gyfus')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col3)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col1 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col0)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4 DESC,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 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC,col4)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,39.35,'bonoa',59,48.91,'ggksg')

statement ok
INSERT INTO tab0 VALUES(1,2,49.14,'ifsdb',13,33.89,'wdzyb')

statement ok
INSERT INTO tab0 VALUES(2,11,19.35,'exmah',24,60.78,'vnabu')

statement ok
INSERT INTO tab0 VALUES(3,49,64.92,'pmmhu',75,28.99,'orytp')

statement ok
INSERT INTO tab0 VALUES(4,68,83.30,'ahogv',15,51.54,'wxsar')

statement ok
INSERT INTO tab0 VALUES(5,37,20.59,'ymksj',62,19.12,'kwmls')

statement ok
INSERT INTO tab0 VALUES(6,57,25.63,'pzgzt',26,62.26,'kpdcp')

statement ok
INSERT INTO tab0 VALUES(7,71,23.15,'oskaj',14,9.44,'fqawd')

statement ok
INSERT INTO tab0 VALUES(8,79,69.90,'kqwof',45,58.19,'afplk')

statement ok
INSERT INTO tab0 VALUES(9,50,13.75,'hzcjm',63,30.26,'hhwnr')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col0)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col0 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col3,col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col0 IN (55,67,27,75)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 IN (55,67,27,75)))
----

query I rowsort label-4415
SELECT pk FROM tab0 WHERE NOT (((col0 IN (55,67,27,75))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col0 IN (55,67,27,75)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 IN (55,67,27,75)))
----

query I rowsort label-4415
SELECT pk FROM tab1 WHERE NOT (((col0 IN (55,67,27,75))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col0 IN (55,67,27,75)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 IN (55,67,27,75)))
----

query I rowsort label-4415
SELECT pk FROM tab2 WHERE NOT (((col0 IN (55,67,27,75))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col0 IN (55,67,27,75)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 IN (55,67,27,75)))
----

query I rowsort label-4415
SELECT pk FROM tab3 WHERE NOT (((col0 IN (55,67,27,75))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col0 IN (55,67,27,75)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 IN (55,67,27,75)))
----

query I rowsort label-4415
SELECT pk FROM tab4 WHERE NOT (((col0 IN (55,67,27,75))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13)
----

query I rowsort label-4430
SELECT pk FROM tab0 WHERE NOT ((((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13))
----
6
8

statement ok
DELETE FROM tab1 WHERE (((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13)
----

query I rowsort label-4430
SELECT pk FROM tab1 WHERE NOT ((((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13))
----
6
8

statement ok
DELETE FROM tab2 WHERE (((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13)
----

query I rowsort label-4430
SELECT pk FROM tab2 WHERE NOT ((((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13))
----
6
8

statement ok
DELETE FROM tab3 WHERE (((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13)
----

query I rowsort label-4430
SELECT pk FROM tab3 WHERE NOT ((((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13))
----
6
8

statement ok
DELETE FROM tab4 WHERE (((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13)
----

query I rowsort label-4430
SELECT pk FROM tab4 WHERE NOT ((((col0 <= 21) OR (((((((col1 = 91.9)))) OR col4 < 79.97) OR col3 < 40 AND col3 IS NULL AND col0 >= 25 OR col4 >= 80.14 AND (col3 IN (93,74)))) AND col4 <= 53.36) OR col0 = 11 OR col0 IN (0,0) AND col3 >= 13))
----
6
8

statement ok
DELETE FROM tab0 WHERE col3 IS NULL OR col0 < 31

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 IS NULL OR col0 < 31
----

query I rowsort label-4445
SELECT pk FROM tab0 WHERE NOT (col3 IS NULL OR col0 < 31)
----
6
8

statement ok
DELETE FROM tab1 WHERE col3 IS NULL OR col0 < 31

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 IS NULL OR col0 < 31
----

query I rowsort label-4445
SELECT pk FROM tab1 WHERE NOT (col3 IS NULL OR col0 < 31)
----
6
8

statement ok
DELETE FROM tab2 WHERE col3 IS NULL OR col0 < 31

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 IS NULL OR col0 < 31
----

query I rowsort label-4445
SELECT pk FROM tab2 WHERE NOT (col3 IS NULL OR col0 < 31)
----
6
8

statement ok
DELETE FROM tab3 WHERE col3 IS NULL OR col0 < 31

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 IS NULL OR col0 < 31
----

query I rowsort label-4445
SELECT pk FROM tab3 WHERE NOT (col3 IS NULL OR col0 < 31)
----
6
8

statement ok
DELETE FROM tab4 WHERE col3 IS NULL OR col0 < 31

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 IS NULL OR col0 < 31
----

query I rowsort label-4445
SELECT pk FROM tab4 WHERE NOT (col3 IS NULL OR col0 < 31)
----
6
8

statement ok
DELETE FROM tab0 WHERE (col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47))
----

query I rowsort label-4460
SELECT pk FROM tab0 WHERE NOT ((col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47)))
----
8

statement ok
DELETE FROM tab1 WHERE (col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47))
----

query I rowsort label-4460
SELECT pk FROM tab1 WHERE NOT ((col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47)))
----
8

statement ok
DELETE FROM tab2 WHERE (col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47))
----

query I rowsort label-4460
SELECT pk FROM tab2 WHERE NOT ((col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47)))
----
8

statement ok
DELETE FROM tab3 WHERE (col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47))
----

query I rowsort label-4460
SELECT pk FROM tab3 WHERE NOT ((col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47)))
----
8

statement ok
DELETE FROM tab4 WHERE (col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47))
----

query I rowsort label-4460
SELECT pk FROM tab4 WHERE NOT ((col3 < 33) OR col4 > 90.65 AND col4 < 86.74 OR (((col0 > 88))) AND (col4 < 28.5 AND (col0 > 47)))
----
8

statement ok
DELETE FROM tab0 WHERE col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51))))
----

query I rowsort label-4475
SELECT pk FROM tab0 WHERE NOT (col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51)))))
----
8

statement ok
DELETE FROM tab1 WHERE col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51))))
----

query I rowsort label-4475
SELECT pk FROM tab1 WHERE NOT (col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51)))))
----
8

statement ok
DELETE FROM tab2 WHERE col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51))))
----

query I rowsort label-4475
SELECT pk FROM tab2 WHERE NOT (col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51)))))
----
8

statement ok
DELETE FROM tab3 WHERE col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51))))
----

query I rowsort label-4475
SELECT pk FROM tab3 WHERE NOT (col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51)))))
----
8

statement ok
DELETE FROM tab4 WHERE col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51))))
----

query I rowsort label-4475
SELECT pk FROM tab4 WHERE NOT (col0 = 64 AND (col3 = 6) AND col3 < 77 OR (col0 >= 88 AND (col0 IS NULL) OR (col0 > 87) AND col3 < 10) AND col1 < 86.77 AND col1 <= 2.59 OR (col0 <= 6) AND (col3 > 46) OR ((((col3 >= 94)) AND ((col0 <= 15 AND col4 > 16.29 OR col3 < 93 AND col4 <= 19.51)))))
----
8

statement ok
DELETE FROM tab0 WHERE col1 = 69.62

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 = 69.62
----

query I rowsort label-4490
SELECT pk FROM tab0 WHERE NOT (col1 = 69.62)
----
8

statement ok
DELETE FROM tab1 WHERE col1 = 69.62

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 = 69.62
----

query I rowsort label-4490
SELECT pk FROM tab1 WHERE NOT (col1 = 69.62)
----
8

statement ok
DELETE FROM tab2 WHERE col1 = 69.62

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 = 69.62
----

query I rowsort label-4490
SELECT pk FROM tab2 WHERE NOT (col1 = 69.62)
----
8

statement ok
DELETE FROM tab3 WHERE col1 = 69.62

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 = 69.62
----

query I rowsort label-4490
SELECT pk FROM tab3 WHERE NOT (col1 = 69.62)
----
8

statement ok
DELETE FROM tab4 WHERE col1 = 69.62

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 = 69.62
----

query I rowsort label-4490
SELECT pk FROM tab4 WHERE NOT (col1 = 69.62)
----
8

statement ok
DELETE FROM tab0 WHERE (col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36)
----

query I rowsort label-4505
SELECT pk FROM tab0 WHERE NOT ((col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36))
----
8

statement ok
DELETE FROM tab1 WHERE (col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36)
----

query I rowsort label-4505
SELECT pk FROM tab1 WHERE NOT ((col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36))
----
8

statement ok
DELETE FROM tab2 WHERE (col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36)
----

query I rowsort label-4505
SELECT pk FROM tab2 WHERE NOT ((col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36))
----
8

statement ok
DELETE FROM tab3 WHERE (col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36)
----

query I rowsort label-4505
SELECT pk FROM tab3 WHERE NOT ((col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36))
----
8

statement ok
DELETE FROM tab4 WHERE (col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36)
----

query I rowsort label-4505
SELECT pk FROM tab4 WHERE NOT ((col1 > 49.13 AND ((col4 IN (35.37,81.31)) OR col3 >= 7) AND col0 > 3 AND col1 IS NULL AND col0 IS NULL) OR (col4 < 4.36))
----
8

statement ok
DELETE FROM tab0 WHERE ((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5)
----

query I rowsort label-4520
SELECT pk FROM tab0 WHERE NOT (((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5))
----

statement ok
DELETE FROM tab1 WHERE ((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5)
----

query I rowsort label-4520
SELECT pk FROM tab1 WHERE NOT (((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5))
----

statement ok
DELETE FROM tab2 WHERE ((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5)
----

query I rowsort label-4520
SELECT pk FROM tab2 WHERE NOT (((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5))
----

statement ok
DELETE FROM tab3 WHERE ((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5)
----

query I rowsort label-4520
SELECT pk FROM tab3 WHERE NOT (((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5))
----

statement ok
DELETE FROM tab4 WHERE ((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.5)
----

query I rowsort label-4520
SELECT pk FROM tab4 WHERE NOT (((col0 < 93) AND col4 >= 30.22) OR col3 < 4 OR (col4 > 57.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,73.41,'ndshl',95,73.84,'dfkgl')

statement ok
INSERT INTO tab0 VALUES(1,25,54.7,'ffqsb',57,63.45,'nwvqg')

statement ok
INSERT INTO tab0 VALUES(2,35,94.55,'cetfj',3,47.38,'agcsn')

statement ok
INSERT INTO tab0 VALUES(3,99,51.70,'cellc',63,48.47,'pjwrp')

statement ok
INSERT INTO tab0 VALUES(4,50,42.48,'qoiuf',64,8.0,'ujlpd')

statement ok
INSERT INTO tab0 VALUES(5,96,61.64,'xpfsf',84,98.32,'yaaam')

statement ok
INSERT INTO tab0 VALUES(6,80,87.33,'xakle',26,34.52,'fnroo')

statement ok
INSERT INTO tab0 VALUES(7,51,99.68,'pxrrz',70,87.98,'vbqqb')

statement ok
INSERT INTO tab0 VALUES(8,12,89.51,'ywlef',41,97.6,'djjas')

statement ok
INSERT INTO tab0 VALUES(9,1,72.88,'fewjp',72,83.70,'tjpkd')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE 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 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col3,col4,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col0 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_4 ON tab3 (col4,col0,col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col1 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 < 22 OR ((col0 = 58) AND col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 22 OR ((col0 = 58) AND col4 IS NULL)
----

query I rowsort label-4535
SELECT pk FROM tab0 WHERE NOT (col0 < 22 OR ((col0 = 58) AND col4 IS NULL))
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 < 22 OR ((col0 = 58) AND col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 22 OR ((col0 = 58) AND col4 IS NULL)
----

query I rowsort label-4535
SELECT pk FROM tab1 WHERE NOT (col0 < 22 OR ((col0 = 58) AND col4 IS NULL))
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 < 22 OR ((col0 = 58) AND col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 22 OR ((col0 = 58) AND col4 IS NULL)
----

query I rowsort label-4535
SELECT pk FROM tab2 WHERE NOT (col0 < 22 OR ((col0 = 58) AND col4 IS NULL))
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 < 22 OR ((col0 = 58) AND col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 22 OR ((col0 = 58) AND col4 IS NULL)
----

query I rowsort label-4535
SELECT pk FROM tab3 WHERE NOT (col0 < 22 OR ((col0 = 58) AND col4 IS NULL))
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 < 22 OR ((col0 = 58) AND col4 IS NULL)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 22 OR ((col0 = 58) AND col4 IS NULL)
----

query I rowsort label-4535
SELECT pk FROM tab4 WHERE NOT (col0 < 22 OR ((col0 = 58) AND col4 IS NULL))
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab0 WHERE col0 < 15

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 15
----

query I rowsort label-4550
SELECT pk FROM tab0 WHERE NOT (col0 < 15)
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 < 15

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 15
----

query I rowsort label-4550
SELECT pk FROM tab1 WHERE NOT (col0 < 15)
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 < 15

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 15
----

query I rowsort label-4550
SELECT pk FROM tab2 WHERE NOT (col0 < 15)
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 < 15

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 15
----

query I rowsort label-4550
SELECT pk FROM tab3 WHERE NOT (col0 < 15)
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 < 15

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 15
----

query I rowsort label-4550
SELECT pk FROM tab4 WHERE NOT (col0 < 15)
----
0
1
2
3
4
5
6
7

statement ok
DELETE FROM tab0 WHERE (col3 >= 8 AND col3 > 64) AND col0 >= 38

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 8 AND col3 > 64) AND col0 >= 38
----

query I rowsort label-4565
SELECT pk FROM tab0 WHERE NOT ((col3 >= 8 AND col3 > 64) AND col0 >= 38)
----
1
2
3
4
6

statement ok
DELETE FROM tab1 WHERE (col3 >= 8 AND col3 > 64) AND col0 >= 38

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 8 AND col3 > 64) AND col0 >= 38
----

query I rowsort label-4565
SELECT pk FROM tab1 WHERE NOT ((col3 >= 8 AND col3 > 64) AND col0 >= 38)
----
1
2
3
4
6

statement ok
DELETE FROM tab2 WHERE (col3 >= 8 AND col3 > 64) AND col0 >= 38

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 8 AND col3 > 64) AND col0 >= 38
----

query I rowsort label-4565
SELECT pk FROM tab2 WHERE NOT ((col3 >= 8 AND col3 > 64) AND col0 >= 38)
----
1
2
3
4
6

statement ok
DELETE FROM tab3 WHERE (col3 >= 8 AND col3 > 64) AND col0 >= 38

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 8 AND col3 > 64) AND col0 >= 38
----

query I rowsort label-4565
SELECT pk FROM tab3 WHERE NOT ((col3 >= 8 AND col3 > 64) AND col0 >= 38)
----
1
2
3
4
6

statement ok
DELETE FROM tab4 WHERE (col3 >= 8 AND col3 > 64) AND col0 >= 38

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 8 AND col3 > 64) AND col0 >= 38
----

query I rowsort label-4565
SELECT pk FROM tab4 WHERE NOT ((col3 >= 8 AND col3 > 64) AND col0 >= 38)
----
1
2
3
4
6

statement ok
DELETE FROM tab0 WHERE ((col0 < 15))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col0 < 15))
----

query I rowsort label-4580
SELECT pk FROM tab0 WHERE NOT (((col0 < 15)))
----
1
2
3
4
6

statement ok
DELETE FROM tab1 WHERE ((col0 < 15))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col0 < 15))
----

query I rowsort label-4580
SELECT pk FROM tab1 WHERE NOT (((col0 < 15)))
----
1
2
3
4
6

statement ok
DELETE FROM tab2 WHERE ((col0 < 15))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col0 < 15))
----

query I rowsort label-4580
SELECT pk FROM tab2 WHERE NOT (((col0 < 15)))
----
1
2
3
4
6

statement ok
DELETE FROM tab3 WHERE ((col0 < 15))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col0 < 15))
----

query I rowsort label-4580
SELECT pk FROM tab3 WHERE NOT (((col0 < 15)))
----
1
2
3
4
6

statement ok
DELETE FROM tab4 WHERE ((col0 < 15))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col0 < 15))
----

query I rowsort label-4580
SELECT pk FROM tab4 WHERE NOT (((col0 < 15)))
----
1
2
3
4
6

statement ok
DELETE FROM tab0 WHERE (col1 > 58.75 OR (col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 58.75 OR (col3 IS NULL))
----

query I rowsort label-4595
SELECT pk FROM tab0 WHERE NOT ((col1 > 58.75 OR (col3 IS NULL)))
----
1
3
4

statement ok
DELETE FROM tab1 WHERE (col1 > 58.75 OR (col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 58.75 OR (col3 IS NULL))
----

query I rowsort label-4595
SELECT pk FROM tab1 WHERE NOT ((col1 > 58.75 OR (col3 IS NULL)))
----
1
3
4

statement ok
DELETE FROM tab2 WHERE (col1 > 58.75 OR (col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 58.75 OR (col3 IS NULL))
----

query I rowsort label-4595
SELECT pk FROM tab2 WHERE NOT ((col1 > 58.75 OR (col3 IS NULL)))
----
1
3
4

statement ok
DELETE FROM tab3 WHERE (col1 > 58.75 OR (col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 58.75 OR (col3 IS NULL))
----

query I rowsort label-4595
SELECT pk FROM tab3 WHERE NOT ((col1 > 58.75 OR (col3 IS NULL)))
----
1
3
4

statement ok
DELETE FROM tab4 WHERE (col1 > 58.75 OR (col3 IS NULL))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 58.75 OR (col3 IS NULL))
----

query I rowsort label-4595
SELECT pk FROM tab4 WHERE NOT ((col1 > 58.75 OR (col3 IS NULL)))
----
1
3
4

statement ok
DELETE FROM tab0 WHERE col3 = 53

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 53
----

query I rowsort label-4610
SELECT pk FROM tab0 WHERE NOT (col3 = 53)
----
1
3
4

statement ok
DELETE FROM tab1 WHERE col3 = 53

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 53
----

query I rowsort label-4610
SELECT pk FROM tab1 WHERE NOT (col3 = 53)
----
1
3
4

statement ok
DELETE FROM tab2 WHERE col3 = 53

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 53
----

query I rowsort label-4610
SELECT pk FROM tab2 WHERE NOT (col3 = 53)
----
1
3
4

statement ok
DELETE FROM tab3 WHERE col3 = 53

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 53
----

query I rowsort label-4610
SELECT pk FROM tab3 WHERE NOT (col3 = 53)
----
1
3
4

statement ok
DELETE FROM tab4 WHERE col3 = 53

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 53
----

query I rowsort label-4610
SELECT pk FROM tab4 WHERE NOT (col3 = 53)
----
1
3
4

statement ok
DELETE FROM tab0 WHERE (col4 > 29.50)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 > 29.50)
----

query I rowsort label-4625
SELECT pk FROM tab0 WHERE NOT ((col4 > 29.50))
----
4

statement ok
DELETE FROM tab1 WHERE (col4 > 29.50)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 > 29.50)
----

query I rowsort label-4625
SELECT pk FROM tab1 WHERE NOT ((col4 > 29.50))
----
4

statement ok
DELETE FROM tab2 WHERE (col4 > 29.50)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 > 29.50)
----

query I rowsort label-4625
SELECT pk FROM tab2 WHERE NOT ((col4 > 29.50))
----
4

statement ok
DELETE FROM tab3 WHERE (col4 > 29.50)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 > 29.50)
----

query I rowsort label-4625
SELECT pk FROM tab3 WHERE NOT ((col4 > 29.50))
----
4

statement ok
DELETE FROM tab4 WHERE (col4 > 29.50)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 > 29.50)
----

query I rowsort label-4625
SELECT pk FROM tab4 WHERE NOT ((col4 > 29.50))
----
4

statement ok
DELETE FROM tab0 WHERE (col3 >= 96)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 96)
----

query I rowsort label-4640
SELECT pk FROM tab0 WHERE NOT ((col3 >= 96))
----
4

statement ok
DELETE FROM tab1 WHERE (col3 >= 96)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 96)
----

query I rowsort label-4640
SELECT pk FROM tab1 WHERE NOT ((col3 >= 96))
----
4

statement ok
DELETE FROM tab2 WHERE (col3 >= 96)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 96)
----

query I rowsort label-4640
SELECT pk FROM tab2 WHERE NOT ((col3 >= 96))
----
4

statement ok
DELETE FROM tab3 WHERE (col3 >= 96)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 96)
----

query I rowsort label-4640
SELECT pk FROM tab3 WHERE NOT ((col3 >= 96))
----
4

statement ok
DELETE FROM tab4 WHERE (col3 >= 96)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 96)
----

query I rowsort label-4640
SELECT pk FROM tab4 WHERE NOT ((col3 >= 96))
----
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-4655
SELECT pk FROM tab0 WHERE NOT (col3 = 14)
----
4

statement ok
DELETE FROM tab1 WHERE col3 = 14

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 14
----

query I rowsort label-4655
SELECT pk FROM tab1 WHERE NOT (col3 = 14)
----
4

statement ok
DELETE FROM tab2 WHERE col3 = 14

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 14
----

query I rowsort label-4655
SELECT pk FROM tab2 WHERE NOT (col3 = 14)
----
4

statement ok
DELETE FROM tab3 WHERE col3 = 14

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 14
----

query I rowsort label-4655
SELECT pk FROM tab3 WHERE NOT (col3 = 14)
----
4

statement ok
DELETE FROM tab4 WHERE col3 = 14

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 14
----

query I rowsort label-4655
SELECT pk FROM tab4 WHERE NOT (col3 = 14)
----
4

statement ok
DELETE FROM tab0 WHERE col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5
----

query I rowsort label-4670
SELECT pk FROM tab0 WHERE NOT (col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5)
----

statement ok
DELETE FROM tab1 WHERE col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5
----

query I rowsort label-4670
SELECT pk FROM tab1 WHERE NOT (col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5)
----

statement ok
DELETE FROM tab2 WHERE col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5
----

query I rowsort label-4670
SELECT pk FROM tab2 WHERE NOT (col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5)
----

statement ok
DELETE FROM tab3 WHERE col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5
----

query I rowsort label-4670
SELECT pk FROM tab3 WHERE NOT (col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5)
----

statement ok
DELETE FROM tab4 WHERE col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5
----

query I rowsort label-4670
SELECT pk FROM tab4 WHERE NOT (col4 <= 54.76 OR col0 > 7 AND (col0 = 22 AND (col0 >= 80 OR col1 < 16.11) AND (col4 <= 31.1 AND ((col3 BETWEEN 27 AND 40 AND (col4 > 36.79) AND (col4 = 90.16))) OR col3 = 92 OR col4 > 64.67) OR col1 <= 84.37 AND ((col3 > 13 AND col3 <= 61)) OR col0 > 83) AND col0 >= 5)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,51,49.37,'cygrw',10,84.57,'bmzzl')

statement ok
INSERT INTO tab0 VALUES(1,41,87.77,'ardbi',41,62.12,'sspxq')

statement ok
INSERT INTO tab0 VALUES(2,91,17.78,'mclig',9,13.41,'uekdn')

statement ok
INSERT INTO tab0 VALUES(3,63,28.37,'qurdk',44,25.50,'egmrt')

statement ok
INSERT INTO tab0 VALUES(4,9,45.49,'qaiam',73,99.98,'bcsbg')

statement ok
INSERT INTO tab0 VALUES(5,81,88.17,'lvnuw',27,16.10,'urjlz')

statement ok
INSERT INTO tab0 VALUES(6,45,38.63,'kesid',59,97.87,'jzvxl')

statement ok
INSERT INTO tab0 VALUES(7,94,97.45,'vceav',53,67.22,'abgjh')

statement ok
INSERT INTO tab0 VALUES(8,57,53.68,'prqsa',39,17.7,'ygyub')

statement ok
INSERT INTO tab0 VALUES(9,15,41.95,'wmauv',3,63.53,'ydgkt')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3 DESC,col4)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1,col0)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab3_3 ON tab3 (col3 DESC,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col4 DESC,col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 >= 66) OR col1 > 72.34

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 66) OR col1 > 72.34
----

query I rowsort label-4685
SELECT pk FROM tab0 WHERE NOT ((col0 >= 66) OR col1 > 72.34)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab1 WHERE (col0 >= 66) OR col1 > 72.34

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 66) OR col1 > 72.34
----

query I rowsort label-4685
SELECT pk FROM tab1 WHERE NOT ((col0 >= 66) OR col1 > 72.34)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab2 WHERE (col0 >= 66) OR col1 > 72.34

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 66) OR col1 > 72.34
----

query I rowsort label-4685
SELECT pk FROM tab2 WHERE NOT ((col0 >= 66) OR col1 > 72.34)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab3 WHERE (col0 >= 66) OR col1 > 72.34

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 66) OR col1 > 72.34
----

query I rowsort label-4685
SELECT pk FROM tab3 WHERE NOT ((col0 >= 66) OR col1 > 72.34)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab4 WHERE (col0 >= 66) OR col1 > 72.34

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 66) OR col1 > 72.34
----

query I rowsort label-4685
SELECT pk FROM tab4 WHERE NOT ((col0 >= 66) OR col1 > 72.34)
----
0
3
4
6
8
9

statement ok
DELETE FROM tab0 WHERE (((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59)))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59)))
----

query I rowsort label-4700
SELECT pk FROM tab0 WHERE NOT ((((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59))))
----

statement ok
DELETE FROM tab1 WHERE (((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59)))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59)))
----

query I rowsort label-4700
SELECT pk FROM tab1 WHERE NOT ((((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59))))
----

statement ok
DELETE FROM tab2 WHERE (((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59)))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59)))
----

query I rowsort label-4700
SELECT pk FROM tab2 WHERE NOT ((((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59))))
----

statement ok
DELETE FROM tab3 WHERE (((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59)))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59)))
----

query I rowsort label-4700
SELECT pk FROM tab3 WHERE NOT ((((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59))))
----

statement ok
DELETE FROM tab4 WHERE (((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59)))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59)))
----

query I rowsort label-4700
SELECT pk FROM tab4 WHERE NOT ((((col4 < 33.30 OR (col3 BETWEEN 20 AND 52) OR ((col3 > 12 OR col1 <= 83.48) OR col4 BETWEEN 12.33 AND 64.40) OR col0 >= 59))))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,66,65.40,'mnxzc',79,36.81,'aygrw')

statement ok
INSERT INTO tab0 VALUES(1,98,58.30,'tnosw',30,1.92,'xydoy')

statement ok
INSERT INTO tab0 VALUES(2,32,53.31,'qjewc',37,37.28,'isqiu')

statement ok
INSERT INTO tab0 VALUES(3,44,30.96,'weyem',76,14.67,'hrbjd')

statement ok
INSERT INTO tab0 VALUES(4,91,17.32,'lwmfd',65,84.49,'vqmxz')

statement ok
INSERT INTO tab0 VALUES(5,29,52.13,'lklkk',75,40.86,'xyhei')

statement ok
INSERT INTO tab0 VALUES(6,20,49.92,'pxcjj',40,79.74,'xtvqv')

statement ok
INSERT INTO tab0 VALUES(7,51,55.13,'uravn',73,66.9,'fwzxg')

statement ok
INSERT INTO tab0 VALUES(8,39,18.26,'wlqwm',77,97.97,'ycxah')

statement ok
INSERT INTO tab0 VALUES(9,48,47.95,'dixaj',56,59.65,'phnmc')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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 INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_2 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 > 99)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 > 99)
----

query I rowsort label-4715
SELECT pk FROM tab0 WHERE NOT ((col0 > 99))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 > 99)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 > 99)
----

query I rowsort label-4715
SELECT pk FROM tab1 WHERE NOT ((col0 > 99))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 > 99)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 > 99)
----

query I rowsort label-4715
SELECT pk FROM tab2 WHERE NOT ((col0 > 99))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 > 99)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 > 99)
----

query I rowsort label-4715
SELECT pk FROM tab3 WHERE NOT ((col0 > 99))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 > 99)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 > 99)
----

query I rowsort label-4715
SELECT pk FROM tab4 WHERE NOT ((col0 > 99))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col1 > 44.89 AND col1 < 97.69)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 44.89 AND col1 < 97.69)
----

query I rowsort label-4730
SELECT pk FROM tab0 WHERE NOT ((col1 > 44.89 AND col1 < 97.69))
----
3
4
8

statement ok
DELETE FROM tab1 WHERE (col1 > 44.89 AND col1 < 97.69)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 44.89 AND col1 < 97.69)
----

query I rowsort label-4730
SELECT pk FROM tab1 WHERE NOT ((col1 > 44.89 AND col1 < 97.69))
----
3
4
8

statement ok
DELETE FROM tab2 WHERE (col1 > 44.89 AND col1 < 97.69)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 44.89 AND col1 < 97.69)
----

query I rowsort label-4730
SELECT pk FROM tab2 WHERE NOT ((col1 > 44.89 AND col1 < 97.69))
----
3
4
8

statement ok
DELETE FROM tab3 WHERE (col1 > 44.89 AND col1 < 97.69)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 44.89 AND col1 < 97.69)
----

query I rowsort label-4730
SELECT pk FROM tab3 WHERE NOT ((col1 > 44.89 AND col1 < 97.69))
----
3
4
8

statement ok
DELETE FROM tab4 WHERE (col1 > 44.89 AND col1 < 97.69)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 44.89 AND col1 < 97.69)
----

query I rowsort label-4730
SELECT pk FROM tab4 WHERE NOT ((col1 > 44.89 AND col1 < 97.69))
----
3
4
8

statement ok
DELETE FROM tab0 WHERE col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53
----

query I rowsort label-4745
SELECT pk FROM tab0 WHERE NOT (col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53)
----
3
4
8

statement ok
DELETE FROM tab1 WHERE col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53
----

query I rowsort label-4745
SELECT pk FROM tab1 WHERE NOT (col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53)
----
3
4
8

statement ok
DELETE FROM tab2 WHERE col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53
----

query I rowsort label-4745
SELECT pk FROM tab2 WHERE NOT (col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53)
----
3
4
8

statement ok
DELETE FROM tab3 WHERE col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53
----

query I rowsort label-4745
SELECT pk FROM tab3 WHERE NOT (col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53)
----
3
4
8

statement ok
DELETE FROM tab4 WHERE col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53
----

query I rowsort label-4745
SELECT pk FROM tab4 WHERE NOT (col3 > 86 OR col4 > 43.10 AND col3 IN (6,48,63,15,66) OR ((((col0 BETWEEN 61 AND 97 OR (col0 BETWEEN 79 AND 67) OR (col4 = 8.5) OR col3 < 65 OR col4 = 19.26 OR (((col0 < 56)))))) OR (col1 < 5.80) AND (col4 < 91.16) AND col3 >= 91 OR col3 < 84) AND ((col3 = 17) AND (col1 = 16.20)) AND col3 > 79 OR col3 = 49 AND col1 >= 83.53)
----
3
4
8

statement ok
DELETE FROM tab0 WHERE (((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83))
----

query I rowsort label-4760
SELECT pk FROM tab0 WHERE NOT ((((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83)))
----

statement ok
DELETE FROM tab1 WHERE (((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83))
----

query I rowsort label-4760
SELECT pk FROM tab1 WHERE NOT ((((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83)))
----

statement ok
DELETE FROM tab2 WHERE (((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83))
----

query I rowsort label-4760
SELECT pk FROM tab2 WHERE NOT ((((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83)))
----

statement ok
DELETE FROM tab3 WHERE (((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83))
----

query I rowsort label-4760
SELECT pk FROM tab3 WHERE NOT ((((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83)))
----

statement ok
DELETE FROM tab4 WHERE (((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83))
----

query I rowsort label-4760
SELECT pk FROM tab4 WHERE NOT ((((col3 IN (19,94,67,52) OR (col3 < 98) AND col1 <= 86.14 AND col0 IS NULL) OR col3 > 14)) OR col3 >= 66 OR col0 > 79 OR (((col3 < 44 OR (col3 = 76 OR (col0 >= 59)) AND ((col0 > 29) OR col0 < 63) AND (col0 < 92) AND col1 < 62.23) OR (col3 > 79)) AND col3 < 81 AND col3 = 3 AND col0 <= 70 OR (col3 > 83)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,91,50.36,'fawtk',16,60.54,'ioouv')

statement ok
INSERT INTO tab0 VALUES(1,56,18.5,'fbpnx',42,38.30,'gnjrt')

statement ok
INSERT INTO tab0 VALUES(2,3,4.67,'nbpev',5,49.22,'tcqat')

statement ok
INSERT INTO tab0 VALUES(3,57,45.98,'gfyyn',71,3.94,'dqtts')

statement ok
INSERT INTO tab0 VALUES(4,1,86.58,'tircx',25,42.7,'xsoab')

statement ok
INSERT INTO tab0 VALUES(5,2,36.7,'pblee',88,9.22,'miqic')

statement ok
INSERT INTO tab0 VALUES(6,13,37.15,'xzabh',26,8.20,'syfow')

statement ok
INSERT INTO tab0 VALUES(7,92,19.74,'hschs',63,66.9,'rpnfr')

statement ok
INSERT INTO tab0 VALUES(8,8,71.11,'cauva',98,98.39,'dcrmu')

statement ok
INSERT INTO tab0 VALUES(9,64,98.3,'kchpm',11,64.13,'gfejx')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC,col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab3_5 ON tab3 (col0)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col0,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22))))
----

query I rowsort label-4775
SELECT pk FROM tab0 WHERE NOT ((((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22))))
----

query I rowsort label-4775
SELECT pk FROM tab1 WHERE NOT ((((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22))))
----

query I rowsort label-4775
SELECT pk FROM tab2 WHERE NOT ((((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22))))
----

query I rowsort label-4775
SELECT pk FROM tab3 WHERE NOT ((((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22))))
----

query I rowsort label-4775
SELECT pk FROM tab4 WHERE NOT ((((col3 = 92) AND ((col3 > 93 AND col0 BETWEEN 27 AND 83 OR col3 < 78 AND col3 <= 64 OR col0 >= 99 OR col3 >= 68 AND (col0 <= 28) AND col0 < 6 OR (col0 < 57) AND col0 >= 42) OR col3 < 27 OR col1 > 34.26 OR (col0 > 33 OR col0 = 9) AND (col0 IN (6) AND col1 < 37.87) AND col3 < 31 AND (col3 = 22)))))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 < 3.66

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 < 3.66
----

query I rowsort label-4790
SELECT pk FROM tab0 WHERE NOT (col4 < 3.66)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col4 < 3.66

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 < 3.66
----

query I rowsort label-4790
SELECT pk FROM tab1 WHERE NOT (col4 < 3.66)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col4 < 3.66

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 < 3.66
----

query I rowsort label-4790
SELECT pk FROM tab2 WHERE NOT (col4 < 3.66)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col4 < 3.66

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 < 3.66
----

query I rowsort label-4790
SELECT pk FROM tab3 WHERE NOT (col4 < 3.66)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col4 < 3.66

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 < 3.66
----

query I rowsort label-4790
SELECT pk FROM tab4 WHERE NOT (col4 < 3.66)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 >= 56) AND (col3 <= 94)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 56) AND (col3 <= 94)
----

query I rowsort label-4805
SELECT pk FROM tab0 WHERE NOT ((col0 >= 56) AND (col3 <= 94))
----
2
4
5
6
8

statement ok
DELETE FROM tab1 WHERE (col0 >= 56) AND (col3 <= 94)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 56) AND (col3 <= 94)
----

query I rowsort label-4805
SELECT pk FROM tab1 WHERE NOT ((col0 >= 56) AND (col3 <= 94))
----
2
4
5
6
8

statement ok
DELETE FROM tab2 WHERE (col0 >= 56) AND (col3 <= 94)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 56) AND (col3 <= 94)
----

query I rowsort label-4805
SELECT pk FROM tab2 WHERE NOT ((col0 >= 56) AND (col3 <= 94))
----
2
4
5
6
8

statement ok
DELETE FROM tab3 WHERE (col0 >= 56) AND (col3 <= 94)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 56) AND (col3 <= 94)
----

query I rowsort label-4805
SELECT pk FROM tab3 WHERE NOT ((col0 >= 56) AND (col3 <= 94))
----
2
4
5
6
8

statement ok
DELETE FROM tab4 WHERE (col0 >= 56) AND (col3 <= 94)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 56) AND (col3 <= 94)
----

query I rowsort label-4805
SELECT pk FROM tab4 WHERE NOT ((col0 >= 56) AND (col3 <= 94))
----
2
4
5
6
8

statement ok
DELETE FROM tab0 WHERE col3 <= 11

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 11
----

query I rowsort label-4820
SELECT pk FROM tab0 WHERE NOT (col3 <= 11)
----
4
5
6
8

statement ok
DELETE FROM tab1 WHERE col3 <= 11

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 11
----

query I rowsort label-4820
SELECT pk FROM tab1 WHERE NOT (col3 <= 11)
----
4
5
6
8

statement ok
DELETE FROM tab2 WHERE col3 <= 11

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 11
----

query I rowsort label-4820
SELECT pk FROM tab2 WHERE NOT (col3 <= 11)
----
4
5
6
8

statement ok
DELETE FROM tab3 WHERE col3 <= 11

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 11
----

query I rowsort label-4820
SELECT pk FROM tab3 WHERE NOT (col3 <= 11)
----
4
5
6
8

statement ok
DELETE FROM tab4 WHERE col3 <= 11

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 11
----

query I rowsort label-4820
SELECT pk FROM tab4 WHERE NOT (col3 <= 11)
----
4
5
6
8

statement ok
DELETE FROM tab0 WHERE col1 < 8.91

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 8.91
----

query I rowsort label-4835
SELECT pk FROM tab0 WHERE NOT (col1 < 8.91)
----
4
5
6
8

statement ok
DELETE FROM tab1 WHERE col1 < 8.91

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 8.91
----

query I rowsort label-4835
SELECT pk FROM tab1 WHERE NOT (col1 < 8.91)
----
4
5
6
8

statement ok
DELETE FROM tab2 WHERE col1 < 8.91

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 8.91
----

query I rowsort label-4835
SELECT pk FROM tab2 WHERE NOT (col1 < 8.91)
----
4
5
6
8

statement ok
DELETE FROM tab3 WHERE col1 < 8.91

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 8.91
----

query I rowsort label-4835
SELECT pk FROM tab3 WHERE NOT (col1 < 8.91)
----
4
5
6
8

statement ok
DELETE FROM tab4 WHERE col1 < 8.91

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 8.91
----

query I rowsort label-4835
SELECT pk FROM tab4 WHERE NOT (col1 < 8.91)
----
4
5
6
8

statement ok
DELETE FROM tab0 WHERE col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99
----

query I rowsort label-4850
SELECT pk FROM tab0 WHERE NOT (col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99)
----
4
5
6
8

statement ok
DELETE FROM tab1 WHERE col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99
----

query I rowsort label-4850
SELECT pk FROM tab1 WHERE NOT (col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99)
----
4
5
6
8

statement ok
DELETE FROM tab2 WHERE col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99
----

query I rowsort label-4850
SELECT pk FROM tab2 WHERE NOT (col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99)
----
4
5
6
8

statement ok
DELETE FROM tab3 WHERE col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99
----

query I rowsort label-4850
SELECT pk FROM tab3 WHERE NOT (col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99)
----
4
5
6
8

statement ok
DELETE FROM tab4 WHERE col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99
----

query I rowsort label-4850
SELECT pk FROM tab4 WHERE NOT (col1 IN (6.13,23.46,88.45,73.26) AND col1 > 71.99)
----
4
5
6
8

statement ok
DELETE FROM tab0 WHERE col3 < 85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 85
----

query I rowsort label-4865
SELECT pk FROM tab0 WHERE NOT (col3 < 85)
----
5
8

statement ok
DELETE FROM tab1 WHERE col3 < 85

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 85
----

query I rowsort label-4865
SELECT pk FROM tab1 WHERE NOT (col3 < 85)
----
5
8

statement ok
DELETE FROM tab2 WHERE col3 < 85

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 85
----

query I rowsort label-4865
SELECT pk FROM tab2 WHERE NOT (col3 < 85)
----
5
8

statement ok
DELETE FROM tab3 WHERE col3 < 85

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 85
----

query I rowsort label-4865
SELECT pk FROM tab3 WHERE NOT (col3 < 85)
----
5
8

statement ok
DELETE FROM tab4 WHERE col3 < 85

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 85
----

query I rowsort label-4865
SELECT pk FROM tab4 WHERE NOT (col3 < 85)
----
5
8

statement ok
DELETE FROM tab0 WHERE ((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42)
----

query I rowsort label-4880
SELECT pk FROM tab0 WHERE NOT (((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42))
----

statement ok
DELETE FROM tab1 WHERE ((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42)
----

query I rowsort label-4880
SELECT pk FROM tab1 WHERE NOT (((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42))
----

statement ok
DELETE FROM tab2 WHERE ((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42)
----

query I rowsort label-4880
SELECT pk FROM tab2 WHERE NOT (((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42))
----

statement ok
DELETE FROM tab3 WHERE ((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42)
----

query I rowsort label-4880
SELECT pk FROM tab3 WHERE NOT (((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42))
----

statement ok
DELETE FROM tab4 WHERE ((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42)
----

query I rowsort label-4880
SELECT pk FROM tab4 WHERE NOT (((col3 > 67 OR (col3 >= 25))) OR (((col0 < 93 OR (col4 < 33.9)))) OR col0 > 24 AND (col3 > 40) OR ((col1 > 70.19) OR col0 > 42))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,0,64.38,'mtzrb',99,81.52,'rirdg')

statement ok
INSERT INTO tab0 VALUES(1,12,24.98,'ikaba',16,22.12,'pukmj')

statement ok
INSERT INTO tab0 VALUES(2,85,21.42,'kqvyh',23,96.17,'jrlrp')

statement ok
INSERT INTO tab0 VALUES(3,3,18.32,'gtgzy',27,95.42,'djiwf')

statement ok
INSERT INTO tab0 VALUES(4,88,65.71,'dnloq',55,56.33,'worki')

statement ok
INSERT INTO tab0 VALUES(5,62,11.64,'jzeou',17,70.69,'rwdgs')

statement ok
INSERT INTO tab0 VALUES(6,10,19.79,'gwvuq',60,97.24,'sqpwc')

statement ok
INSERT INTO tab0 VALUES(7,41,72.13,'jinwl',47,75.31,'khiog')

statement ok
INSERT INTO tab0 VALUES(8,53,95.49,'opjqn',3,40.43,'odykd')

statement ok
INSERT INTO tab0 VALUES(9,95,59.26,'dmjwk',89,29.95,'oasox')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col0 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1 DESC,col4)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3 DESC,col0 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col4,col0)

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 (col3 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE ((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51))
----

query I rowsort label-4895
SELECT pk FROM tab0 WHERE NOT (((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51)))
----

statement ok
DELETE FROM tab1 WHERE ((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51))
----

query I rowsort label-4895
SELECT pk FROM tab1 WHERE NOT (((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51)))
----

statement ok
DELETE FROM tab2 WHERE ((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51))
----

query I rowsort label-4895
SELECT pk FROM tab2 WHERE NOT (((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51)))
----

statement ok
DELETE FROM tab3 WHERE ((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51))
----

query I rowsort label-4895
SELECT pk FROM tab3 WHERE NOT (((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51)))
----

statement ok
DELETE FROM tab4 WHERE ((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51))
----

query I rowsort label-4895
SELECT pk FROM tab4 WHERE NOT (((col1 > 82.75 AND col0 <= 73 OR col4 > 13.0) OR (col0 IS NULL OR col0 > 11) OR (col1 = 0.32 OR ((col3 < 42)) AND (col0 <= 76) OR col4 <= 68.51)))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,59,46.52,'yvulr',15,31.44,'jzyis')

statement ok
INSERT INTO tab0 VALUES(1,77,62.26,'ygsrq',75,7.17,'iydbz')

statement ok
INSERT INTO tab0 VALUES(2,80,20.44,'dfhod',37,51.5,'uceus')

statement ok
INSERT INTO tab0 VALUES(3,5,18.60,'fhkmf',14,42.24,'rpgwr')

statement ok
INSERT INTO tab0 VALUES(4,30,43.72,'tqkln',38,2.63,'swnsj')

statement ok
INSERT INTO tab0 VALUES(5,32,80.74,'hmcak',21,8.43,'qmgpd')

statement ok
INSERT INTO tab0 VALUES(6,49,26.28,'ixzsd',20,3.80,'kkaae')

statement ok
INSERT INTO tab0 VALUES(7,47,3.22,'sjjuy',99,17.49,'eyoos')

statement ok
INSERT INTO tab0 VALUES(8,78,69.33,'mjjtd',89,68.46,'nffke')

statement ok
INSERT INTO tab0 VALUES(9,43,34.90,'fbfch',53,81.47,'lvvxi')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1 DESC,col4,col3 DESC,col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4,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 (col3 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col0 DESC)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 IN (22) OR col3 < 41)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IN (22) OR col3 < 41)
----

query I rowsort label-4910
SELECT pk FROM tab0 WHERE NOT ((col0 IN (22) OR col3 < 41))
----
1
7
8
9

statement ok
DELETE FROM tab1 WHERE (col0 IN (22) OR col3 < 41)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IN (22) OR col3 < 41)
----

query I rowsort label-4910
SELECT pk FROM tab1 WHERE NOT ((col0 IN (22) OR col3 < 41))
----
1
7
8
9

statement ok
DELETE FROM tab2 WHERE (col0 IN (22) OR col3 < 41)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IN (22) OR col3 < 41)
----

query I rowsort label-4910
SELECT pk FROM tab2 WHERE NOT ((col0 IN (22) OR col3 < 41))
----
1
7
8
9

statement ok
DELETE FROM tab3 WHERE (col0 IN (22) OR col3 < 41)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IN (22) OR col3 < 41)
----

query I rowsort label-4910
SELECT pk FROM tab3 WHERE NOT ((col0 IN (22) OR col3 < 41))
----
1
7
8
9

statement ok
DELETE FROM tab4 WHERE (col0 IN (22) OR col3 < 41)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IN (22) OR col3 < 41)
----

query I rowsort label-4910
SELECT pk FROM tab4 WHERE NOT ((col0 IN (22) OR col3 < 41))
----
1
7
8
9

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,67,18.71,'onebk',12,33.10,'ymxgo')

statement ok
INSERT INTO tab0 VALUES(1,94,29.34,'noqrb',50,26.6,'ysiub')

statement ok
INSERT INTO tab0 VALUES(2,86,44.41,'edhax',27,61.52,'oyfud')

statement ok
INSERT INTO tab0 VALUES(3,78,25.1,'cunni',98,36.59,'mqpvo')

statement ok
INSERT INTO tab0 VALUES(4,88,83.88,'zqgyg',86,51.27,'okmev')

statement ok
INSERT INTO tab0 VALUES(5,81,87.97,'xxyia',39,24.13,'zxcqv')

statement ok
INSERT INTO tab0 VALUES(6,33,77.11,'gmxkv',99,96.90,'lkccl')

statement ok
INSERT INTO tab0 VALUES(7,91,78.61,'bvgjp',60,50.12,'hfjef')

statement ok
INSERT INTO tab0 VALUES(8,36,9.88,'xfbif',32,23.76,'mpmtx')

statement ok
INSERT INTO tab0 VALUES(9,48,0.9,'hpqdq',3,15.81,'ydqsh')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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_3 ON tab2 (col1 DESC,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_5 ON tab2 (col3 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_3 ON tab3 (col1)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3,col0 DESC,col1,col4 DESC)

statement ok
CREATE INDEX idx_tab4_1 ON tab4 (col1,col3,col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE 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,49.26,'fttew',10,21.63,'pgtdk')

statement ok
INSERT INTO tab0 VALUES(1,41,69.23,'tkqql',62,42.87,'progh')

statement ok
INSERT INTO tab0 VALUES(2,45,12.75,'lojyt',51,44.38,'gkrji')

statement ok
INSERT INTO tab0 VALUES(3,5,82.9,'gblnz',25,43.11,'nageu')

statement ok
INSERT INTO tab0 VALUES(4,24,22.36,'rdffp',71,22.85,'udmzc')

statement ok
INSERT INTO tab0 VALUES(5,6,78.62,'ipjuv',34,5.42,'inhwh')

statement ok
INSERT INTO tab0 VALUES(6,64,58.97,'putti',26,4.79,'bzyuo')

statement ok
INSERT INTO tab0 VALUES(7,38,0.75,'hyvqw',43,94.17,'dvuwb')

statement ok
INSERT INTO tab0 VALUES(8,4,29.59,'idiav',68,67.16,'oushl')

statement ok
INSERT INTO tab0 VALUES(9,86,21.59,'flyua',96,1.86,'tcuom')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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 INDEX idx_tab2_1 ON tab2 (col1,col4,col3)

statement ok
CREATE INDEX idx_tab2_2 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 (col3,col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col4)

statement ok
CREATE UNIQUE INDEX idx_tab3_4 ON tab3 (col0 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_5 ON tab3 (col1 DESC,col3)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col4 DESC,col1)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col1,col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6
----

query I rowsort label-4925
SELECT pk FROM tab0 WHERE NOT ((col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6
----

query I rowsort label-4925
SELECT pk FROM tab1 WHERE NOT ((col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6
----

query I rowsort label-4925
SELECT pk FROM tab2 WHERE NOT ((col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6
----

query I rowsort label-4925
SELECT pk FROM tab3 WHERE NOT ((col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6
----

query I rowsort label-4925
SELECT pk FROM tab4 WHERE NOT ((col1 > 41.79 AND col0 > 5 AND (col3 IS NULL)) AND col1 >= 97.97 OR col0 = 31 AND col4 > 18.6 AND col3 > 6)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37)
----

query I rowsort label-4940
SELECT pk FROM tab0 WHERE NOT (((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE ((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37)
----

query I rowsort label-4940
SELECT pk FROM tab1 WHERE NOT (((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE ((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37)
----

query I rowsort label-4940
SELECT pk FROM tab2 WHERE NOT (((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE ((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37)
----

query I rowsort label-4940
SELECT pk FROM tab3 WHERE NOT (((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE ((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37)
----

query I rowsort label-4940
SELECT pk FROM tab4 WHERE NOT (((col1 IN (46.54,67.7,41.9,8.11,57.31)) AND (col4 = 40.40 OR ((col3 IS NULL)) OR col0 <= 95 AND ((col3 IN (35,53,16,81,82,60))))) AND ((col1 >= 52.55) OR col3 >= 19 AND col3 >= 37))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE (col0 >= 17)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 >= 17)
----

query I rowsort label-4955
SELECT pk FROM tab0 WHERE NOT ((col0 >= 17))
----
3
5
8

statement ok
DELETE FROM tab1 WHERE (col0 >= 17)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 >= 17)
----

query I rowsort label-4955
SELECT pk FROM tab1 WHERE NOT ((col0 >= 17))
----
3
5
8

statement ok
DELETE FROM tab2 WHERE (col0 >= 17)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 >= 17)
----

query I rowsort label-4955
SELECT pk FROM tab2 WHERE NOT ((col0 >= 17))
----
3
5
8

statement ok
DELETE FROM tab3 WHERE (col0 >= 17)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 >= 17)
----

query I rowsort label-4955
SELECT pk FROM tab3 WHERE NOT ((col0 >= 17))
----
3
5
8

statement ok
DELETE FROM tab4 WHERE (col0 >= 17)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 >= 17)
----

query I rowsort label-4955
SELECT pk FROM tab4 WHERE NOT ((col0 >= 17))
----
3
5
8

statement ok
DELETE FROM tab0 WHERE col4 = 89.21

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 = 89.21
----

query I rowsort label-4970
SELECT pk FROM tab0 WHERE NOT (col4 = 89.21)
----
3
5
8

statement ok
DELETE FROM tab1 WHERE col4 = 89.21

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 = 89.21
----

query I rowsort label-4970
SELECT pk FROM tab1 WHERE NOT (col4 = 89.21)
----
3
5
8

statement ok
DELETE FROM tab2 WHERE col4 = 89.21

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 = 89.21
----

query I rowsort label-4970
SELECT pk FROM tab2 WHERE NOT (col4 = 89.21)
----
3
5
8

statement ok
DELETE FROM tab3 WHERE col4 = 89.21

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 = 89.21
----

query I rowsort label-4970
SELECT pk FROM tab3 WHERE NOT (col4 = 89.21)
----
3
5
8

statement ok
DELETE FROM tab4 WHERE col4 = 89.21

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 = 89.21
----

query I rowsort label-4970
SELECT pk FROM tab4 WHERE NOT (col4 = 89.21)
----
3
5
8

statement ok
DELETE FROM tab0 WHERE col3 <= 93

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 93
----

query I rowsort label-4985
SELECT pk FROM tab0 WHERE NOT (col3 <= 93)
----

statement ok
DELETE FROM tab1 WHERE col3 <= 93

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 93
----

query I rowsort label-4985
SELECT pk FROM tab1 WHERE NOT (col3 <= 93)
----

statement ok
DELETE FROM tab2 WHERE col3 <= 93

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 93
----

query I rowsort label-4985
SELECT pk FROM tab2 WHERE NOT (col3 <= 93)
----

statement ok
DELETE FROM tab3 WHERE col3 <= 93

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 93
----

query I rowsort label-4985
SELECT pk FROM tab3 WHERE NOT (col3 <= 93)
----

statement ok
DELETE FROM tab4 WHERE col3 <= 93

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 93
----

query I rowsort label-4985
SELECT pk FROM tab4 WHERE NOT (col3 <= 93)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,46,56.43,'bvkei',25,98.36,'xtetp')

statement ok
INSERT INTO tab0 VALUES(1,15,25.85,'wpjtr',99,58.22,'exolv')

statement ok
INSERT INTO tab0 VALUES(2,88,93.60,'iwuvp',26,93.28,'xfzjx')

statement ok
INSERT INTO tab0 VALUES(3,54,90.66,'vvngh',42,95.75,'sqacf')

statement ok
INSERT INTO tab0 VALUES(4,76,32.44,'imdqr',14,72.27,'alkus')

statement ok
INSERT INTO tab0 VALUES(5,0,85.89,'jrpkh',46,11.11,'fhqqx')

statement ok
INSERT INTO tab0 VALUES(6,68,26.62,'igaxw',95,43.27,'qmjsd')

statement ok
INSERT INTO tab0 VALUES(7,32,5.4,'hdypw',86,4.60,'zxjhk')

statement ok
INSERT INTO tab0 VALUES(8,62,7.47,'nokce',16,96.91,'djyyx')

statement ok
INSERT INTO tab0 VALUES(9,67,17.28,'hcdir',77,51.15,'nnooq')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_1 ON tab2 (col0 DESC,col1 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1,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 UNIQUE INDEX idx_tab3_0 ON tab3 (col4)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1 DESC,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_1 ON tab4 (col1)

statement ok
CREATE INDEX idx_tab4_3 ON tab4 (col0 DESC,col3 DESC)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4 DESC,col3)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col3 DESC,col0)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col0 IN (95))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 IN (95))
----

query I rowsort label-5000
SELECT pk FROM tab0 WHERE NOT ((col0 IN (95)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE (col0 IN (95))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 IN (95))
----

query I rowsort label-5000
SELECT pk FROM tab1 WHERE NOT ((col0 IN (95)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE (col0 IN (95))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 IN (95))
----

query I rowsort label-5000
SELECT pk FROM tab2 WHERE NOT ((col0 IN (95)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE (col0 IN (95))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 IN (95))
----

query I rowsort label-5000
SELECT pk FROM tab3 WHERE NOT ((col0 IN (95)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE (col0 IN (95))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 IN (95))
----

query I rowsort label-5000
SELECT pk FROM tab4 WHERE NOT ((col0 IN (95)))
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50
----

query I rowsort label-5015
SELECT pk FROM tab0 WHERE NOT (col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50)
----
5
7

statement ok
DELETE FROM tab1 WHERE col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50
----

query I rowsort label-5015
SELECT pk FROM tab1 WHERE NOT (col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50)
----
5
7

statement ok
DELETE FROM tab2 WHERE col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50
----

query I rowsort label-5015
SELECT pk FROM tab2 WHERE NOT (col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50)
----
5
7

statement ok
DELETE FROM tab3 WHERE col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50
----

query I rowsort label-5015
SELECT pk FROM tab3 WHERE NOT (col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50)
----
5
7

statement ok
DELETE FROM tab4 WHERE col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50
----

query I rowsort label-5015
SELECT pk FROM tab4 WHERE NOT (col4 >= 23.16 OR (((((col4 < 87.68 AND ((col3 >= 69)))) AND col0 < 93)) OR col0 IS NULL) AND (col4 <= 60.50) AND col1 < 46.2 AND col0 BETWEEN 77 AND 50)
----
5
7

statement ok
DELETE FROM tab0 WHERE col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74
----

query I rowsort label-5030
SELECT pk FROM tab0 WHERE NOT (col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74)
----
5
7

statement ok
DELETE FROM tab1 WHERE col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74
----

query I rowsort label-5030
SELECT pk FROM tab1 WHERE NOT (col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74)
----
5
7

statement ok
DELETE FROM tab2 WHERE col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74
----

query I rowsort label-5030
SELECT pk FROM tab2 WHERE NOT (col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74)
----
5
7

statement ok
DELETE FROM tab3 WHERE col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74
----

query I rowsort label-5030
SELECT pk FROM tab3 WHERE NOT (col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74)
----
5
7

statement ok
DELETE FROM tab4 WHERE col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74
----

query I rowsort label-5030
SELECT pk FROM tab4 WHERE NOT (col0 < 97 AND col3 > 56 AND (col4 <= 0.12) AND col4 > 9.74)
----
5
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,49,4.75,'yrxfx',61,12.60,'xvseh')

statement ok
INSERT INTO tab0 VALUES(1,34,50.21,'gzuih',77,57.56,'prhmn')

statement ok
INSERT INTO tab0 VALUES(2,98,83.97,'ozrpi',14,58.86,'sfdmo')

statement ok
INSERT INTO tab0 VALUES(3,74,39.65,'rnaut',89,1.68,'lajbx')

statement ok
INSERT INTO tab0 VALUES(4,80,8.37,'wpqwa',34,31.46,'bfmdf')

statement ok
INSERT INTO tab0 VALUES(5,78,43.34,'edtnh',59,62.57,'dfkbi')

statement ok
INSERT INTO tab0 VALUES(6,40,72.47,'onbsn',11,90.89,'ratks')

statement ok
INSERT INTO tab0 VALUES(7,6,12.4,'ugapt',40,6.49,'dfupg')

statement ok
INSERT INTO tab0 VALUES(8,51,81.29,'unutc',60,8.20,'skrno')

statement ok
INSERT INTO tab0 VALUES(9,44,11.6,'uaney',13,14.27,'hvmbb')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE 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 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_4 ON tab3 (col0 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col1,col0 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_2 ON tab4 (col3,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col3 DESC,col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_5 ON tab4 (col4 DESC,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,21,86.65,'ivhym',71,7.35,'nhxsl')

statement ok
INSERT INTO tab0 VALUES(1,43,61.34,'shwul',79,69.41,'eaplc')

statement ok
INSERT INTO tab0 VALUES(2,64,45.21,'viwzo',93,76.80,'imfrw')

statement ok
INSERT INTO tab0 VALUES(3,63,62.53,'tcgiy',69,18.84,'wdome')

statement ok
INSERT INTO tab0 VALUES(4,18,44.33,'gfbfs',47,51.89,'queul')

statement ok
INSERT INTO tab0 VALUES(5,65,49.98,'frokg',1,8.1,'kmjfk')

statement ok
INSERT INTO tab0 VALUES(6,66,65.85,'kikkd',15,12.52,'btlle')

statement ok
INSERT INTO tab0 VALUES(7,58,28.90,'unsjo',34,88.69,'sqqdk')

statement ok
INSERT INTO tab0 VALUES(8,37,30.36,'rqgmd',35,78.34,'vymii')

statement ok
INSERT INTO tab0 VALUES(9,2,37.29,'tapvg',80,48.46,'ietey')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col0)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col3 DESC,col4 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col1)

statement ok
CREATE INDEX idx_tab2_4 ON tab2 (col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col0,col1)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col1,col3)

statement ok
CREATE UNIQUE INDEX idx_tab3_2 ON tab3 (col4)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab4_0 ON tab4 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 > 46 AND col0 = 64 OR col1 = 6.3)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 46 AND col0 = 64 OR col1 = 6.3)
----

query I rowsort label-5045
SELECT pk FROM tab0 WHERE NOT ((col3 > 46 AND col0 = 64 OR col1 = 6.3))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab1 WHERE (col3 > 46 AND col0 = 64 OR col1 = 6.3)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 46 AND col0 = 64 OR col1 = 6.3)
----

query I rowsort label-5045
SELECT pk FROM tab1 WHERE NOT ((col3 > 46 AND col0 = 64 OR col1 = 6.3))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab2 WHERE (col3 > 46 AND col0 = 64 OR col1 = 6.3)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 46 AND col0 = 64 OR col1 = 6.3)
----

query I rowsort label-5045
SELECT pk FROM tab2 WHERE NOT ((col3 > 46 AND col0 = 64 OR col1 = 6.3))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab3 WHERE (col3 > 46 AND col0 = 64 OR col1 = 6.3)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 46 AND col0 = 64 OR col1 = 6.3)
----

query I rowsort label-5045
SELECT pk FROM tab3 WHERE NOT ((col3 > 46 AND col0 = 64 OR col1 = 6.3))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab4 WHERE (col3 > 46 AND col0 = 64 OR col1 = 6.3)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 46 AND col0 = 64 OR col1 = 6.3)
----

query I rowsort label-5045
SELECT pk FROM tab4 WHERE NOT ((col3 > 46 AND col0 = 64 OR col1 = 6.3))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab0 WHERE col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74)
----

query I rowsort label-5060
SELECT pk FROM tab0 WHERE NOT (col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab1 WHERE col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74)
----

query I rowsort label-5060
SELECT pk FROM tab1 WHERE NOT (col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab2 WHERE col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74)
----

query I rowsort label-5060
SELECT pk FROM tab2 WHERE NOT (col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab3 WHERE col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74)
----

query I rowsort label-5060
SELECT pk FROM tab3 WHERE NOT (col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab4 WHERE col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74)
----

query I rowsort label-5060
SELECT pk FROM tab4 WHERE NOT (col1 > 13.2 AND col3 = 63 AND col0 = 66 AND (((col1 IN (87.30,39.58,58.87,81.69,86.14,88.20) AND col3 >= 13)) AND col4 = 21.74))
----
9 values hashing to 502f27eec143c19418cc601be1d35451

statement ok
DELETE FROM tab0 WHERE col3 <= 45

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 <= 45
----

query I rowsort label-5075
SELECT pk FROM tab0 WHERE NOT (col3 <= 45)
----
0
1
3
4
9

statement ok
DELETE FROM tab1 WHERE col3 <= 45

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 <= 45
----

query I rowsort label-5075
SELECT pk FROM tab1 WHERE NOT (col3 <= 45)
----
0
1
3
4
9

statement ok
DELETE FROM tab2 WHERE col3 <= 45

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 <= 45
----

query I rowsort label-5075
SELECT pk FROM tab2 WHERE NOT (col3 <= 45)
----
0
1
3
4
9

statement ok
DELETE FROM tab3 WHERE col3 <= 45

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 <= 45
----

query I rowsort label-5075
SELECT pk FROM tab3 WHERE NOT (col3 <= 45)
----
0
1
3
4
9

statement ok
DELETE FROM tab4 WHERE col3 <= 45

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 <= 45
----

query I rowsort label-5075
SELECT pk FROM tab4 WHERE NOT (col3 <= 45)
----
0
1
3
4
9

statement ok
DELETE FROM tab0 WHERE col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13))
----

query I rowsort label-5090
SELECT pk FROM tab0 WHERE NOT (col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13)))
----

statement ok
DELETE FROM tab1 WHERE col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13))
----

query I rowsort label-5090
SELECT pk FROM tab1 WHERE NOT (col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13)))
----

statement ok
DELETE FROM tab2 WHERE col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13))
----

query I rowsort label-5090
SELECT pk FROM tab2 WHERE NOT (col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13)))
----

statement ok
DELETE FROM tab3 WHERE col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13))
----

query I rowsort label-5090
SELECT pk FROM tab3 WHERE NOT (col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13)))
----

statement ok
DELETE FROM tab4 WHERE col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 13))
----

query I rowsort label-5090
SELECT pk FROM tab4 WHERE NOT (col1 <= 90.11 OR (col1 >= 71.89 OR (col3 >= 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,29,16.26,'anjnr',92,2.32,'ehwhj')

statement ok
INSERT INTO tab0 VALUES(1,30,99.60,'dsbpp',12,50.29,'ygiwn')

statement ok
INSERT INTO tab0 VALUES(2,97,92.90,'drzyn',69,51.42,'obroz')

statement ok
INSERT INTO tab0 VALUES(3,32,46.5,'btdkc',73,20.58,'hqzvr')

statement ok
INSERT INTO tab0 VALUES(4,83,63.39,'shmch',41,61.11,'uorko')

statement ok
INSERT INTO tab0 VALUES(5,64,58.83,'dvmkd',10,21.1,'xazml')

statement ok
INSERT INTO tab0 VALUES(6,60,26.97,'hduia',45,55.4,'dfqtk')

statement ok
INSERT INTO tab0 VALUES(7,47,0.26,'qkwks',56,88.83,'idlqr')

statement ok
INSERT INTO tab0 VALUES(8,96,12.6,'wjqvr',6,78.4,'izbgy')

statement ok
INSERT INTO tab0 VALUES(9,92,62.84,'jjztw',30,81.44,'ocjth')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab2_0 ON tab2 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col0,col1)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col4,col0,col3)

statement ok
CREATE UNIQUE INDEX idx_tab2_3 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col1 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col0,col1)

statement ok
CREATE 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

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col1 > 89.84 AND (col1 > 30.42)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 > 89.84 AND (col1 > 30.42)
----

query I rowsort label-5105
SELECT pk FROM tab0 WHERE NOT (col1 > 89.84 AND (col1 > 30.42))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col1 > 89.84 AND (col1 > 30.42)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 > 89.84 AND (col1 > 30.42)
----

query I rowsort label-5105
SELECT pk FROM tab1 WHERE NOT (col1 > 89.84 AND (col1 > 30.42))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col1 > 89.84 AND (col1 > 30.42)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 > 89.84 AND (col1 > 30.42)
----

query I rowsort label-5105
SELECT pk FROM tab2 WHERE NOT (col1 > 89.84 AND (col1 > 30.42))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col1 > 89.84 AND (col1 > 30.42)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 > 89.84 AND (col1 > 30.42)
----

query I rowsort label-5105
SELECT pk FROM tab3 WHERE NOT (col1 > 89.84 AND (col1 > 30.42))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col1 > 89.84 AND (col1 > 30.42)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 > 89.84 AND (col1 > 30.42)
----

query I rowsort label-5105
SELECT pk FROM tab4 WHERE NOT (col1 > 89.84 AND (col1 > 30.42))
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83
----

query I rowsort label-5120
SELECT pk FROM tab0 WHERE NOT (col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83)
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab1 WHERE col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83
----

query I rowsort label-5120
SELECT pk FROM tab1 WHERE NOT (col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83)
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab2 WHERE col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83
----

query I rowsort label-5120
SELECT pk FROM tab2 WHERE NOT (col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83)
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab3 WHERE col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83
----

query I rowsort label-5120
SELECT pk FROM tab3 WHERE NOT (col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83)
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab4 WHERE col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83
----

query I rowsort label-5120
SELECT pk FROM tab4 WHERE NOT (col1 < 25.77 AND col0 < 59 AND col1 BETWEEN 77.71 AND 6.83)
----
0
3
4
5
6
7
8
9

statement ok
DELETE FROM tab0 WHERE ((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23)))))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23)))))
----

query I rowsort label-5135
SELECT pk FROM tab0 WHERE NOT (((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23))))))
----
7
8

statement ok
DELETE FROM tab1 WHERE ((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23)))))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23)))))
----

query I rowsort label-5135
SELECT pk FROM tab1 WHERE NOT (((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23))))))
----
7
8

statement ok
DELETE FROM tab2 WHERE ((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23)))))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23)))))
----

query I rowsort label-5135
SELECT pk FROM tab2 WHERE NOT (((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23))))))
----
7
8

statement ok
DELETE FROM tab3 WHERE ((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23)))))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23)))))
----

query I rowsort label-5135
SELECT pk FROM tab3 WHERE NOT (((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23))))))
----
7
8

statement ok
DELETE FROM tab4 WHERE ((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23)))))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23)))))
----

query I rowsort label-5135
SELECT pk FROM tab4 WHERE NOT (((col1 IN (30.27,89.67)) OR col1 > 14.9 AND col1 >= 9.32 OR ((col3 >= 81) AND (col1 < 80.9) AND (((col0 > 38 AND col0 > 23))))))
----
7
8

statement ok
DELETE FROM tab0 WHERE col3 < 18

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 18
----

query I rowsort label-5150
SELECT pk FROM tab0 WHERE NOT (col3 < 18)
----
7

statement ok
DELETE FROM tab1 WHERE col3 < 18

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 18
----

query I rowsort label-5150
SELECT pk FROM tab1 WHERE NOT (col3 < 18)
----
7

statement ok
DELETE FROM tab2 WHERE col3 < 18

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 18
----

query I rowsort label-5150
SELECT pk FROM tab2 WHERE NOT (col3 < 18)
----
7

statement ok
DELETE FROM tab3 WHERE col3 < 18

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 18
----

query I rowsort label-5150
SELECT pk FROM tab3 WHERE NOT (col3 < 18)
----
7

statement ok
DELETE FROM tab4 WHERE col3 < 18

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 18
----

query I rowsort label-5150
SELECT pk FROM tab4 WHERE NOT (col3 < 18)
----
7

statement ok
DELETE FROM tab0 WHERE (col4 < 24.91) OR col4 < 11.58

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col4 < 24.91) OR col4 < 11.58
----

query I rowsort label-5165
SELECT pk FROM tab0 WHERE NOT ((col4 < 24.91) OR col4 < 11.58)
----
7

statement ok
DELETE FROM tab1 WHERE (col4 < 24.91) OR col4 < 11.58

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col4 < 24.91) OR col4 < 11.58
----

query I rowsort label-5165
SELECT pk FROM tab1 WHERE NOT ((col4 < 24.91) OR col4 < 11.58)
----
7

statement ok
DELETE FROM tab2 WHERE (col4 < 24.91) OR col4 < 11.58

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col4 < 24.91) OR col4 < 11.58
----

query I rowsort label-5165
SELECT pk FROM tab2 WHERE NOT ((col4 < 24.91) OR col4 < 11.58)
----
7

statement ok
DELETE FROM tab3 WHERE (col4 < 24.91) OR col4 < 11.58

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col4 < 24.91) OR col4 < 11.58
----

query I rowsort label-5165
SELECT pk FROM tab3 WHERE NOT ((col4 < 24.91) OR col4 < 11.58)
----
7

statement ok
DELETE FROM tab4 WHERE (col4 < 24.91) OR col4 < 11.58

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col4 < 24.91) OR col4 < 11.58
----

query I rowsort label-5165
SELECT pk FROM tab4 WHERE NOT ((col4 < 24.91) OR col4 < 11.58)
----
7

statement ok
DELETE FROM tab0 WHERE col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59)
----

query I rowsort label-5180
SELECT pk FROM tab0 WHERE NOT (col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59))
----

statement ok
DELETE FROM tab1 WHERE col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59)
----

query I rowsort label-5180
SELECT pk FROM tab1 WHERE NOT (col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59))
----

statement ok
DELETE FROM tab2 WHERE col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59)
----

query I rowsort label-5180
SELECT pk FROM tab2 WHERE NOT (col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59))
----

statement ok
DELETE FROM tab3 WHERE col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59)
----

query I rowsort label-5180
SELECT pk FROM tab3 WHERE NOT (col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59))
----

statement ok
DELETE FROM tab4 WHERE col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59)
----

query I rowsort label-5180
SELECT pk FROM tab4 WHERE NOT (col0 IS NULL AND col1 < 82.43 AND (col0 <= 82) AND col3 <= 61 AND ((col3 >= 27)) AND col1 >= 7.65 AND ((col3 >= 51)) OR col0 IS NULL OR (col0 < 59))
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,98,33.6,'wdciq',27,46.24,'bbuvb')

statement ok
INSERT INTO tab0 VALUES(1,56,47.24,'cnamq',56,99.89,'ehifk')

statement ok
INSERT INTO tab0 VALUES(2,18,15.28,'sjlbr',76,89.58,'fyzcy')

statement ok
INSERT INTO tab0 VALUES(3,42,2.3,'xdufu',46,83.7,'pbwpo')

statement ok
INSERT INTO tab0 VALUES(4,1,32.57,'yxvwd',69,12.21,'jjjny')

statement ok
INSERT INTO tab0 VALUES(5,45,96.94,'mxvpe',55,82.60,'kfqcs')

statement ok
INSERT INTO tab0 VALUES(6,62,69.68,'mcodu',88,90.16,'rzgni')

statement ok
INSERT INTO tab0 VALUES(7,44,19.51,'nyqcm',81,30.79,'auuqm')

statement ok
INSERT INTO tab0 VALUES(8,46,23.91,'tzmlk',45,13.98,'seonb')

statement ok
INSERT INTO tab0 VALUES(9,47,77.79,'djngl',48,73.44,'gpbck')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE 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)

statement ok
CREATE UNIQUE INDEX idx_tab2_1 ON tab2 (col3)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col0 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab3_1 ON tab3 (col1,col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_1 ON tab4 (col4,col3 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col4,col1)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE (col3 > 38 AND (col3 > 23)) OR col1 <= 55.98

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 > 38 AND (col3 > 23)) OR col1 <= 55.98
----

query I rowsort label-5195
SELECT pk FROM tab0 WHERE NOT ((col3 > 38 AND (col3 > 23)) OR col1 <= 55.98)
----

statement ok
DELETE FROM tab1 WHERE (col3 > 38 AND (col3 > 23)) OR col1 <= 55.98

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 > 38 AND (col3 > 23)) OR col1 <= 55.98
----

query I rowsort label-5195
SELECT pk FROM tab1 WHERE NOT ((col3 > 38 AND (col3 > 23)) OR col1 <= 55.98)
----

statement ok
DELETE FROM tab2 WHERE (col3 > 38 AND (col3 > 23)) OR col1 <= 55.98

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 > 38 AND (col3 > 23)) OR col1 <= 55.98
----

query I rowsort label-5195
SELECT pk FROM tab2 WHERE NOT ((col3 > 38 AND (col3 > 23)) OR col1 <= 55.98)
----

statement ok
DELETE FROM tab3 WHERE (col3 > 38 AND (col3 > 23)) OR col1 <= 55.98

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 > 38 AND (col3 > 23)) OR col1 <= 55.98
----

query I rowsort label-5195
SELECT pk FROM tab3 WHERE NOT ((col3 > 38 AND (col3 > 23)) OR col1 <= 55.98)
----

statement ok
DELETE FROM tab4 WHERE (col3 > 38 AND (col3 > 23)) OR col1 <= 55.98

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 > 38 AND (col3 > 23)) OR col1 <= 55.98
----

query I rowsort label-5195
SELECT pk FROM tab4 WHERE NOT ((col3 > 38 AND (col3 > 23)) OR col1 <= 55.98)
----

statement ok
DROP TABLE tab0

statement ok
CREATE TABLE tab0(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
INSERT INTO tab0 VALUES(0,85,98.28,'bvaen',58,19.87,'msode')

statement ok
INSERT INTO tab0 VALUES(1,86,6.64,'kujno',74,5.41,'ynzmh')

statement ok
INSERT INTO tab0 VALUES(2,20,97.55,'qdjaw',22,73.65,'kotmf')

statement ok
INSERT INTO tab0 VALUES(3,99,78.47,'zakxy',23,6.84,'uabrg')

statement ok
INSERT INTO tab0 VALUES(4,64,64.84,'virai',56,97.0,'rebcm')

statement ok
INSERT INTO tab0 VALUES(5,56,79.68,'tkdnv',34,57.55,'mztwt')

statement ok
INSERT INTO tab0 VALUES(6,69,73.23,'rmzjr',55,30.97,'jsitw')

statement ok
INSERT INTO tab0 VALUES(7,21,37.59,'alkbm',69,7.38,'smewq')

statement ok
INSERT INTO tab0 VALUES(8,13,11.31,'tlzgp',41,27.19,'xbbgc')

statement ok
INSERT INTO tab0 VALUES(9,88,0.6,'mksga',14,12.70,'rienp')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE tab2(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab2_0 ON tab2 (col4 DESC)

statement ok
CREATE INDEX idx_tab2_2 ON tab2 (col1)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab3_0 ON tab3 (col1 DESC)

statement ok
CREATE INDEX idx_tab3_1 ON tab3 (col3 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col1 DESC)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col4 DESC,col0)

statement ok
CREATE INDEX idx_tab4_4 ON tab4 (col3 DESC,col4 DESC)

statement ok
CREATE INDEX idx_tab4_5 ON tab4 (col0,col3 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 = 67

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 67
----

query I rowsort label-5210
SELECT pk FROM tab0 WHERE NOT (col0 = 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab1 WHERE col0 = 67

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 67
----

query I rowsort label-5210
SELECT pk FROM tab1 WHERE NOT (col0 = 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab2 WHERE col0 = 67

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 67
----

query I rowsort label-5210
SELECT pk FROM tab2 WHERE NOT (col0 = 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab3 WHERE col0 = 67

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 67
----

query I rowsort label-5210
SELECT pk FROM tab3 WHERE NOT (col0 = 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab4 WHERE col0 = 67

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 67
----

query I rowsort label-5210
SELECT pk FROM tab4 WHERE NOT (col0 = 67)
----
10 values hashing to e20b902b49a98b1a05ed62804c757f94

statement ok
DELETE FROM tab0 WHERE ((col4 >= 34.85 AND col3 <= 58))

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col4 >= 34.85 AND col3 <= 58))
----

query I rowsort label-5225
SELECT pk FROM tab0 WHERE NOT (((col4 >= 34.85 AND col3 <= 58)))
----
0
1
3
6
7
8
9

statement ok
DELETE FROM tab1 WHERE ((col4 >= 34.85 AND col3 <= 58))

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col4 >= 34.85 AND col3 <= 58))
----

query I rowsort label-5225
SELECT pk FROM tab1 WHERE NOT (((col4 >= 34.85 AND col3 <= 58)))
----
0
1
3
6
7
8
9

statement ok
DELETE FROM tab2 WHERE ((col4 >= 34.85 AND col3 <= 58))

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col4 >= 34.85 AND col3 <= 58))
----

query I rowsort label-5225
SELECT pk FROM tab2 WHERE NOT (((col4 >= 34.85 AND col3 <= 58)))
----
0
1
3
6
7
8
9

statement ok
DELETE FROM tab3 WHERE ((col4 >= 34.85 AND col3 <= 58))

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col4 >= 34.85 AND col3 <= 58))
----

query I rowsort label-5225
SELECT pk FROM tab3 WHERE NOT (((col4 >= 34.85 AND col3 <= 58)))
----
0
1
3
6
7
8
9

statement ok
DELETE FROM tab4 WHERE ((col4 >= 34.85 AND col3 <= 58))

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col4 >= 34.85 AND col3 <= 58))
----

query I rowsort label-5225
SELECT pk FROM tab4 WHERE NOT (((col4 >= 34.85 AND col3 <= 58)))
----
0
1
3
6
7
8
9

statement ok
DELETE FROM tab0 WHERE (col3 >= 69)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col3 >= 69)
----

query I rowsort label-5240
SELECT pk FROM tab0 WHERE NOT ((col3 >= 69))
----
0
3
6
8
9

statement ok
DELETE FROM tab1 WHERE (col3 >= 69)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col3 >= 69)
----

query I rowsort label-5240
SELECT pk FROM tab1 WHERE NOT ((col3 >= 69))
----
0
3
6
8
9

statement ok
DELETE FROM tab2 WHERE (col3 >= 69)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col3 >= 69)
----

query I rowsort label-5240
SELECT pk FROM tab2 WHERE NOT ((col3 >= 69))
----
0
3
6
8
9

statement ok
DELETE FROM tab3 WHERE (col3 >= 69)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col3 >= 69)
----

query I rowsort label-5240
SELECT pk FROM tab3 WHERE NOT ((col3 >= 69))
----
0
3
6
8
9

statement ok
DELETE FROM tab4 WHERE (col3 >= 69)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col3 >= 69)
----

query I rowsort label-5240
SELECT pk FROM tab4 WHERE NOT ((col3 >= 69))
----
0
3
6
8
9

statement ok
DELETE FROM tab0 WHERE col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77
----

query I rowsort label-5255
SELECT pk FROM tab0 WHERE NOT (col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77)
----

statement ok
DELETE FROM tab1 WHERE col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77
----

query I rowsort label-5255
SELECT pk FROM tab1 WHERE NOT (col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77)
----

statement ok
DELETE FROM tab2 WHERE col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77
----

query I rowsort label-5255
SELECT pk FROM tab2 WHERE NOT (col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77)
----

statement ok
DELETE FROM tab3 WHERE col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77
----

query I rowsort label-5255
SELECT pk FROM tab3 WHERE NOT (col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77)
----

statement ok
DELETE FROM tab4 WHERE col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND col0 < 77
----

query I rowsort label-5255
SELECT pk FROM tab4 WHERE NOT (col3 < 70 OR col4 IS NULL OR (col3 IS NULL) AND 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,58,11.56,'awdtj',61,72.81,'bvgrv')

statement ok
INSERT INTO tab0 VALUES(1,59,9.72,'psqbp',89,95.43,'bltfq')

statement ok
INSERT INTO tab0 VALUES(2,41,10.1,'tmypx',30,23.99,'hmxrv')

statement ok
INSERT INTO tab0 VALUES(3,28,93.40,'iegma',65,67.63,'eldoe')

statement ok
INSERT INTO tab0 VALUES(4,86,12.72,'rpzqv',76,37.43,'fkkak')

statement ok
INSERT INTO tab0 VALUES(5,39,50.82,'ytfoq',54,8.55,'uapeo')

statement ok
INSERT INTO tab0 VALUES(6,77,90.70,'zwjxe',17,82.33,'ovjav')

statement ok
INSERT INTO tab0 VALUES(7,71,70.59,'vlxfy',20,51.46,'idptz')

statement ok
INSERT INTO tab0 VALUES(8,87,49.14,'kmxfa',66,56.5,'mjese')

statement ok
INSERT INTO tab0 VALUES(9,95,69.47,'aoqzo',18,55.79,'tbmro')

statement ok
DROP TABLE tab1

statement ok
CREATE TABLE tab1(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab1_0 on tab1 (col0)

statement ok
CREATE INDEX idx_tab1_1 on tab1 (col1)

statement ok
CREATE INDEX idx_tab1_3 on tab1 (col3)

statement ok
CREATE INDEX idx_tab1_4 on tab1 (col4)

statement ok
INSERT INTO tab1 SELECT * FROM tab0

statement ok
DROP TABLE tab2

statement ok
CREATE TABLE 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,col4 DESC)

statement ok
INSERT INTO tab2 SELECT * FROM tab0

statement ok
DROP TABLE tab3

statement ok
CREATE TABLE tab3(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE INDEX idx_tab3_0 ON tab3 (col1,col4)

statement ok
CREATE INDEX idx_tab3_2 ON tab3 (col4 DESC)

statement ok
INSERT INTO tab3 SELECT * FROM tab0

statement ok
DROP TABLE tab4

statement ok
CREATE TABLE tab4(pk INTEGER PRIMARY KEY, col0 INTEGER, col1 FLOAT, col2 TEXT, col3 INTEGER, col4 FLOAT, col5 TEXT)

statement ok
CREATE UNIQUE INDEX idx_tab4_0 ON tab4 (col4 DESC,col0)

statement ok
CREATE UNIQUE INDEX idx_tab4_3 ON tab4 (col3 DESC,col1)

statement ok
CREATE UNIQUE INDEX idx_tab4_4 ON tab4 (col0 DESC)

statement ok
INSERT INTO tab4 SELECT * FROM tab0

query I rowsort label-empty
SELECT pk FROM tab0 WHERE pk IS NULL
----

statement ok
DELETE FROM tab0 WHERE col0 > 77

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 77
----

query I rowsort label-5270
SELECT pk FROM tab0 WHERE NOT (col0 > 77)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab1 WHERE col0 > 77

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 77
----

query I rowsort label-5270
SELECT pk FROM tab1 WHERE NOT (col0 > 77)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab2 WHERE col0 > 77

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 77
----

query I rowsort label-5270
SELECT pk FROM tab2 WHERE NOT (col0 > 77)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab3 WHERE col0 > 77

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 77
----

query I rowsort label-5270
SELECT pk FROM tab3 WHERE NOT (col0 > 77)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab4 WHERE col0 > 77

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 77
----

query I rowsort label-5270
SELECT pk FROM tab4 WHERE NOT (col0 > 77)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab0 WHERE col3 = 34

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 = 34
----

query I rowsort label-5285
SELECT pk FROM tab0 WHERE NOT (col3 = 34)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab1 WHERE col3 = 34

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 = 34
----

query I rowsort label-5285
SELECT pk FROM tab1 WHERE NOT (col3 = 34)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab2 WHERE col3 = 34

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 = 34
----

query I rowsort label-5285
SELECT pk FROM tab2 WHERE NOT (col3 = 34)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab3 WHERE col3 = 34

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 = 34
----

query I rowsort label-5285
SELECT pk FROM tab3 WHERE NOT (col3 = 34)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab4 WHERE col3 = 34

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 = 34
----

query I rowsort label-5285
SELECT pk FROM tab4 WHERE NOT (col3 = 34)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab0 WHERE (((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59
----

query I rowsort label-5300
SELECT pk FROM tab0 WHERE NOT ((((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab1 WHERE (((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59
----

query I rowsort label-5300
SELECT pk FROM tab1 WHERE NOT ((((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab2 WHERE (((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59
----

query I rowsort label-5300
SELECT pk FROM tab2 WHERE NOT ((((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab3 WHERE (((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59
----

query I rowsort label-5300
SELECT pk FROM tab3 WHERE NOT ((((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab4 WHERE (((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59
----

query I rowsort label-5300
SELECT pk FROM tab4 WHERE NOT ((((col1 = 76.37))) AND ((col0 < 52 OR col3 > 88 OR (col4 BETWEEN 70.3 AND 18.37) OR col0 = 70 AND (col3 < 85 AND col1 IS NULL AND col3 IS NULL AND col4 > 50.70) AND col0 < 75 AND col0 IN (9,21,77,57))) AND col1 > 72.59)
----
0
1
2
3
5
6
7

statement ok
DELETE FROM tab0 WHERE col4 >= 75.64

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 >= 75.64
----

query I rowsort label-5315
SELECT pk FROM tab0 WHERE NOT (col4 >= 75.64)
----
0
2
3
5
7

statement ok
DELETE FROM tab1 WHERE col4 >= 75.64

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 >= 75.64
----

query I rowsort label-5315
SELECT pk FROM tab1 WHERE NOT (col4 >= 75.64)
----
0
2
3
5
7

statement ok
DELETE FROM tab2 WHERE col4 >= 75.64

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 >= 75.64
----

query I rowsort label-5315
SELECT pk FROM tab2 WHERE NOT (col4 >= 75.64)
----
0
2
3
5
7

statement ok
DELETE FROM tab3 WHERE col4 >= 75.64

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 >= 75.64
----

query I rowsort label-5315
SELECT pk FROM tab3 WHERE NOT (col4 >= 75.64)
----
0
2
3
5
7

statement ok
DELETE FROM tab4 WHERE col4 >= 75.64

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 >= 75.64
----

query I rowsort label-5315
SELECT pk FROM tab4 WHERE NOT (col4 >= 75.64)
----
0
2
3
5
7

statement ok
DELETE FROM tab0 WHERE col1 >= 96.26

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 96.26
----

query I rowsort label-5330
SELECT pk FROM tab0 WHERE NOT (col1 >= 96.26)
----
0
2
3
5
7

statement ok
DELETE FROM tab1 WHERE col1 >= 96.26

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 96.26
----

query I rowsort label-5330
SELECT pk FROM tab1 WHERE NOT (col1 >= 96.26)
----
0
2
3
5
7

statement ok
DELETE FROM tab2 WHERE col1 >= 96.26

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 96.26
----

query I rowsort label-5330
SELECT pk FROM tab2 WHERE NOT (col1 >= 96.26)
----
0
2
3
5
7

statement ok
DELETE FROM tab3 WHERE col1 >= 96.26

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 96.26
----

query I rowsort label-5330
SELECT pk FROM tab3 WHERE NOT (col1 >= 96.26)
----
0
2
3
5
7

statement ok
DELETE FROM tab4 WHERE col1 >= 96.26

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 96.26
----

query I rowsort label-5330
SELECT pk FROM tab4 WHERE NOT (col1 >= 96.26)
----
0
2
3
5
7

statement ok
DELETE FROM tab0 WHERE (col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86
----

query I rowsort label-5345
SELECT pk FROM tab0 WHERE NOT ((col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86)
----
2
5
7

statement ok
DELETE FROM tab1 WHERE (col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86
----

query I rowsort label-5345
SELECT pk FROM tab1 WHERE NOT ((col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86)
----
2
5
7

statement ok
DELETE FROM tab2 WHERE (col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86
----

query I rowsort label-5345
SELECT pk FROM tab2 WHERE NOT ((col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86)
----
2
5
7

statement ok
DELETE FROM tab3 WHERE (col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86
----

query I rowsort label-5345
SELECT pk FROM tab3 WHERE NOT ((col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86)
----
2
5
7

statement ok
DELETE FROM tab4 WHERE (col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86
----

query I rowsort label-5345
SELECT pk FROM tab4 WHERE NOT ((col0 = 89) AND col4 >= 3.57 AND col1 >= 80.67 AND col0 > 5 OR col0 BETWEEN 44 AND 55 AND col3 < 83 AND (col0 > 89) AND (col0 < 17) AND col3 <= 10 AND col4 IS NULL AND col0 IS NULL AND col3 IS NULL OR col1 > 77.63 OR col4 > 67.86)
----
2
5
7

statement ok
DELETE FROM tab0 WHERE col1 >= 24.81

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col1 >= 24.81
----

query I rowsort label-5360
SELECT pk FROM tab0 WHERE NOT (col1 >= 24.81)
----
2

statement ok
DELETE FROM tab1 WHERE col1 >= 24.81

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col1 >= 24.81
----

query I rowsort label-5360
SELECT pk FROM tab1 WHERE NOT (col1 >= 24.81)
----
2

statement ok
DELETE FROM tab2 WHERE col1 >= 24.81

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col1 >= 24.81
----

query I rowsort label-5360
SELECT pk FROM tab2 WHERE NOT (col1 >= 24.81)
----
2

statement ok
DELETE FROM tab3 WHERE col1 >= 24.81

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col1 >= 24.81
----

query I rowsort label-5360
SELECT pk FROM tab3 WHERE NOT (col1 >= 24.81)
----
2

statement ok
DELETE FROM tab4 WHERE col1 >= 24.81

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col1 >= 24.81
----

query I rowsort label-5360
SELECT pk FROM tab4 WHERE NOT (col1 >= 24.81)
----
2

statement ok
DELETE FROM tab0 WHERE col3 > 85

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 > 85
----

query I rowsort label-5375
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-5375
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-5375
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-5375
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-5375
SELECT pk FROM tab4 WHERE NOT (col3 > 85)
----
2

statement ok
DELETE FROM tab0 WHERE (col1 <= 36.47 AND col1 = 68.40)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE (col1 <= 36.47 AND col1 = 68.40)
----

query I rowsort label-5390
SELECT pk FROM tab0 WHERE NOT ((col1 <= 36.47 AND col1 = 68.40))
----
2

statement ok
DELETE FROM tab1 WHERE (col1 <= 36.47 AND col1 = 68.40)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE (col1 <= 36.47 AND col1 = 68.40)
----

query I rowsort label-5390
SELECT pk FROM tab1 WHERE NOT ((col1 <= 36.47 AND col1 = 68.40))
----
2

statement ok
DELETE FROM tab2 WHERE (col1 <= 36.47 AND col1 = 68.40)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE (col1 <= 36.47 AND col1 = 68.40)
----

query I rowsort label-5390
SELECT pk FROM tab2 WHERE NOT ((col1 <= 36.47 AND col1 = 68.40))
----
2

statement ok
DELETE FROM tab3 WHERE (col1 <= 36.47 AND col1 = 68.40)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE (col1 <= 36.47 AND col1 = 68.40)
----

query I rowsort label-5390
SELECT pk FROM tab3 WHERE NOT ((col1 <= 36.47 AND col1 = 68.40))
----
2

statement ok
DELETE FROM tab4 WHERE (col1 <= 36.47 AND col1 = 68.40)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE (col1 <= 36.47 AND col1 = 68.40)
----

query I rowsort label-5390
SELECT pk FROM tab4 WHERE NOT ((col1 <= 36.47 AND col1 = 68.40))
----
2

statement ok
DELETE FROM tab0 WHERE col0 = 79

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 79
----

query I rowsort label-5405
SELECT pk FROM tab0 WHERE NOT (col0 = 79)
----
2

statement ok
DELETE FROM tab1 WHERE col0 = 79

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 79
----

query I rowsort label-5405
SELECT pk FROM tab1 WHERE NOT (col0 = 79)
----
2

statement ok
DELETE FROM tab2 WHERE col0 = 79

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 79
----

query I rowsort label-5405
SELECT pk FROM tab2 WHERE NOT (col0 = 79)
----
2

statement ok
DELETE FROM tab3 WHERE col0 = 79

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 79
----

query I rowsort label-5405
SELECT pk FROM tab3 WHERE NOT (col0 = 79)
----
2

statement ok
DELETE FROM tab4 WHERE col0 = 79

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 79
----

query I rowsort label-5405
SELECT pk FROM tab4 WHERE NOT (col0 = 79)
----
2

statement ok
DELETE FROM tab0 WHERE col0 = 83

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 = 83
----

query I rowsort label-5420
SELECT pk FROM tab0 WHERE NOT (col0 = 83)
----
2

statement ok
DELETE FROM tab1 WHERE col0 = 83

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 = 83
----

query I rowsort label-5420
SELECT pk FROM tab1 WHERE NOT (col0 = 83)
----
2

statement ok
DELETE FROM tab2 WHERE col0 = 83

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 = 83
----

query I rowsort label-5420
SELECT pk FROM tab2 WHERE NOT (col0 = 83)
----
2

statement ok
DELETE FROM tab3 WHERE col0 = 83

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 = 83
----

query I rowsort label-5420
SELECT pk FROM tab3 WHERE NOT (col0 = 83)
----
2

statement ok
DELETE FROM tab4 WHERE col0 = 83

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 = 83
----

query I rowsort label-5420
SELECT pk FROM tab4 WHERE NOT (col0 = 83)
----
2

statement ok
DELETE FROM tab0 WHERE col3 >= 82 OR col0 > 46

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col3 >= 82 OR col0 > 46
----

query I rowsort label-5435
SELECT pk FROM tab0 WHERE NOT (col3 >= 82 OR col0 > 46)
----
2

statement ok
DELETE FROM tab1 WHERE col3 >= 82 OR col0 > 46

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col3 >= 82 OR col0 > 46
----

query I rowsort label-5435
SELECT pk FROM tab1 WHERE NOT (col3 >= 82 OR col0 > 46)
----
2

statement ok
DELETE FROM tab2 WHERE col3 >= 82 OR col0 > 46

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col3 >= 82 OR col0 > 46
----

query I rowsort label-5435
SELECT pk FROM tab2 WHERE NOT (col3 >= 82 OR col0 > 46)
----
2

statement ok
DELETE FROM tab3 WHERE col3 >= 82 OR col0 > 46

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col3 >= 82 OR col0 > 46
----

query I rowsort label-5435
SELECT pk FROM tab3 WHERE NOT (col3 >= 82 OR col0 > 46)
----
2

statement ok
DELETE FROM tab4 WHERE col3 >= 82 OR col0 > 46

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col3 >= 82 OR col0 > 46
----

query I rowsort label-5435
SELECT pk FROM tab4 WHERE NOT (col3 >= 82 OR col0 > 46)
----
2

statement ok
DELETE FROM tab0 WHERE col4 > 37.19

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col4 > 37.19
----

query I rowsort label-5450
SELECT pk FROM tab0 WHERE NOT (col4 > 37.19)
----
2

statement ok
DELETE FROM tab1 WHERE col4 > 37.19

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col4 > 37.19
----

query I rowsort label-5450
SELECT pk FROM tab1 WHERE NOT (col4 > 37.19)
----
2

statement ok
DELETE FROM tab2 WHERE col4 > 37.19

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col4 > 37.19
----

query I rowsort label-5450
SELECT pk FROM tab2 WHERE NOT (col4 > 37.19)
----
2

statement ok
DELETE FROM tab3 WHERE col4 > 37.19

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col4 > 37.19
----

query I rowsort label-5450
SELECT pk FROM tab3 WHERE NOT (col4 > 37.19)
----
2

statement ok
DELETE FROM tab4 WHERE col4 > 37.19

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col4 > 37.19
----

query I rowsort label-5450
SELECT pk FROM tab4 WHERE NOT (col4 > 37.19)
----
2

statement ok
DELETE FROM tab0 WHERE col0 > 23 AND (col0 >= 94)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE col0 > 23 AND (col0 >= 94)
----

query I rowsort label-5465
SELECT pk FROM tab0 WHERE NOT (col0 > 23 AND (col0 >= 94))
----
2

statement ok
DELETE FROM tab1 WHERE col0 > 23 AND (col0 >= 94)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE col0 > 23 AND (col0 >= 94)
----

query I rowsort label-5465
SELECT pk FROM tab1 WHERE NOT (col0 > 23 AND (col0 >= 94))
----
2

statement ok
DELETE FROM tab2 WHERE col0 > 23 AND (col0 >= 94)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE col0 > 23 AND (col0 >= 94)
----

query I rowsort label-5465
SELECT pk FROM tab2 WHERE NOT (col0 > 23 AND (col0 >= 94))
----
2

statement ok
DELETE FROM tab3 WHERE col0 > 23 AND (col0 >= 94)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE col0 > 23 AND (col0 >= 94)
----

query I rowsort label-5465
SELECT pk FROM tab3 WHERE NOT (col0 > 23 AND (col0 >= 94))
----
2

statement ok
DELETE FROM tab4 WHERE col0 > 23 AND (col0 >= 94)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE col0 > 23 AND (col0 >= 94)
----

query I rowsort label-5465
SELECT pk FROM tab4 WHERE NOT (col0 > 23 AND (col0 >= 94))
----
2

statement ok
DELETE FROM tab0 WHERE ((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60)

query I rowsort label-empty
SELECT pk FROM tab0 WHERE ((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60)
----

query I rowsort label-5480
SELECT pk FROM tab0 WHERE NOT (((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60))
----
2

statement ok
DELETE FROM tab1 WHERE ((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60)

query I rowsort label-empty
SELECT pk FROM tab1 WHERE ((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60)
----

query I rowsort label-5480
SELECT pk FROM tab1 WHERE NOT (((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60))
----
2

statement ok
DELETE FROM tab2 WHERE ((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60)

query I rowsort label-empty
SELECT pk FROM tab2 WHERE ((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60)
----

query I rowsort label-5480
SELECT pk FROM tab2 WHERE NOT (((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60))
----
2

statement ok
DELETE FROM tab3 WHERE ((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60)

query I rowsort label-empty
SELECT pk FROM tab3 WHERE ((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60)
----

query I rowsort label-5480
SELECT pk FROM tab3 WHERE NOT (((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60))
----
2

statement ok
DELETE FROM tab4 WHERE ((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60)

query I rowsort label-empty
SELECT pk FROM tab4 WHERE ((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60)
----

query I rowsort label-5480
SELECT pk FROM tab4 WHERE NOT (((col3 >= 80) OR (col0 < 94) AND col4 >= 97.60))
----
2

