Crazy Labs Interview Question

Basic OOP questions, SQL query, one coding exercise