A. Create a database "school". Create a table "student" with following fields(Design View).
Field Name | Data type |
---|---|
StudentID | Autonumber |
StudentName | Text |
Class | Number |
English | Number |
Nepali | Number |
Computer | Number |
- Make StudentID as primary key.
- Set Caption "Eng Mark" , "Nep Mark" and "Comp Mark".
- Set default value 10 for field class .
- Set the validation rule: >=0 AND <=100
- Set the validation text : Enter the marks between 0 to 100.
- Enter any five data in table "student".[Datasheet View]
B. Create following queries:
- Display all records of table "student".
- Display all records in descending order of marks of Computer.
- Display all those records, where the mark in "English" are greater than or equal to 80.
- Display all those records where marks in all subjects are greater than or equal to 80.
- Display all those records where student name start with "A" or "S".
- Display all the records for those students whose marks in "Computer" are between 60 to 80.
- Display records by student ID.
- Delete the records of "abc" student.
- Update the marks of English by 10 to all students.
- Calculate total by adding marks of Eng, Nepali and Computer.
- Calculate Average by dividing total by 3.
- Make remarks if average marks is greater than or equal to 40 then "Pass" , otherwise "Fail".
C. Create form of table student using form Wizard.
D. Add two more records using Form crated above.
E. Make a report of table "student".
F. Make a report of query "q7 " created above.