If you use Excel 40 hours a week (and those are the weeks you are on vacation), welcome to the MrExcel channel. Home to 2,400 ...
The SQL optimizer incorrectly alters the logic of a query that uses CTEs and nested JOIN operations. WITH `res` AS ( SELECT `t2`.`id`, CAST(IF(NOT `t3`.`id` IS NULL, 1, 0) AS BIGINT) AS `id_active`, ...