CREATE TABLE Department (DNO INT, Division VARCHAR, DName VARCHAR, Room VARCHAR, Building VARCHAR, DPhone INT)
CREATE TABLE Gradeconversion (lettergrade VARCHAR, gradepoint FLOAT)
CREATE TABLE Minor_in (StuID INT, DNO INT)
CREATE TABLE Faculty (FacID INT, Lname VARCHAR, Fname VARCHAR, Rank VARCHAR, Sex VARCHAR, Phone INT, Room VARCHAR, Building VARCHAR)
CREATE TABLE Member_of (FacID INT, DNO INT, Appt_Type VARCHAR)
CREATE TABLE Student (StuID INT, LName VARCHAR, Fname VARCHAR, Age INT, Sex VARCHAR, Major INT, Advisor INT, city_code VARCHAR)
CREATE TABLE Course (CID VARCHAR, CName VARCHAR, Credits INT, Instructor INT, Days VARCHAR, Hours VARCHAR, DNO INT)
CREATE TABLE Enrolled_in (StuID INT, CID VARCHAR, Grade VARCHAR)

Give the number of each course name with at least five enrollments Return a bar chart, and could you rank in descending by the X-axis?
SELECT T1.CName, COUNT(T1.CName) FROM Course AS T1 JOIN Enrolled_in AS T2 ON T1.CID = T2.CID GROUP BY T1.CName, T2.CID HAVING COUNT(*) >= 5 ORDER BY T1.CName DESC
SELECT "T1"."CName", COUNT("T1"."CName") FROM "Course" AS "T1" JOIN "Enrolled_in" AS "T2" ON "T1"."CID" = "T2"."CID" GROUP BY "T1"."CName", "T2"."CID" HAVING COUNT(*) >= 5 ORDER BY "T1"."CName" DESC NULLS LAST