Theory Flashcards
Desirable attributes of data
Sharable, Transportable, Accurate, Relevant, Timely and Secure
Common features of a database
Storage medium, structure and rapid data entry & retrieval
Problems with data management
Redundancy (same data stored in multiple places)
Poor interface (data difficult to access or understand)
Lack of reality (poor model of the real world)
Lack of data integration (data dispersed across different systems)
Delays (waiting to gather data)
Lack of data control (data poorly managed)
What is hardness of information?
Hardness indicated the accuracy of the data. The softer the data, the more resources the manager needs in order to verify that the information is correct
What is the richness of data?
Richness is related to the way the data is communicated. If the information gathered comes directly from the source (face-to-face), the data is rich. If it is communicated via another person over email, not so rich
Types of information sought by manager during change
Goal setting information: information related to external environment changes and use that to set a new goal
Gap information: information showing the gap between where company stands now and goal they want to achieve
Change information: shows what happens when a particular change is made
Definition entity
An entity is a table in a database
Definition instance
An instance is a row in a table
Definition primary key
The primary key is the unique identifier of an entity in a database
Definition foreign key
The foreign key refers to the primary key in the other table of a relationship.
How to create a table
CREATE <Table> (
<attribute> datatype
" (how many attributes you have)
PRIMARY KEY (<Name>));
</Name></attribute>
Assign values to a table
INSERT INTO <Table>(
(<column>, <column>, etc.)
VALUES
(value1, value2, etc.)</column></column>
SELECT * FROM <Table name>
Shows entire table selected
SELECT * FROM <Table name> WHERE <column></column>
Shows rows where column condition is met
WHERE + AND or OR
Where can be combined with AND or OR to allow for multiple conditions on multiple columns
ORDER BY
Order by can be used to display the data in a specific order. Automatically does so in ascending (ASC) order, but when DESC is typed, it does so in descending order
UPDATE <Table name>
SET <Columns> = 'new value'
WHERE <PK> = 'value'</PK></Columns>
Used to update existing data points in an entity