D426: Data Management Foundations 1.3

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/21

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.

22 Terms

1
New cards

CRUD operations

Create, Read, Update, and Delete; the four most common database queries

2
New cards

insert/create

a query that adds completely new information to a database

3
New cards

select/read

a query that retrieves information from a database

4
New cards

update

a query that changes existing data in a database

5
New cards

delete

a query that removes data from a database

6
New cards

CREATE TABLE()

SQL statement where table name, column names, and column data types are specified. Table name is specified before parentheses. Column name and data type are separated by a space while commas separate the info for each column.

7
New cards

VARCHAR()

data type for storing textual values; accepts argument for character limits

8
New cards

DECIMAL()

SQL equivalent of a float; accepts arguments for # of significant digits, # of digits after the decimal

9
New cards

database design

a specification of database objects such as tables, columns, data types, and indexes. Also refers to the process used to develop the specification.

10
New cards

large database design process

  1. Analysis

  2. Logical design

  3. Physical design

11
New cards

Analysis/conceptual design/entity-relationship modeling/requirements definition

the database design phase that specifies requirements without regard to a specific database system. Requirements are represented as entities, relationships, and attributes.

12
New cards

ER diagrams

diagrams that depict entities, relationships and attributes of a database.

  • entities = rectangles with names at the top

  • relationships = lines between relationships with action/function names above them

  • attributes = text inside rectangles below the entity names

13
New cards

logical design

database design phase that implements database requirements in a specific database system. i.e. for relational database systems, this phase converts entities, relationships, and attributes into tables, keys, and columns

14
New cards

key

a column used to identify individual rows of a table (i.e. the index)

15
New cards

table diagram

a more detailed version of an ER diagram used in the logical design phase

  • tables = rectangles w/ table names at top

  • columns = text within the rectangles

  • key = marked with a solid bullet

  • empty bullets and arrows indicate columns that refer to keys

16
New cards

database schema

specifies the result of logical design and is depicted in a table diagram

17
New cards

physical design

database design phase that adds indexes and specifies how tables are organized on storage media

18
New cards

data independence

the principle that physical design affects query processing speed but never the query result, which is affected by logical design. This allows database designers to tune query performance without changes to application programs.

19
New cards

application programming interface (API)

a library of procedures or classes that links a host programming language to a database. The host language calls library procedures, which handle details such as connecting to the database, executing queries, and returning results.

20
New cards

cursor objects

objects in APIs that help extract query results by bridging the gap between SQL, which generates multiple rows in one statement, and host languages, which generally process one row at a time in a loop

21
New cards

MySQL

a leading relational database system sponsored by Oracle, which runs on all major operating systems

22
New cards

root account

the administrative account that has full control of MySQL