Base notes class 10
Base notes class 10
Data : Data refers to the collection of raw facts or figures, numbers and quantities.
Information : It is processed data which helps in decision making.
Database : Database is a organised collection of interrelated data stored together to
serve multiple applications
Database Server : A dedicated computer that serve as an interface between the
database and the user or application program.
Basic Concept of a database:
1. A database can have one or more tables
2. Each table in a database contains information about one type of item
3. Every table has a key field that uniquely identifies records of that table
4. It allows storing or manipulation data
5. It allows retrieving desired results from a database by querying it
DataBase Objects
1. Table : A table is a set of data elements organised using columns and rows.
2. Query : A query is defined as a request made to a database for retrieving required
information from the table.
3. Form : A form is a window or screen that contains field spaces to enter data, edit
and display it from a table or query.
4. Report : A report is a formal and formatted representation of data obtained as a
result of database queries.
Composite Primary Key : A unique combination of more than one fields which together
function as Primary Key is known as Composite Primary Key.
House code values in table events are derived from the table houses
We cannot enter a house code value in table events which is not present in the table
houses.
Example : Entering a house code H6 in table Events will generate error message
because this value is not present in table Houses
Important Point : The file extension for Open Office Base is .odb (open database)
Data Types in Open Office Base
Field Properties :
1. Entry Required : If set to yes then the field cannot be left blank
2. Auto Value : If set to yes then field will get auto numeric value
3. Length : sets the no of characters / places to be stored in a field
Numeric default length is varies according to the field type
Text Varchar default length is 50 characters
Boolean default length is 1 character
4. Default Value : Value automatically printed in field if user does not provide any value
5. Format : Helps to set the format of data entered in the field
Creating Tables :
There are two options to create tables in Open office base
1. Create table in design view
2. Use wizard to create table
Types of Relationships :
There are three types of relationships between tables.
One – to – One Relationship One record of a table is related to one record only
of another table. It is denoted as 1:1
Example -- A person can have only one driving license
1 1
Person Has Driving License
1 M
Teacher Teaches Students
Many – to – Many Relationship Multiple records of a table has many matching
records in another table. It is denoted as M:M
Example -- One Teacher can teach many Subjects and One Subject can be taught
by many Teachers.
M M
Teacher Teaches Subjects