1.7 Database Systems Flashcards

1
Q

Give three examples of standard relational databases:

A

Microsoft SQL server
Oracle Database
MYSQL

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

Advantages to relational database systems:

A

The ability to create meaningful information by joining the tables

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

Simple explanation on relational databases

A

There are multiple small tables of data linked to each other to reduce repeating of data

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

What is a relational database

A

It is a collection of information that organises data in predefined relationships where data is stored in one or more tables of columns and rows

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

What is a database?

A

It Is a data structure that can hold vast amounts of data in a way that makes it easy to modify and search.

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

In a flat file database information is held in …

A

A single table.

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

Each column in a flat file database is called an … and each row is called a …

A

Attribute
Record

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

Flat File databases are generally used for …

A

Small amounts of data

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

Foreign Key

A

Is the field that links to the primary key in another table

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

Primary Key

A

Is A unique identifier in a table for a row

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

What are the three kinds of entity relationship diagrams?

A

One-to-one
One-to-many
Many-to-many

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

What is an entity relationship diagram?

A

It is a simple diagram of a relational database

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

Can many-to-many links exist?

A

No, They must be removed during normalisation

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

How do you draw links?

A

They are straight lines, with crows feet on one of the ends to represent the many part of the relationship

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

Give an example of a one-to-many relationship:

A

Owner to car. Each owner may own multiple cars but each car can only have one owner

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

Why do Database views need to be restricted?

A

Because, One employee 1 should not be able to see employee 2’s information but the boss should be able to both of their information.