old MTA DAF 3 Flashcards

1
Q

What statement would you use to change data in a table?

A

UPDATE

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

What command do you use to perform a query in SQL?

A

SELECT

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

What command would you use to delete a table while leaving the table structure in place for future use?

A

TRUNCATE TABLE

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

What statement is used to delete a table from a database?

A

DROP

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

What would you use to combine two parameters in a query in SQL?

A

AND

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

How can you prevent the accidental loss of an entire table?

A

Use referential integrity

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

What wildcard character retrieves all records with the SELECT command?

A

*

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

What do you perform when you want to recall specific records from a database?

A

query

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

What keyword used with the SELECT statement is used to not output specified records?

A

NOT

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

Which clause used with the SELECT command will return values that you want to exclude from the normal parameters?

A

EXCEPT

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

What statement would you use to add data to a table?

A

INSERT

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

What clause would you use with the SELECT command that would pull records based on a range?

A

BETWEEN

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

What would you use to combine columns form two different tables?

A

JOIN

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

What statement is used to delete one or more rows in a table?

A

DELETE

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

What clause is used to combine related data from multiple table sources

A

JOIN

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