CREATE TABLE Lessons (lesson_id VARCHAR, staff_id VARCHAR)
CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR)

List lesson id of all lessons taught by staff with first name as Janessa, last name as Sawayn and nickname containing letter 's'.
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%"
SELECT "T1"."lesson_id" FROM "Lessons" AS "T1" JOIN "Staff" AS "T2" ON "Janessa" = "T2"."first_name" AND "Sawayn" = "T2"."last_name" AND "T1"."staff_id" = "T2"."staff_id" WHERE "nickname" LIKE "%s%"