This sql code generates the standart national exam program which enables universities to register themselves in the databases and their faculties. This also gives the student an opportunity to choose their appropriate subjects and university programs. It also makes the cards for students to divide them in the allocate rooms at the exam day and evaluates their results and sorts them in ascending order. It also makes the ranking of the popular universities.