portfolio - DBMS
portfolio - DBMS
Assignment 1
Create a “Student info” table in the database with following fields:
- Student Roll No, Student Name, Gender, Pre-final Marks,
Final Marks and display the same.
Solution:
1. Open “LibreOffice Base”
2. In Database objects Pane, click on Tables
3. In Tasks pane, double click on “Create table in Design View”
4. Give the fields names and its data types based on the question
5. Take printout and attach to report file
------------ Paste the image ---------------
5. In the design gird for query, choose all the fields one by one and place a
checkmark in the visible row for each field.
6. In the Pre-final marks column, add criterion as >90 and in OR row add
criterion as <90
7. In the Final marks column, add criterion as <90 and in OR row add
criterion as >90
8. Take printout and attach to report file
------------ Paste the image ---------------
Solution:
1. Open the table “Student info” in datasheet view
2. Add three records in the table
3. Take printout and attach to report file
------------ Paste the image ---------------
4. Save and close the table
5. Click on the Queries in the Database pane
6. Select the Query “Student info”
7. Double click on the Query “Student info”, It is updated for the latest
changes in the table