Shared Flashcard Set

Details

Database
n/a
30
Computer Networking
Professional
02/23/2014

Additional Computer Networking Flashcards

 


 

Cards

Term
Database
Definition
An organized collection of logically related data/information to provide effecient retrieval
Term
Datbase 2
Definition
Software that handles the storage, retrieval and updating of data in a computer system
–E.g. Perl, Python, MySQL
Term
RDBMS
Definition
Relational Database Management System
Term
RDBMS
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
RDBMS
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
Table
Definition
A two-dimensional structure made up of rows and columns
Term
Row
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
column
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
Primary Key
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
Foreign Key
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
Index
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
Constraints
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
Database Normalization
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
Entity
Definition
A collection of persons/ places/ objects/ events/ concepts in the real world for which data is collected and maintained
Term
Entity Examples
Definition
Persons: Employee, Student, Patient
–Places: Store, Warehouse
–Objects: Machine, Product, Car
–Events: Sale, Registration, Renewal
–Concepts: Account, Course
Term
Attribute
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
Relationship
Definition
An association or interaction between entities
Term
Optionality
Definition
Mandatory Relationship
—Optional Relationship
Term
Cardinality
Definition
One-to-One Relationship
—One-to-Many Relationship
—Many-to-Many Relationship
Term
one to one relationship
Definition
In a company, each division is managed by only one manager and each manager manages only one division
Term
one to many relationship
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
SQL
Definition
SQL statements are used to retrieve and update data in a database
Term
SQL
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
Supporting users have an ad free experience!