Exam 7: Introduction to Structured Query Language Sql

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

A table can be deleted from the database by using the command.

(Multiple Choice)
4.8/5
(73)

The SQL command that allows a user to insert rows into a table is .

(Multiple Choice)
4.8/5
(83)

Mathematical operators cannot be used to place restrictions on character-based attributes.

(True/False)
4.9/5
(65)

To make the output more readable, the SQL standard permits the use of aliases for any column in a statement.

(Short Answer)
4.9/5
(82)

Oracle users can use the Access QBE (query by example) query generator.

(True/False)
4.7/5
(79)

The COUNT function is designed to tally the number of non-null "values" of an attribute, and is often used in conjunction with the DISTINCT clause.

(True/False)
4.8/5
(77)

U.S. state abbreviations are always two characters, so (2) is a logical choice for the data type representing a state column.

(Short Answer)
4.9/5
(92)

When joining three or more tables, you need to specify a join condition for one pair of tables.

(True/False)
4.7/5
(68)

UPDATE tablename ***** [WHERE conditionlist]; The command replaces the ***** in the syntax of the UPDATE command, shown above.

(Multiple Choice)
4.9/5
(95)

If you have not yet used the COMMIT command to store the changes permanently in the database, you can restore the database to its previous condition with the ROLLBACK command.

(True/False)
4.8/5
(88)

Which of the following queries will output the table contents when the value of the character field P_CODE is alphabetically less than 1558-QW1?

(Multiple Choice)
5.0/5
(88)

String comparisons are made from left to right.

(True/False)
4.7/5
(85)

Some RDBMSs, such as Microsoft Access, automatically make the necessary conversions to eliminate case sensitivity.

(True/False)
4.8/5
(89)

A(n) order sequence is a multilevel ordered sequence that can be created easily by listing several attributes, separated by commas, after the ORDER BY clause.

(Short Answer)
4.7/5
(87)

The SQL query to output the contents of the EMPLOYEE table sorted by last name, first name, and initial is _____.

(Multiple Choice)
4.9/5
(73)

To remove a row from the PRODUCT table, one must use the command.

(Multiple Choice)
4.8/5
(76)

Although SQL commands can be grouped together on a single line, complex command sequences are best shown on separate lines, with space between the SQL command and the command's components.

(True/False)
4.7/5
(79)

The query to join the P_DESCRIPT and P_PRICE fields from the PRODUCT table and the V_NAME, V_AREACODE, V_PHONE, and V_CONTACT fields from the VENDOR table where the values of V_CODE match is .

(Multiple Choice)
4.8/5
(98)

Which of the following queries will output the table contents when the value of V_CODE is equal to 21344?

(Multiple Choice)
4.8/5
(79)

The SQL command that allows a user to permanently save data changes is .

(Multiple Choice)
4.9/5
(79)
Showing 41 - 60 of 111
close modal

Filters

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