final exam MC Flashcards

1
Q

what is the name of the database we are using in lecture, lab, and homework?

A

SQLite

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

Which of the following allows us to indicate two tables to be joined?

A

INNER JOIN

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

which clause allows us to indicate how we want to filter the records?

A

WHERE

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

What is the clause that indicates the field(s) to be retrieved from a query?

A

SELECT

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

what is the clause which indicates the tables to be used in the query

A

FROM

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

which query allows us to modify a record in a table?

A

UPDATE

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

which query lets us delete a record from a table?

A

DELETE

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

Which clause prevents us from deleting all records in a table when writing a DELETE query?

A

WHERE

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

We can specify which fields in a table we want to fill in when we create a new record, but we are required to fill in any field that cannot be null when creating the record (T/F)

A

True

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

When writing an update statement if you forget the WHERE clause, the entire table will be updated…not just the records you want to change.

A

True

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

What is the tool that manages our dependencies for us?

A

Maven

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

The three things we need for coordinates are the company id, artifact id, and version.

A

False

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

To execute a SELECT query in the JDBC what method should you use?

A

executeQuery()

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

what holds the results from running a SELECT query?

A

ResultSet

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