CREATE TABLE problem_log (assigned_to_staff_id VARCHAR2, problem_id VARCHAR2)
CREATE TABLE staff (staff_id VARCHAR2)

List the first and last names of all distinct staff members who are assigned to the problem whose id is 1.
SELECT DISTINCT staff_first_name, staff_last_name FROM staff AS T1 JOIN problem_log AS T2 ON T1.staff_id = T2.assigned_to_staff_id WHERE T2.problem_id = 1
SELECT DISTINCT "staff_first_name", "staff_last_name" FROM "staff" "T1" JOIN "problem_log" "T2" ON "T1"."staff_id" = "T2"."assigned_to_staff_id" AND "T2"."problem_id" = 1