Exam 7: Introduction to Structured Query Language Sql

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

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

(True/False)
4.9/5
(30)

If a user adds 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.9/5
(26)

All changes in a table structure are made using the command, followed by a keyword that produces the specific changes a user wants to make.

(Multiple Choice)
4.8/5
(40)

An example of a command a user would use when making changes to a PRODUCT table is .

(Multiple Choice)
4.8/5
(28)

An alias cannot be used when a table is required to be joined to itself in a recursive query.

(True/False)
4.7/5
(36)

In SQL, all expressions evaluate to True or false.

(Short Answer)
4.9/5
(35)

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

(Short Answer)
4.9/5
(29)

Any changes made to the contents of a table are not physically saved on disk until you use the SAVE <table name> command.

(True/False)
4.9/5
(28)

In an INSERT command, a user can indicate just the attributes that have required values by listing the inside parentheses after the table name.

(Short Answer)
4.7/5
(33)

The SQL data type DATE stores date in the date format.

(Short Answer)
4.9/5
(33)

With the exception of the database process, most RDBMS vendors use SQL that deviates little from the ANSI standard SQL.

(Short Answer)
4.9/5
(32)

To delete an index, one must use the command.

(Short Answer)
4.8/5
(35)

Explain the two SQL functions.

(Essay)
4.9/5
(38)

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

(True/False)
4.9/5
(39)

Which of the following queries will use the given columns and column aliases from the PRODUCT table to determine the total value of inventory held on hand and display the results in a column labeled TOTVALUE?

(Multiple Choice)
4.9/5
(35)

Which of the following queries will output the table contents when the value of P_PRICE is less than or equal to 10?

(Multiple Choice)
4.8/5
(41)

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

The data format for SQL character is .

(Multiple Choice)
4.8/5
(36)

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

(Multiple Choice)
4.8/5
(36)

The command is used to restore the database to its previous condition.

(Multiple Choice)
4.8/5
(26)
Showing 21 - 40 of 111
close modal

Filters

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