Chapter 9: Databases Flashcards

1
Q

Definition of a database

A

a persistent structured collection of data that allows people to extract information in a way that meets their needs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Definition of a single-table database

A

a database that contains only one table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Definition of a table

A

a collection of related records in a database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Definition of a record

A

a collection of fields that describe one item

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Definition of a field

A

a database table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Definition of a data type

A

a classification of how data is stored and displayed, and of which operations that can be performed on the stored value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Definition of a primary key

A

a field in a database that uniquely identifies a record

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Definition of Structured Query Language (SQL)

A

the standard query language for writing scripts to obtain useful information from a relational database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Definition of SQL scripts

A

a list of SQL commands that perform a given task, often stored in a file so the script can be reused

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Definition of SELECT

A

an SQL command that fetches specified fields (columns) from a table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Definition of FROM

A

an SQL command that identifies the table to use

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Definition of WHERE

A

an SQL command to include only those records (rows) in a query that match a given condition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Definition of ORDER BY

A

an SQL command that sorts the results from a query by a given column either alphabetically or numerically

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Definition of SUM

A

an SQL command that returns the sum of all the values in a field (column); used with SELECT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Definition of COUNT

A

an SQL command that counts the number of records (rows) in which the field (column) matches a specified condition; used with SELECT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly