Exam 3: Using SQL Queries to Insert, update, delete, and View Data

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

A query that uses the ____ set operator joins the output of two unrelated queries into a single output result.

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

D

To place a search condition on the results of queries that display group function calculations use the ____________________ clause.

Free
(Short Answer)
4.9/5
(38)
Correct Answer:
Verified

HAVING

Explain how Oracle uses transactions to shield users from changes that may be rolled back.

Free
(Essay)
4.8/5
(27)
Correct Answer:
Verified

The purpose of transaction processing is to enable every user to see a consistent view of the database.To achieve this consistency,a user cannot view or update data values that are part of another user's uncommitted transactions because these uncommitted transactions,which are called pending transactions,might be rolled back.The Oracle DBMS implements transaction processing by locking data rows associated with pending transactions.When the DBMS locks a row,other users cannot view or modify the row.When the user commits the transaction,the DBMS releases the locks on the rows,and other users can view and update the rows again.

To delete table data without saving rollback information,use the ____________________ command.

(Short Answer)
4.9/5
(25)

What will happen when the following query is executed: UPDATE student SET s_class='SR';

(Multiple Choice)
4.9/5
(34)

You must use the GROUP BY clause in a query if you are using a group function.

(True/False)
4.8/5
(26)

The format model to display a four digit year (e.g. ,2005)is ____________________.

(Short Answer)
4.8/5
(44)

How would you select the current value of the sequence s_id_seq?

(Multiple Choice)
4.8/5
(34)

A(n)____________________ is a structure that contains information that identifies the LOB data type and points to the alternate memory location.

(Short Answer)
4.9/5
(35)

The operator ^= indicates not equal.

(True/False)
4.7/5
(45)

How does Oracle prevent other users from modifying data that has been changed in a pending transaction?

(Multiple Choice)
4.8/5
(36)

To create a locator for a LOB column,use the ____ function.

(Multiple Choice)
4.7/5
(29)

When using a nested query,the main query is executed after the subquery.

(True/False)
4.8/5
(33)

The ____________________ function operates on character data and returns a string starting at the start position and of the specified length.

(Short Answer)
4.9/5
(38)

Which statement would be used to select all students with more than one grade?

(Multiple Choice)
4.8/5
(32)

To match a null value use ____.

(Multiple Choice)
4.9/5
(35)

In a SQL query,the search condition begins with ____.

(Multiple Choice)
4.8/5
(29)

Which command is used to give a user permission to alter another user's table?

(Multiple Choice)
4.8/5
(25)

When you use the insert command,you must specify column names.

(True/False)
4.8/5
(30)

If you omit the search condition in the delete query no record will be deleted.

(True/False)
4.9/5
(40)
Showing 1 - 20 of 100
close modal

Filters

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