CREATE TABLE problems (problem_id DECIMAL, product_id DECIMAL, closure_authorised_by_staff_id DECIMAL, reported_by_staff_id DECIMAL, date_problem_reported TIME, date_problem_closed TIME, problem_description TEXT, other_problem_details TEXT)
CREATE TABLE problem_log (problem_log_id DECIMAL, assigned_to_staff_id DECIMAL, problem_id DECIMAL, problem_category_code TEXT, problem_status_code TEXT, log_entry_date TIME, log_entry_description TEXT, log_entry_fix TEXT, other_log_details TEXT)
CREATE TABLE problem_status_codes (problem_status_code TEXT, problem_status_description TEXT)
CREATE TABLE staff (staff_id DECIMAL, staff_first_name TEXT, staff_last_name TEXT, other_staff_details TEXT)
CREATE TABLE product (product_id DECIMAL, product_name TEXT, product_details TEXT)
CREATE TABLE problem_category_codes (problem_category_code TEXT, problem_category_description TEXT)

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" AS "T1" JOIN "problem_log" AS "T2" ON "T1"."staff_id" = "T2"."assigned_to_staff_id" AND "T2"."problem_id" = 1