0% found this document useful (0 votes)
157 views

Question Set 1 On Rdbms

This document contains 29 multiple choice and short answer questions about relational database management systems (RDBMS) concepts including: 1) Normal forms and converting composite attributes to individual attributes in 1NF. 2) The definition of a key as a group of one or more attributes that uniquely identify a row. 3) Referential integrity constraints and how they require foreign key values to exist in another table. 4) Questions cover the different normal forms and their properties including BCNF, dependency preservation and transitive dependencies. Additional questions cover SQL queries to retrieve, filter, and manipulate data from tables in a database as well as database design concepts like three-tier architectures.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
157 views

Question Set 1 On Rdbms

This document contains 29 multiple choice and short answer questions about relational database management systems (RDBMS) concepts including: 1) Normal forms and converting composite attributes to individual attributes in 1NF. 2) The definition of a key as a group of one or more attributes that uniquely identify a row. 3) Referential integrity constraints and how they require foreign key values to exist in another table. 4) Questions cover the different normal forms and their properties including BCNF, dependency preservation and transitive dependencies. Additional questions cover SQL queries to retrieve, filter, and manipulate data from tables in a database as well as database design concepts like three-tier architectures.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

QUESTION SET 1 ON RDBMS

1. In the __________ normal form, a composite attribute is converted to


individual attributes.

2. Which of the following is a group of one or more attributes that uniquely identifies a
row?

a. Key
b. Determi
nant
c. Tuple
d. Relation

3. When the values in one or more attributes being used as a foreign key must exist in
another set of one or more attributes in another table, we have created a(n):

a. transitive dependency.
b. insertion anomaly.
c. referential integrity constraint.
d. normal form.

4. Which forms every non-prime attribute is fully dependent functionally on the


candidate key of a relational schema:

a. 1 NF
b. 2 NF
c. 3 NF
d. BCNF

5. Which form is based on the concept of transitive dependency


6. The normal form that is not necessarily dependency preserving is
7. ....... is a condition specified on a database schema and restricts the data that can be
stored in an instance of the database.

a. Key Constraint

b. Check Constraint

c. Foreign key constraint

d. unique Key constraint


8. What is the difference between a primary key and unique key constraint

9.

10.

11. What are three tier of architecture in database design?


12. What are the different type of SQL statement?
13. Write a query to display departmentID column as Department Number, Name as
Department Name from the table Department which is stored in humanResources
Database
14. Write a query to retrieve EmployeeID and Title Column from the table Employee in
HumanResources database along with a literal Designation

15. Write a query to concatenate the data of the Name and GroupName column of the
department table into a single column
Example

16. Write a query to retrieve records from the employee table where the VacationHour
column for Employee table has values less than 5 in HumanResources database

17.Write a query to retrieve records from the Department Table when the GroupName is
either Manufacturing or Quality assurance

18. Write a query to retrieve all the rows except the one where GroupName is Quality
Assurance

20. Write a query to retrieve EmployeeID VacationHours column from Employees table
in HumanResource database where VacationHour is in between
And 50 and GroupName is Quality Assurance

21. Write a query to retrieve the data of those employees who are either Recruiters ,
Stockers or Buyers in the title column of Employees table in humanresources database.

22. Write a query to retrieve records from the department table where the values in the
Name column begin with Pro

23. Write a query to retrieve records from the department table where the values in the
Name column have the letter rt.

23. Write a query to retrieve records from the department table where the values in the
Name column begins with either D or K
24. Write a query to retrieve records from the department table where the values in the
Name column that ends with ear and begin with any letter from A through D
25. Write a query to retrieve records from the department table where the values in the
Name column begins with D and not have c as the second character

26. Write a query to display EmployeeId as Id ResidenceNumber as Residence by


replacing all null values with 0, OfficeNumber as office by replacing null values with NA
from Contact table in humanresources database

27.
What is transitive dependency ?find one and make the table 3NF normalised
28. make the table BCNF Normalised

29.State the number of partial dependency in the table

You might also like