Designing Relational Database Model and Queries
VerifiedAdded on 2019/09/26
|6
|778
|332
Project
AI Summary
This assignment content outlines the relational model, integrity constraints, predicate logic of schema, queries (SQL and Relational Calculus), views, and active rules for a student database. The relational model consists of three tables: Student, Course, and Term, with primary keys and foreign keys establishing relationships between them. Integrity constraints ensure data consistency and reliability. Predicate logic shows the structure of each entity, while SQL and Relational Calculus queries are provided to retrieve specific information. Views are defined to show degrees with course names and courses taken by at least 4 students. An active rule is also defined to send a warning message when a course has less than 3 students.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
1 out of 6