Database: driving_school
Question: How many lessons taken by customer with first name as Rylan and last name as Goodwin were completed?
SQL: select count(*) from lessons as t1 join customers as t2 on t1.customer_id  = t2.customer_id where t2.first_name = "rylan" and t2.last_name = "goodwin" and t1.lesson_status_code = "completed";