0% found this document useful (0 votes)
57 views

portfolio - DBMS

The document outlines a series of assignments related to creating and managing a 'Student info' table in a database using LibreOffice Base. It details the steps for creating the table, entering records, and creating queries to retrieve specific data based on marks criteria. The document also emphasizes the importance of taking printouts and attaching them to a report file for each assignment step.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views

portfolio - DBMS

The document outlines a series of assignments related to creating and managing a 'Student info' table in a database using LibreOffice Base. It details the steps for creating the table, entering records, and creating queries to retrieve specific data based on marks criteria. The document also emphasizes the importance of taking printouts and attaching them to a report file for each assignment step.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Database Management System

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 ---------------

6. Save table as “Student info” and Click on Close button


7. In Database objects pane, click on tables
8. Select table “Student info”
9. Take printout and attach to report file
------------ Paste the image ---------------
10. Double click on the table name “Student info”, Enter records in to the table
in the datasheet view
11. Take printout and attach to report file
------------ Paste the image ---------------

12. Save and Close the table


Assignment 2
Create a query in design view on “Student info” table in order to
retrieve the records from the table such as
o Either Pre-final Marks are more than 90 and Final
marks are less than 90
o Pre-final marks are less than 90 and Final marks are
more than 90
Solution:
1. In Database objects pane, click on Queries
2. In Tasks pane, double click on “Create Query in Design View”
3. Add tables dialog box appears, select the table name “Student info” and
click on add
4. 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 ---------------

9. Click on Run Query (or) press F5 function key


10. Take printout and attach to report file
------------ Paste the image ---------------
11. Click on the close button and Save the query with “Student info” name
Assignment 3
Open the table formed in the previous assignment “Student info”.
Enter Three (03) more records in to the table. Execute the query
as executed previously in the last assignment and display the
query output.

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

8. Take printout and attach to report file


------------ Paste the image ---------------
Digital
Documentation
Electronic
Spreadsheet
Data Base
Management
System

You might also like