Database concepts Flashcards

1
Q

A database table is a

A

Structured collection of related data.

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

A row or record in a table contains

A

All the information relating to a single entity such as a person

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

A column or field in a table holds

A

a single item of information-one of theseb for each record

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

What’s an Index?

A

Something that speeds up a search in a database - by inserting the data in a sorted order. For example, if a table is indexed by surname, a new record for Mr Aardvark would be inserted right at the top of the index, making it easier to find. If data is indexed alphabetically, you know when to stop searching (e.g. searching for Jones and you reach Miss Kumar - you know there isn’t a Jones because you have gone past Js

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

What makes a database quicker for a user to search through?

A

An index

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

SQL stands for…?

A

Structured Query Language

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

In SQL an asterisk means

A

Select all fields

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

A query is

A

a way of searching for specific data in a database

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

A flat file database is

A

data stored in a single table or file

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

If you had a table containing Bill, Jane and Fred and a select statement that gave ORDER BY name DESC, what order would they appear in?

A

Jane, Fred, Bill

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