Exam 23: Relational Databases

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Based on the table below, insert the statement that queries the database for the names of customers who live in the city of Pleasantville: ______________________ Customer table Based on the table below, insert the statement that queries the database for the names of customers who live in the city of Pleasantville: ______________________ Customer table

Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
Verified

D

When you execute a rollback:

Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
Verified

B

The acronym JDBC stands for ________:

Free
(Multiple Choice)
4.8/5
(36)
Correct Answer:
Verified

D

Based on the table below, the SQL statement that changes the address and city of customer 3175, Gregory Adams, to 1337 Parkway Ave and Pembrook, SD, 57462, respectively, is _____________________. Customer table Based on the table below, the SQL statement that changes the address and city of customer 3175, Gregory Adams, to 1337 Parkway Ave and Pembrook, SD, 57462, respectively, is _____________________. Customer table

(Multiple Choice)
4.8/5
(36)

If you encounter an error during updating a transaction, then call the ______ method:

(Multiple Choice)
4.7/5
(34)

The ______ class has a next method to visit the next row of a query result.

(Multiple Choice)
4.8/5
(33)

What does the execute method return?

(Multiple Choice)
4.9/5
(39)

Microsoft Access is an example of a:

(Multiple Choice)
4.8/5
(33)

Which SQL command(s) modify the data in a database? I SELECT II INSERT III DELETE IV UPDATE

(Multiple Choice)
4.9/5
(39)

The following command will compile a Java program called TestDB:

(Multiple Choice)
4.8/5
(43)

What will the following command do? java -classpath derby.sql;. ExecSQL database.properties

(Multiple Choice)
5.0/5
(38)

When you close a connection:

(Multiple Choice)
4.8/5
(33)

If your statement has variable parts, you should use a _________ object.

(Multiple Choice)
4.8/5
(42)

Which Java statement connects to a database using a Connection object?

(Multiple Choice)
4.8/5
(34)

Given the following two statements, what does the call to the next() method return? ResultSet result = statement.executeQuery(); Result.next();

(Multiple Choice)
4.9/5
(36)

A ____________ is a reference to a primary key in a linked table.

(Multiple Choice)
4.8/5
(34)

"SQL injection attacks" have been responsible for many cases of data theft. One of the solutions is:

(Multiple Choice)
5.0/5
(40)

A ______________ object can create statement objects that are used to execute SQL commands.

(Multiple Choice)
4.9/5
(33)

What will the following expression match to? Name LIKE '%e%'

(Multiple Choice)
4.9/5
(27)

If you want to find out about properties of a result set from an unknown table, you need to use:

(Multiple Choice)
4.8/5
(41)
Showing 1 - 20 of 75
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)