Question: Calculate the average satisfaction of the good students with their courses.
SQL: SELECT CAST(SUM(sat) AS REAL) / COUNT(course_id) FROM registration WHERE grade = 'B'