Synactive interview question

SQL(join two tables)