Exam 24: Relational Databases

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

How does a relational database store information?

(Multiple Choice)
4.7/5
(42)

The outcome of a SQL query is a ____________________.

(Multiple Choice)
4.8/5
(26)

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

(Multiple Choice)
4.7/5
(46)

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

(Multiple Choice)
4.9/5
(45)

An example of a desktop database is:

(Multiple Choice)
4.8/5
(35)

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

(Multiple Choice)
4.8/5
(30)

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

(Multiple Choice)
4.8/5
(44)

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

(Multiple Choice)
5.0/5
(34)

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

(Multiple Choice)
4.8/5
(29)

When you execute a rollback:

(Multiple Choice)
4.8/5
(33)

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

(Multiple Choice)
4.8/5
(37)

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

(Multiple Choice)
4.9/5
(37)

Which clause allows the joining of multiple tables in SQL?

(Multiple Choice)
4.8/5
(41)

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

An example of a production-quality database is:

(Multiple Choice)
4.9/5
(33)

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

(Multiple Choice)
4.9/5
(40)

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

(Multiple Choice)
4.9/5
(37)

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

(Multiple Choice)
4.9/5
(40)

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

(Multiple Choice)
4.9/5
(39)

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

(Multiple Choice)
4.7/5
(30)
Showing 41 - 60 of 75
close modal

Filters

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