Professional Documents
Culture Documents
A. Four B. Three
C. Two D. One
Câu 3. Which of the following statements is true concerning routines and triggers?
Câu 5. When assessing the table structure of an acquired set of tables with data, determining foreign
keys is (part of) the:
A. Identifier B. Entity
C. Attribute D. Relationship
Câu 7. SQL stands for ________ .
A. HTML B. XML
C. DDL D. DML
A. Fields B. Keys
C. Tables D. Records
C. DBase D. Oracle
Câu 11. One solution to the multivalued dependency constraint problem is to:
A. Deletes the table structure along with B. Deletes the table structure only.
the table data.
A. Entities B. Identifers
C. Attributes D. Relationships
Câu 14. Views constructed from SQL SELECT statements that conform to the SQL-92 standard may not
contain:
A. ORDER BY B. WHERE
C. GROUP BY D. FROM
Câu 15. Metadata enables database designers and users to do all of the following except:
C. What the fine distinctions are between similar data D. Sample data
items.
Câu 16. Entities can be associated with one another in which of the following?
A. Relationships B. Identifiers
C. Entities D. Attributes
Câu 18. Which of the following is a group of one or more attributes that uniquely identifies a row?
A. Tuple B. Key
C. Relation D. Determinant
A. A virtual table that can be accessed via B. A base table that can be accessed via
SQL commands SQL commands
C. A virtual table that cannot be accessed via D. A base table that cannot be accessed
SQL commands via SQL commands
A. ALIGN BY B. ORDER BY
C. SORT BY D. GROUP BY
A. Row B. Column
C. Key D. Entry
Câu 23. What is an SQL virtual table that is constructed from other tables?
C. A relation D. A view
A. Cannot have its results sorted using B. Has a distinct form that cannot be
ORDER BY. duplicated by a join.
C. Can only be used with two tables. D. Can always be duplicated by a join.
A. table B. file
C. report D. form
Câu 27. You can add a row using SQL in a database with which of the following?
A. INSERT B. MAKE
C. CREATE D. NEW
Câu 28. When three or more AND and OR conditions are combined, it is easier to use the SQL
keyword(s):
A. IN B. LIKE
Câu 29. Using the SQL GROUP BY phrase with a SELECT statement can help detect which of the following
problems?
A. Query B. Structural
C. Relational D. Compiler
A. Record B. Column
C. Relation D. Field
Câu 33. The Microsoft Access wildcards are ____ and ____ .
C. percent sign (%); underscore (_) D. asterisk (*); percent sign (%)
Câu 34. Which of the following is not a restriction for a table to be a relation?
C. The cells of the table must contain a single value. D. All of the entries in any column must
be of the same kind.
Câu 35. Which one of the following is a set of one or more attributes taken collectively to uniquely
identify a record?
Câu 39. Which of the following types of databases are the most common?
A. Department B. Workgroup
C. Personal D. Enterprise
Câu 40. Which one of the following attribute can be taken as a primary key?
A. Department B. Name
C. Street D. Id
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 D. The columns must be ordered.
of the same kind.
A. Rows cannot be copied in mass from oneB. Rows can be inserted into a table only
table to another only. one at a time only.
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 14. A recursive relationship is a relationship between an entity and ________ .
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
Câu 20. To sort the results of a query use:
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.
A. An exact match is necessary in a CREATE statement. B. An exact match is not possible in a CREATE
Câu 28. To define what columns should be displayed in an SQL SELECT statement:
A. use USING to name the source table(s) B. use FROM to name the source
and list the columns to be shown after table(s) and list the columns to be
WHERE. shown after SELECT.
C. use USING to name the source table(s) D. use SELECT to name the source
and list the columns to be shown after table(s) and list the columns to be shown
SELECT. after USING.
Câu 30. For each attribute of a relation, there is a set of permitted values, called the ________ of that
attribute.
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?
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?
A. table B. form
C. file D. report
A. Rows can be modified according to B. Rows can be inserted into a table only
criteria only. one at a time only.
C. Rows can either be inserted into a table D. Rows cannot be copied in mass from
one at a time or in groups. one table to another only.
Câu 4. When three or more AND and OR conditions are combined, it is easier to use the SQL keyword(s):
A. NOT IN B. IN
A. Uses the result of an inner query to B. Uses the result of an inner query to
determine the processing of an inner query. determine the processing of an outer
query.
C. Uses the result of an outer query to D. Uses the result of an outer query to
determine the processing of an outer query. determine the processing of an inner
query.
Câu 6. Which is NOT one of the most common types of SQL CHECK constraints?
Câu 7. An application where only one user accesses the database at a given time is an example of a(n)
________ .
A. Acts like a WHERE clause but is used for groups rather than rows.
B. Acts like a WHERE clause but is used for rows rather rather .
D. Acts like a WHERE clause but is used for columns rather than groups.
A. Relations B. Attributes
C. Tables D. Rows
Câu 10. Which of the following is not a restriction for a table to be a relation?
A. The columns must be ordered. B. All of the entries in any column must be of the same
kind.
C. No two rows in a table may be identical. D. The cells of the table must contain a single value.
Câu 11. The command to remove rows from a table CUSTOMER is:
Câu 13. One solution to the multivalued dependency constraint problem is to:
A. Split the relation into two relations, each with a single theme . B. Add a composite key.
Câu 14. Creating a read-only database is a task that is ________ assigned to beginning database
professionals.
A. Never B. Always
C. Commonly D. Seldom
Câu 15. To remove a relation from an SQL database, we use the ______ command.
Câu 16. Some advantages of the database approach include all, but:
A. Divisible B. Different
C. Indivisbile D. Constant
Câu 18. An attribute in a relation is a foreign key if the _______ key from one relation is used as an
attribute in that relation.
A. Sub B. Super
C. Candidate D. Primary
Câu 19. To define what columns should be displayed in an SQL SELECT statement:
A. use USING to name the source table(s) B. use USING to name the source table(s)
and list the columns to be shown after and list the columns to be shown after
WHERE. SELECT.
C. use FROM to name the source table(s) D. use SELECT to name the source
and list the columns to be shown after table(s) and list the columns to be shown
SELECT. after USING.
A. reports B. metadata
A. CREATE B. NEW
C. INSERT D. MAKE
Câu 23. If attributes A and B determine attribute C, then it is also true that:
A. B → C. B. C is a determinant.
A. Deletes the table structure along with B. Works whether or not referential
the table data. integrity constraints would be violated.
C. Cannot have its results sorted using D. Can only be used with two tables.
ORDER BY.
Câu 27. SQL data definition commands make up a(n) ________ .
A. DDL B. HTML
C. DML D. XML
A. Four B. Three
C. One D. Two
A. Record B. Field
C. Column D. Relation
Câu 32. The primary key is selected from the:
Câu 34. Metadata enables database designers and users to do all of the following except:
C. What the data mean D. What the fine distinctions are between similar data
items.
Câu 35. Entities can be associated with one another in which of the following?
A. Attributes B. Relationships
C. Entities D. Identifiers
A. Tables B. Records
C. Fields D. Keys
Câu 37. What MySQL property is used to create a surrogate key in MySQL?
A. AUTO_INCREMENT B. UNIQUE
C. SEQUENCE D. INDEX
Câu 38. Because it contains a description of its own structure, a database is considered to be ________ .
A. described B. self-describing
Câu 39. SQL query and modification commands make up a(n) ________ .
A. DDL B. XML
C. DML D. HTML
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 B. Combines the output from no more
queries and does not include the same than two queries and does not include
number of columns. the same number of columns.
C. Combines the output from multiple D. Combines the output from no more
queries and must include the same numberthan two queries and must include the
of columns. 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
Câu 6. Which of the following is valid SQL for an Index?
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 B. Can always be duplicated by a join.
ORDER BY.
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.
A. Sun ACCESS B. JSP/SQL
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.
A. Acts like a WHERE clause but is used for group rather than rows
B.Acts like a WHERE clause but is used for columns than columns.
C. Acts like a WHERE clause but is used for groups D. Acts EXACTLY like a WHERE clause. rather
than rows.
Câu 29. What is not an advantage of stored procedures?
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
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 Column
C. Record D. Relation