Exam 5: Beginning Structured Query Language Sql

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

You cannot insert a row containing a null attribute value using SQL.

(True/False)
4.8/5
(36)

Data type selection is usually dictated by the nature of the data and by the intended use.

(True/False)
4.8/5
(32)

If you add a new column to a table that already has rows, the existing rows will default to a value of ____________________ for the new column.

(Short Answer)
4.8/5
(28)

The SQL aggregate function that gives the total of all values for a selected attribute in a given column is ____.

(Multiple Choice)
4.7/5
(36)

The basic SQL vocabulary has fewer than ____________________ words.

(Short Answer)
4.8/5
(29)

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
(42)

All SQL commands must be issued on a single line.

(True/False)
4.7/5
(28)

The CHECK constraint is used to define a condition for the values that the attribute domain cannot have.

(True/False)
4.9/5
(42)

ANSI-standard SQL allows the use of special operators in conjunction with the WHERE clause.

(True/False)
4.8/5
(36)

What command is used to save changes to the database? What is the syntax for this command?

(Essay)
4.8/5
(39)

Most SQL implementations yield case-insensitive searches.

(True/False)
4.9/5
(38)

Using the ____________________ command, SQL indexes can be created on the basis of any selected attribute.

(Short Answer)
4.9/5
(39)

If your integer values are relatively small, use ____________________ instead of INT.

(Short Answer)
4.8/5
(35)

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

(Multiple Choice)
4.8/5
(42)

SQL is considered difficult to learn; its command set has a vocabulary of more than 300 words.

(True/False)
4.7/5
(25)

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 and the output is ordered by the price is ____.

(Multiple Choice)
4.7/5
(30)

The COMMIT command does not permanently save all changes. In order to do that, you must use SAVE.

(True/False)
4.8/5
(37)

What are the wildcard characters that are used with the LIKE command? Provide one or more examples of each.

(Essay)
4.9/5
(35)

Only numeric data types can be added and subtracted in SQL.

(True/False)
4.9/5
(37)

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

(Short Answer)
4.7/5
(33)
Showing 61 - 80 of 100
close modal

Filters

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