Show Bid Request
Relational Algebra expression and relational domain calculus
Bid Request Id: 9701
|
|
|
Posted by: |
salapaw (6 ratings)
(Software buyer rating 9.83)
|
Posted: |
Feb 27, 2002 8:02:11 AM EDT
|
Bidding Closes: |
Mar 1, 2002 1:00:00 PM EDT
|
Viewed (by coders): |
120 times
|
|
|
|
Description:
Relational algebra expression and domain calculus expression.
Should be a rather quick job.
Deliverables: Consider the following relational database schema:
student (StudentID, StudentName, Major)
Primary Key: {StudentID}
Candidate Key: {StudentID}
Foreign Key: {}
course (CourseNum, CourseName, Instructor)
Primary Key: {CourseNum}
Candidate Key: {CourseNum}
Foreign Key: {}
takes (StudentID, CourseNum)
Primary Key: {StudentID, CourseNum}
Candidate Key: {StudentID, CourseNum}
Foreigh Key: {StudentID}
referencing relation: takes
referenced relation: student
targeted candidate key: {StudentID}
{CourseNum}
referencing relation: takes
referenced relation: course
targeted candidate key: {CourseNum}
Express the following queries on the above schema in both relational algebra and relational domain calculus:
1. Find names and IDs of all students whose major is Computer Science.
2. Find all courses (CourseNum and CourseName) taught by Peter Peterson.
3. Find all courses (CourseNum only) taken by student John Johnson.
4. Find names of all instructors who teach courses taken by John Johnson.
5. Find names of all students who take at least one course taught by Peter Peterson
but take no course from David Davidson.
6. Find StudentIDs of the students who take all courses taught by David Davidson.
(Give only a relational algebra expression.)
7. Find all instructors who currently teach at least two courses. (Give only a
relational algebra expression.)
Platform:
word or in writting and later scanned in.
Special Conditions / Other:
done by March 1 before noon US Mountain time
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation, you can report it to: abuse@rentacoder.com.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$4 (USD)
|
Feb 27, 2002 9:54:49 AM EDT
|
9.6
(Excellent)
|
|
|
Your requirements can be fulfilled within given time. |
|
|
|
|
|