Database Management System
Database Management System
Class IX-IT Class X-IT Class X-AI Class XI Class XII Download Online Quiz Contact Us Privacy Policy
Disclaimer
Subscribe
Database Management System Class 10 Notes Join 332 other subscribers
About me
Recently Added
Chapter 11. Queries in LibreOffice Base – NOTES
Chapter 11. Queries in LibreOffice Base – Question Answers Ch 13 Health and Safety at
Workplace MCQ November
16, 2024
Chapter 12. Forms and Reports – NOTES
Best Quiz Entrepreneurial
Skills Class 10 November
Chapter 12. Forms and Reports – Question Answers 11, 2024
Self Management Class 10
Best Online Quiz
Those who want to see some extra content or November 7, 2024
they want to go through the old notes, they can Unit 5 Green Skill Class 10
Online Quiz November 3,
read the content given below. 2024
10+ Best ICT Online Quiz
You can go through all Sessions except Session-4 Class 10 October 22, 2024
Best Quizzes
UNIT-3 RELATIONAL DATABASE MANAGEMENT Communication Skills
2) Composite Primary Key : When primary key constraint is applied on one or more Review of Python (2)
columns then it is known as Composite Primary Key. Sample Paper IP (4)
Solved Test (2)
3) Foreign key : The foreign key identifies a column or set of columns in one Sorting algorithm (4)
(referencing) table that refers to a column or set of columns in another (referenced)
Sumita Arora Solution
table.
Class 11 (1)
Tuples in Python (2)
2) A ____ is a software package that can be used for creating and managing databases.
First Last
Q4. State the relationship and difference between a primary and foreign key?
Click for Answers of above Questions ——- Click for more Questions and
Answers
DATABASE OBJECTS :
1) Table : A table is a set of data elements (values) that is organized using a model of
vertical columns and horizontal rows.
3) Rows or Records or Tuples : A row also called a Record or Tuple represents a single
data item in a table. Every row in the table has the same structure.
3) Database wizard appear. Click Finish. The Save As dialog box appears.
4) Specify a name for the database in the File name: field and click Save.
Create Tables :
Tables are the basic building blocks of a database. You store the data in the database
in the form of tables.
a) Use Wizard To Create Table: The following are the steps to create a table:
2) Click the Select Fields > Choose Category > Select the table > Click on Next Button.
4) Set the data types and properties of the selected fields. Click on Next Button
6) Window to rename the table will open. A user can either go ahead with the same
table name or can change it.
4) Specify the table name. The default name is Table1. Click OK.
6) Click yes and set the primary key and finally save the table.
Data Types :
Datatypes are used to identify which type of data (value) we are going to store in the
database. Data types in OpenOffice base are broadly classified into five categories
listed below.
1. Numeric Types
2. Alphanumeric Types
3. Binary Types
4. Date time
5. Other Variable types
Numeric Types :
Numeric data types in a database can be used for storing information such as mobile
number, roll number, door number etc. The different types of numeric data types
available are listed here.
Alphanumeric Types :
This data type is used to store information which has alphabets as well as numbers for
example address, book summary field etc. The different types of Alphanumeric Types
available are listed here.
Binary Types :
Binary data types are used for storing data in binary formats. Binary data types in a
database can be using for storing photos, music files, etc.
DATE TIME :
Date time data types in a database can be used for storing information such as date of
birth, date of admission, date of product sale, etc.
1) A table is a set of data elements that is organized using a model of vertical and
horizontal __________________.
2) A _______________ is a set of data values of a particular type, one for each row of the
table.
Click for Answers of above Questions ——-Click for more Questions and
Answers
Inserting Data In The Table : To insert the data in the table, follow the
steps:
Editing Records In The Table : To edit the data in the table, follow the
steps:
Deleting Records From The Table : To remove the data from the table,
follow the steps:
3) Select the data > right click on selected data > select the Delete option
Field Properties :
To set the field properties: Select the table > Right click > Select the option Edit > the
table will open in Design View.
In design view there are different properties of fields according to the data type set
for each field.
2) AutoValue – if set to yes then field will get the auto numeric values.
3) Length – By default length of the field is 10 but the size of the field can be set to
maximum length.
4) Default Value – A default value can be set for a field if user don’t provide any value
while entering the values in the table.
5) Format – This property helps to set the format of the data entered in the field such
as 91-222-333.
1) Entry Required – if set to yes then it will be must to insert the value in the field.
2) Length – By default length of the field is 10 but the size of the field can be set to
maximum length.
3) Default Value – A default value can be set for a field if user don’t provide any value
while entering the values in the table.
4) Format – This property helps to set the format of the data entered in the field such
as 91-222-333.
Sorting Data :
Sorting means to arrange the data in either ascending order of descending order.
Referential Integrity :
3) Deleting records from a primary key table if there are any matching related records
available in associated table(s).
1. Save time as there is no need to enter the same data in separate tables.
2. Reduce data-entry errors.
3. Summarize data from related tables.
You can create a relationship between any two tables by selecting Relationships
option from the Tools menu.
1) ONE to ONE Relationship : In this relationship, both the tables must have primary
key columns.
2) One to Many Relationship : In this relationship, one of the table must have primary
key column.
3) Many to Many Relationship : In this relationship, no table has the primary key
column.
1) The types of languages used for creating and manipulating the data in the
Database are ________ & _______.
Q1. What is the file extension for databases created using OpenOffice.Org Base?
Q2. List any three file formats that can be managed using OpenOffice.Org Base?
Q3. How many types of relationships can be created in Base? Explain each of the
them.
Q4. What do you mean by Sorting? In how many ways it can be done?
Click for Answers of above Questions ——-Click for more Questions and
Answers
A query is to collect specific information from the pool of data. A query helps us join
information from different tables and filter that information
OR
Queries are commands that are used to define the data structure and also to
manipulate the data in the database.
Select Statement :
A SELECT statement retrieves zero or more rows from one or more tables. SELECT is
the most commonly used Data Manipulation Language(DML) command. To retrieve all
the columns in a table the syntax is: SELECT * FROM <Table Name>;
For example, if you want to display all the data from table emp (short form of
employee), the command is
The above query will show result of a particular employee named “Ravi”.
The above query will show all the records of table emp according to ascending order
of column Salary.
Performing calculations :
In Base, simple calculations can be done on the data using arithmetic operators.
Example:
1) To display the salary of all the employees after incrementing by 1000 then the
following SQL command will be executed in Base. (Fields of table Employee are
EmployeeID, FirstName, Salary)
2) To display the salary of all the employees after decreasing by 10000 then the SQL
command will be:
3) To display the salary of all the employees after incrementing it as twice the amount
of present salary, then the SQL command will be .
Update Statement :
Update statement is used for modifying records in a database. The general syntax of
the update statement is as follows:
UPDATE <table name> SET <Column name > = value [WHERE <Condition>];
for example :
3) ___________________ statement retrieves zero or more rows from one or more database
tables or database views.
Q5. State the purpose of Update Command with the help of an example.
Click for Answers of above Questions ——-Click for more Questions and
Answers
Creating Form Using Wizard : Steps To Create Form Using Wizard are :
1) Click Use Wizard to Create Form… option under Tasks group. The Form Wizard
dialog box appears.
2) Select selective fields to be sent onto the form by selecting the field name and
clicking >button and click Next.
3) Select the option Add Subform if you need to insert the contents in the table in a
separate form and click Next.
Creating Reports using wizard : Steps To Create Report Using Wizard are
:
4) Define grouping for the fields of the table if required and click Next
5) Sort the field in the report by selecting the appropriate field name and sorting
method(if required) and click Next.
1) To create a form you need to select ____________ option available under Database
section.
2) A _______________ is helps to collect specific information from the pool of data in the
database.
Q6. In how many ways Forms and Reports can be created in a database?
Click for Answers of above Questions ——- Click for more Questions and
Answers