Free tutorials & notes in Hindi & English · Clean code examples 🧰 Free PDF & Image Tools →
Notes › Information Technology (402) › Ch 9: Starting with LibreOffice Base
Class X · Part B – Unit 3: Database Management System — Base · Hindi + English

Ch 9: Starting with LibreOffice Base

LibreOffice Base

LibreOffice Base is a free, open-source RDBMS (Relational Database Management System). A database file is saved with the extension .odb (default name NewDatabase.odb).

Data Types

A field's data type decides what kind of value it can store and how much memory it uses.

CategoryUse / Examples
Text — Memo (LONGVARCHAR)Descriptive data up to 64,000 characters.
Text — Char (fixed)Fixed length, e.g. licence / passport number.
Text — VarcharVariable length up to a limit; uses only the needed bytes.
NumericNumbers for calculations — Integer, Decimal, Float, etc.
CurrencyMonetary values, e.g. $100, Rs. 25.50.
Date/TimeDate, Time, Timestamp.
BooleanTwo values — Yes/No, True/False, On/Off.
BinaryDigitised images and sounds.

Creating a Database

  1. Open Base — the Database Wizard appears.
  2. Choose Create a new database and click Next.
  3. Choose No, do not register the database and click Finish.
  4. Save with a name (extension .odb).

Creating a Table — Two Ways

Remember: 1) Using a Wizard (ready-made sample tables).   2) Using Design View (choose your own fields — full flexibility).

Design View has three columns: Field Name, Field Type, Description. The Field Properties pane at the bottom controls and validates the data (length, format, auto-value).

  1. Type each Field Name and choose its Field Type; add a Description (optional).
  2. Set the primary key: right-click before the field name > Primary Key (a key icon appears). For a composite key, hold Ctrl and select multiple fields.
  3. Save the table (Ctrl+S) and give it a name.

Working with Data

  • Enter data: double-click the table > type values > Tab moves to the next field.
  • Navigation box: shows the current record with First / Previous / Next / Last buttons.
  • Edit: click the value and retype; Esc cancels.
  • Delete: select the record row > Del > confirm Yes.
  • Sort: select a field > Sort Ascending / Descending; use the Sort icon for multiple fields.

Summary

  • Base is a free RDBMS; files are .odb.
  • The data type decides what a field stores and its memory size.
  • Tables are created by Wizard or Design View; the primary key is set by right-click.
  • Data can be entered, navigated, edited, deleted and sorted (ascending/descending).

Quick check: 3 MCQs (tap an option)

Q1. A LibreOffice Base database file has the extension:

Q2. Which data type stores only two values like Yes/No?

Q3. Design View of a table has which three columns?

LibreOffice Base

LibreOffice Base एक मुफ़्त, open-source RDBMS (Relational Database Management System) है। Database file .odb extension से save होती है (default नाम NewDatabase.odb)।

Data Types

Field का data type तय करता है कि उसमें किस तरह की value आएगी और कितनी memory लगेगी।

Categoryइस्तेमाल / उदाहरण
Text — Memo (LONGVARCHAR)64,000 characters तक descriptive data।
Text — Char (fixed)Fixed length, जैसे licence / passport number।
Text — Varcharएक limit तक variable length; सिर्फ़ ज़रूरी bytes लेता है।
Numericगणना के numbers — Integer, Decimal, Float आदि।
Currencyपैसे की values, जैसे $100, Rs. 25.50।
Date/TimeDate, Time, Timestamp।
Booleanदो values — Yes/No, True/False, On/Off।
BinaryDigitised images और sounds।

Database बनाना

  1. Base खोलिए — Database Wizard आता है।
  2. Create a new database चुनकर Next कीजिए।
  3. No, do not register the database चुनकर Finish कीजिए।
  4. नाम देकर save कीजिए (extension .odb)।

Table बनाना — दो तरीके

याद रखिए: 1) Wizard से (ready-made sample tables)।   2) Design View से (अपने fields चुनिए — पूरी flexibility)।

Design View के तीन columns: Field Name, Field Type, Description। नीचे का Field Properties pane data को control और validate करता है (length, format, auto-value)।

  1. हर Field Name लिखिए और उसका Field Type चुनिए; Description (optional) जोड़िए।
  2. Primary key set करना: field name से पहले right-click > Primary Key (key icon दिखता है)। Composite key के लिए Ctrl दबाकर कई fields चुनिए।
  3. Table save कीजिए (Ctrl+S) और नाम दीजिए।

Data के साथ काम

  • Data enter: table double-click > values type कीजिए > Tab अगले field पर ले जाता है।
  • Navigation box: मौजूदा record को First / Previous / Next / Last buttons के साथ दिखाता है।
  • Edit: value पर click करके फिर से type कीजिए; Esc cancel करता है।
  • Delete: record row चुनिए > Del > Yes confirm कीजिए।
  • Sort: field चुनिए > Sort Ascending / Descending; कई fields के लिए Sort icon।

सारांश

  • Base मुफ़्त RDBMS है; files .odb होती हैं।
  • Data type तय करता है field क्या store करे और उसकी memory।
  • Tables Wizard या Design View से बनती हैं; primary key right-click से set होती है।
  • Data enter, navigate, edit, delete और sort (ascending/descending) किया जा सकता है।

झटपट जाँच: 3 MCQs (option पर tap करें)

Q1. LibreOffice Base database file का extension है:

Q2. कौन सा data type सिर्फ़ Yes/No जैसी दो values रखता है?

Q3. Table के Design View में कौन से तीन columns होते हैं?

Frequently Asked Questions

What is LibreOffice Base and what is its file extension?

LibreOffice Base is a free, open-source relational database management system (RDBMS). Its database files are saved with the .odb extension.

What are the two ways to create a table in Base?

A table can be created using a Wizard, which provides ready-made sample tables, or using Design View, where you choose your own fields for full flexibility.

How do you set a primary key in Design View?

Right-click just before the field name and choose Primary Key; a key icon appears. For a composite key, hold Ctrl and select more than one field.

Why is the data type of a field important?

The data type decides what kind of value a field can store (text, number, date, currency, boolean, etc.) and how much memory it uses, which keeps the data valid and efficient.

How was this lesson?

Your feedback helps us make the content better.

Write a review or suggestion (optional)

After approval, your name and city may appear publicly with your review. Please do not write your email or phone number.

▶ CodingEasily on YouTube

Learn with video lessons in easy Hindi

Featured video: RDBMS Part 3 – Class XI Commerce IT

▶ Subscribe – it’s free