345 - SQL Database Fundamentals - R - 2019
345 - SQL Database Fundamentals - R - 2019
SQL DATABASE
FUNDAMENTALS
(345)
REGIONAL – 2019
Multiple Choice:
Property of Business Professionals of America.
May be reproduced only for use in the Business Professionals of America
Workplace Skills Assessment Program competition.
SQL DATABASE FUNDAMENTALS - REGIONAL 2019
Page 2 of 9
MULTIPLE CHOICE
Identify the letter of the choice that best completes the statement or answers the question. Mark
A if the statement is true. Mark B if the statement is false.
5. How do you select all the columns from a table named “Addresses”?
a. SELECT FROM Addresses
b. SELECT * FROM Addresses
c. SELECT all FROM Addresses
d. SELECT Addresses
6. A table is:
a. A collection of rows
b. A collection of rows and columns
c. A collection of data types
d. A collection of keys, indexes, and columns
SQL DATABASE FUNDAMENTALS - REGIONAL 2019
Page 3 of 9
10. Which SQL keyword enables you to be able to change columns within a table?
a. Delete
b. Change
c. Alter
d. Update
12. The OR operator displays a record if ANY conditions listed are true. The AND operator
displays a record if ALL of the conditions listed are true.
a. True
b. False
SQL DATABASE FUNDAMENTALS - REGIONAL 2019
Page 4 of 9
13. A table column within common database terminology is also considered as a(n):
a. Data
b. Row
c. Record
d. Field
15. What does the SQL clause ORDER BY SalesAmount DESC do?
a. Order the salespeople by sales amount lease to greatest
b. Order the salespeople by the number of digits in the sales amount
c. Order the salespeople by sales amount greatest to lease
d. None of the above
17. Which acronym refers to the major functions within relational database applications?
a. Create, Read, Update, Delete (CRUD)
b. Select, Alter, Insert, Delete (SAID)
c. Select, Execute, Alter, Write (SEAW)
d. Consistency, Availability, Partition tolerance (CAP)
21. The acronym RDBMS stands for Rational Database Managerial System:
a. True
b. False
22. Which of the following is not a character string data type in SQL Server?
a. Tinytext
b. Text
c. Nvarchar
d. Binary
23. Which of the following is not a Date and Time data type within SQL Server?
a. Dateoffset
b. Timestamp
c. Smalldatetime
d. Datetime2
e.
24. Which of the following is not a numeric data type within SQL Server?
a. Smallmoney
b. Real
c. Money
d. Varbinary
26. Which of the following should be considered when making a table within SQL?
a. Primary keys
b. Default values
c. Data types
d. All of the above
SQL DATABASE FUNDAMENTALS - REGIONAL 2019
Page 6 of 9
28. What is the name of the item that can store data from various databases to be used as a fast
table in memory to read and write data from?
a. Data Source
b. Data Set
c. Query
d. Data connection
30. The acronym GUID stands for Global User Interface Device:
a. True
b. False
31. SQL commands are generally grouped into four different categories. Which of the following
is not a category of SQL commands?
a. DAC (Data Administration Commands)
b. TCC (Transactional Control Commands)
c. DAL (Data Abstraction Language)
d. DQL (Data Query Language)
36. The DROP command is used to either drop a database or table from the server:
a. True
b. False
37. In order to create a table named “Orders” with a primary key named “orderID”, use the
following MS SQL syntax (assuming there are several more fields):
a. CREATE TABLE orders (PRIMARY KEY = orderID INT NOT NULL PRIMARY
KEY,)
b. CREATE TABLE NAME = orders (PRIMARY KEY = orderID)
c. CREATE TABLE orders (orderID INT NOT NULL PRIMARY KEY,)
d. CREATE TABLE NAME = orders (orderID INT NULL PRIMARY KEY,)
38. What does the SQL code in the following SQL clause define?
PRIMARY KEY (Name, Address)
a. A composite key
b. A primary key
c. A foreign key
d. None of the above
39. RDBMS is the basis for SQL, and for all modern database systems except:
a. MariaDB
b. MySQL
c. SQLite
d. MongoDB
SQL DATABASE FUNDAMENTALS - REGIONAL 2019
Page 8 of 9
42. Which of the following is not removed by the DROP TABLE in SQL Server?
a. Triggers
b. Permissions
c. Views
d. Stored Procedures
44. Aggregate functions can be used as expressions in the select list of a SELECT statement:
a. True
b. False
45. What are the two common wildcard characters within SQL?
a. Period (.); Semi-Colon (;)
b. Semi-Colon (;); Percent Sign (%)
c. Period (.); Underscore (_)
d. Percent Sign (%); Underscore (_)
47. The language available in SQL Server that adds programming constructs to the SQL
language is known as ______:
a. INTERACT-SQL
b. VB
c. TRANSACT-SQL
d. C#
48. In MS SQL the parameter added to a field in order to auto increment that field is:
a. ADD 1
b. IDENTITY
c. INCREMENT 1
d. None of the above is a correct parameter
49. The identifier of the entity becomes the ______ of the corresponding table:
a. Foreign Key
b. Primary Key
c. Default Value
d. None of the above
50. A table's Permissions are a set of defined levels of access to a securable and are applied
individually or collectively to a securable:
a. True
b. False
SQL DATABASE FUNDAMENTALS - REGIONAL 2019
ANSWER KEY
Page 1 of 2
SQL DATABASE
FUNDAMENTALS
(345)
REGIONAL – 2019
Multiple Choice:
1. C 26. D
2. A 27. A
3. A 28. B
4. D 29. D
5. B 30. B
6. B 31. C
7. D 32. A
8. A 33. D
9. A 34. A
10. C 35. B
11. B 36. A
12. A 37. C
13. D 38. A
14. D 39. D
15. C 40. D
16. B 41. C
17. A 42. B
18. A 43. A
19. D 44. A
20. C 45. D
21. B 46. A
22. A 47. C
23. A 48. B
24. D 49. B
25. A 50. A