Question: List lesson id of all lessons taught by staff with first name as Janessa, last name as Sawayn and nickname containing letter 's'.
Schema: create table lessons (lesson_id varchar, staff_id varchar, PRIMARY KEY (lesson_id)); create table staff (staff_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (staff_id))
SQL: select t1.lesson_id from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id where t2.first_name = "janessa" and t2.last_name = "sawayn" and nickname like "%s%"