People have commented that the results of the “correct” code are wonky because the
cool_down_time are actually TEXT fields from the schema table, not numeric fields. You can
CAST the data elements to integer for real results.
select id, max(cast(cook_time as integer), cast(cool_down_time as integer)) FROM baked_goods;