DB12rrrr
DB12rrrr
A. relationship B. database
C. instance D. table
Câu 2. Creating a read-only database is a task that is ________ assigned to beginning database professionals.
A. Commonly B. Always
C. Seldom D. Never
A. Combines the output from multiple queries and does B. Combines the output from no more than two queries
not include the same number of columns. and does not include the same number of columns.
C. Combines the output from multiple queries and must D. Combines the output from no more than two queries
include the same number of columns. and must include the same number of columns.
Câu 4. A domain is atomic if elements of the domain are considered to be ____________ units.
A. Indivisbile B. Different
C. Divisible D. Constant
Câu 5. Which of the following are the five built-in functions provided by SQL?
A. SUM, AVG, MIN, MAX, SUB B. SUM, AVG, MIN, MAX, NAME
C. COUNT, SUM, AVG, MAX, MIN D. SUM, AVG, SUB, DIV, MIN
A. form B. file
C. report D. table
A. You do not create them with SQL. B. They are the same thing as a function.
C. They include procedural and SQL statements. D. They do not need to have a unique name.
A. DDL B. DML
C. HTML D. XML
Câu 11. Which of the following is NOT a basic element of all versions of the E-R model?
C. Relationships D. Attributes
A. Cannot have its results sorted using ORDER BY. B. Can always be duplicated by a join.
C. Can only be used with two tables. D. Has a distinct form that cannot be duplicated by a
join.
C. LIKE D. IN
Câu 14. Which of the following types of databases are the most common?
A. Enterprise B. Personal
C. Workgroup D. Department
Câu 15. Which one of the following is a set of one or more attributes taken collectively to uniquely identify a record?
A. Attribute B. Identifier
C. Relationship D. Entity
Câu 20. You can add a row using SQL in a database with which of the following?
A. NEW B. CREATE
C. MAKE D. INSERT
A. Attributes B. Tables
C. Rows D. Relations
A. Fields B. Records
C. Tables D. Keys
Câu 23. ________ is an open source DBMS product that runs on UNIX, Linux and Windows.
C. JDBC/SQL D. MySQL
Câu 25. Which of the following is a group of one or more attributes that uniquely identifies a row?
A. Key B. Tuple
C. Determinant D. Relation
Câu 26. To remove duplicate rows from the results of an SQL SELECT statement, the ________ qualifier specified must be
included.
A. DISTINCT B. UNIQUE
C. SINGLE D. ONLY
Câu 27. If attributes A and B determine attribute C, then it is also true that:
C. A → C. D. B → C.
Câu 28. The HAVING clause does which of the following?
A. Acts like a WHERE clause but is used for rows rather B. Acts like a WHERE clause but is used for columns
than columns. rather than groups.
C. Acts like a WHERE clause but is used for groups D. Acts EXACTLY like a WHERE clause.
rather than rows.
A. Tuple B. Column
C. Key D. Record
Câu 33. The Microsoft Access wildcards are ____ and ____ .
A. question mark (?); asterisk (*) B. asterisk (*); percent sign (%)
A. Field B. Attribute
C. Instance D. Tuple
A. You do not create them with SQL. B. They have an event, condition, and action.
C. They execute against only some applications that D. They cannot cascade (cause another trigger to fire).
access a database.
Câu 37. What is an SQL virtual table that is constructed from other tables?
C. A view D. A relation
A. ORDER BY B. ALIGN BY
C. GROUP BY D. SORT BY
A. Field B. Column
C. Record D. Relation