Tredence interview question

Explain joins in sql with example