Question: Which staff have contacted which engineers? List the staff name and the engineer first name and last name.
Schema: create table engineer_visits (contact_staff_id varchar, engineer_id varchar, PRIMARY KEY (contact_staff_id)); create table staff (staff_name varchar, staff_id varchar, PRIMARY KEY (staff_name)); create table maintenance_engineers (first_name varchar, last_name varchar, engineer_id varchar, PRIMARY KEY (first_name))
SQL: select t1.staff_name, t3.first_name, t3.last_name from staff as t1 join engineer_visits as t2 on t1.staff_id = t2.contact_staff_id join maintenance_engineers as t3 on t2.engineer_id = t3.engineer_id