Exam 24: Relational Databases

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

In SQL, ____ is used to test for equality.

(Multiple Choice)
4.8/5
(34)

What is the purpose of a primary key?

(Multiple Choice)
4.8/5
(39)

One of the steps for testing the JDBC driver is:

(Multiple Choice)
4.7/5
(40)

A ____________ is a set of rows and columns that provides a "window" through which you can see some of the database data.

(Multiple Choice)
4.9/5
(35)

Based on the table below, the query that finds all customers who do not live in Pleasantville is _________________. Customer table Based on the table below, the query that finds all customers who do not live in Pleasantville is _________________. Customer table

(Multiple Choice)
4.9/5
(43)

When you are done with a Statement object, _______.

(Multiple Choice)
4.8/5
(46)

Used with the LIKE operator, the ______ symbol matches exactly one character.

(Multiple Choice)
4.9/5
(32)

If your program needs to look at several result sets at the same time, _____.

(Multiple Choice)
4.8/5
(33)

When you close a connection:

(Multiple Choice)
4.8/5
(43)

What is wrong with the following statement? ResultSet result = statement.execute("SELECT * FROM emp WHERE empNum = '5'");

(Multiple Choice)
4.8/5
(37)

The ______ clause is used to select data that fulfill a condition.

(Multiple Choice)
4.8/5
(34)

When you first get a result set from the executeQuery method, you need to call ____ to move to the first row

(Multiple Choice)
4.8/5
(37)

The acronym JDBC stands for ________:

(Multiple Choice)
4.8/5
(43)

All database URLs have the format:

(Multiple Choice)
4.8/5
(41)

Which of the following would be a good primary key for a Course table designed to hold course information for a university?

(Multiple Choice)
4.8/5
(39)

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

(Multiple Choice)
4.8/5
(31)

To fetch a column in a result set that stores prices, use the ______ method.

(Multiple Choice)
4.8/5
(35)

What should the database.properties file contain so you can connect to a database?

(Multiple Choice)
4.9/5
(36)

Why should we use try-with-resources to open a Connection to a database?

(Multiple Choice)
4.8/5
(35)

The outcome of a SELECT query is a _________ that you can view and analyze.

(Multiple Choice)
4.9/5
(47)
Showing 21 - 40 of 75
close modal

Filters

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