Resmed Interview Question

What is polymorphism, and how does one optimize SQL queries?