Business Database Management

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/79

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

80 Terms

1
New cards

1st normal form

eliminate repeating fields

2
New cards

2nd normal form

eliminate fields not dependent of Primary key

3
New cards

3rd normal form

eliminate transitive dependencies

4
New cards

transit dependency

non-key field is dependent on non-key field

5
New cards

Granularity

level of detail of the data

6
New cards

Problem with flat data and design

redundency

7
New cards

Only good redundent data is ______

Foreign key

8
New cards

Same data can be used in different user groups through________ 

input/put user data masks.

9
New cards

metadata

data within data

10
New cards

Indexes

separate files that are used to improve sorting

11
New cards

indexes have___

faster performance and retrieval 

12
New cards

DBMS

Software to create, store, organize, and retrieve data 

13
New cards

Different database software

Oracle, Access, My SQL, SQL server, Enterprise RDMS, DB2

14
New cards

Application metadata: ______

data entry forms, reports, retrieval request formulas

15
New cards

DB object classes: ____

tables, queries, objects, classes

16
New cards

Advantages of DBMS:

Program data independence, minimal data redundancy, improved data consistancy, improved data sharing, enforcement of standards, data inegrity

17
New cards

primary key

unique identifier field its own table, fields within its table refer to it

18
New cards
19
New cards

Alternate key

an alternative primary key that can unqiley identify tables alongside the primary key

20
New cards

composite/compound key

multiple primary/alternative keys working together as 1 primary key

21
New cards

Foreign key

PK in another table, but also a regular field in current table

22
New cards

entity-relationship model

method of describing how tables are connected

23
New cards

Cardinality

number of records allowed on each side of the relationship

24
New cards

Maximum cardinality

largest possible relationship

25
New cards

minimum cardinality

smallest possible relationship

26
New cards

discriminator field

‘label’ that tells you what type of record you are dealing with

27
New cards

CODD quote

“Every field in a table must directly depend upon the entire primary key of the table so help me CODD:”

28
New cards

Boyes-CODD NF

Order primary key fields from the largest aggregation group to the smallest

29
New cards

Leave warning to____

turn on cascading deletes

30
New cards

referential integrity

parent must exist before child

31
New cards

What table to populate first

Strongest entities

32
New cards

subtype

catergories within a group (cars - ford, mustang, toyota)

33
New cards

supertype

General category (cars)

34
New cards

intersection table/Associative entity

helps join tables by turning M:M to 1:M, avoids data duplication

35
New cards

inclusive subtype

related to one or more subtypes (strong)

36
New cards

exclusive subtypes

relates to one subtype at most (weak)

37
New cards

Recursive/unary relationship

Entity can have relationship with itself (1:1, 1:M)

38
New cards

ID dependent/weak entities

record cannot exist withot the parent

39
New cards

ID independent/strong entity

record can exist on its own

40
New cards

augmented database

database with AI/ML

41
New cards

Upadate operations:

insert operation, delete operation, modify operation

42
New cards

Data definition language

modifyes structure of databse (alter, create, drop)

43
New cards

Data manipulation language

used for fata (insert into, select, delete, update

44
New cards

Data contol language

used for data access control

45
New cards

Transaction control language

manages database transactions

46
New cards

SQL data types

CHAR, VCHAR, INT, NUMERIC, DATE

47
New cards

Other SELECT key words

SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY

48
New cards

DISTINCT

eliminates duplicates from query result

49
New cards

SQL aggregate functions

AVG, MIN, MAX, SUM, COUNT

50
New cards

Inner Join

combines rows from tables only if they match the condition (E.studentID = C.studentID)

51
New cards

Cartesian Join

gives every possible combo from joined tables

52
New cards

alter table

changes structure of relation

53
New cards

VIEW/virtual table

when invokes, executres query to retrieve data, used before SELECT (CREATE VIEW)

54
New cards

union compatible

two sets have same number of columns and data types

55
New cards

UNION

used to combine 2 SELECT statements by listing every row from each SELECTS result

56
New cards

INTERSECT

used to combine results of 2 SELECT statements byt listing same results from both tables

57
New cards

MINUS/DIFFERENCE

Used to combine 2 SELECTs when rows selected form one SELECT does not appear in other SELECT

58
New cards

Outer Join/Left Join/ Right Join

all records do not need to match to combine tables

59
New cards

database front-end

provides access to DB for indirect use (input and retreival), Can have menus, charts, graphs, maps

60
New cards

candidate key

can be used to find value of every attribute in table

61
New cards

ASSERTION

used for user-defined constraints (CREATE ASSERTION)

62
New cards

Trigger

rule activated by deletion, modification, update of data

63
New cards

stored procedures

stored DB steps that return no value

64
New cards

functions

stored DB steps that return a value

65
New cards

CRUD

Create, Read, update, delete

66
New cards

temporary SQL virtual table created from SELECT

Query result set

67
New cards

Common Inventory Table field acronyms 

SKU, UPC, QTY, MOQ, EOQ, ERP

68
New cards

SKU

Stock keeping unit

69
New cards

UPC

Universal produuct code

70
New cards

QTY

Quantity

71
New cards

MOQ

minimum order quantity

72
New cards

EOQ

Economic order quantity

73
New cards

ERP

Enterprise resource planning

74
New cards

Instance class

size and performance

75
New cards

FIFO

financials

76
New cards

entity class

a table

77
New cards

entity instance

a record

78
New cards

Associative entity

used to connect 2 M:M tables

79
New cards

lookup tables are used for ______ checking

reference integrity

80
New cards

why use subqueries

helps break down complex problems into small pieces