You are on page 1of 5

1. 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?

C. VARCHAR(30)

2. In SQL, an insert statement is used to add a:

B. Row of dta to a table

3. Which command should you use to give a user permission to read the data in a table?

A. GRANT SELECT

4. One of the index functions is,

c. increased speed of data retrieval

5. What defines the amount of storage space that is allocated to a value in column?

c. data type

6. A database contains two tables named Customer and Order. You execute the following statement:
DELETE FROM Order WHERE CustomerId = 209 What is the result?

A. All orders for CustomerID 209 are deleted from the Order table.

7. Which constraint ensures a unique value in the ID column for each customer?

E. PRIMARY KEY

8. One reason to create a stored procedure is to:

A. Improve performance.

9. Essential detail of the UNION is

B.is used to query data from two or more table

10 . Data in a database is stored in

e. Tables

11. You have a tale named Employee that includes four columns

b. all columns

12. Which data manipulation language (DML) command should you use?

B. SELECT

13. What are three valid data manipulation language (DML) commands?

d. Insert update delete


14.You have the following SQL query SELECT * FROM dbo.ProAthlete WHERE Salary > 5000000

c. Index

15. What is one difference between and update statement and a delete statement?

c. an update statement does not remove rows from a table

16. Which statement should you use to remove a foreign key?

A. ALTER TABLE

17. You delete rows in a table named Order. The corresponding rows in the OrderItem

b. cascade delete

18.Which keyword can be used in a create table statement?

c. unique

19. Essential detail of the Normalization Table is

e. Involves applying a body of techniques to a relational database to minimize the inclusion of duplicate
information

20. You are writing a select statement to find every product whose name contains a spesific character

b. like

21. You have two tables. Each table has three rows.

e. 8

22. A named group of SQL statements that can be executed in a database is called a

C. stored procedure

23.Essential detail of the field is,

a. Is a location in a record in which a particular type of data is stored.

24. Which command will be used to prevent duplicate data or records?

d. select unique

25. Essential detail of the Table is,

a. is a database object consisting of rows and columns

26. On which database structure does an insert statement operate

e. table

27. Which category of SQL statements is used to add, remove, and modify database structures

d. Data Definition Language(DDL)


28. You need to establish a set of permission that you can reutinly assign

d. role

29. You are creating a table to store customer data. The AccountNumber column values that always
consist

a. char

30. You have a table named Student that contains 100 rows. Some of the rows have a NULL

a. all rows in the table will be deleted

31. One reason to add an index is to

c. improve performance of select statements

32. You need to enable a new employee to authenticate to your database

c. create user

33.RDBMS is the acronym for

e. Relational Database Management System

34. You have a table of products with fields for ProductID, Name, and Price.

a. WHERE

35. You have a table named Product. You create a view that includes all the products from the

a. Empty

36. Essential detail of the Record is

e. a data structure that is a collection of fields

37. Core database concepts include

A. RDBMS,DDLDML,SQL

38.You have a table named Product that contains one million rows

d. an index

39. You have a table named Product. You create a view that includes all the products from the product

a. empty

40. This question requires that you evaluate the underlined text to determine if it is correct

a. no change is needed

41. You need to store product quantities, and you want to minimize the amount of storage space that is
used
a. integer

42. Essential detail of the Column is

b. an attribute for a row or record

43. Which command should you use to add a column to an existing table

a. ALTER

44.Denormalization is performed in order to

d. improve query performance

45. A view can be used to

b. limit access to specific rows or columns of ddata in a table

46. Which keyword would you use in a select statement to return rows that meet a specific condition

a. where

47.What is the name of the data located at the intersection of a row and columns

d. field

48. Grant permissions to the database. Defines roles give all users within a group the same permission is
an

e. roles

49. You need to remove a view named EmployeeView from your database

d. drop view employeeview

50.Which keyword must be included in a create view statement

e. select

51. Which permission does a user need in order to run a stored procedure

A. EXECUTE

52. E

53. Essential detail of the join

b. is used to query data from two or more tables

54. This question requires that you evaluate the underlined text to determine if it is correct. Use
indexing to create, remove, or

c. Data definition language statements

55. Essential detail of the Row is


c. a record within a table

56. One difference between a function and a stored procedure is that a function

b. must return a value

57. First normal form requires that a database excludes

d. repeating groups

58 Essential detail of the Subquieries is

c. nest inside another query

59. You accept an IT internship at a local charity. The charity wants you to help them with compliance
and auditing requirements

c. primary key

60.Produce information organization (organizing) to avoid redundancies and to promote efficient

a. normalization

Ragu

You might also like