Chapter 9 - Databases Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Database

A

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

Single table database

A

Data base containing only one table

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

Table

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

Record

A

Collection of fields that describe one item (rows)

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

Field

A

Database table (columns)

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

How databases prevent problems (3)

A

Everyone uses the same data
Data is consistent (changes/additions only have to be made once)
Data only stored once in relational databases so no data duplication

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

What are data bases used for (3)

A

To store information about:
-people
-events
-things

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

Difference between fields and records

A

Fields are fixed records can vary

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

Validation

A

Prevents incorrect data from being entered

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

Basic data types (6) in a database

A

Boolean
Character
Integer
Text/alphanumeric
Real
Date/time

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

Data type

A

Classification of how data is stored and displayed and of which operations can be performed on the stored value

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

Primary key

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
13
Q

SQL

A

Structured 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
14
Q

SQL scripts

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
15
Q

FROM

A

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
16
Q

WHERE

A

SQL command to include only those records in a query that match a given condition

17
Q

ORDER BY

A

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

18
Q

SUM

A

SQL command that returns the sum of all values in a field (column) USED WITH SELECT

19
Q

COUNT

A

SQL command that counts the number of records (rows) in which the field matches a specific condition
Used with SELECT

20
Q

SELECT

A

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