"content":"<p>Table: <code>Courses</code></p>\n\n<pre>\n+-------------+---------+\n| Column Name | Type |\n+-------------+---------+\n| student | varchar |\n| class | varchar |\n+-------------+---------+\n(student, class) is the primary key (combination of columns with unique values) for this table.\nEach row of this table indicates the name of a student and the class in which they are enrolled.\n</pre>\n\n<p> </p>\n\n<p>Write a solution to find all the classes that have <strong>at least five students</strong>.</p>\n\n<p>Return the result table in <strong>any order</strong>.</p>\n\n<p>The result format is in the following example.</p>\n\n<p> </p>\n<p><strong class=\"example\">Example 1:</strong></p>\n\n<pre>\n<strong>Input:</strong> \nCourses table:\n+---------+----------+\n| student | class |\n+---------+----------+\n| A | Math |\n| B | English |\n| C | Math |\n| D | Biology |\n| E | Math |\n| F | Computer |\n| G | Math |\n| H | Math |\n| I | Math |\n+---------+----------+\n<strong>Output:</strong> \n+---------+\n| class |\n+---------+\n| Math |\n+---------+\n<strong>Explanation:</strong> \n- Math has 6 students, so we include it.\n- English has 1 student, so we do not include it.\n- Biology has 1 student, so we do not include it.\n- Computer has 1 student, so we do not include it.\n</pre>\n",
"translatedContent":"<p>表: <code>Courses</code></p>\n\n<pre>\n+-------------+---------+\n| Column Name | Type |\n+-------------+---------+\n| student | varchar |\n| class | varchar |\n+-------------+---------+\n在 SQL 中,(student, class)是该表的主键列。\n该表的每一行表示学生的名字和他们注册的班级。\n</pre>\n\n<p> </p>\n\n<p>查询 <strong>至少有5个学生</strong> 的所有班级。</p>\n\n<p>以 <strong>任意顺序 </strong>返回结果表。</p>\n\n<p>查询结果格式如下所示。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong> \nCourses table:\n+---------+----------+\n| student | class |\n+---------+----------+\n| A | Math |\n| B | English |\n| C | Math |\n| D | Biology |\n| E | Math |\n| F | Computer |\n| G | Math |\n| H | Math |\n| I | Math |\n+---------+----------+\n<strong>输出:</strong> \n+---------+ \n| class | \n+---------+ \n| Math | \n+---------+\n<strong>解释: </strong>\n-数学课有6个学生,所以我们包括它。\n-英语课有1名学生,所以我们不包括它。\n-生物课有1名学生,所以我们不包括它。\n-计算机课有1个学生,所以我们不包括它。</pre>\n",
"metaData":"{\"mysql\":[\"Create table If Not Exists Courses (student varchar(255), class varchar(255))\"],\"mssql\":[\"Create table Courses (student varchar(255), class varchar(255))\"],\"oraclesql\":[\"Create table Courses (student varchar(255), class varchar(255))\"],\"database\":true,\"name\":\"find_classes\",\"pythondata\":[\"Courses = pd.DataFrame([], columns=['student', 'class']).astype({'student':'object', 'class':'object'})\"],\"postgresql\":[\"Create table If Not Exists Courses (student varchar(255), class varchar(255))\"],\"database_schema\":{\"Courses\":{\"student\":\"VARCHAR(255)\",\"class\":\"VARCHAR(255)\"}}}",