Filters
Question type

Study Flashcards

Indexes generally slow down access speed in most RDMS.

Correct Answer

verifed

verified

Any create command may be reversed by using a(n) ________ command.


A) undo
B) drop
C) delete
D) unpack

Correct Answer

verifed

verified

B

Which of the following questions is answered by the SQL statement? SELECT COUNT (Product_Description) FROM Product_T;


A) How many products are in the table Product_T?
B) How many products have product descriptions in the Product Table?
C) How many characters are in the field name "Product_Description"?
D) How many different columns named "Product_Description" are there in table Product_T?

Correct Answer

verifed

verified

In order to update data in SQL, one must inform the DBMS which relation, columns, and rows are involved.

Correct Answer

verifed

verified

The FROM clause is the first statement processed in an SQL command.

Correct Answer

verifed

verified

SQL originated from a project called System-S.

Correct Answer

verifed

verified

What result set will the following query return? SELECT Item_No, description FROM item WHERE weight > 100 and weight < 200;


A) The Item_No and description for all items weighing less than 100
B) The Item_No for all items weighing between 101 and 199
C) The Item_No and description for all items weighing between 101 and 199
D) The Item_No for all items weighing more than 200

Correct Answer

verifed

verified

C

The CREATE SCHEMA DDL command is used to create a table.

Correct Answer

verifed

verified

The ALTER TABLE command is used to change a table definition.

Correct Answer

verifed

verified

The comparison operators = and != are used to establish a range of values.

Correct Answer

verifed

verified

SQL has been implemented only in the mainframe and midrange environments.

Correct Answer

verifed

verified

Explain the three classes of SQL commands and when they would be used.

Correct Answer

verifed

verified

There are three classes or types of SQL ...

View Answer

What three clauses are contained in most SQL retrieval statements?

Correct Answer

verifed

verified

The SELECT clause, which lists the colum...

View Answer

The content of dynamic views is generated when they are referenced.

Correct Answer

verifed

verified

What does the following SQL command do? INSERT INTO Customer_T values (001,'John Smith','231 West St','Boston','MA','02115') ;


A) Adds a new record to the Customer_T table
B) Creates the Customer_T table
C) Deletes the Customer_T table
D) Updates the Customer_T table

Correct Answer

verifed

verified

The benefits of a standardized relational language include:


A) application turnover.
B) increased training costs.
C) cross-system communication.
D) confusing the SQL programmers.

Correct Answer

verifed

verified

The following query totals sales in state= 'MA' for each salesperson. SELECT salesperson_id, sum(sales) FROM salesperson GROUP BY salesperson_id HAVING state = 'MA';

Correct Answer

verifed

verified

False

In an SQL statement, which of the following parts states the conditions for row selection?


A) SELECT
B) FROM
C) WHERE
D) GROUP BY

Correct Answer

verifed

verified

COUNT(*) tallies only those rows that contain a value, while COUNT counts all rows.

Correct Answer

verifed

verified

When creating tables, it's important to decide which columns will allow null values before the table is created.

Correct Answer

verifed

verified

Showing 1 - 20 of 102

Related Exams

Show Answer