Question: Return the name and gender of the staff who was assigned in 2016.
Schema: create table staff (staff_name varchar, staff_gender varchar, staff_id varchar, PRIMARY KEY (staff_name)); create table staff_department_assignments (staff_id varchar, date_assigned_from varchar, PRIMARY KEY (staff_id))
SQL: select t1.staff_name, t1.staff_gender from staff as t1 join staff_department_assignments as t2 on t1.staff_id = t2.staff_id where t2.date_assigned_from like "2016%"