Filters
Question type

Study Flashcards

​By default,a column alias is displayed in lower case characters in the results.

A) True
B) False

Correct Answer

verifed

verified

The name of the table containing the data to be retrieved is specified in the ____________________ clause.​

Correct Answer

verifed

verified

Contents of the BOOKS table Contents of the BOOKS table    -Based upon the contents of the BOOKS table,which of the following SQL statements will display two columns in its output?​ A)  ​SELECT DISTINCT title FROM books; B)  ​all of the above C)  ​SELECT * FROM books; D)  ​SELECT title,retail-cost  Profit  FROM books; -Based upon the contents of the BOOKS table,which of the following SQL statements will display two columns in its output?​


A) ​SELECT DISTINCT title FROM books;
B) ​all of the above
C) ​SELECT * FROM books;
D) ​SELECT title,retail-cost "Profit" FROM books;

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

Contents of the PUBLISHER table Contents of the PUBLISHER table    ​ -Based upon the contents of the PUBLISHER table,which of the following SQL statements will execute without returning an error message?​ A)  ​SELECT pubid PUBLISHERID name FROM publisher; B)  ​SELECT pubid  PUBLISHER ID  name FROM publisher; C)  ​SELECT pubid name FROM publisher; D)  ​all of the above ​ -Based upon the contents of the PUBLISHER table,which of the following SQL statements will execute without returning an error message?​


A) ​SELECT pubid PUBLISHERID name FROM publisher;
B) ​SELECT pubid "PUBLISHER ID" name FROM publisher;
C) ​SELECT pubid name FROM publisher;
D) ​all of the above

E) B) and C)
F) C) and D)

Correct Answer

verifed

verified

Contents of the BOOKS table Contents of the BOOKS table    -Based upon the contents of the BOOKS table,which of the following columns will be displayed with a right-aligned column heading?​ A)  ​title B)  ​pubdate C)  ​category D)  ​pubid -Based upon the contents of the BOOKS table,which of the following columns will be displayed with a right-aligned column heading?​


A) ​title
B) ​pubdate
C) ​category
D) ​pubid

E) B) and C)
F) A) and B)

Correct Answer

verifed

verified

Combining the contents of two or more columns is known as projection._________________________​

A) True
B) False

Correct Answer

verifed

verified

Which of the following are case sensitive in Oracle 12c?​


A) ​none of the above
B) ​table names
C) ​column names
D) ​keywords

E) All of the above
F) C) and D)

Correct Answer

verifed

verified

​The DIST or UNIQ keywords can be used to suppress duplicate data in the results of a SELECT statement.

A) True
B) False

Correct Answer

verifed

verified

The ALL option can be used in the SELECT clause to indicate that all columns should be retrieved._________________________

A) True
B) False

Correct Answer

verifed

verified

Choosing specific columns in a SELECT statement is known as ____________________.​

Correct Answer

verifed

verified

If the results of a SELECT statement include more than one column of data,the column names must be separated in the SELECT clause by which of the following symbols?​


A) ​" "
B) ​' '
C) ​*
D) ​,

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

The SELECT command can be used to display the structure of a database table._________________________​

A) True
B) False

Correct Answer

verifed

verified

By default,the data for character fields are displayed ____________________ aligned when they are displayed.​

Correct Answer

verifed

verified

​Each section of a statement that begins with a keyword is known as a(n)buffer._________________________

A) True
B) False

Correct Answer

verifed

verified

Insignificant zeros are displayed for numeric columns by default to show two decimal places._________________________​

A) True
B) False

Correct Answer

verifed

verified

When should double-quotation marks (" ")be used in a SELECT statement?​

Correct Answer

verifed

verified

Double-quotation marks are used when a c...

View Answer

The optional keyword ____________________ can be used to distinguish between a column name and a column alias.​

Correct Answer

verifed

verified

Contents of the BOOKS table Contents of the BOOKS table    -Which of the following is a valid SQL statement?​ A)  ​SELECT DISTINCT title,category FROM books/ B)  ​all of the above C)  ​SELECT title,retail-cost FROM books; D)  ​SELECT title,retail-cost  Profit -Which of the following is a valid SQL statement?​


A) ​SELECT DISTINCT title,category FROM books/
B) ​all of the above
C) ​SELECT title,retail-cost FROM books;
D) ​SELECT title,retail-cost "Profit"

E) None of the above
F) All of the above

Correct Answer

verifed

verified

In an arithmetic expression,multiplication and ____________________ are always solved first in Oracle 12c.​

Correct Answer

verifed

verified

​In a(n)SELECT statement,keywords,table names,and column names are not case sensitive._________________________

A) True
B) False

Correct Answer

verifed

verified

Showing 21 - 40 of 121

Related Exams

Show Answer