Unit 4b Flashcards

1
Q

Primary storage objects within database

A

Tables

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

Row data must adhere to rules

A

Table Constraints

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

Column entry for row must have data

A

NOT NULL Table Restraint

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

Allows value to be stored only if that value doesn’t already exist in the column

A

UNIQUE Table Restraint

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

Column entry for row may or may not have data

A

NULL Table Restraint

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

Uniquely identifies every row stored within table

A

PRIMARY KEY Table Restraint

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

Signifies key is used as Primary Key in different table, applied to child table, not parent

A

FOREIGN KEY Table Restraint

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

Allows storage of fixed-length character string

A

CHAR()

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

no value stored (char with no specified size is

assumed to be 1)

A

CHAR

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

value stored ‘‘dog ‘’ (7 wasted spaces)

A

CHAR(10)

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

Add new row of data into Table

A

INSERT INTO Command

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

Change existing value for a row(s) or column(s) in table

A

UPDATE Command

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

Allows deleting of table rows

A

DELETE Command

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

Deleting table from database

A

DROP TABLE Command

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