Database: customer_complaints
Question: Return the last name of the staff member who handled the complaint with the earliest date raised.
SQL:
SELECT t1.last_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id  =  t2.staff_id ORDER BY t2.date_complaint_raised LIMIT 1