CHP 9
CHP 9
3. Label the components – Title Bar, Database Pane, Tasks Pane, Status Bar of the LibreOffice
Base User Interface.
Database Pane
Task pane
Status Bar
To make a particular field as the primary key, place the mouse pointer before the
field name, for example Event Id and right click. A pop up menu appears. Select
the Primary Key option from pop up menu . A key icon appears before the field
name indicating that it is a primary key.
5. Write steps to sort the table in descending order of primary key.
Step 1. Open the Event table in datasheet view and select the field on which you
want to sort. the field “Points” is selected to sort the records in ascending order.
Step 2. From the tool bar click Sort Descending icon if the table has to be sorted in
descending order of selected field.
Step 3. The table will be sorted in the descending order of points.
Extra ques
What is sorting?
Data in a table can be arranged in ascending or descending order. This process of
arranging the records in particular order on any filed is called as sorting.
Table: A table is a set of data elements (values) that is organized using a model of vertical
columns(which are identified by their name) and horizontal rows. A table has a defined
number of columns, but can have any number of rows. Each row is identified by the values
appearing in a particular column identified as a unique key index or the key field.
Field: A column is a set of data values of a particular simple type, one for each row of the table. The
columns provide the structure according to which the rows are composed.
For example, cFirstName, or cLastName are fields in a row.
Composite Primary Key:When primary key constraint is applied on one or more columns then it is
known as Composite Primary Key.
Forms: A form provides the user a systematic way of storing information into the database. It is an
interface in a user specified layout that lets users to view, enter, and change data directly in
database objects such as tables.
Reports : A report helps to display the data in a summarized manner. It is used to generate the
overall work outcome in a clear format.