reset password
Author Message
ptran6
Posts: 25
Posted 22:04 Oct 24, 2010 |

Hey Dr. Sun,

Exercise 5.6(e) says, "All of the courses taught by a professor are offered by the same department." Does this mean that a professor can only teach courses in his/her department? For example, a CS professor can only teach CS courses, and not Math or Drama courses?

Also, we did not talk about it in class, but the PostgreSQL documentation talks about a "record" type, a general form of the "rowtype" we talked about in class. Can I use the "record" type instead of "rowtype" in Homework 3?

Thank you.

- Peter Tran

cysun
Posts: 2935
Posted 22:41 Oct 24, 2010 |

Yes and yes.