Exam 6: The Basics of Querying a Database

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

The DUAL table is a little like an internal Oracle database cursor.

Free
(True/False)
4.9/5
(33)
Correct Answer:
Verified

True

____ queries simply retrieve rows.

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

A

When using GROUP BY,the expression for the ____ statement should include at least one grouping function such as COUNT().

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

B

The following query is an example of a(n)____. SELECT TABLESPACE_NAME,BLOCK_SIZE FROM DBA_TABLESPACES WHERE TABLESPACE_NAME IN (SELECT TABLESPACE_NAME FROM DBA_DATA_FILES);

(Multiple Choice)
4.7/5
(36)

A(n)____________________ view is a subquery embedded in the FROM clause of a calling SELECT statement,which is also a subquery.

(Short Answer)
4.8/5
(35)

A likely use of sequences is for surrogate foreign key generation.

(True/False)
4.8/5
(36)

The DISTINCT clause cannot operate on multiple columns.

(True/False)
4.8/5
(30)

The ____________________ operator is used with the CONNECT BY operator to match the specified column in the parent row,with the parent column in the current row.

(Short Answer)
4.9/5
(31)

The ____ statement allows you to specify tables and columns in the tables,from which data is selected.

(Multiple Choice)
4.7/5
(39)

The difference between EXISTS and IN is that EXISTS only allows an expression on the right.

(True/False)
4.8/5
(37)

Queries can be summarized or aggregated into fewer rows using the GROUP BY and ____ clauses.

(Multiple Choice)
4.9/5
(31)

The ____ SQL group function adds values across rows in a group

(Multiple Choice)
4.8/5
(42)

The ____ clause is a special SQL clause used to retrieve the first value of each group in a set of duplications.

(Multiple Choice)
4.9/5
(38)

The ____ set operator returns distinct rows from both queries.

(Multiple Choice)
4.9/5
(34)

Filtering uses the ____ clause to filter out unwanted rows,or retain wanted rows.

(Multiple Choice)
4.7/5
(36)

The ____ pseudocolumn is used only in hierarchical queries,in tandem with the CONNECT BY operator,returning the level of a row in a hierarchy of rows,in a hierarchical query.

(Multiple Choice)
4.9/5
(39)

A database ____________________ uses a special type of SQL command called a SELECT statement.

(Short Answer)
5.0/5
(38)

A(n)____ flashback query allows you to pull data from a database at a specific point in time.

(Multiple Choice)
4.8/5
(33)

Leaving a column value set to NULL uses more space.

(True/False)
4.9/5
(39)

If you obtain a description of the DUAL table using the DESC command in SQL*Plus Worksheet,you will see that the only column present is called ____.

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

Filters

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