SlideShare a Scribd company logo
1 of 13
Mrs. Pranjali Pandhare
Database concepts using
LibreOffice Base:
 DBMS concepts.
 Various table operations.
 Query and form creation.
 Report generation.
 Introduction to relational data model
DBMS concepts
 Data means all kinds of facts, figures and details related to people, places,
things or events. Data may be in any form. It may be written, oral,
computerized or non-computerised. Data in it’s original form may not be of
much use. Data must be processed in a proper way to generate the useful and
meaning information.
 Information is the required result obtained from processing of the data.
Information is the output generated through processing of raw data.
Information is important because it forms the foundation for decision making.
 Database is a collection of related data items stored in an organized manner A
Database consist of different objects like table, query, form and report. Table is
a collection of related data. Query is used to retrieve information from
database. Form is used to collect the information from user. Report is used to
represent the data in printed form.
Database Management System Software (DBMS) :
 A database management system is a software designed to define, manipulate,
retrieve and manage data in a database. It provides various functions that allow
entry, storage and retrieval of large quantities of information and provide ways
to manage that information. It also defines rules to validate and manipulate the
data.
How to start?
 To start base, Install Libreoffice from it's official
website and click on start "Start " All programs "
Libreoffice " Libreoffice Base. A database wizard will
be started. To create new database user have to select
'Create a new Database and click on 'Next' button. In
'Save and Proceed' step click on 'Finish'. A 'Save As'
window will appear on the screen, select location to
save the database
 "Type name for database in 'File Name' box then click
on 'Save' button. By default extension of Base file is
'.odb'
LibreOffice Base Screen :
Screen of Base consist of following
parts :
 Title Bar : It is the topmost bar present on the screen of Base. It displays
icon of the application, name of the file and name of the application. By
default it displays 'Filename.odb – Libre Office Base'. It consist of three
buttons on right corner as minimize, maximize/ restore and close.
 Menu Bar : It is present below Title bar. It displays names of different
menus as File, Edit, View, Insert,Tools, Windows, Help etc. Each menu
consist of a drop-down list (Pop-up) of various options related to that
particular menu.
 Standard Tool Bar : Standard tool bar consist of different icons which
are used for standard operations (regularly repeating operations) like
opening a new document, saving a document, printing a document, cut,
copy, paste, undo, redo and many more.
 Working Area : Rest of the part below standard tool bar is called as
working area. It is divided into two panes- Left pane and right pane. Left
pane displays name of database objects like tables, queries, forms and
reports. Right pane displays activities related to that particular object.
Table
Table is a basic unit for storing data in database. Tables are organised in the
form of columns and rows. Before creating a table user should first decide the
entity. Entity is any real world object about which data is to be stored. Each
entity has collection of attributes associated with it. For example student is an
entity which has attributes like roll number, name, address, standard, date of
birth etc. Attributes of an entity are stored in the form of columns. The
information stored under each column forms a row which is called as
record/tuple.
Roll Number Name Address Std Date of Birth
1701 VinayNaik Shubh-Labh Appartment XII 12-10-2003
1702 Shlok Pawar ABStreet XII 4-8-2003
Fields
Records
Data types in Base :
 Data types available in Base can be divided into three
categories as alphanumeric, numeric, calender (date and
time) and binary type.
Data Type Name Description
Tiny Integer
[TINYINT]
Stores small Integer.
BigInt[BIGINT]
Stores Big Integer(hopping whole number),
rarely used
Image[LONGVARBINARY] Stores Image.
Binary[VARBINARY]
Stores binary information of variable
length.
Binary(fix)[BINARY] Stores binary data of fixed length.
Memo[LONGVARCHAR]
Stores descriptive type of information i.e
large block of text like article text.
Text(fix)[CHAR] Stores fix sized text.
Data Type Name Description
Number[NUMERIC] Stores a number with or without decimal
point. Base will
display datatype’s original length and allow
to set decimal
places after decimal point in design view of
table. it is used when accuracy is required.
Decimal[DECIMAL]
Integer[INTEGER]
Stores Integer most commonly used data
type.
Small Integer[SMALLINT] Stores integer
Float[FLOAT] Stores a number with decimal point.
Real[REAL] Stores a number with or without decimal
point. It is used when approximate result
requiredDouble[DOUBLE]
Text[VARCHAR] Stores variable sized text.
Text[VARCHAR_IGNORECASE] A case insensitive version.
Yes/No [BOOLEAN] Stores boolean type of data.
Date[DATE] Stores date in mm/dd/yy format.
Time[TIME] Stores time in hh:mm:ss format
Date/Time
[TIMESTAMP]
Stores date as well as time.
Other[OTHER] Stores any other object.
A)Creating a Table :
Steps are as follows :
 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 e.g. 'Name' Field should have 'Text' as a Field Type)
 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'.
B) Inserting records in the table :
 Steps are as follows :
 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.
 For inserting a new record 'Edit Data' must be on.
C) Editing a record in the table :
 Steps are as follows :
 Double click on the required table.
 Click on the required record for editing.
 Do necessary changes.
 Click on 'Edit Data' icon to make edit mode off, Click on 'Yes'
and click on close button.
D) Deleting a record from the table :
Steps are as follows :
Double click on the table , click on the record which is
to be deleted
Click on 'Edit' menu, select 'Delete Record' option
Click on 'Yes' button to delete it permanently.
Query Creation
A Query is a question asked within the database environment. For example
how many students are in XII standard. Query displays subset of data
contained in various tables of database Query is used to retrieve records from
the table.
Steps to create query by using wizard :
o Open a database , from left pane click on 'Queries' objects.
o From right pane click on 'Use Wizard to Create Query' (Wizard means step by
step instructions provided by the computer to complete a task. )
o Select name of 'Table' and shift fields from 'Available fields' list to 'Fields in the
query' list by clicking on arrow button and click on 'Next' button.
o Select a field for sorting the records, select the order ascending/ descending
then click on 'Next' button.
o In next step the user has to select search condition (more than one search
conditions can also be selected) select the field, select the condition, type value
for condition then click on 'Next' button.
o If you want to replace original field names with some new field names in the
output of the query, then type aliases for each field and click on 'Next' button
o Type name for the query and Click on 'Finish' button.

More Related Content

What's hot

Relational algebra ppt
Relational algebra pptRelational algebra ppt
Relational algebra pptGirdharRatne
 
What’s The Difference Between Structured, Semi-Structured And Unstructured Data?
What’s The Difference Between Structured, Semi-Structured And Unstructured Data?What’s The Difference Between Structured, Semi-Structured And Unstructured Data?
What’s The Difference Between Structured, Semi-Structured And Unstructured Data?Bernard Marr
 
Assembly language (addition and subtraction)
Assembly language (addition and subtraction)Assembly language (addition and subtraction)
Assembly language (addition and subtraction)Muhammad Umar Farooq
 
Aggregate functions
Aggregate functionsAggregate functions
Aggregate functionssinhacp
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model IntroductionNishant Munjal
 
Database Relationships
Database RelationshipsDatabase Relationships
Database Relationshipswmassie
 
Compiler Construction | Lecture 1 | What is a compiler?
Compiler Construction | Lecture 1 | What is a compiler?Compiler Construction | Lecture 1 | What is a compiler?
Compiler Construction | Lecture 1 | What is a compiler?Eelco Visser
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introductionSmriti Jain
 
The Relational Database Model
The Relational Database ModelThe Relational Database Model
The Relational Database ModelShishir Aryal
 
Excel 2010
Excel 2010Excel 2010
Excel 2010nhumar
 
Vb decision making statements
Vb decision making statementsVb decision making statements
Vb decision making statementspragya ratan
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMSkoolkampus
 
SQL Joins.pptx
SQL Joins.pptxSQL Joins.pptx
SQL Joins.pptxAnkit Rai
 

What's hot (20)

Symbol table
Symbol tableSymbol table
Symbol table
 
Microsoft Excel - Macros
Microsoft Excel - MacrosMicrosoft Excel - Macros
Microsoft Excel - Macros
 
Relational algebra ppt
Relational algebra pptRelational algebra ppt
Relational algebra ppt
 
Solution of Erds
Solution of ErdsSolution of Erds
Solution of Erds
 
Relational model
Relational modelRelational model
Relational model
 
CISC & RISC Architecture
CISC & RISC Architecture CISC & RISC Architecture
CISC & RISC Architecture
 
What’s The Difference Between Structured, Semi-Structured And Unstructured Data?
What’s The Difference Between Structured, Semi-Structured And Unstructured Data?What’s The Difference Between Structured, Semi-Structured And Unstructured Data?
What’s The Difference Between Structured, Semi-Structured And Unstructured Data?
 
Assembly language (addition and subtraction)
Assembly language (addition and subtraction)Assembly language (addition and subtraction)
Assembly language (addition and subtraction)
 
Aggregate functions
Aggregate functionsAggregate functions
Aggregate functions
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Database Relationships
Database RelationshipsDatabase Relationships
Database Relationships
 
Compiler Construction | Lecture 1 | What is a compiler?
Compiler Construction | Lecture 1 | What is a compiler?Compiler Construction | Lecture 1 | What is a compiler?
Compiler Construction | Lecture 1 | What is a compiler?
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introduction
 
The Relational Database Model
The Relational Database ModelThe Relational Database Model
The Relational Database Model
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
Making Complex Decisions(Artificial Intelligence)
Making Complex Decisions(Artificial Intelligence)Making Complex Decisions(Artificial Intelligence)
Making Complex Decisions(Artificial Intelligence)
 
Excel 2010
Excel 2010Excel 2010
Excel 2010
 
Vb decision making statements
Vb decision making statementsVb decision making statements
Vb decision making statements
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
SQL Joins.pptx
SQL Joins.pptxSQL Joins.pptx
SQL Joins.pptx
 

Similar to Database concepts using libre office base

access1.ppt
access1.pptaccess1.ppt
access1.pptmayada34
 
Introduction to Microsoft Access2.ppt
Introduction to Microsoft Access2.pptIntroduction to Microsoft Access2.ppt
Introduction to Microsoft Access2.pptJoshCasas1
 
B.sc i agri u 4 introduction to ms access
B.sc i agri u 4 introduction to ms accessB.sc i agri u 4 introduction to ms access
B.sc i agri u 4 introduction to ms accessRai University
 
B.sc i micro bio u 4 introduction to ms access
B.sc i micro bio u 4 introduction to ms accessB.sc i micro bio u 4 introduction to ms access
B.sc i micro bio u 4 introduction to ms accessRai University
 
B.sc i bio chem u 4 introduction to ms access
B.sc i bio chem u 4 introduction to ms accessB.sc i bio chem u 4 introduction to ms access
B.sc i bio chem u 4 introduction to ms accessRai University
 
B.sc i cs u 4 introduction to ms access
B.sc i cs u 4 introduction to ms accessB.sc i cs u 4 introduction to ms access
B.sc i cs u 4 introduction to ms accessRai University
 
B.sc i bio tech u 4 introduction to ms access
B.sc i bio tech u 4 introduction to ms accessB.sc i bio tech u 4 introduction to ms access
B.sc i bio tech u 4 introduction to ms accessRai University
 
Tutorial of microsoft access 2003
Tutorial of microsoft access 2003Tutorial of microsoft access 2003
Tutorial of microsoft access 2003sabillafh
 
Database as information system
Database as information systemDatabase as information system
Database as information systemKAZEMBETVOnline
 
MS Access - Supriya.pptx
MS Access - Supriya.pptxMS Access - Supriya.pptx
MS Access - Supriya.pptxShivansh725543
 
Introduction to database_software
Introduction to database_softwareIntroduction to database_software
Introduction to database_softwarePeah J Jambu
 
Pks ms access unit 4_bcomcs
Pks ms access unit 4_bcomcsPks ms access unit 4_bcomcs
Pks ms access unit 4_bcomcsKALAISELVI P
 
OPERATE DATABASE APPLICATION
OPERATE DATABASE APPLICATIONOPERATE DATABASE APPLICATION
OPERATE DATABASE APPLICATIONYoomiLaataBekele
 
Access2003
Access2003Access2003
Access2003mrh1222
 
Access2003
Access2003Access2003
Access2003tanik363
 
PPT On MS-Access 2007 | Full Concepts |
PPT On MS-Access 2007 | Full Concepts |PPT On MS-Access 2007 | Full Concepts |
PPT On MS-Access 2007 | Full Concepts |Umesh Kumar
 
Database and Access Power Point
Database and Access Power PointDatabase and Access Power Point
Database and Access Power PointAyee_Its_Bailey
 
Baileybatts bailey battsdatabasepowerpoint8
Baileybatts bailey battsdatabasepowerpoint8Baileybatts bailey battsdatabasepowerpoint8
Baileybatts bailey battsdatabasepowerpoint8Ayee_Its_Bailey
 

Similar to Database concepts using libre office base (20)

access1.ppt
access1.pptaccess1.ppt
access1.ppt
 
Introduction to Microsoft Access2.ppt
Introduction to Microsoft Access2.pptIntroduction to Microsoft Access2.ppt
Introduction to Microsoft Access2.ppt
 
Introduction to Microsoft Access2.ppt
Introduction to Microsoft Access2.pptIntroduction to Microsoft Access2.ppt
Introduction to Microsoft Access2.ppt
 
B.sc i agri u 4 introduction to ms access
B.sc i agri u 4 introduction to ms accessB.sc i agri u 4 introduction to ms access
B.sc i agri u 4 introduction to ms access
 
B.sc i micro bio u 4 introduction to ms access
B.sc i micro bio u 4 introduction to ms accessB.sc i micro bio u 4 introduction to ms access
B.sc i micro bio u 4 introduction to ms access
 
B.sc i bio chem u 4 introduction to ms access
B.sc i bio chem u 4 introduction to ms accessB.sc i bio chem u 4 introduction to ms access
B.sc i bio chem u 4 introduction to ms access
 
B.sc i cs u 4 introduction to ms access
B.sc i cs u 4 introduction to ms accessB.sc i cs u 4 introduction to ms access
B.sc i cs u 4 introduction to ms access
 
B.sc i bio tech u 4 introduction to ms access
B.sc i bio tech u 4 introduction to ms accessB.sc i bio tech u 4 introduction to ms access
B.sc i bio tech u 4 introduction to ms access
 
Tutorial of microsoft access 2003
Tutorial of microsoft access 2003Tutorial of microsoft access 2003
Tutorial of microsoft access 2003
 
Database as information system
Database as information systemDatabase as information system
Database as information system
 
MS Access - Supriya.pptx
MS Access - Supriya.pptxMS Access - Supriya.pptx
MS Access - Supriya.pptx
 
Introduction to database_software
Introduction to database_softwareIntroduction to database_software
Introduction to database_software
 
Ms Access
Ms AccessMs Access
Ms Access
 
Pks ms access unit 4_bcomcs
Pks ms access unit 4_bcomcsPks ms access unit 4_bcomcs
Pks ms access unit 4_bcomcs
 
OPERATE DATABASE APPLICATION
OPERATE DATABASE APPLICATIONOPERATE DATABASE APPLICATION
OPERATE DATABASE APPLICATION
 
Access2003
Access2003Access2003
Access2003
 
Access2003
Access2003Access2003
Access2003
 
PPT On MS-Access 2007 | Full Concepts |
PPT On MS-Access 2007 | Full Concepts |PPT On MS-Access 2007 | Full Concepts |
PPT On MS-Access 2007 | Full Concepts |
 
Database and Access Power Point
Database and Access Power PointDatabase and Access Power Point
Database and Access Power Point
 
Baileybatts bailey battsdatabasepowerpoint8
Baileybatts bailey battsdatabasepowerpoint8Baileybatts bailey battsdatabasepowerpoint8
Baileybatts bailey battsdatabasepowerpoint8
 

More from Pranjali Jagtap-Pandhare (8)

Osm
OsmOsm
Osm
 
Database concepts using libre office base
Database concepts using libre office baseDatabase concepts using libre office base
Database concepts using libre office base
 
Recent technology in it
Recent technology in itRecent technology in it
Recent technology in it
 
Enterprise resources planning
Enterprise resources planning Enterprise resources planning
Enterprise resources planning
 
E commrce part II
E commrce part IIE commrce part II
E commrce part II
 
Digital marketing part 1
Digital marketing part  1Digital marketing part  1
Digital marketing part 1
 
E commerce
E  commerceE  commerce
E commerce
 
Web designing
Web designingWeb designing
Web designing
 

Recently uploaded

What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 

Recently uploaded (20)

What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 

Database concepts using libre office base

  • 2. Database concepts using LibreOffice Base:  DBMS concepts.  Various table operations.  Query and form creation.  Report generation.  Introduction to relational data model
  • 3. DBMS concepts  Data means all kinds of facts, figures and details related to people, places, things or events. Data may be in any form. It may be written, oral, computerized or non-computerised. Data in it’s original form may not be of much use. Data must be processed in a proper way to generate the useful and meaning information.  Information is the required result obtained from processing of the data. Information is the output generated through processing of raw data. Information is important because it forms the foundation for decision making.  Database is a collection of related data items stored in an organized manner A Database consist of different objects like table, query, form and report. Table is a collection of related data. Query is used to retrieve information from database. Form is used to collect the information from user. Report is used to represent the data in printed form. Database Management System Software (DBMS) :  A database management system is a software designed to define, manipulate, retrieve and manage data in a database. It provides various functions that allow entry, storage and retrieval of large quantities of information and provide ways to manage that information. It also defines rules to validate and manipulate the data.
  • 4. How to start?  To start base, Install Libreoffice from it's official website and click on start "Start " All programs " Libreoffice " Libreoffice Base. A database wizard will be started. To create new database user have to select 'Create a new Database and click on 'Next' button. In 'Save and Proceed' step click on 'Finish'. A 'Save As' window will appear on the screen, select location to save the database  "Type name for database in 'File Name' box then click on 'Save' button. By default extension of Base file is '.odb'
  • 6. Screen of Base consist of following parts :  Title Bar : It is the topmost bar present on the screen of Base. It displays icon of the application, name of the file and name of the application. By default it displays 'Filename.odb – Libre Office Base'. It consist of three buttons on right corner as minimize, maximize/ restore and close.  Menu Bar : It is present below Title bar. It displays names of different menus as File, Edit, View, Insert,Tools, Windows, Help etc. Each menu consist of a drop-down list (Pop-up) of various options related to that particular menu.  Standard Tool Bar : Standard tool bar consist of different icons which are used for standard operations (regularly repeating operations) like opening a new document, saving a document, printing a document, cut, copy, paste, undo, redo and many more.  Working Area : Rest of the part below standard tool bar is called as working area. It is divided into two panes- Left pane and right pane. Left pane displays name of database objects like tables, queries, forms and reports. Right pane displays activities related to that particular object.
  • 7. Table Table is a basic unit for storing data in database. Tables are organised in the form of columns and rows. Before creating a table user should first decide the entity. Entity is any real world object about which data is to be stored. Each entity has collection of attributes associated with it. For example student is an entity which has attributes like roll number, name, address, standard, date of birth etc. Attributes of an entity are stored in the form of columns. The information stored under each column forms a row which is called as record/tuple. Roll Number Name Address Std Date of Birth 1701 VinayNaik Shubh-Labh Appartment XII 12-10-2003 1702 Shlok Pawar ABStreet XII 4-8-2003 Fields Records
  • 8. Data types in Base :  Data types available in Base can be divided into three categories as alphanumeric, numeric, calender (date and time) and binary type. Data Type Name Description Tiny Integer [TINYINT] Stores small Integer. BigInt[BIGINT] Stores Big Integer(hopping whole number), rarely used Image[LONGVARBINARY] Stores Image. Binary[VARBINARY] Stores binary information of variable length. Binary(fix)[BINARY] Stores binary data of fixed length. Memo[LONGVARCHAR] Stores descriptive type of information i.e large block of text like article text. Text(fix)[CHAR] Stores fix sized text.
  • 9. Data Type Name Description Number[NUMERIC] Stores a number with or without decimal point. Base will display datatype’s original length and allow to set decimal places after decimal point in design view of table. it is used when accuracy is required. Decimal[DECIMAL] Integer[INTEGER] Stores Integer most commonly used data type. Small Integer[SMALLINT] Stores integer Float[FLOAT] Stores a number with decimal point. Real[REAL] Stores a number with or without decimal point. It is used when approximate result requiredDouble[DOUBLE] Text[VARCHAR] Stores variable sized text. Text[VARCHAR_IGNORECASE] A case insensitive version. Yes/No [BOOLEAN] Stores boolean type of data. Date[DATE] Stores date in mm/dd/yy format. Time[TIME] Stores time in hh:mm:ss format Date/Time [TIMESTAMP] Stores date as well as time. Other[OTHER] Stores any other object.
  • 10. A)Creating a Table : Steps are as follows :  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 e.g. 'Name' Field should have 'Text' as a Field Type)  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'.
  • 11. B) Inserting records in the table :  Steps are as follows :  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.  For inserting a new record 'Edit Data' must be on.
  • 12. C) Editing a record in the table :  Steps are as follows :  Double click on the required table.  Click on the required record for editing.  Do necessary changes.  Click on 'Edit Data' icon to make edit mode off, Click on 'Yes' and click on close button. D) Deleting a record from the table : Steps are as follows : Double click on the table , click on the record which is to be deleted Click on 'Edit' menu, select 'Delete Record' option Click on 'Yes' button to delete it permanently.
  • 13. Query Creation A Query is a question asked within the database environment. For example how many students are in XII standard. Query displays subset of data contained in various tables of database Query is used to retrieve records from the table. Steps to create query by using wizard : o Open a database , from left pane click on 'Queries' objects. o From right pane click on 'Use Wizard to Create Query' (Wizard means step by step instructions provided by the computer to complete a task. ) o Select name of 'Table' and shift fields from 'Available fields' list to 'Fields in the query' list by clicking on arrow button and click on 'Next' button. o Select a field for sorting the records, select the order ascending/ descending then click on 'Next' button. o In next step the user has to select search condition (more than one search conditions can also be selected) select the field, select the condition, type value for condition then click on 'Next' button. o If you want to replace original field names with some new field names in the output of the query, then type aliases for each field and click on 'Next' button o Type name for the query and Click on 'Finish' button.