ACCT 427 Chapter 4: Databases

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/16

encourage image

There are no tags or description

Looks like no tags are added yet.

17 Terms

1
New cards

relational database model

data are stored in separate tables that are structured so the tables are linked together

2
New cards

attribute

columns of data on a table

3
New cards

records

rows of data in a table

4
New cards

field

the individual cells within the table

5
New cards

primary key

an attribute or combination of attributes that can be used to uniquely identify a specific row (record) in a table

6
New cards

foreign key

an attribute in one table that is a primary key in another table; used to link the two tables

7
New cards

non-key

an attribute that describes a primary key

8
New cards

update anomaly

changes to existing data on one table may not update another table that used that data (when the tables are not properly linked)

9
New cards

insert anomaly

unable to add a new record to the database tables if trying to use a foreign key to save a transaction but its primary key is not defined

10
New cards

delete anomaly

removing a record also removes other unintended data from the database

11
New cards

SELECT

defines what attribute(s) you want to see in the results; required

12
New cards

FROM

defines what table(s) you want to pull data from; required

13
New cards

WHERE or HAVING

applies a filter to the data; optional

14
New cards

GROUP BY

organizes similar information together (used in calculations such as SUM, COUNT, etc.); optional

15
New cards

ORDER BY or SORT BY

sorts the data in a desired way; optional

16
New cards

JOIN

used when the query uses two or more tables; shows how linked together (explicitly stating any primary and foreign key linkage)

17
New cards

REA diagrams

plans how database tables should relate/link to each other; provides a visual representation of how information in tables relates together, similar to a document flowchart; helps communication between accounting (plans structure) and IT (implements changes)