Fast Enterprises interview question

Mostly about SQL and Inheritance