When using the SQL INSERT statement: A.. To define what columns should be displayed in an SQL SELECT statement: A.. use USING to name the source tables and list the columns to be show
Trang 1ĐỀ THI CUỐI KỲ I NĂM HỌC 2019-2020
HỌC PHẦN: CƠ SỞ DỮ LIỆU
Thời gian làm bài: 60 phút
Mã đề thi: DB10
Giảng viên ra đề
(Ký, ghi rõ họ tên)
Kiểm tra của Khoa
(Ký, ghi rõ họ tên)
THÔNG TIN SINH VIÊN
Họ tên: Mã số SV: Lớp sinh hoạt: Phần trả lời:
Phần câu hỏi
Câu 1 Creating a read-only database is a task that is assigned to beginning database professionals
Câu 2 Properties that describe the characteristics of entities are called:
Câu 3 was adopted as a national standard by ANSI in 1992
ĐẠI HỌC ĐÀ NẴNG
KHOA CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
Trang 2Câu 4 Which of the following is not a restriction for a table to be a relation?
C All of the entries in any column must be of the same
kind
D The columns must be ordered
Câu 5 An attribute is a(n):
Câu 6 When using the SQL INSERT statement:
A Rows cannot be copied in mass from one table to
another only
B Rows can be inserted into a table only one at a time
only
or in groups
Câu 7 The tuples of the relations can be of order
Câu 8 If attributes A and B determine attribute C, then it is also true that:
Câu 9 Which one of the following is a procedural language?
Câu 10 Using which language can a user request information from a database?
Câu 11 SQL query and modification commands make up a(n)
Câu 12 Helping people keep track of things is the purpose of a(n)
Câu 13 Which of the following types of databases are the most common?
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:
Trang 3Câu 16 SQL is:
Câu 17 Data administrators are responsible for:
A Overall management of data resources in an
organization
B Writing application programs
environment
Câu 18 Row is synonymous with the term:
Câu 19 The term _ is used to refer to a row
Câu 20 To sort the results of a query use:
Câu 21 A functional dependency is a relationship between or among:
Câu 22 The SQL statement that queries or reads data from a table is
Câu 23 The result of a SQL SELECT statement is a(n)
Câu 24 What is not an advantage of stored procedures?
Câu 25 A subquery in an SQL SELECT statement:
C Has a distinct form that cannot be duplicated by a
join
D Can always be duplicated by a join
Câu 26 The wildcard in a WHERE clause is useful when?
statement
C An exact match is not possible in a SELECT
statement
D An exact match is necessary in a SELECT statement
Trang 4Câ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
columns to be shown after WHERE
B use FROM to name the source table(s) and list the
columns to be shown after SELECT
C use USING to name the source table(s) and list the
columns to be shown after SELECT
D use SELECT to name the source table(s) and list the
columns to be shown after USING
Câu 29 The primary key is selected from the:
Câu 30 For each attribute of a relation, there is a set of permitted values, called the of that attribute
Câu 31 The HAVING clause does which of the following?
A Acts like a WHERE clause but is used for groups
rather than rows
B Acts EXACTLY like a WHERE clause
C Acts like a WHERE clause but is used for columns
rather than groups
D Acts like a WHERE clause but is used for rows rather
than columns
Câu 32 Which of the following is the correct order of keywords for SQL SELECT statements?
Câu 33 The SQL keyword BETWEEN is used:
Câu 34 Some advantages of the database approach include all, but:
Câu 35 The SQL ALTER statement can be used to:
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
Trang 5Câu 38 Using the SQL GROUP BY phrase with a SELECT statement can help detect which of the following problems?
Câu 39 The command to eliminate a table from a database is:
Câu 40 Which of the following statements is true concerning routines and triggers?
……… HẾT ………
(Ghi chú : Đề thi không cho phép mở tài liệu)