Array
(
    [0] => Array
        (
            [message] => MySQL Query Error
        )

    [1] => Array
        (
            [sql] => SELECT g.cat_id FROM ecs_recommend r
			LEFT JOIN ecs_goods g ON r.goods_id = g.goods_id
			WHERE '2024-12-22' >= r.promote_start_date AND '2024-12-22' <= r.promote_end_date AND cat_id > 0 GROUP BY cat_id
        )

    [2] => Array
        (
            [error] => Column 'cat_id' in where clause is ambiguous
        )

    [3] => Array
        (
            [errno] => 1052
        )

)