Exam 23: Relational Databases

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

When you are done with a Statement object, _______.

(Multiple Choice)
4.8/5
(40)

Complete the following statement, which inserts rows into the following Course table. ____________________ VALUES ('CS221', 'Data Structures', '4', 'J. Jones') Course table Complete the following statement, which inserts rows into the following Course table. ____________________ VALUES ('CS221', 'Data Structures', '4', 'J. Jones') Course table

(Multiple Choice)
4.8/5
(29)

You can use the generic ____ method to execute arbitrary SQL statements.

(Multiple Choice)
4.8/5
(35)

Insert the statement that would remove the following table from the database. CREATE TABLE Course ( Course_ID VARCHAR(11), Credits VARCHAR(4), Room_No INT(4) ) ____________________

(Multiple Choice)
4.9/5
(40)

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

The ___ symbol in the query string denotes variables that you fill in when you make an actual query

(Multiple Choice)
4.9/5
(36)

What should be on the class path when you launch a Java program that accesses a database?

(Multiple Choice)
4.7/5
(40)

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

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

(Multiple Choice)
4.9/5
(34)

Which of the following statements is correct?

(Multiple Choice)
4.9/5
(35)

All database URLs have the format:

(Multiple Choice)
4.9/5
(35)

Apache Derby is an example of a:

(Multiple Choice)
4.8/5
(39)

Metadata are ______

(Multiple Choice)
4.9/5
(45)

In SQL, ____ is used to test for equality.

(Multiple Choice)
4.7/5
(38)

Which of the following table attributes could be a unique identifier for a person?

(Multiple Choice)
4.9/5
(42)

To fetch a column in a result set that stores the number of children, use the ______ method.

(Multiple Choice)
4.9/5
(30)

Which import statement will allow you to use a SQLException object?

(Multiple Choice)
4.7/5
(28)

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

Based on the following table, the query that gets the names and complete mailing addresses of all customers is ____________________. Customer table Based on the following table, the query that gets the names and complete mailing addresses of all customers is ____________________. Customer table

(Multiple Choice)
4.9/5
(29)

Database tables store rows that contain the following except

(Multiple Choice)
4.7/5
(34)
Showing 21 - 40 of 75
close modal

Filters

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