#124

Oldest Cardiology Patient

A geriatric consultant needs the maximum age among patients in cardiology wards (those whose code starts with CARD) — to design a monitoring plan. Find that age in full years as of today.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

max_year
30

Your query result will appear here