Fast Enterprises Interview Question

Explain inheritance. What are the joins in SQL?