# Display the number of students who have secured 'A' grade:
sql="SELECT COUNT(*) FROM STUDENTS WHERE GRADE='A'"
cursor.execute(sql)
count = cursor.fetchone()[0]
print("The number of students with 'A' grade is {count}")
# Add a new column called Rank in the table:
sql ='ALTER TABLE STUDENT ADD Rank CHAR(3)'
cursor.execute(sql)
mycon.commit()
print('Field Added')
mycon.close()