select subq_1.c13 as c0, subq_1.c14 as c1, ref_10.column2 as c2, ref_15.column101 as c3 from (select ref_1.column4 as c0, ref_0.column1 as c1, ref_0.column1 as c2, (select ATTR_NAME from performance_schema.session_connect_attrs limit 1 offset 4) as c3, ref_0.column33 as c4, ref_1.column1 as c5, ref_2.column1 as c6, ref_1.column1 as c7, ref_0.column108 as c8, ref_0.column89 as c9, ref_1.column3 as c10, ref_1.column2 as c11, ref_2.column1 as c12, ref_1.column4 as c13, ref_0.column108 as c14 from mytest.test2 as ref_0 inner join mytest.test11 as ref_1 on (ref_1.column1 is NULL) inner join mytest.test79 as ref_2 on (((true) and ((((ref_0.column63 is not NULL) and ((false) and (EXISTS ( select ref_1.column3 as c0, ref_1.column1 as c1, (select count_write from sys.x$io_global_by_file_by_bytes limit 1 offset 5) as c2, ref_1.column4 as c3, (select tableid from ndbinfo.server_operations limit 1 offset 5) as c4, (select column1 from mytest.test89 limit 1 offset 52) as c5, ref_1.column2 as c6, ref_2.column3 as c7, ref_1.column1 as c8, ref_0.column44 as c9 from mytest.test95 as ref_3 where true limit 140)))) and (((true) and (EXISTS ( select ref_0.column70 as c0 from mytest.test70 as ref_4, lateral (select ref_2.column3 as c0, (select column5 from mytest.test24 limit 1 offset 4) as c1 from mytest.test29 as ref_5 where ((true) or (false)) or (ref_1.column1 is not NULL) limit 117) as subq_0 where true limit 51))) and ((true) and ((((true) or ((ref_1.column4 is NULL) or (false))) or ((ref_0.column1 is NULL) or (EXISTS ( select ref_2.column1 as c0 from mytest.test68 as ref_6 where true limit 98)))) and (ref_0.column63 is NULL))))) or ((ref_0.column33 is NULL) or (true)))) and (EXISTS ( select ref_2.column3 as c0, ref_2.column2 as c1, ref_7.column3 as c2, ref_1.column1 as c3 from mytest.test11 as ref_7 where (((true) or ((true) or ((((false) or (false)) or (EXISTS ( select ref_8.column5 as c0, 69 as c1, ref_1.column4 as c2, ref_1.column1 as c3, ref_1.column2 as c4 from mytest.test126 as ref_8 where ref_0.column89 is not NULL))) or (ref_1.column3 is NULL)))) and (false)) and (true)))) where true limit 35) as subq_1 left join mytest.test91 as ref_9 inner join mytest.test97 as ref_10 on (EXISTS ( select ref_11.column3 as c0, ref_10.column4 as c1, ref_10.column3 as c2 from mytest.test108 as ref_11 where (((true) or (ref_9.column10 is not NULL)) and ((false) and (ref_11.column1 is NULL))) or (EXISTS ( select ref_9.column5 as c0, ref_9.column4 as c1, ref_9.column5 as c2, ref_12.column5 as c3 from mytest.test113 as ref_12 where ((EXISTS ( select (select CPU_TIME from performance_schema.events_statements_history limit 1 offset 2) as c0, ref_10.column2 as c1, ref_10.column4 as c2, ref_11.column2 as c3, ref_12.column2 as c4 from mytest.test107 as ref_13 where false limit 78)) or (true)) or (((true) and (EXISTS ( select ref_10.column6 as c0, (select column6 from mytest.test60 limit 1 offset 79) as c1, ref_12.column7 as c2, ref_12.column6 as c3, ref_11.column3 as c4, ref_10.column7 as c5, ref_14.column6 as c6, ref_11.column3 as c7, ref_12.column7 as c8, ref_14.column2 as c9, ref_9.column6 as c10 from mytest.test18 as ref_14 where (ref_10.column6 is not NULL) or (true) limit 127))) and (false)) limit 45)) limit 93)) on (true) right join mytest.test100 as ref_15 on (ref_15.column103 is not NULL) where (true) or ((EXISTS ( select (select DOC_ID from information_schema.INNODB_FT_INDEX_CACHE limit 1 offset 4) as c0, ref_9.column1 as c1 from mytest.test90 as ref_16 where (EXISTS ( select ref_16.column2 as c0 from mytest.test86 as ref_17 where ref_15.column5 is NULL limit 54)) and ((ref_9.column4 is NULL) and ((ref_15.column23 is NULL) and ((true) and ((EXISTS ( select ref_15.column101 as c0, ref_9.column6 as c1, subq_1.c2 as c2, ref_10.column4 as c3, ref_15.column101 as c4, ref_18.column2 as c5, ref_9.column4 as c6, 44 as c7, (select ios from sys.user_summary_by_file_io limit 1 offset 81) as c8, ref_18.column4 as c9 from mytest.test49 as ref_18 where ((ref_18.column1 is NULL) and (false)) or ((ref_18.column5 is not NULL) or (true)) limit 101)) or ((false) or (false)))))) limit 43)) or (EXISTS ( select ref_9.column7 as c0, ref_19.column2 as c1, ref_10.column4 as c2, ref_9.column8 as c3, ref_9.column4 as c4, subq_1.c4 as c5, (select blocking_lock_type from sys.schema_table_lock_waits limit 1 offset 2) as c6, 44 as c7, 90 as c8 from mytest.test58 as ref_19, lateral (select subq_2.c0 as c0, ref_10.column5 as c1, (select io_read_requests from sys.schema_table_statistics_with_buffer limit 1 offset 2) as c2, ref_15.column5 as c3 from mytest.test41 as ref_20, lateral (select ref_9.column8 as c0, ref_21.column40 as c1, ref_9.column2 as c2 from mytest.test111 as ref_21 where false) as subq_2 where (select REPLICATION from performance_schema.log_status limit 1 offset 2) is NULL limit 49) as subq_3 where ref_9.column5 is not NULL)));