Professional Documents
Culture Documents
VERSI 1-Latihan
VERSI 1-Latihan
ProductID Color
4545 Blue
4545 Green
4545 Purple
2. 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 incorrect, select the answer choice that makes the statement correct
A. Indexed
B. Truncated
C. Normalized
D. No change is needed
Instructions : Review the underlined text. If it makes the statement correct, select “ No Change
is needed” if the statement incorrect, select the answer choice that makes the statement
correct
A. No change is needed
B. Foreign keys
C. Duplicate rows
D. Composite keys
5. Which two keys establish a relationship between two tables ? choose two
A. Foreign
B. Primary
C. Local
D. Candidate
E. Superkey
FlightNumber Airline
1 Blue yonder airlines
2 Margie’s travel
3 Northwind trades
Instructions : use the drop-down menus to select the answers choice that completes each
statement based on the information presented in the graphic. Each correct selection is worth
one point
A. Adding a [answer choice] on the FlightNumber column physically sorts rows in the table by
FlightNumber . Clustered index
B. Adding a [answer choice] on the Airline column retrieves data faster, but will not physically
sort rows in the table by Airline. Foreign Key
Which two SQL keyword are valid to use in a CREATE TABLE statement? Choose two
A. PRIMARY KEY
B. INSERT INTO
C. ORDER BY
D. CONSTRAINT
12. Which permissions does a user need in order to run a stored procedure?
A. RUN
B. EXECUTE
C. ALLOW
D. CALL
13. You need to create a view to filter rows of data from an underlying table.
Which type of clause must be included in the CREATE VIEW statement?
A. CONSTARINT
B. WHERE
C. JOIN
D. FILTER
14. You create a table of recently released video games and their review scores.
To create a table recently a view that returns a list of game names that is alphabetically sorted
the completed SQL statement should be the following create view MyGames As select Name
from Games.
Instructions : Review the underlined text. If it makes the statement correct, select “ No Change
is needed” if the statement incorrect, select the answer choice that makes the statement
correct
A. No change is needed.
B. Select * from Games WHERE name BETWEEN ‘A’ AND ‘Z’
C. Select* from Games
D. Select name from games order by name
15. 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 incorrect, select the answer choice that makes the statement
correct
A. Quires
B. No change is needed
C. Stored procedures
D. Tables
17. Which command should you use to add a column to an exiting table?
A. MODIFY
B. INSERT
C. CHANGE
D. ALTER
E. UPDATE
18. The component that holds information for a single entry in a table is called a :
A. Data type
B. Column
C. Row
D. View
19. 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 :
20. Which category of SQL statements is used to add, remove and modify database structure?
A. Data manipulation language (DML)
B. Data control language (DCL)
C. Data definition language (DDL)
D. Data acces language (DAL)
21. You are writing an SQL Statement to retrieve rows from a table.
Which data manipulation language (DML) command should you use?
A. GET
B. READ
C. OUTPUT
D. SELECT
Instructions : Review the underlined text. If it makes the statement correct, select “ No Change
is needed” if the statement incorrect, select the answer choice that makes the statement
correct
A. A unique constraint
B. Data definition language (DDL) statement
C. Data manipulation Languange (DML) statement
D. No change is needed
24. Data in a database is stored in :
A. Stored procedures
B. Tables
C. Data types
D. Queries
26.
ID GivenName
1 Tia
2 Susana
3 Joey
A. UPDATE volunteer
SET GivenName = ‘Kimberly’
WHERE GivenName = ‘Tia’
B. SET volunteer
TO GivenName = ‘Kimberly’
WHERE GivenName = ‘Tia’
C. SET GivenName = ‘Kimberly’
FROM volunteer
WHERE GivenName = ‘Tia’
D. UPDATE GivenName =’Kimberly’
FROM volunteer
WHERE GivenName = ‘Tia’
27. You execute a statement inside a transaction to delete 100 rows from a table. The transaction
fails after only 40 rows are deleted.
A. All orders for CustomerID 209 are deleted from the Order table, and CustomerID 209 is
deleted from the customer table
B. CustomerID 209 is deleted from the Customer Table
C. The first order for customerID 209 is deleted from the order table
D. All orders for CustomerID 209 are deleted from the order table