UTA INSY 3304 - Exam 2 - Chapter 7&9

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/89

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.

90 Terms

1
New cards

Data definition language

DDL

2
New cards

Data manipulation language

DML

3
New cards

CREAT SCHEMA AUTHORIZATION

Creates a database schema

4
New cards

CREATE TABLE

Creates a new table in the user's databse schema

5
New cards

NOT NULL

Ensures that a column will not have null values

6
New cards

UNIQUE

Ensures that a column will not have duplicate values

7
New cards

PRIMARY KEY

Defines a primary key for a table

8
New cards

FOREIGN KEY

Defines a foreign key for a table

9
New cards

DEFAULT

Defines a default value for a column ( when no value is give)

10
New cards

CHECK

validates data in an attribute

11
New cards

CREATE INDEX

Creates an index for a table

12
New cards

CREATE VIEW

Creates a dynamic subset of rows and column from on or more tables

13
New cards

ALTER TABLE

Modifies a table's definition (adds, modifies, or deletes attributes or constraints)

14
New cards

CREATE TABLE AS

Creates a new table based on a query in the user's database schema

15
New cards

DROP INDEX

Permanently deletes an index

16
New cards

DROP VIEW

Permanently deletes a view

17
New cards

Authentications

the process DBMS uses to verify that only registered users access the database

18
New cards

Numeric

Number( L, D) or Numeric(L, D)

19
New cards

Character

Char (L)

20
New cards

Date (DATE)

Stores dates in the Julian format

21
New cards

iNSERT: Command to insert data into table

INSERT INTO tablename VALUES();

22
New cards

COMMIT Syntax

COMMIT [WORK];

23
New cards

SELECT Syntax

Command to list the content

SELECT columnlist FROM tablename;

24
New cards

UPDATE

Command to modify data

Syntax - UPDATE tablename SET columnname = expression [, columnname = expression] [WHERE conditionlist];

25
New cards

ROLLBACK

Syntax -ROLLBACK;

Undoes the changes since last COMMIT

command

26
New cards

DELETE

Command to delete

Syntax - DELETE FROM tablename

27
New cards

Subquery

Query embedded/nested inside another query

28
New cards

=

Equal to

29
New cards

<

Less than

30
New cards

<=

less than or equal to

31
New cards

>

greater than

32
New cards

>=

Greater than or equal to

33
New cards

<> or !=

Not equal to

34
New cards

Alias

Alternate name given to a column or table in any SQL statement to improve the readability

35
New cards

The Rule of Precedence

Establish the order in which computations are completed

Performed in this order:

1. Operations within parentheses

2. Power operations

3.Multiplications and divisions

4.Additions and subtractions

36
New cards

OR and AND

Used to link multiple conditional expressions in a WHERE or HAVING clause

37
New cards

OR

requires only one of the conditional expressions to be true

38
New cards

AND

requires all of the conditional expressions to be true

39
New cards

NOT

is used to negate the result of a conditional expression

40
New cards

Boolean algebra

is dedicated to the use to logical operations

41
New cards

Between

Checks whether attribute value is within a range

42
New cards

IS NULL

Checks whether attribute value is null

43
New cards

LIKE

Checks whether attribute value matches given string pattern

44
New cards

IN

Checks whether attribute value matches any value within a value list

45
New cards

EXISTS

Checks if subquery returns any rows

46
New cards

ALTER TABLE command

To make changes in the table structure

47
New cards

Use _______________ command to ADD primary and foreign keys

ALTER TABLE

48
New cards

DROP TABLE

Deletes table from database

Syntax - DROP TABLE tablename;

49
New cards

ORDER BY

clause is useful when listing order is important

Syntax - SELECT columnlist

FROM tablelist

[WHERE conditionlist]

[ORDER BY columnlist [ASC | DESC]];

50
New cards

Cascading order sequence

Multilevel ordered sequence

51
New cards

DISTINCT clause

Produces list of values that are unique

Syntax- SELECT DISTINCT columnlistFROM tablelist;

52
New cards

Recursive query

Table is joined to itself using alias

53
New cards

Systems analysis

Process that establishes need for and extent of information system

54
New cards

Systems development

Process of creating information system

55
New cards

Database development

Process of database design and its implementation

56
New cards

Purpose of Database Initial Study

Analyze company situation

Define problems and constraints

Define objectives

Define scope and boundaries

57
New cards

Database Design

Supports company's operations and objectives

Most critical phase

Ensures final product meets user and system requirements

58
New cards

Virtualization

Creates logical representations of computing resources independent of underlying physical computing resources

59
New cards

Create the databases

Requires the creation of special storage-related constructs to house the end-user tables

60
New cards

Load or convert the data

Requires aggregating data from multiple sources

61
New cards

Full backup/dump

All database objects are backed up in their entirety

62
New cards

Differential backup

Only modified/updated objects since last full backup are backed up

63
New cards

Transaction log backup

Only the transaction log operations that are not reflected in a previous backup are backed up

64
New cards

Software

Software-induced failures may be traceable to the operating system, the DBMS software, application program, or viruses and other malware

65
New cards

Hardware

Hardware-induced failures may include memory chip errors, disk crashes, bad disk sectors, and disk-full errors.

66
New cards

Programming exemptions

Application program or end users may roll back transactions when certain conditions are defined. Programming exemptions can also be caused by malicious or improperly tested code that can be exploited by hackers.

67
New cards

Transactions

The system detects deadlocks and aborts one of the transactions

68
New cards

External factors

Backups are especially important when a system suffers completely destruction from fire, earthquake, flood, or other natural disaster

69
New cards

Minimum data rule

All that is needed is there, and all that is there is needed

70
New cards

Conceptual Design

Designs a database independent of database software and physical details

71
New cards

Conceptual data model

Describes main data entities, attributes, relationships, and constrains

72
New cards

Conceptual Design Steps

1. Data analysis and requirements

2. Entity relationship modeling and normalization

3. Data model verification

4. Distributed database design

73
New cards

Data Analysis and Requirements

"Discover data element characteristics

Obtains characteristics from different sources

Requires thorough understanding of the company's data types and their extent and uses

Take into account business rules

Derived from description of operations

"

74
New cards

Description of Operations

Provides precise, up-to-date, and reviewed description of activities defining an organization's operating environment

75
New cards

Developing the conceptual model using ER diagrams

1. Identify, analyze, and refine the business rules.

2. Identify the main entities, using the results of Step 1.

3. Define the relationships among the entities, using the result of Step 1 and 2.

4. Define the attributes, primary keys, and foreign keys for each of the entities.

5. Normalize the entities.

6. Complete the initial ER diagram.

7. Validate the ER model against the end users' information and processing requirements.

8. Modify the ER model, using the results of Step 7.

76
New cards

Module

Information system component that handles specific business function

77
New cards

Data Model Verification

Verified against proposed system processes Revision of original design Careful reevaluation of entities Detailed examination of attributes describing entities

78
New cards

The ER Model Verification process

1. Identify the ER model's central entity

2. Identify each module and its components.

3. Identify each modules transaction requirements

4. Verify all processes against system requirements.

5. Make all necessary changes suggested in Step 4.

6. Repeat steps 2-5 for all modules

79
New cards

Cohesivity

Strength of the relationships among the module's entities

80
New cards

Module coupling

Extent to which modules are independent to one another

81
New cards

Database fragment

Subset of a database stored at a given location

82
New cards

Distributed Database Design

Portions of database may reside in different physical locations, Ensures database integrity, security, and performance

83
New cards

DBMS Software Selection

Cost

DBMS features and tools

Underlying model

Portability

DBMS hardware requirements

84
New cards

Logical design

Designs an enterprise-wide database that is based on a specific data model but independent of physical-level details

85
New cards

Physical design

Process of data storage organization and data access characteristics of the database

86
New cards

Logical Design Steps

1. Map the conceptual model to logical model components.

2. Validate the logical model using normalization.

3. Validate the logical model integrity constraints.

4. Validate the logical model against user requirements.

87
New cards

Mapping the conceptual model to the relational model

1. Map strong entities.

2. Map supertype/subtype relationships

3. Map weak entities.

4. Map binary relationships.

5. Map higher-degree relationships.

88
New cards

Physical Design Steps

1. Define data storage organization

2. Define integrity and security measures

3. Determine performance measurements

89
New cards

Clustered Tables

Technique that stores related rows from two related tables in adjacent data blocks on disk

90
New cards

Database Role

Set of database privileges that could be assigned as a unit to a user or group

Explore top flashcards

Unit 11: Evolution
Updated 861d ago
flashcards Flashcards (95)
Biology Test 2
Updated 712d ago
flashcards Flashcards (24)
Unit 6 MWH
Updated 994d ago
flashcards Flashcards (28)
CRIM EXAM 2
Updated 733d ago
flashcards Flashcards (113)
Unit 11: Evolution
Updated 861d ago
flashcards Flashcards (95)
Biology Test 2
Updated 712d ago
flashcards Flashcards (24)
Unit 6 MWH
Updated 994d ago
flashcards Flashcards (28)
CRIM EXAM 2
Updated 733d ago
flashcards Flashcards (113)