Database ch 7 – Flashcards
Unlock all answers in this set
Unlock answersquestion
Most SQL implementations yield case-insensitive searches
answer
false
question
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.
answer
true
question
The special operator used to check whether an attribute value matches a given string pattern is .
answer
like
question
SQL allows the use of logical restrictions on its inquiries such as OR, AND, and NOT.
answer
true
question
The command is used with the ALTER TABLE command to modify the table by deleting a column.
answer
drop
question
In Oracle, the command is used to change the display for a column, for example, to place a $ in front of a numeric value.
answer
format
question
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.
answer
true
question
You cannot insert a row containing a null attribute value using SQL.
answer
false
question
The COMMIT command does not permanently save all changes. In order to do that, you must use SAVE.
answer
false
question
String comparisons are made from left to right
answer
true
question
The conditional LIKE must be used in conjunction with wildcard characters.
answer
true
question
Mathematical operators cannot be used to place restrictions on character-based attributes.
answer
false
question
SQL requires the use of the ADD command to enter data into a table.
answer
false
question
To list the contents of a table, you must use the DISPLAY command.
answer
false
question
Data type selection is usually dictated by the nature of the data and by the intended use.
answer
true
question
A database language enables the user to perform complex queries designed to transform the raw data into useful information.
answer
true
question
A table can be deleted from the database by using the command.
answer
drop
question
The SQL command that allows a user to list the contents of a table is .
answer
select
question
A(n) is an alternate name given to a column or table in any SQL statement.
answer
alias
question
SQL is considered difficult to learn; its command set has a vocabulary of more than 300 words.
answer
false
question
Any changes made to the contents of a table are not physically saved on disk until you use the SAVE command.