Exam 3: The Relational Model 2: SQL

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

You can use the SQL CREATE TABLE command to insert rows into a table.

(True/False)
4.8/5
(49)

Based on the code shown, for each sales rep, which query lists the rep number, the number of customers assigned to the rep, and the average balance of the rep's customers? The records are grouped by rep number and ordered by rep number.??Customer ( CustomerNum, CustomerName, Street, City, State, PostalCode, Balance, CreditLimit, RepNum )

(Multiple Choice)
4.7/5
(36)

Based on the code shown, which query lists the number and name of all customers that are either represented by sales rep 30 or that currently have orders on file, or both???Customer ( CustomerNum, CustomerName, Street, City, State, PostalCode, Balance, CreditLimit, RepNum )

(Multiple Choice)
4.9/5
(36)

SQL is the standard language for relational ___________________ manipulation.

(Short Answer)
4.9/5
(28)

Based on the code shown, which query lists the complete student table???Student (StudentID, FirstName, LastName, Street, City, State, PostalCode)

(Multiple Choice)
4.8/5
(33)

The BETWEEN operator is exclusive; it includes all numbers between the lower and higher numbers, but excludes the lower and higher numbers themselves.

(True/False)
4.8/5
(39)

Based on the code shown, which query finds the name of the student whose ID is 1167???Student (StudentID, FirstName, LastName, Street, City, State, PostalCode)

(Multiple Choice)
4.9/5
(29)

Words that are part of the SQL language are called ____________________ words.

(Short Answer)
4.8/5
(40)

Which query will return the number of rows where the State field is 'AZ' from the table Customers?

(Multiple Choice)
4.8/5
(38)

Based on the code shown, which query lists the number, name, street, and credit limit of all customers? The records are ordered by customer name within descending credit limit.??Customer ( CustomerNum, CustomerName, Street, City, State, PostalCode, Balance, CreditLimit, RepNum )

(Multiple Choice)
4.8/5
(31)

Based on the code shown, which query lists the name of every student whose postal code is 10113???Student (StudentID, FirstName, LastName, Street, City, State, PostalCode)

(Multiple Choice)
4.7/5
(40)

A valid name for a table might be tbl$Student.

(True/False)
4.8/5
(40)

In Access SQL, which character is used as a wildcard to represent any individual character?

(Multiple Choice)
4.8/5
(35)

Based on the code shown, which query lists the number, name, credit limit, and balance for all customers with credit limits that exceed their balances???Customer ( CustomerNum, CustomerName, Street, City, State, PostalCode, Balance, CreditLimit, RepNum )

(Multiple Choice)
4.9/5
(34)

The ____________________ data type stores integers in the range -32768 to 32767.

(Short Answer)
4.9/5
(34)

SQL uses an on-screen form to create tables, update tables, and retrieve data from tables.

(True/False)
4.7/5
(34)

Based on the code shown, which query finds how many items are in category TOY???Item (ItemNum, Description, OnHand, Category, Storehouse, Price )

(Multiple Choice)
4.9/5
(31)

Based on the code shown, which query lists the descriptions of all items that are located in Storehouse 3 or for which there are more than 20 units on hand, or both???Item (ItemNum, Description, OnHand, Category, Storehouse, Price )

(Multiple Choice)
4.8/5
(25)

Which operator do you use in the WHERE clause when you want to include a wildcard?

(Multiple Choice)
4.8/5
(34)

A WHERE and a HAVING clause cannot be included in the same query.

(True/False)
4.9/5
(36)
Showing 21 - 40 of 75
close modal

Filters

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