Exam 3: The Relational Model 2: SQL

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

SQL has built-in functions, which are also called ____________________ functions to calculate the number of entries, or the sum or average of all entries.

(Short Answer)
4.8/5
(29)

Which query will return the number of rows where the State field is 'AZ' from the table Customers and provide a total of the Payment field?

(Multiple Choice)
4.8/5
(28)

By using the word ____________________ in a query after a computation, you can assign a name to the computed field.

(Short Answer)
4.7/5
(36)

Based on the code shown, which query deletes any row in the OrderLine table in which the item number is MT03???OrderLine (OrderNum, ItemNum, NumOrdered, QuotedPrice)?Item (ItemNum, Description, OnHand, Category, Storehouse, Price )

(Multiple Choice)
4.9/5
(38)

Based on the code shown, which query lists the number, name, and balance of all customers with balances greater than or equal to $2,000 and less than or equal to $5,000???Customer ( CustomerNum, CustomerName, Street, City, State, PostalCode, Balance, CreditLimit, RepNum )

(Multiple Choice)
4.9/5
(29)

Based on the code shown, which query lists the descriptions of all items that are not in Storehouse 3???Item (ItemNum, Description, OnHand, Category, Storehouse, Price )

(Multiple Choice)
4.8/5
(34)

Computed fields are existing fields in the database that you can perform computations with.

(True/False)
4.9/5
(29)

How are compound conditions formed?

(Essay)
4.7/5
(42)

When used after the word SELECT, which symbol indicates that you want to include all fields in the query results in the order in which you described them to the DBMS when you created the table?

(Multiple Choice)
4.9/5
(31)

Use the ___________________ clause to indicate grouping.

(Short Answer)
4.7/5
(38)

Fields will appear in alphabetical order in the query results of a SELECT clause.

(True/False)
4.8/5
(26)

Preceding a condition by the NOT operator reverses the result of the original condition.

(True/False)
4.8/5
(31)

CHAR data types can be used to store numbers that will not be used in calculations.

(True/False)
4.8/5
(33)

Use the ____________________ data type for fields that contain letters and other special characters, and for fields that contain numbers that will not be used for arithmetic.

(Short Answer)
4.8/5
(34)

You use the WHERE clause on groups and the HAVING clause on rows.

(True/False)
4.8/5
(28)
Showing 61 - 75 of 75
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)