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";