Exam 23: Relational Databases

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

A ______ lets you fetch a query result, one row at a time.

(Multiple Choice)
5.0/5
(44)

An example of a production-quality database is:

(Multiple Choice)
4.7/5
(36)

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

(Multiple Choice)
4.8/5
(28)

A _____________ is a column (or set of columns) whose value uniquely specifies a table record.

(Multiple Choice)
4.8/5
(30)

In database terminology, a column (or combination of columns) that uniquely identifies a row in a table is called a(n) ____.

(Multiple Choice)
4.8/5
(44)

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

(Multiple Choice)
4.8/5
(38)

To get the number of columns in a result set, you use _________ method of the ResultSetMetaData class.

(Multiple Choice)
4.8/5
(31)

An example of a lightweight database is:

(Multiple Choice)
4.8/5
(31)

Based on the customer table below, which of the attributes do you think represents the primary key? Customer table Based on the customer table below, which of the attributes do you think represents the primary key? Customer table

(Multiple Choice)
4.9/5
(36)

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

(Multiple Choice)
4.7/5
(31)

In SQL, the _____________ command is used to issue queries that do not modify the database.

(Multiple Choice)
4.8/5
(37)

In jdbc.URL, the acronym URL stands for:

(Multiple Choice)
4.8/5
(32)

Oracle is an example of a:

(Multiple Choice)
4.8/5
(42)

Based on the table below, which of the following statements will return the number of customers in Michigan (MI)? Customer table Based on the table below, which of the following statements will return the number of customers in Michigan (MI)? Customer table

(Multiple Choice)
4.9/5
(31)

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.7/5
(30)

Based on the table below, the query that finds the names and zip codes of all customers is _____________________. Customer table Based on the table below, the query that finds the names and zip codes of all customers is _____________________. Customer table

(Multiple Choice)
4.8/5
(39)

In the table below, the ____ correspond(s) to the attributes of a customer in the database. Customer table In the table below, the ____ correspond(s) to the attributes of a customer in the database. Customer table

(Multiple Choice)
4.8/5
(32)

What does the following statement do? String prodCode = nextLine(in, "Product Code (D=Done, L=List)");

(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
(43)

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

(Multiple Choice)
4.9/5
(37)
Showing 41 - 60 of 75
close modal

Filters

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