Font size
WorksheetsDatabase Certification
Total questions: 140
Worksheet time: 1hrs 12mins
The terms "bitmap," "b-tree," and "hash" refer to which type of database structure?
View
Function
Index
Stored Procedure
Trigger
One reason to add an index is to
Decrease storage space.
Increase database security.
Improve performance of select statements.
Improve performance of insert statements.
This process is referred to as:
defragmentation
normalization
fragmentation
denormalization
Which database term is used to describe the relationship between ProductID and ProductCategory?
Cohort
Relationally dependent
Deterministic
Functionally Dependent
Compositional
Which key uniquely identifies a row in a table?
Foreign
Primary
Local
Superkey
Which statement creates a composite key?
A
B
C
D
At 3:00 P.M. (1500 hours), you create a backup of your database. At 4:00 P.M. (1600 hours), you create a table
named Customer and import data into the table. At 5:00 P.M. (1700 hours), your server fails.
You run a script to apply only the 3:00 P.M. backup to your database. What is the result of the script?
The Customer table no longer exists.
The Customer table is unaffected.
The Customer table exists but has no data.
The script fails.
In which situation do you need to perform a restore on a database?
when data becomes corrupted in the database
when you need to roll back a transaction
when you encounter an error in your application
when data needs to be deleted from the database
Which command should you use to give a user permission to read the data in a table?
ALLOW SELECT
LET READ
PERMIT READ
GRANT SELECT
You need to enable a new employee to authenticate to your database.
Which command should you use?
ALLOW USER
CREATE USER
ADD USER
INSERT USER
ALTER USER
Which keyword can be used in a create table statement?
ORDER BY
DISTINCT
GROUP BY
UNIQUE
You need to store product quantities, and you want to minimize the amount of storage space that is used.
Which data type should you use?
INTEGER
DOUBLE
COUNT
FLOAT
Which statement will result in the creation of an index?
A
B
C
D
What is the result?
an error stating that NULL values are not allowed
a new row in the table
an error stating that duplicate IDs are not allowed
a syntax error
You need to store product names that vary from three to 30 characters. You also need to minimize the amount of storage space that is used.
Which data type should you use?
VARCHAR (3, 30)
CHAR (3, 30)
VARCHAR (30)
CHAR (30)
One reason to create a stored procedure is to:
Improve performance.
Minimize storage space.
Bypass case sensitivity requirements.
Give the user control of the query logic.
Which permission does a user need in order to run a stored procedure?
EXECUTE
ALLOW
CALL
RUN
You have a table named Product. You create a view that includes all the products from the Product table that
are in the Furniture category.
You execute a statement on the Product table that deletes all the products in the Furniture category.
After you execute the statement, the result set of the view is:
Empty
Deleted
Unchanged
Archived
In SQL, an insert statement is used to add a:
User to a database.
Row of data to a table.
Table to a database.
Column to a table definition.
You have two tables. Each table has three rows.
How many rows will be included in the Cartesian product of these two tables?
0
3
6
9
You are writing an SQL statement to retrieve rows from a table.
Which data manipulation language (DML) command should you use?
READ
SELECT
OUTPUT
GET
Which constraint ensures a unique value in the ID column for each customer?
DISTINCT
FOREIGN KEY
SEQUENTIAL
PRIMARY KEY
The component that holds information for a single entry in a table is called a:
Data type
Row
Column
View
You execute the following statement:
SELECT EmployeeID, FirstName, DepartmentName
FROM Employee, Department
Intersection
Outer join
Equi-join
Cartesian product
Which command should you use to add a column to an existing table?
MODIFY
ALTER
UPDATE
INSERT
CHANGE
How many rows are returned?
0
1
2
3
4
You are writing a select statement to find every product whose name contains a specific character.
Which keyword should you use in your where clause?
FIND
BETWEEN
INCLUDES
LIKE
A database contains two tables named Customer and Order.
You execute the following statement:
DELETE FROM Order
WHERE CustomerID = 209
What is the result?
The first order for CustomerID 209 is deleted from the Order table.
All orders for CustomerID 209 are deleted from the Order table, and CustomerID 209 is deleted from the
Customer table.
All orders for CustomerID 209 are deleted from the Order table.
CustomerID 209 is deleted from the Customer table.
You have a table named Product. The Product table has columns for ProductDescription and ProductCategory.
You need to change the ProductCategory value for all the spoons in the Product table to 43.
Which statement should you use?
A
B
C
D
You have a table that contains information about all students in your school.
Which SQL keyword should you use to change a student's first name in the table?
UPDATE
CHANGE
SELECT
INSERT
You need to populate a table named EmployeeCopy with data from an existing table named Employee.
Which statement should you use?
A
B
C
D
This statement is an example of a/an:
Subquery
Union
Outer join
Cartesian product
Which keyword would you use in a select statement to return rows that meet a specific condition?
WHERE
UNION
ORDER BY
FROM
You have a table named Employee that includes the following columns:
EmployeeID
Smp1oyeeName
Which statement should you use to return the number of rows in the table?
A
B
C
D
What is the value returned by this statement?
1
2
3
4
Which command should you use to remove a table from a database?
REMOVE TABLE
UPDATE TABLE
DROP TABLE
DELETE TABLE
You need to store the contact information for each student in your school database.
You should store each student's information in a:
Stored procedure
Function
Row
Variable
Which category of SQL statements is used to add, remove, and modify database structures?
Data access language (DAL)
Data manipulation language (DML)
Data control language (DCL)
Data definition language (DDL)
You have a Customer table and an Order table. You join the Customer table with the Order table by using the
CusromerID column.
The results include:
All customers and their orders
Customers who have no orders
Which type of join do these results represent?
Complete join
Partial join
Inner join
Outer join
Data in a database is stored in:
Tables
Queries
Data types
Stored procedures
You have a table named Student that contains 100 rows. Some of the rows have a NULL value in the
FirstName column.
You execute the following statement:
DELETE FROM Student
What is the result?
All rows in the table will be deleted.
All rows containing a NULL value in the FirstName column will be deleted.
You will receive an error message.
All rows and the table definition will be deleted.
You need to establish a set of permissions that you can routinely assign to new users.
What should you create?
Resource
Group
List
Role
Which database term is used to describe the process of applying a backup to a damaged or corrupt database?
Recover
Restore
Commit
Attach
You need to disable User1's access to view the data in the Customer table.
Which statement should you use?
A
B
C
D
Denormalization is performed in order to:
Reduce redundancy.
Eliminate repeating groups.
Create smaller tables.
Improve query performance
You have a table named Product that contains one million rows.
You need to search for product information in the Product table by using the product's unique ID.
What will make this type of search more efficient?
A cursor
A subquery
A trigger
An index
What is the result?
a foreign key constraint violation
a syntax error
a new row in the Product table
primary key constraint violation
a new row in the Category table
Which two keys establish a relationship between two tables? (Choose two.)
candidate
foreign
superkey
local
primary
One difference between a function and a stored procedure is that a function:
Must be called from a trigger
Must return a value.
Cannot contain a transaction.
Cannot accept parameters.
Which keyword must be included in a create view statement?
WHERE
ORDER BY
UPDATE
SELECT
You have a table named Customer. You need to add a new column named District.
Which statement should you use?
A
B
C
D
You need to remove a view named EmployeeView from your database.
Which statement should you use?
DELETE VIEW EmployeeView
DELETE EmployeeView
DROP EmployeeView
DROP VIEW EmployeeView
A named group of SQL statements that can be executed in a database is called a:
Subroutine
Formula
Stored procedure
Method
A view can be used to:
Save an extra copy of data stored in a separate table.
Limit access to specific rows or columns of data in a table.
Ensure referential integrity.
Save historical data before deleting it from the base table
On which database structure does an update statement operate?
Table
User
Trigger
Role
You need to list the name and price of each product, sorted by price from highest to lowest. Which statement
should you use?
A
B
C
D
You delete rows in a table named Order. The corresponding rows in the OrderItem table are automatically
deleted. This process is an example of a/an:
Inherited delete
Cascade delete
Functional delete
Waterfall delete
Domino delete
Which statement deletes the rows where the employee's phone number is not entered?
A
B
C
D
You need to insert two new products into the Product table. The first product is named Book and has an ID of
125. The second product is named Movie and has an ID of 126.
Which statement should you use?
A
B
C
D
E
You have a table named Employee that includes four columns.
You execute the following statement:
SELECT *
FROM Employee
Which columns are returned?
all columns
only the last column
only the first column
only the first and last columns
Which two elements are required to define a column?
A name
A Key
An Index
A Data type
What defines the amount of storage space that is allocated to a value in a column?
Format
Key
Data Type
Validator
You are creating a table to store customer data. The Account Number column uses values that always consist
of one letter and four digits. Which data type should you use for the Account Number column?
CHAR
BYTE
DOUBLE
SMALLINT
What is one difference between an update statement and a delete statement?
An Update statement can change only one row.
A delete statement cannot use a where clause.
An update statement does not remove rows from a table.
A Delete statement works only within a stored procedure.
You have a Department table and an Employee table in your database.
You need to ensure that an employee can be assigned to only an existing department.
What should you apply to the Employee table?
A Primary Key
An Index
A Foreign Key
A unique constraint
A Data type
You need to store the first name, last name, and student ID for 100 students.
This information will be stored in a table as:
100 Items and Three Cells
100 Rows and three columns
Three rows and 100 Columns
Three items and 100 cells
What are three valid data manipulation language (DML) commands?(Choose three.)
INSERT
COMMIT
DELETE
OUTPUT
UPDATE
You assign User1 a set of permissions that include the WITH GRANT OPTION.
The WITH GRANT OPTION enables User1 to:
request a log of permission use.
delegate permissions to other users.
create new database users.
view other users' permissions
Which type of index changes the order in which the data is stored in a table?
non-sequential
sequential
non-clustered
clustered
Which statement should you use to remove a foreign key?
ALTER TABLE
DELETE TABLE
DELETE FOREIGN KEY
ALTER FOREIGN KEY
First normal form requires that a database excludes:
Foreign keys
Composite keys
Duplicate rows
Repeating groups
You execute a statement inside a transaction to delete 100 rows from a table. The transaction fails after only 40 rows are deleted.
What is the result in the database?
The table will be corrupted.
Forty (40) rows will be deleted from the table.
The transaction will restart.
No rows will be deleted from the table.
You have a table that contains product IDs and product names.
You need to write an UPDATE statement to change the name of a specific product to glass.
What should you include in the update statement
SET ProduetName = 'glass'
LET ProduetName = 'glass'
EXEC ProduetName = 'glass'
ASSIGN ProduetName = 'glass'
Your database contains a table named Customer.
You need to delete the record from the Customer table that has a CustomerID of 12345.
Which statement should you use?
A
B
C
D
On which database structure does an insert statement operate?
Role
Trigger
User
Stored procedure
Table
You have a table of products with fields for ProductID, Name, and Price.
You need to write an UPDATE statement that sets the value in the InStock field to Yes for a specific ProductID.
Which clause should you use in your update statement?
THAT
WHERE
GROUP BY
HAVING
You have the following table definition:
CREATE TABLE Product
(ProductID INTEGER,
Name VARCHAR(20))
You need to insert a new product. The product's name is Plate and the product's ID is 12345.
Which statement should you use?
A
B
C
D
HOTSPOT
Instructions: For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Each correct selection is worth one point.
YES, NO, YES, NO
YES, YES, NO, NO
YES, NO, NO, YES
NO, NO, YES, YES
Instructions: Use the drop-down menus to select the answer choice that completes each statement. Each
correct selection is worth one point.
client
s01.contoso.com
www.contoso.com
client
www.contoso.com
s01.contoso.com
How many rows are returned by the SQL statement?
4
5
6
7
Which query should you use?
Which statement should you choose?
This question requires that you evaluate the underlined text to determine if it is correct.
Use the FROM keyword in a SELECT statement to return rows that meet a specific condition.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
ORDER BY
UNION
WHERE
You need to combine the results of two queries into a single result that contains all of the rows from both
queries.
Which Structured Query Language (SQL) statement should you use?
TRUNCATE
JOIN
EXCEPT
UNION
This question requires that you evaluate the underlined text to determine if it is correct.
The CREATE TABLE command removes one or more table definitions and all data, indexes, triggers,
constraints, and permission specifications for those tables.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
DROP TABLE
TRUNCATE TABLE
ALTER TABLE
You accept an IT internship at a local charity. The charity wants you to help them with compliance and auditing requirements.
You need to ensure that a column or combination of columns uniquely identifies each row of a table.
Which constraint should you define?
Primary key
Secondary key
Foreign key
Default Key
return large result sets
are accessed sequentially
do not use ORDER BY or GROUP BY clauses
are accessed randomly
return a range of values by using the = operator
are accessed randomly
do not use ORDER BY or GROUP BY clauses
are not unique or contain many common values
Instructions: Use the drop-down menus to select the answer choice that completes each statement. Each
correct selection is worth one point.
foreign key
nonclustered index
foreign key
clustered index
clustered index
nonclustered index
nonclustered index
foreign key
While attending college, you accept an IT internship at a local charity. The charity needs to report on data that is related and exists in two tables.
You need to establish a relationship between the data that is in the two tables.
Which constraint should you define?
Foreign key
Index key
Link key
Default key
This question requires that you evaluate the underlined text to determine if it is correct.
A view can be used to ensure referential integrity.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
Save an extra copy of data stored in a separate table.
Limit access to specific rows or columns of data in a table.
Save historical data before deleting it from the base table
You need to set up a database to provide a view of North American mammals.
Match the Structured Query Language (SQL) statements to the SQL query.
Instructions: To answer, drag the appropriate SQL statement from the column on the left to its place in the SQL
query on the right Each SQL statement may be used once, more than once, or not at all. Each correct match is
worth one point.
CREATE
AS JOIN
FROM
GENERATE
AS SELECT
JOIN
CREATE
AS SELECT
FROM
GENERATE
FROM
JOIN
You have the following requirements:
StudentName must consist of a string of characters.
GradeLevel must be only a whole number.
DaysAbsent can have one number after the decimal.
Match the data types to the column names.
Instructions: To answer, drag the appropriate data type from the column on the left to its column name on the
right Each data type may be used once, more than once, or not at all. Each correct match is worth one point.
INT
CHAR
BIT
CHAR
VARCHAR
DATETIME
VARCHAR
INT
DECIMAL
DECIMAL
INT
CHAR
Instructions: For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Each correct selection is worth one point.
NO
YES
NO
NO
YES
YES
YES
NO
NO
YES
NO
YES
This question requires that you evaluate the underlined text to determine if it is correct.
In a database table, each column represents a unique record.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
Table
Index
Row
This question requires that you evaluate the underlined text to determine if it is correct.
You have two tables. Each table has three rows. You create a SQL query that uses a cross join. The query
does not include a WHERE clause.
Nine rows will be included in the Cartesian product of these two tables.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement corrector.
No change is needed
Zero
Three
Six
You have two tables named Salesperson and Sales.
You need to ensure that each record in the Sales table has a valid associated salesperson record in the
Salesperson table.
Which database object should you add to the Sales table?
Nonclustered index
Primary Key
Foreign Key
Clustered Index
Your class project requires that you help a charity set up a website.
The website collects information about volunteers. Each volunteer record must be uniquely identified.
The following information is stored for each volunteer:
Given name
Surname
Date of birth
Phone number
Photo
You need to create a table to meet the requirements.
Match the Structured Query Language SQL statements to the SQL query.
DATE
INT (FK)
INT (PK)
DATE
TIMESTAMP
XML
INT (PK)
DATE
IMAGE
INT (FK)
DATE
INT (PK)
This question requires that you evaluate the underlined text to determine if it is correct.
Use the ALTER statement to add a new table in a database.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct.
No change is needed
UPDATE
INSERT
CREATE
You need to rename a column in a database table.
Which data definition language (DDL) statement should you use?
ALTER
INSERT
CREATE
UPDATE
Match the CourseName to the StudentName.
Instructions: To answer, drag the appropriate CourseName from the column on the left to its StudentName on
the right. Each CourseName may be used once, more than once, or not at all. Each correct match is worth one
point.
MATH
SCIENCE
HISTORY
READING
MATH
SCIENCE
GEOGRAPHY
HISTORY
SCIENCE
MATH
HISTORY
GEOFRAPHY
This question requires that you evaluate the underlined text to determine if it is correct.
Use indexing to create, remove, or change database objects.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
Data manipulation language (DML) statements
Data definition language (DDL) statements
A unique constraint
You need to add rows to a database table.
Which Structured Query Language (SQL) keyword should you use?
JOIN
INSERT
CREATE
UPDATE
You need to retrieve data from two related database tables based on a column that exists in both tables.
Which command should you use in a query?
INTERSECT
UNION
JOIN
TRUNCATE
Which two Structured Query Language (SQL) statements can you use? (Choose two.)
The JOIN keyword combines the results of two queries and returns only rows that appear in both result sets.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
INTERSECT
ALL
UNION
You work at a restaurant and they ask you to help them with a data issue.
They provide you with the following recipe data.
You need to normalize the data to third normal form.
How many tables should you create?
1
2
3
4
You create a third table named ChapterLanguage to relate the Chapter table and the Language table.
You need to select columns from the Chapter and Language tables to create a composite primary key for the
ChapterLanguage table.
Which two columns should you select? (Choose two.)
CHapterId
LanguageId
Country
Region
City
Instructions: For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Each correct selection is worth one point.
NO
YES
YES
NO
YES
NO
YES
YES
NO
NO
YES
NO
YES
YES
NO
NO
This question requires that you evaluate the underlined text to determine if it is correct.
You combine data from three tables into one table. The new table includes redundancy to optimize read
performance.
The data in the new table has been denormalized.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
Normalized
Truncated
Indexed
You need to delete a database table.
Which data definition language (DDL) keyword should you use
ALTER
DELETE
DROP
TRUNCATE
This question requires that you evaluate the underlined text to determine if it is correct.
Create a query that returns a set of table data by using the UPDATE statement.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
INSERT
REPLACE
SELECT
Your class project requires that you help a charity to create a website that registers volunteers.
The website must store the following data about the volunteers:
Given name
Surname
Telephone number
Email address
You need to recommend a correct way to store the data.
What do you recommend?
Create a table that contains columns that are named given name, surname, phone number, and email
Create a table that contains rows that are named given name, surname, phone number, and email
Create a view that contains columns that are named given name surname, phone number, and email
Create a view that contains rows that are named given name surname, phone number, and email
This question requires that you evaluate the underlined text to determine if it is correct.
Truncate is a database term used to describe the process of applying a backup to a damaged or corrupt
database.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement corrector
Change is needed
Commit
Attach
Restore
This question requires that you evaluate the underlined text to determine if it is correct.
Use the ALLOW SELECT command to give a user permission to read the data in a table.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
GRANT SELECT
LET HEAD
PERMIT HEAD
Instructions: Use the drop-down menus to select the answer choice that completes each statement. Each
correct selection is worth one point
No
No
Read-only
Unlimited
Unlimited
Configuration
Unlimited
Unlimited
The following illustration shows backup strategies that use the simple recovery model and the full recovery
model:
Instructions: Use the drop-down menus to select the answer choice that completes each statement. Each
correct selection is worth one point
More
Less
Less
The same
Less
More
More
The same
Instructions: For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Each correct selection is worth one point
NO
YES
YES
YES
YES
YES
YES
YES
NO
NO
YES
NO
This question requires that you evaluate the underlined text to determine if it is correct.
Views are database objects that contain all of the data in a database.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No changes needed
Queries
Stored procedures
Tables
You have two tables named Cars and Color as defined below. The two tables are related by ColorId. How many rows does the SQL statement return?
0
2
3
6
You accept an IT internship at a local charity. The charity asks you to keep a record of its volunteers by using a
database table named Volunteer.
When volunteers ask to be removed from mailing lists, the table must be updated.
You need to use a transaction to ensure that the database has data integrity and referential integrity.
Which statement should you use?
This question requires that you evaluate the underlined text to determine if it is correct.
ALTER TABLE removes all rows from a table without logging the individual row deletions.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct.
No change is needed
DROP TABLE
TRUNCATE TABLE
CREATE TABLE
You work at a coffee shop. They ask you to set up a website that stores charges on purchases.
You need to recommend a data type in a database table to run financial functions against the charged
amounts.
Which data type should you recommend?
Money
Bit
Varchar
Binary
This question requires that you evaluate the underlined text to determine if it is correct.
A row holds information for a single record in a table.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
Column
Data type
View
Instructions: For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Each correct selection is worth one point.
YES
NO
YES
NO
NO
NO
NO
YES
YES
YES
YES
NO
This question requires that you evaluate the underlined text to determine if it is correct.
Ports 20 and 21 are the default ports to secure a SQL Server.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct.
No change is needed
1433 and 1434
411 and 412
67 and 68
Which syntax should you use to create the object?
You develop a database to store data about textbooks. The data must be stored to process at a later time.
Which database object should you use to store the data?
View
Table
Function
Stored Procedure
This question requires that you evaluate the underlined text to determine if it is correct.
First normal form requires that a database excludes repeating groups.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct.
No change is needed
Composite keys
Duplicate rows
Foreign keys
Instructions: Use the drop-down menus to select the answer choice that completes each statement. Each
correct selection is worth one point.
index
primary key
primary key
foreign key
union
foreign key
index
union
You have the following SQL query
SELECT * FROM dbo.ProAthlete WHERE Salary > 500000
The query takes too much time to return data.
You need to improve the performance of the query.
Which item should you add to the Salary column?
Non-null constraint
Default constraint
Index
Foreign key
All of the car’s parts are custom made, so they each have a row in every table. Cascading deletes are not
enabled but referential integrity is.
From which table must you first make your deletion?
Make
Model
Engine
ModelEngine
You have a table that contains information about all students in your school.
You use the INSERT SQL keyword to change a student’s given name in the table.
Instructions: Review the underlined text. If it makes the statement correct, select “No change is needed.” If the
statement is incorrect, select the answer choice that makes the statement correct.
CHANGE
UPDATE
No change is needed
SELECT
You create the following table, which lists how many books you have on loan to your friends
Harry in San Francisco returns your books.
Which statement will update your table correctly?
You are developing a SQL query.
Which two SQL constructs represent data manipulation language (DML) statements? Choose two.
You need to create a view to filter rows of data from an underling table.
Which type of clause must be included in the CREATE VIEW statement?
CONSTRAINT
WHERE
JOIN
FILTER
A key defines the amount of storage space that is allocated to a value in a column.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
format
data type
validator
A relational database management system employs the concept of an attribute to ensure that data entered into
a field in a column is valid.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
a primary key
a constraint
an index
You are structuring a table in a relational database.
Instructions: For each of the following statement, select Yes if the statement is true. Otherwise, select No. Each
correct selection is worth one point.
NO
YES
NO
YES
YES
NO
NO
NO
NO
NO
YES
YES
You have a database that contains 10 terabytes of data. You need to back up the database every two hours.
Which type of backup should you use?
archive
incremental
partial
full
The UNION keyword combines the results of two queries and returns only rows that appear in both result sets.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the
statement is incorrect, select the answer choice that makes the statement correct
No change is needed
INTERSECT
ALL
JOIN
