Filters
Question type

Study Flashcards

Concatenation refers to combining the results of several SELECT statements into one result.​

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 SELECT statements will display the publisher's name first in the results? A)  SELECT * FROM publisher;​ B)  ​SELECT name,publisherID FROM publishers; C)  ​SELECT pubid,contact FROM publisher; D)  ​none of the above ​ -Based upon the contents of the PUBLISHER table,which of the following SELECT statements will display the publisher's name first in the results?


A) SELECT * FROM publisher;​
B) ​SELECT name,publisherID FROM publishers;
C) ​SELECT pubid,contact FROM publisher;
D) ​none of the above

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 is a valid SQL statement? A)  ​SELECT contact Contact's Name FROM publisher; B)  ​SELECT publisherID FROM publisher; C)  ​SELECT contact,name FROM publisher; D)  ​SELECT name FROM publishers; ​ -​Based upon the contents of the PUBLISHER table,which of the following is a valid SQL statement?


A) ​SELECT contact Contact's Name
FROM publisher;
B) ​SELECT publisherID
FROM publisher;
C) ​SELECT contact,name
FROM publisher;
D) ​SELECT name
FROM publishers;

Correct Answer

verifed

verified

What is used to indicate the end of an SQL statement?​


A) ​:
B) ​;
C) ​/
D) ​*

Correct Answer

verifed

verified

When a user asks the database a question,the user is issuing a query.​

Correct Answer

verifed

verified

Contents of the BOOKS table Contents of the BOOKS table    -Which of the following will display the new retail price of each book as 20 percent more than it originally cost?​ A)  ​none of the above B)  ​SELECT title,cost+.20  New Retail Price  FROM books; C)  ​SELECT title,cost*.20  New Retail Price  FROM books; D)  ​SELECT title,cost*1.20  New Retail Price  FROM books; -Which of the following will display the new retail price of each book as 20 percent more than it originally cost?​


A) ​none of the above
B) ​SELECT title,cost+.20 "New Retail Price" FROM books;
C) ​SELECT title,cost*.20 "New Retail Price" FROM books;
D) ​SELECT title,cost*1.20 "New Retail Price" FROM books;

Correct Answer

verifed

verified

You can include ____________________ to override the order of operations when solving arithmetic expressions.​

Correct Answer

verifed

verified

​Parentheses can be used to override the order of operations in an arithmetic expression.

Correct Answer

verifed

verified

​If a column alias contains a blank space,it must be enclosed in double quotation marks._________________________

Correct Answer

verifed

verified

A(n) ____ has a predefined meaning in Oracle 12c.​


A) ​statement
B) ​clause
C) ​keyword
D) ​syntax

Correct Answer

verifed

verified

Structure of the ORDERS table Structure of the ORDERS table    -Based upon the structure of the ORDERS table,the column heading for which column will be truncated in the results?​ A)  ​shipstreet B)  ​orderdate C)  ​customer# D)  ​shipzip -Based upon the structure of the ORDERS table,the column heading for which column will be truncated in the results?​


A) ​shipstreet
B) ​orderdate
C) ​customer#
D) ​shipzip

Correct Answer

verifed

verified

The majority of operations performed on a typical database table utilize the SELECT statement.

Correct Answer

verifed

verified

​The only required clauses for a SELECT statement are the WHERE and FROM clauses._________________________

Correct Answer

verifed

verified

The ____________________ command can be used to display the structure of a table.​

Correct Answer

verifed

verified

Which of the following keywords can be included in a SELECT statement to suppress duplicate data?​


A) ​UNIQ
B) ​SUPPRESS
C) ​all of the above
D) ​DISTINCT

Correct Answer

verifed

verified

The syntax for a SQL statement gives the basic structure required to execute the statement. ​_________________________

Correct Answer

verifed

verified

If you do not want a column alias to appear in all upper case characters,the column alias must be enclosed in ____________________ marks.​

Correct Answer

verifed

verified

​If multiple column names are listed in the SELECT clause of a SELECT statement,the columns must be separated by a comma (,).

Correct Answer

verifed

verified

What is the correct answer for the arithmetic expression 9+2*3-2 using the order of operations employed by Oracle 12c when solving equations?​


A) ​13
B) ​10
C) ​12
D) ​31

Correct Answer

verifed

verified

If a column name is entered in lower case in the SELECT statement,the data for the column will be displayed in lower case in the results.​

Correct Answer

verifed

verified

Showing 81 - 100 of 121

Related Exams

Show Answer