Database Management System Flashcards
What is Database?
A database is an organised collection of data that can be visualised as a container of information.
What are the advantages of Database?
Advantages of Database are:
i) Reduction in Data redundancy
ii)Reduction in Data inconsistency
iii)Sharing of Data
iv)Enforcement of Data standards
v)ensures data security
vi)data integrity
vii)interactive interface
What are the features of Database?
Features of Database are:
i. there can be more than one table in a database
ii.the information is stored in tables in a database relate to one specific topic. each database contains information about 1 type of item.
iii. data can be simultaneously be accessed by many users.
iv. database offers data protection and features like recovery and backup.
v.it allows the user to view the data in different formats
vi.records unique number or letter in each table, chances of duplication of data is avoided
What is Database Management System (DBMS)?
Database Management Systems (DBMS): A software application used to create, manage, maintain and retrieve the data stored in databases.
What can one find and do in DBMS?
DBMS is used to build the database and manage database in a software.
i. adding new records
ii.editing changing/modifying existing data.
iii.deleting data
iv.sorting data
v.extracting data based on queries
vi.updating and manipulating data item
vii. viewing data and generating reports.
viii.performing calculations.
What are the elements of database
Elements of database:
i. table: set of data elements stored in verticals and horizontal fields and records
ii. field: set of data values
iii. records: set of items stored in tables
How many types of data can be organised in DBMS?
Data can be stored in 2 files
I. flat file: data stored in single tables.
II. relational: data is stored in multiple tables and tables are linked using a common field.
What the objects in Database?
Database objects:
i) tables: basic element of data kept in columns and rows
ii) queries: generate some information from the table
iii) forms: provide an interface in user specified layout which lets the user to view the data or enter new data .
iv) reports: report displays the information in a format as per user’s need.
What is Relational Database?
Relational Database are collection of multiple tables, rows and columns
RDBMS Element keys
Primary Key
Composite Key
Key Field
Foreign Key
What is the common field?
KEY FIELD
What is the key that is used to uniquely identify records (rows) in database and is only 1?
Primary key
What is the key that is a combination of two or more fields (columns) that can uniquely identify or retrieve records?
Composite Key
What can Foreign key do?
allows tables to relate and link through a field which is common in both the tables.
what are the data types in database
- Numeric
2.Alphanumeric
3.Binary - Date Time