Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE problem_log ( assigned_to_staff_id VARCHAR, problem_id VARCHAR )
TABLE: CREATE TABLE staff ( staff_id VARCHAR )

### Question ###
List the first and last names of all distinct staff members who are assigned to the problem whose id is 1.

### Accurate SQL ###

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