Filters
Question type

Study Flashcards

A(n) ____________________ is a logical group of database objects, such as tables and indexes, that are related to each other.

Correct Answer

verifed

verified

schema

A specialty field in mathematics, known as ____________________ algebra, is dedicated to the use of logical operators.

Correct Answer

verifed

verified

You can select partial table contents by naming the desired fields and by placing restrictions on the rows to be included in the output.

A) True
B) False

Correct Answer

verifed

verified

SQL allows the use of logical restrictions on its inquiries such as OR, AND, and NOT.

A) True
B) False

Correct Answer

verifed

verified

A(n) ____________________ character is a symbol that can be used as a general substitute for other characters or commands.

Correct Answer

verifed

verified

Which query will list all the rows in which the inventory stock dates occur on or after January 20, 2010?


A) SELECT P_DESCRIPT, P_QOH, P_MIN, P_PRICE, P_INDATE
FROM PRODUCT
WHERE P_INDATE >= '20-JAN-2010'
B) SELECT P_DESCRIPT, P_QOH, P_MIN, P_PRICE, P_INDATE
FROM PRODUCT
WHERE P_INDATE >= $20-JAN-2010$
C) SELECT P_DESCRIPT, P_QOH, P_MIN, P_PRICE, P_INDATE
FROM PRODUCT
WHERE P_INDATE <= '20-JAN-2010'
D) SELECT P_DESCRIPT, P_QOH, P_MIN, P_PRICE, P_INDATE
FROM PRODUCT
WHERE P_INDATE >= {20-JAN-2010}

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

Correct Answer

verifed

verified

UPDATE tablename ***** [WHERE conditionlist]; The ____ command replaces the ***** in the syntax of the UPDATE command, shown above.


A) SET columnname = expression
B) columnname = expression
C) expression = columnname
D) LET columnname = expression

E) A) and B)
F) B) and D)

Correct Answer

verifed

verified

A

Which query will output the table contents when the value of V_CODE is equal to 21344?


A) SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT
WHERE V_CODE <> 21344;
B) SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT
WHERE V_CODE <= 21344;
C) SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT
WHERE V_CODE = 21344;
D) SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE
FROM PRODUCT
WHERE V_CODE => 21344;

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

Correct Answer

verifed

verified

A(n) ____________________ order sequence is a multilevel ordered sequence that can be created easily by listing several attributes, separated by commas, after the ORDER BY clause.

Correct Answer

verifed

verified

The query to join the P_DESCRIPT and P_PRICE fields from the PRODUCT table and the V_NAME, V_AREACODE, V_PHONE, and V_CONTACT fields from the VENDOR table where the values of V_CODE match is ____.


A) SELECT P_DESCRIPT, P_PRICE, V_NAME, V_CONTACT, V_AREACODE, V_PHONE
FROM PRODUCT, VENDOR
WHERE PRODUCT.V_CODE <> VENDOR.V_CODE;
B) SELECT P_DESCRIPT, P_PRICE, V_NAME, V_CONTACT, V_AREACODE, V_PHONE
FROM PRODUCT, VENDOR
WHERE PRODUCT.V_CODE = VENDOR.V_CODE;
C) SELECT P_DESCRIPT, P_PRICE, V_NAME, V_CONTACT, V_AREACODE, V_PHONE
FROM PRODUCT, VENDOR
WHERE PRODUCT.V_CODE <= VENDOR.V_CODE;
D) SELECT P_DESCRIPT, P_PRICE, V_NAME, V_CONTACT, V_AREACODE, V_PHONE
FROM PRODUCT, VENDOR
WHERE PRODUCT.V_CODE => VENDOR.V_CODE;

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

____________________ words are words used by SQL to perform specific functions.

Correct Answer

verifed

verified

What is a schema? How many schemas can be used in one database?

Correct Answer

verifed

verified

In the SQL environment, a schema is a lo...

View Answer

DATE() and SYSDATE are special functions that return today's date in MS Access and ____________________, respectively.

Correct Answer

verifed

verified

Oracle

Some RDBMSs, such as Oracle, automatically ____ data changes when issuing data definition commands.


A) COMMIT
B) ROLLBACK
C) UNSAVE
D) UPDATE

E) A) and B)
F) A) and D)

Correct Answer

verifed

verified

The ANSI prescribes a standard SQL-the current fully approved version is known as SQL-07.

A) True
B) False

Correct Answer

verifed

verified

A common practice is to create a(n) ____________________ on any field that is used as a search key, in comparison operations in a conditional expression, or when you want to list rows in a specific order.

Correct Answer

verifed

verified

A database language enables the user to perform complex queries designed to transform the raw data into useful information.

A) True
B) False

Correct Answer

verifed

verified

To delete an index, use the ____________________ command.

Correct Answer

verifed

verified

The ____ command is used with the ALTER TABLE command to modify the table by deleting a column.


A) DROP
B) REMOVE
C) DELETE
D) ERASE

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

Correct Answer

verifed

verified

When joining three or more tables, you need to specify a join condition for one pair of tables.

A) True
B) False

Correct Answer

verifed

verified

Showing 1 - 20 of 100

Related Exams

Show Answer