Term
|
Definition
An organized collection of logically related data/information to provide effecient retrieval |
|
|
Term
|
Definition
Software that handles the storage, retrieval and updating of data in a computer system –E.g. Perl, Python, MySQL |
|
|
Term
|
Definition
Relational Database Management System |
|
|
Term
|
Definition
Software that handles the storage, retrieval and updating of data in a computer system based on relational model –E.g. Microsoft SQL Server, Oracle, Access, DB2 |
|
|
Term
realational model consist of |
|
Definition
Collection of objects or relations –Set of operators to act on the relations –Data integrity for accuracy and consistency |
|
|
Term
|
Definition
Dr. E. F. Codd proposed the relational model for database systems in 1970. |
|
|
Term
Relational Database Terminology |
|
Definition
A relational database is a collection of relations ortwo-dimensional tables |
|
|
Term
|
Definition
A two-dimensional structure made up of rows and columns |
|
|
Term
|
Definition
Represents all data required for an entity –Each row is unique and stores data about an entity –Also called as tuple or record –Row order is unimportant |
|
|
Term
|
Definition
Represents characteristic of an entity –Each column has a unique name –Also called as attributes or fields –Column order is unimportant –Each column has a datatype –All entries in a column has same datatype |
|
|
Term
|
Definition
An attribute or collection of attributes whose value(s) uniquely identify each row in a relation –Must contain a value and the value must be unique –A table can have only one primary key –Can be made up of several fields (called concatenated key or composite key) |
|
|
Term
|
Definition
An attribute or collection of attributes that defines how tables relate to each other –Refers to a primary key in another table –Data in this field must exactly match data contained in a primary key field Database server Table |
|
|
Term
|
Definition
A data structure that improves the speed of data retrieval operation on database table –Created on a column of a table –Types: —Clustered —Non-Clustered |
|
|
Term
|
Definition
Rules that restrict values in a database table –Can be declared at column level or table level –Types: —Primary key constraint —Unique constraint —Foreign key constraint —Check constraint |
|
|
Term
|
Definition
The process of efficiently organizing data to achieve the following goals: —Avoid data redundancy —Ensure data integrity The process usually involves: —breaking down a single table into two or more tables and —defining relationships between those tables |
|
|
Term
Entity Relationship Diagram |
|
Definition
A graphical representation of the data layout of a system at a high level of abstraction •Defines: –data elements –their inter relationships in the system |
|
|
Term
Notation three main constructs |
|
Definition
–Data Entities –Relationships –Attributes |
|
|
Term
|
Definition
A collection of persons/ places/ objects/ events/ concepts in the real world for which data is collected and maintained |
|
|
Term
|
Definition
Persons: Employee, Student, Patient –Places: Store, Warehouse –Objects: Machine, Product, Car –Events: Sale, Registration, Renewal –Concepts: Account, Course |
|
|
Term
|
Definition
A property or characteristic that explains an entity Employee: Emp_ID, Emp_Name, Emp_Address –Registration: Reg_ID, Reg_Date –Account: Acc_Number, Acc_Type |
|
|
Term
|
Definition
An association or interaction between entities |
|
|
Term
|
Definition
Mandatory Relationship —Optional Relationship |
|
|
Term
|
Definition
One-to-One Relationship —One-to-Many Relationship —Many-to-Many Relationship |
|
|
Term
|
Definition
In a company, each division is managed by only one manager and each manager manages only one division |
|
|
Term
|
Definition
Among the mobile manufacturing companies, a company manufactures many cars, but a given car is manufactured in only one company |
|
|
Term
Many to many relationship |
|
Definition
In a college, every student takes as many courses and every course is taken by many students |
|
|
Term
|
Definition
SQL statements are used to retrieve and update data in a database |
|
|
Term
|
Definition
Includes: –Data Definition Language (DDL) –Data Manipulation Language (DML) |
|
|
Term
DDL(Data Definition Language) |
|
Definition
Syntax for creating ,editing, deleting: –Databases –Tables –Views –Indexes –Constraints –Users –Privileges |
|
|
Term
DML (Data Manipulation Language) |
|
Definition
Syntax for executing queries, updating, inserting, and deleting records. –SELECT -extracts data from one or more table –INSERT INTO -inserts new data into a table –UPDATE -updates data in a table –DELETE FROM -deletes data from a table |
|
|