Tredence Interview Question

Explain joins in sql with example