Databases Flashcards
What is a data base
collection of data items structured so that data can be searched and retrieved when necessary.
What is a flat file structure
where the entire database is stored in a single file or table and there is one row for each record and one column for each field. This type of structure leads to data being repeated unnecessarily
What is data duplication
Duplicate copies of data – or duplicate copies of non-key data.
What is data inconsistency
The more often data must be keyed the more chance there is for errors in data entry
What is poor data integrity
Data that is erroneous or inconsistent is not reliable.
What is a relational database structure
allow data to be stored across a number of tables. The tables are linked or related together, using relationships, on common fields.
Does a relational data base need multiple tables
Yes
What is access rights
Most relational database systems provide access rights which can be assigned to different users depending on their role. Some of the operations that can be allowed or disallowed to a user are SELECT, INSERT, DELETE, ALTER, and CREATE.
What is sql
Structured Query Language
When manipulating data in the database, SQL queries are formulated.
What is a logical data model
The logical data model is produced during the design of the database, and is independent of the database software,
What is a physical data model
A physical data model is produced during the implementation of the database and defines the physical structure of the database. It creates the table structures, along with the columns (fields) inside them, and the data type for each field. The primary key and any foreign or composite keys for each table are specified here as well as any appropriate validation rules.
What is an attribute
Attribute
An individual data item within an entity. For example, Employee Name in an entity called EMPLOYEE. This is also known as a field.
What is an entity
Identifies an object or subject about which data will be stored within the system. A person, place, thing, or event about which data is collected and held in a table. For example, an EMPLOYEE or a PROJECT. An entity is represented as a table.
What is a primary key
A primary key is an attributes that uniquely identifies one record in a table. For example, the Employee No would uniquely identify each employee in a table.
What is a composite key
Consists of two or more attributes that uniquely identifies one record in a table