Copy-of-DB10rrrr
Copy-of-DB10rrrr
A. Commonly B. Always
C. Never D. Seldom
A. Attributes B. Relationships
C. Entities D. Identifers
A. SQL B. Oracle
A. No two rows in a table may be identical. B. The cells of the table must contain a single value.
C. All of the entries in any column must be of the same D. The columns must be ordered.
kind.
A. Rows cannot be copied in mass from one table to B. Rows can be inserted into a table only one at a time
another only. only.
C. Rows can be modified according to criteria only. D. Rows can either be inserted into a table one at a time
or in groups.
A. Sorted B. Constant
C. Any D. Same
C. A → C. D. C is a determinant.
Câu 10. Using which language can a user request information from a database?
A. Query B. Compiler
C. Structural D. Relational
Câu 11. SQL query and modification commands make up a(n) ________ .
A. XML B. DML
C. HTML D. DDL
Câu 12. Helping people keep track of things is the purpose of a(n) ________ .
A. table B. database
C. relationship D. instance
Câu 13. Which of the following types of databases are the most common?
A. Personal B. Enterprise
C. Department D. Workgroup
Câu 15. The command to remove rows from a table CUSTOMER is:
A. Record B. Column
C. Relation D. Field
A. Field B. Tuple
C. Attribute D. Instance
A. GROUP BY B. SORT BY
C. ORDER BY D. ALIGN BY
A. Tables B. Relations
C. Rows D. Attributes
Câu 22. The SQL statement that queries or reads data from a table is ________ .
A. VIEW B. READ
C. SELECT D. QUERY
A. form B. report
C. file D. table
A. Can only be used with two tables. B. Cannot have its results sorted using ORDER BY.
C. Has a distinct form that cannot be duplicated by a D. Can always be duplicated by a join.
join.
A. An exact match is necessary in a CREATE statement. B. An exact match is not possible in a CREATE
statement.
C. An exact match is not possible in a SELECT D. An exact match is necessary in a SELECT statement.
statement.
Câu 27. Which of the following is NOT a type of SQL constraint?
Câu 28. To define what columns should be displayed in an SQL SELECT statement:
A. use USING to name the source table(s) and list the B. use FROM to name the source table(s) and list the
columns to be shown after WHERE. columns to be shown after SELECT.
C. use USING to name the source table(s) and list the D. use SELECT to name the source table(s) and list the
columns to be shown after SELECT. columns to be shown after USING.
Câu 30. For each attribute of a relation, there is a set of permitted values, called the ________ of that attribute.
A. Schema B. Set
C. Relation D. Domain
A. Acts like a WHERE clause but is used for groups B. Acts EXACTLY like a WHERE clause.
rather than rows.
C. Acts like a WHERE clause but is used for columns D. Acts like a WHERE clause but is used for rows rather
rather than groups. than columns.
Câu 32. Which of the following is the correct order of keywords for SQL SELECT statements?
Câu 34. Some advantages of the database approach include all, but:
Câu 36. What SQL structure is used to limit column values of a table?
Câu 37. To remove duplicate rows from the results of an SQL SELECT statement, the ________ qualifier specified must be
included.
A. DISTINCT B. SINGLE
C. UNIQUE D. ONLY
Câu 38. Using the SQL GROUP BY phrase with a SELECT statement can help detect which of the following problems?
Câu 40. Which of the following statements is true concerning routines and triggers?