Altea Healthcare Interview Question

live sql coding question was asked, without google lookups