Johnson Controls interview question

Define OOPS. Define Inheritance SQL Queries involving JOINS