170 likes | 257 Views
Database Management. Database. Database: A database is a collection of related data or facts. DBMS. DBMS: A database management system (DBMS) is a software tool that allows people to create, store , access, and process data or facts into useful information.
E N D
Database • Database: A database is a collection of related data or facts.
DBMS • DBMS: A database management system (DBMS) is a software tool that allows people to create, store, access, and process data or facts into useful information.
Field: The smallest unit of data in a database; used to group each piece or item of data into a specific category. Fields are arranged in a column
Records: One full set of fields – that is, all the related data about one person or object – is called a record. • Tables: A complete collection of records makes a table.
Flat File database structures • A flat file database consists of a single data table. Flat file databases are useful for certain single user or small group situations., especially for list such as address list or inventories.
Relational Database structures In a relational is made up of set of tables – a common field in any two tables creates a relationship between the tables
Working with a Database 1. Creating tables 2. Viewing records 3. Sorting records 4. Creating queries 5. Generating report
Common Database Management System • Oracle • SQL Server • MySQL • MS Access
Creating Database Tables Name the Field Specify the Field type Specify the Field Size
Primary Key Each table in a relational database has one field that is designated as its primary key. This key field is the unique identifier for all the information in any row of the table and this primary key cannot be duplicated.