Task: Text to Code
Input (English): Step 1: For each row in Customers table, find the corresponding rows in Lessons table.
Step 2: find the average price in the results of step 1 whose first_name equals Janessa and last_name equals Sawayn
Output (English): SELECT Avg ( T2.price ) FROM Customers AS T1 JOIN Lessons AS T2 ON T1.customer_id = T2.customer_id WHERE T1.first_name = "Janessa" AND T1.last_name = "Sawayn"