Chapter 9 Databases: Unit 9.1: Databases Flashcards

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

Define 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

What types of data can be stored in a database?

A

Text, numbers, pictures; anything that can be stored on a computer.

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

Define single-table database

A

Database that contains only one table.

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

Why are databases useful?

A

Prevent problems occurring because:
If any changes or additions are made it only has to be done once - data is consistent
The same data is used by everyone
Data is only stored once in relational databases which means no data duplication.

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

What are databases used for?

A

To store information about people, things, events, etc.

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

Define record

A

A row in a table

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

Define field

A

A column in a table

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

What are the 6 data types?

A

Text/alphanumeric
Character
Boolean
Integer
Real
Date/Time

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

Define SQL

A

Standard Query Language for writing scripts to obtain useful information from a database.

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

Define SQL script

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

What are the 6 SQL Query statements?

A

SELECT - Fetches specified fields (columns) from a table
FROM - Identifies the table to use
WHERE - Includes only records (rows) in a query that match a given condition
ORDER BY - Sorts the results from a query by a given column either alphabetically or numerically
SUM - Returns the sum of all the values in a field (column)
COUNT - Counts the number of records (rows) where the field (column) matches a specified condition

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