UNIT 3 Flashcards

1
Q

All changes in the table structure are made by using the ________ command

A

ALTER TABLE

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

The ALTER TABLE command can also be used to add table constraints

A

ADD

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

You could also use the ALTER TABLE command to remove a column or table constraint.

A

DROP

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

You can alter an existing table by adding one or more columns.

A

Adding Column

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

We can change a column definition as long as there is either no data or the existing column fits into the new column definition.

A

Altering/Changing a Column

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

Occasionally, you might want to modify a table by deleting a column.

A

Dropping a Column

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

A table can be deleted from the database using the DROP TABLE command.

A

Deleting Table from Database

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

The ORDER BY clause is especially useful when the listing order is important to you.

A

ORDER BY

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

SQL’s DISTINCT clause produces a list of only those values that are different from one another.

A

DISTINCT

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