Exam 23: Accessing Databases With Jdbc

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

What is the name of a key in one table that is required to matche a primary key in another table?

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

A

Which of the following is a key benefit of using JDBC?

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

B

SQL uses the _________ as a delimiter for strings.

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

B

Pattern matching in a SQL query is performed with which clause?

(Multiple Choice)
4.8/5
(40)

Which SQL keyword is used to merge rows from multiple tables?

(Multiple Choice)
4.8/5
(34)

Which statement is false?

(Multiple Choice)
4.9/5
(36)

What is the relationship between a primary key and its corresponding foreign keys?

(Multiple Choice)
4.7/5
(43)

When joining tables, the _________ clause specifies the columns from each table that are compared to determine which rows are merged.

(Multiple Choice)
4.9/5
(37)

Classes and interfaces for the JDBC API can be found in which package?

(Multiple Choice)
4.8/5
(43)

Which statement is false?

(Multiple Choice)
4.9/5
(38)

A ________ is a column (or set of columns) which have a unique value that cannot be duplicated in other rows?

(Multiple Choice)
4.9/5
(41)

Selection criteria can be added to a SQL query using which keyword?

(Multiple Choice)
4.8/5
(31)

To retrieve specific columns from a table, use _________ to separate the column names.

(Multiple Choice)
4.9/5
(31)

To obtain data from a table, you ________ the database?

(Multiple Choice)
4.8/5
(42)

Which constants are used to indicate that a ResultSet is scrollable, insensitive to changes and read only?

(Multiple Choice)
4.8/5
(32)

The result of a query can be sorted by using the optional _________ clause.

(Multiple Choice)
5.0/5
(34)

If a query includes columns from multiple tables that have the same name, the statement must precede those column names with _________.

(Multiple Choice)
4.8/5
(30)

Java programs communicate with databases using what API?

(Multiple Choice)
4.8/5
(39)

An a PreparedStatement, parameters are counted from position ________.

(Multiple Choice)
4.9/5
(25)

Transaction processing enables a program to treat a database operation, or set of operations, as single operation. This is known as a(n) ________ or a(n) ________.

(Multiple Choice)
4.7/5
(39)
Showing 1 - 20 of 34
close modal

Filters

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