Johnson Controls Interview Question

Define OOPS. Define Inheritance SQL Queries involving JOINS