Filters
Question type

Study Flashcards

Which of the following is NOT a comparison operator?​


A) ​>=
B) ​BETWEEN...AND
C) ​=
D) ​NOT

Correct Answer

verifed

verified

Contents of BOOKS table Contents of BOOKS table    ​ -Based upon the contents of the BOOKS table in the accompanying figure,which of the following queries will retrieve all books published in 2001?​ A)  ​SELECT * FROM books WHERE pubdate BETWEEN '01-JAN-01' AND '31-DEC-01'; B)  ​SELECT * FROM books WHERE pubdate LIKE '%01'; C)  ​SELECT * FROM books WHERE pubdate >= '01-JAN-01' AND pubdate <= '31-DEC-01'; D)  ​all of the above ​ -Based upon the contents of the BOOKS table in the accompanying figure,which of the following queries will retrieve all books published in 2001?​


A) ​SELECT * FROM books
WHERE pubdate BETWEEN '01-JAN-01' AND '31-DEC-01';
B) ​SELECT * FROM books
WHERE pubdate LIKE '%01';
C) ​SELECT * FROM books
WHERE pubdate >= '01-JAN-01' AND pubdate <= '31-DEC-01';
D) ​all of the above

Correct Answer

verifed

verified

The BETWEEN operator is used to determine the rows that match a value in a given list._________________________​

Correct Answer

verifed

verified

The ____________________ logical operator is used to combine search conditions that must both be TRUE to include a row in the results of a query.​

Correct Answer

verifed

verified

When data is sorted in ascending order,NULL values appear first in the list._________________________​

Correct Answer

verifed

verified

Which of the following symbols is a wildcard character that can represent any number of characters in a WHERE clause?​


A) ​asterisk (*)
B) ​underscore (_)
C) ​question mark (?)
D) ​percent sign (%)

Correct Answer

verifed

verified

By default,query results are sorted in ascending order based upon the column specified in the ORDER BY clause.​

Correct Answer

verifed

verified

The ____________________ symbol is used for determining whether or not a value is greater than a specified search condition.​

Correct Answer

verifed

verified

The SORT BY clause is used for displaying the results of a query in a sorted order._________________________​

Correct Answer

verifed

verified

The ____________________ symbol is used for determining whether or not a value is greater than or equal to a specified search condition.​

Correct Answer

verifed

verified

When sorting the results in ascending order,which of the following values will be presented first in the output?​


A) ​numeric
B) ​character
C) ​NULL
D) ​date

Correct Answer

verifed

verified

Contents of the ORDERS table Contents of the ORDERS table    -Based upon the contents of the ORDERS table in the accompanying figure,which of the following queries will display all orders that were not shipped for at least three days after the order was received?​ A)  ​SELECT * FROM orders WHERE shipdate-orderdate => 3; B)  ​SELECT * FROM orders WHERE shipdate-orderdate >= 3; C)  ​SELECT * FROM orders WHERE NOT shipdate-orderdate => 3; D)  ​SELECT * FROM orders WHERE NOT shipdate-orderdate >= 3; -Based upon the contents of the ORDERS table in the accompanying figure,which of the following queries will display all orders that were not shipped for at least three days after the order was received?​


A) ​SELECT * FROM orders WHERE shipdate-orderdate => 3;
B) ​SELECT * FROM orders WHERE shipdate-orderdate >= 3;
C) ​SELECT * FROM orders WHERE NOT shipdate-orderdate => 3;
D) ​SELECT * FROM orders WHERE NOT shipdate-orderdate >= 3;

Correct Answer

verifed

verified

Showing 121 - 132 of 132

Related Exams

Show Answer