Homework2Sol - (COP5725(Spring2013...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Database Management Systems (COP 5725) (Spring 2013) Instructor: Dr. Markus Schneider TA: Shuang Lin Yifan Wang Huiyuan Zhang Homework 2 Solutions Name UFID Email Address Pledge (Must be signed according to UF Honor Code) On my honor, I have neither given nor received unauthorized aid in doing this assignment. ______________________________________________ Signature For scoring use only: Maximum Received Exercise 1 20 Exercise 2 30 Exercise 3 20 Exercise 4 30 Total 100
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Exercise 1 (Knowledge Questions) [20pts] Answer the following questions: 1. What are multivalued attributes? [4pts] Multivalued attributes are those which can have many values. For example, a person can have many phone numbers etc. 2. List the basic operations of the Relational Algebra with their name and their correct symbolic notation [4pts] The basic operations are: (union), (difference), × (Cartesian product), (projection), and (selection). Further, we have the (rename) operation. 3. What are aggregate functions? Give examples of some aggregate functions in SQL. Aggregate functions are functions that take a set of values and that yield a single value in a result tuple. Examples: sum, avg, count, min, max 4. What is a 1 : m relationship set R between two entity sets E1 and E2? Each member of E1 can be associated with any number of members from E2. However, each member of E2 can be associated with only one member of E1. 5. What is generalization? “Factoring” (extracting) properties (attributes, relationships) of similar entity subclass, subtypes, categories) to a common superclass.
Background image of page 2
Exercise 2 (Relational Algebra) [30pts] Consider the following schema:
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 9

Homework2Sol - (COP5725(Spring2013...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online