Relational Database Concepts 2 Flashcards

1
Q

What is metadata?

A

Data about data.

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

What is a data dictionary?

A

It’s often called a database about a database. It contains metadata. Different database packages will contain slightly different information in the data dictionary.

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

Text/string within a database:

A

Any key on the keyboard. Numbers are only stored as text if they are not to be manipulated as numbers (multiplication, addition, etc).

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

Why is a telephone number stored as a text/string type of data?

A

They do not have mathematical functions applied to them. They have spaces and start with a 0 which makes them text based, not numeric.

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

Integer/real within a database:

A

Numbers. Integer without decimal places and real with decimal places. Currency is stored as a real number even though the ‘£’ symbol is text.

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

Boolean within a database:

A

Boolean fields can store one of only two possible values, such as yes/no, that can be used to represent any question with two possible outcomes.

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

What is the data type used for date/time?

A

Date/time. ;)

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

What is a query?

A

Like a search function.

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

What are the two types of queries?

A

Simple and complex.

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

Describe a simple query.

A

A simple query searches one column (such as searching Gibson in TypeOfGuitar to be shown all Gibson’s).

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

What is a static parameter query?

A

A query that has been set and can’t change.

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

What is a dynamic parameter query?

A

A query which asks the user for the value to search for.

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

Describe a complex query.

A

A parameter query that searches using more than one parameter value (column).

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

The parameters in a complex query can be joined together in three ways:

A

AND (includes all records from both queries), OR (To find records that match one or the other or both searches.) NOT (an inverse query. Searching for everything apart from what you have selected).

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