WD & DBA Project
WD & DBA Project
Assume you are working in Kiya in database administrator. Kiya has Student, Course
and Instructor.
Student Identified by SID, Sfname, Slname, sex, age, and Course Identified by Course
code, Course name, Cr_Hr and Instructor Identified by i_ID, i_fname, i_lname, sex,
Salary.
Student Take many Course and Instructors Teach many Students, Based on the above
information do the following activities.
1. Draw ERD diagram based on the above information.
2. Create database as Kiya.
3. Under Kiya create appropriate tales and create appropriate Relationship.
4. Insert at least 5 sample data or record for each table.
5. Display only female student.
6. Display all students Slname is start by D letter ends by N letter.
7. Display all students whose student age is less than 30.
8. Update Sfname from student table to Awoke where SID is Hoo1.
9. Delete age from student table.
10. Add address to student table.
11. Delete one record from instructor table.
12. Display only i_ID, i_fname, and i_lname from Teacher table.
13. Display all students by Sfname Ascending or Descending Order.
14. Count total number of female and male students.
15. Find maximum and minimum salary from Instructor table.
16. Find sum and average of salary from Instructor table.
17. Rank the students based on their mark.
Student table
Course table
Attribute Type Size
Course Code Varchar 20
Course Varchar 50
Name
Cr_hr Int -
Instructor table
Student table
Course table
Instructor table