Oracle Interview Question

Concepts Abstraction, Encapsulation, Inheritance, Polymorphism. Write a sql query to join two tables. Software engineering principles