0% found this document useful (0 votes)
17 views10 pages

It Practicals Class 12

The document provides a step-by-step guide for creating a database using LibreOffice Base, including instructions for creating a student table, inserting records, and generating forms. It also outlines the process for creating a database and performing queries based on specific criteria. The document is structured as a standard operating procedure (SOP) with clear steps for users to follow.

Uploaded by

Ishita Chippad
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)
17 views10 pages

It Practicals Class 12

The document provides a step-by-step guide for creating a database using LibreOffice Base, including instructions for creating a student table, inserting records, and generating forms. It also outlines the process for creating a database and performing queries based on specific criteria. The document is structured as a standard operating procedure (SOP) with clear steps for users to follow.

Uploaded by

Ishita Chippad
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/ 10

4.

Database Concept Using LibreOffice


Base

SOP 1:-
Create a table student with fieldnames- roll no, stud name,
class, div, city, dob etc.

Step 1-
• Open LibreOffice Base
• Create a table
• Open a database and from left pane click on 'Tables' icon
• From right pane click on 'Create table in Design View'
• A window will appear on the screen, type 'Field Name'
• Select 'Field type' ( field type means type of data to be
stored in that field
• In next column type the description about the field.
• In the bottom section in 'Field Properties' select 'Yes' for
'Entry required' property.
• You can set default value and for numeric field types you can
set decimal places also. In this way create all fields.
• Right click on the small button present on the left side of
the field name which is decided as primary key and select
'primary key' option.
• Click on 'Save' icon to save the table, type name for the
table, Click on 'ok'.
Insert minimum 8 records.
Steps
• Open a database, from left pane click on 'Tables' icon.
• In the right pane from bottom part double click on the
name of Table in which data is to be inserted.
• A window will appear on the screen, type data under
each field and
Complete one record; in this way add some records.
• Click on 'Edit Data' icon to make edit mode off, a
window will appear.
• Click on 'Yes' icon and click on 'close' button.
Create a form based on STUDENT table.
Steps-
• Open a database, from left pane click on 'Forms' objects.
• From right pane click on 'Use Wizard to Create Form'.
• Select name of 'Student Table' and shift fields from
'Available fields' list to 'Fields in the form' list by clicking
on arrow button then click on 'Next' button
• Click on 'Next' button.
• Select any one arrangement for main form for placing the
controls (Ex-columnar labels left) and click on ‘Next’
button.
• Click on ‘Next’ button.
• Select style for the form , click on ‘Next’ button
• Type Name for the form , click on ‘Finish’ button
SOP 2:
Steps
1) Steps for creating Database :
a) Click on Start-> All Programs -> Libre Office -> Libre Office
Base
b) Database Wizard window appears , Select Save and
Proceed-> Click on Finish button, select proper location
where you wish to save the database with appropriate
name, and database will be created.
2) Steps for creating a Table:
a) To create a table, click on Create table in design view ->
Table design window appears, in that window set fieldname
and datatype.
b) To Save click on save button or press CTRL+S, give table as
employee and click on OK button, table will be saved.
3) Steps for Inserting records in a Table:
For inserting records in a table, double click on the table in
which data is to be inserted, a window will appear on the
screen, type data under each field and complete all the
records.
4) Steps for creating Query:
a) Click on Queries object and in right pane click on Create
Query in Design View option.
b) From Add Table window select table and click on Add button
and click on Close.
c) Select all the fields one by one by Clicking on Field’s
columns.
i) To display records where employee qualifications is “MBA”
in Criterion type “MBA” and click on Run Query icon or press
F5 function key.

ii) To display records where employee department is


“Accounts” in Criterion type “Accounts” and click on Run
Query icon or press F5 function key.
iii) To display records where employee salary>70000 in
Criterion type >”70000” and click on Run Query icon or press
F5 function key.
iv) To display records where employee qualifications is “Mr.
Suhas Kale” in Criterion type “Mr. Suhas Kale” and click on
Run Query icon or press F5 function key.

You might also like