Exam 3: The Relational Model 2: SQL

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

To add new data to a table,use the ____ command.

Free
(Multiple Choice)
4.8/5
(37)
Correct Answer:
Verified

C

When a query involves a character field,such as CustomerName,you must enclose the value to which the field is being compared in percent symbols (%).

Free
(True/False)
4.8/5
(32)
Correct Answer:
Verified

False

The ____ function determines the largest value in a given column.

Free
(Multiple Choice)
4.9/5
(43)
Correct Answer:
Verified

C

In order to make changes to existing data in a table,you would use the ____ command.

(Multiple Choice)
4.8/5
(33)

The rules for naming tables and columns are the same in every version of SQL.

(True/False)
4.8/5
(23)

You can save the results of a query as a table by including the ____ clause in the query.

(Multiple Choice)
4.9/5
(41)

Based on the code above,find the name of the student whose ID is 1167.

(Multiple Choice)
4.9/5
(30)

When a subquery is used,____ is(are) evaluated first.

(Multiple Choice)
4.8/5
(25)

The IN operator can be used instead or the OR operator in phrasing certain conditions.

(True/False)
4.8/5
(31)

When you connect simple conditions using the ____________________ operator,the compound condition will be true whenever any of the simple conditions are true.

(Short Answer)
4.8/5
(30)

There are two versions of the "not equal to" operator: <> and !=.

(True/False)
4.9/5
(41)

When you need to sort data on two fields,the more important sort key is called the ____________________ sort key.

(Short Answer)
4.9/5
(40)

You can use the GROUP BY clause and the ORDER BY clause in the same SELECT statement.

(True/False)
4.9/5
(38)

When used after the word SELECT,the ____ 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.8/5
(38)

When you enter numbers in an SQL command,you do not type commas or dollar signs.

(True/False)
4.9/5
(34)

To qualify a field name,precede the name of the field with the name of the table,followed by a(n) ____________________.

(Short Answer)
4.9/5
(39)

Based on the code above,delete any row in the OrderLine table in which the part number is BV06.

(Multiple Choice)
4.8/5
(40)

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

(Short Answer)
4.8/5
(40)

In SQL,you join tables by entering the appropriate conditions in the WHERE clause.

(True/False)
4.8/5
(33)

In MySQL,you use the ____________________ function to concatenate fields.

(Short Answer)
5.0/5
(39)
Showing 1 - 20 of 74
close modal

Filters

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