Exam 3: Structured Query Language

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

In Microsoft Access,tables are added to a QBE Query window by selecting the tables from the ________ dialog box.

(Short Answer)
4.8/5
(35)

When using SQL to create a table,a column is defined by declaring,in this order: data type,column name,and optional constraints.

(True/False)
4.8/5
(34)

A complete table,including both the table structure and any data in the table,can be removed from the database by using the SQL ________ command.

(Short Answer)
5.0/5
(33)

The basic idea of a join is to combine the contents of two or more relations into a new relation.

(True/False)
4.9/5
(31)

In SQL,the LIKE keyword can be used to select on partial values.

(True/False)
4.8/5
(33)

Conditions after the WHERE keyword require single quotes around the values for columns that have which data type?

(Multiple Choice)
4.7/5
(34)

SQL stands for ________.

(Short Answer)
4.7/5
(37)

The SUM built-in function in SQL is used to total the values in a numeric column.

(True/False)
4.7/5
(38)

One way to specify all of the columns of a table is to use the special character * after the SQL keyword ________.

(Short Answer)
4.7/5
(27)

Values of existing data can be changed using SQL through the CHANGE command.

(True/False)
4.7/5
(40)

Referential integrity constraints can be created using the ON DELETE phrase when the table is created using the CREATE TABLE statement.

(True/False)
5.0/5
(36)

Compare and contrast subqueries and joins.

(Essay)
4.9/5
(38)

Data from a maximum of three tables can be combined through the use of subqueries in SQL.

(True/False)
4.7/5
(32)

Given the table  CUSTOMER(CustID, Name, PhoneNum, AcctBalance) \text { CUSTOMER(\underline{CustID}, Name, PhoneNum, AcctBalance) } What is the standard SQL query phrase to retrieve data for customers with an account balance greater than 50?

(Multiple Choice)
4.7/5
(37)

To force the DBMS to remove duplicate rows from the results of an SQL SELECT query,the keyword DISTINCT must be used.

(True/False)
4.8/5
(37)

Conditions in an SQL INSERT command and after the SQL ________ keyword require single quotes around values for Char and VarChar columns,but not around values for Integer and Numeric columns.

(Short Answer)
4.9/5
(34)

Which of the following is the correct SQL clause to sort the results of a SELECT query in reverse-alphabetic order using the Department field?

(Multiple Choice)
4.8/5
(38)

For a column to be defined as the primary key using table constraints,the column must have been given the property NULL.

(True/False)
4.8/5
(40)

Explain how to run an SQL query in Microsoft Access.

(Essay)
4.8/5
(34)

Given the table  STUDENT(StudentID, Name, Advisor) \text { STUDENT(\underline{StudentID}, Name, Advisor) } ,which of the following SQL statements would be used to add new student data to the STUDENT table?

(Multiple Choice)
4.8/5
(28)
Showing 61 - 80 of 96
close modal

Filters

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