Exam 7: Introduction to Structured Query Language (SQL)

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

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

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

B

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

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

A

The SQL command that lets you permanently save data changes is ____.

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

C

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

(Short Answer)
4.8/5
(78)

String comparisons are made from left to right.

(True/False)
4.8/5
(79)

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

(Short Answer)
4.8/5
(76)

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

(True/False)
4.9/5
(84)

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

(Multiple Choice)
4.9/5
(82)

A database language enables the user to create database and table structures to perform basic data management chores.

(True/False)
4.8/5
(74)

The query used to list the P_CODE,P_DESCRIPT,P_INDATE,and P_PRICE fields from the PRODUCT table in ascending order by P_PRICE is ____.

(Multiple Choice)
4.7/5
(76)

Which query will list all the rows in which the inventory stock dates occur on or after January 20,2010?

(Multiple Choice)
4.9/5
(70)

What is a subquery? When is it used? Does the RDBMS deal with subqueries any differently from normal queries?

(Essay)
4.9/5
(62)

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

(Multiple Choice)
5.0/5
(83)

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.9/5
(75)

Entity integrity is enforced automatically when the primary key is specified in the CREATE TABLE command sequence.

(True/False)
4.7/5
(77)

To delete an index,use the ____________________ command.

(Short Answer)
4.9/5
(77)

All SQL commands must be issued on a single line.

(True/False)
4.7/5
(75)

The special operator used to check whether a subquery returns any rows is ____.

(Multiple Choice)
4.8/5
(81)

The SQL command that modifies an attribute's values in one or more table's rows is ____.

(Multiple Choice)
4.9/5
(94)

Since computers identify all characters by their numeric codes,mathematical operators cannot be used to place restrictions on character-based attributes.

(True/False)
4.9/5
(79)
Showing 1 - 20 of 100
close modal

Filters

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