The given SQL query retrieves the average degree for each course (cno) that meets the following conditions:

  1. The course (cno) must have at least three students enrolled in it.
  2. The course (cno) must start with the digit '3'.

Here is the formatted SQL query:

SELECT AVG(degree) 
FROM score 
WHERE cno IN (
    SELECT cno 
    FROM score 
    GROUP BY cno 
    HAVING COUNT(1) >= 3
) 
AND cno LIKE '3%' 
GROUP BY cno;
SQL Query to Find Average Degree for Courses with at Least 3 Students and Starting with '3'