Exam 7: Introduction to Structured Query Language SQL

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

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

(Multiple Choice)
4.9/5
(40)

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.8/5
(28)

Which of the following is used to select partial table contents?

(Multiple Choice)
4.8/5
(36)

SQL allows the use of logical restrictions on its inquiries such as OR,AND,and NOT.

(True/False)
4.8/5
(37)

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

(Essay)
4.7/5
(41)

A(n),also known as a nested query or an inner query,is a query that is embedded (or nested)inside another query.

(Short Answer)
4.7/5
(40)

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.8/5
(38)

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?

(Multiple Choice)
4.9/5
(31)

The SQL command that allows a user to list the contents of a table is .

(Multiple Choice)
4.9/5
(33)

In SQL,all expressions evaluate to true or false.

(Short Answer)
4.9/5
(32)

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

(Multiple Choice)
4.8/5
(33)

The condition is generally composed of an equality comparison between the foreign key and the primary key of related tables.

(Short Answer)
4.9/5
(41)

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.8/5
(28)

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

(Multiple Choice)
4.9/5
(34)

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

(True/False)
4.7/5
(31)

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

(Short Answer)
4.9/5
(39)

___ __.is the process the DBMS uses to verify that only registered users access the database.

(Short Answer)
4.8/5
(38)

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)
4.7/5
(31)

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)
5.0/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.8/5
(33)
Showing 41 - 60 of 92
close modal

Filters

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