Tredence interview question

SQL, Tableau and one Logical question