Database Class 10
Data:
Data is a set of values, facts, figures, or any other form of information that can be processed, analyzed, and interpreted to gain knowledge or insights. Data can be represented in various forms such as numbers, text, images, videos, audio, etc and is the basis of decision-making, research, and analysis in various fields.
Record:
A record, also known as a tuple, is a single row of data in a table. In MS Access, a record represents an individual item or unit of information in a table, such as a single customer, product, or employee. Each record in a table contains one or more fields, which are the individual pieces of information that make up a record.
Field:
A field, also known as a column, is a single piece of data within a record. In MS Access, fields are used to store specific types of information, such as a name, address, or date of birth. Each field in a table has a specific data type, such as text, number, or date/time, which determines the kind of data that can be stored in that field.
Table:
A table is a collection of records and fields that are organized in a specific format. In MS Access, tables are the basic building blocks of a database and are used to store data in a structured format. Each table has a specific set of fields that are used to store specific types of information, and each field has a specific data type.
Database:
A database is an organized collection of data that is stored electronically and can be accessed, managed, and updated easily. It is used to organize and retrieve information efficiently and is widely used in various applications such as business, science, and technology.
DBMS:
A Database Management System (DBMS) is a software system that allows users to interact with a database and manage its data. It provides an interface for users to create, read, update, and delete data stored in a database. DBMSs also provide features such as data validation, data integrity, data security, and data recovery. They can work with various types of databases, such as relational databases, document databases, graph databases, and more. The most popular DBMSs are MySQL, Oracle, Microsoft SQL Server, PostgreSQL, and SQLite.
RDBMS:
RDBMS stands for Relational Database Management System. It is a type of database management system (DBMS) that uses a relational model to organize data into one or more tables, with each table consisting of a set of rows and columns. The tables are related to one another through the use of common columns, also known as keys, that link the data in the tables together. RDBMSs are widely used to store, manage, and retrieve data in various applications such as business, science, and technology. Examples of RDBMS include MySQL, Oracle, SQL Server, PostgreSQL, and SQLite.
MS-Access: 
MS-Access, also known as Microsoft Access, is a relational database management system (RDBMS) that is part of the Microsoft Office Suite. It is primarily used for creating and managing small to medium-sized databases, such as personal or departmental databases. MS-Access allows users to create tables, queries, forms, and reports using its built-in graphical user interface (GUI) and also allows users to write code in VBA (Visual Basic for Applications) for more advanced functionality. MS-Access also allows the creation of forms and reports, which can be used to view, enter, and analyze data in a more user-friendly format. MS-Access can be used for small projects and also can be used as a front-end for larger databases such as SQL Server and Oracle.
Elements of MS Access:
Tables: One of the key elements of MS Access is tables, which are the basic building blocks of an Access database. Tables are used to store data in a structured format, with each table consisting of a set of rows and columns. The rows represent individual records, while the columns represent the fields or attributes of those records. For example, in a table of employees, the rows would represent individual employees, and the columns would represent fields such as name, address, and salary.
Queries: Queries are used to filter, sort, and retrieve specific data from one or more tables in the database. This allows users to quickly find the information they need without having to manually search through each table. Queries can be simple, such as finding all employees with a specific job title, or more complex, such as finding the average salary of employees in a specific department.
Forms: Forms are also an important element of MS Access, they are used to create user-friendly interfaces for data entry, editing, and viewing. Forms provide an easy way for users to input new data into the database, and also to update and delete existing data. They can also be used to navigate through the records in a table, making it easy for users to find the information they need.
Reports: Reports are used to organize and present data in a specific format, such as a summary or a printable layout. They allow users to view data in a way that is tailored to their needs, such as showing a summary of sales by category or a list of employees and their salaries. Reports can also be used to create a printable version of data that can be shared with others.
Macros: Macros in MS Access are used to automate repetitive tasks and add functionality to forms and reports. They can be used to perform a series of actions, such as opening a form or running a query, with just a single click. Macros can also be used to validate data, such as ensuring that the date is entered in the correct format and to perform calculations, such as calculating the total of a column of numbers.
Data Types in MS-Access:
MS-Access supports a variety of data types which can be used to store different types of data in the tables. Some of the most commonly used data types in MS Access are:
Text: This data type is used to store alphanumeric characters, such as names, addresses, and descriptions. It can store up to 255 characters and is the default data type for fields in a new table.
Number: This data type is used to store numeric values, such as integers, decimal numbers, and currency. It can be set to various precision and scale.
Date/Time: This data type is used to store date and time values. It can be used to store a date, a time, or both.
Yes/No: This data type is used to store Boolean values, such as true or false, or yes or no.
AutoNumber: This data type is used to generate a unique number automatically for each new record in a table. This can be useful for creating primary keys, which are unique identifiers for each record in a table.
Currency: This data type is used to store currency values. It can store numbers with up to four decimal places and is used to represent monetary values.
Hyperlink: This data type is used to store web or file addresses. It can store URLs, email addresses, and file paths, which can be clicked on to open the linked page or file.
OLE Object: This data type is used to store pictures, documents, and other types of files, such as Excel spreadsheets, Word documents, and PDFs.
Lookup Wizard: This data type is used to create a drop-down list of values that can be selected from when entering data into a field. It can be used to create a list of predefined values for a field, such as a list of states or a list of product names.
Memo: This data type is used to store a large amount of text. It can store up to 65,535 characters and is commonly used to store notes, descriptions, and other types of large text data.
It's important to note that the data type you choose will affect the kind of data you can store in the field, and also affect the way the data can be queried, sorted, or calculated.
Primary Key and its importance:
A primary key is a column or set of columns in a table that uniquely identifies each row in the table. In MS Access, a primary key is used to ensure that each record in a table has a unique identifier. This helps to prevent duplicate records and ensures that data can be related across multiple tables in the database.
The importance of a primary key in MS Access is that it is used to create relationships between tables in the database. Each table in a database should have a primary key and each table's primary key should be used to create a relationship with another table. This allows data to be related across multiple tables, making it easier to find and analyze data.
Primary keys also help to ensure data integrity by preventing duplicate records and ensuring that each record in a table has a unique identifier. This ensures that data is accurate and consistent and that it can be easily retrieved when needed.
Netra Koirala
Computer Science Educator
Passionate computer science educator and author. Provides free study notes, practical guides, and tutorials for Class 9, 10, 11, 12, and B.Sc CSIT students in Nepal. Years of teaching experience in computer science fundamentals.
LinkedIn ProfileRelated Posts
Loading related posts…
Computer Science notes, tutorials, MCQs, and educational resources for Nepal students. Covering Class 9, SEE preparation, Class 11, Class 12, SLC, programming, DBMS, networking, HTML, JavaScript, PHP, OOP and more.
Featured Post
Grade 10 Computer Science: Specification Grid & Model Questions
Specification Grid & Model Questions of Computer Science | Grade 10 📚 Examination Resource Specification Grid & M...