Write two relational algebra expressions that retrieve given

Assignment Help Database Management System
Reference no: EM132141889

Question: 1. (a)- Consider that you are asked to design an entity relationship diagram based on the below scenario:

A university consists of a number of departments (id, d_name) and each department offers some courses. A number of modules make up each course. Students enroll their Id, full name, and gender in a particular course and take modules towards the completion of that course. Each module is taught by a lecturer from the appropriate department.

(b)- We can convert any weak entity set to a strong entity set by simply adding appropriate attributes. Why, then do we have weak entity sets? Write about the weak entities for several reasons.

2. Assume we have a Library Database consists of the following relations:

author(author_id, first_name, last_name)
author_publication(author_id, publication_id, author_position)
book(book_id, book_title, month, year, editor)
publication(publication_id, title, book_id)

Note: (editor) in book's relation refers to (author_id) in author's relation. Some of authors are book editors.

(a) Underline the appropriate primary keys/foreign keys in the above relations.

(b) Write two relational algebra expressions that retrieve:

- The last names of all authors who are book editors only.

- The first name of all authors who are not book editors.

Reference no: EM132141889

Questions Cloud

Solution to the number of tables that should be produced : What is the optimal solution to the number of tables that should be produced?
Information on the enterprise car rental : Enterprise: provide the following information on the enterprise car rental
The job ranking method simply ranks jobs : The job ranking method simply ranks jobs ___________________.
How do the five goals of sentencing influence laws : Create a PowerPoint presentation in which you will first describe the case, its outcome, and the sentencing received by the defendant in the case.
Write two relational algebra expressions that retrieve given : A university consists of a number of departments (id, d_name) and each department offers some courses. A number of modules make up each course.
Relationships in macroeconomic models : Many of the relationships in our macroeconomic models are linear; two variables are related by the equation for a straight line y = mx+b.
Provide at least one example of a cyber crime court case : Are there any laws laws at the local, state federal or even international levels that protect your organization by imposing penalties on cybercriminals?
What would happen if we chose virtue ethics : How peoples upbringing and values when faced with an ethical decision, whether it is in a business environment or not. How are our beliefs the same
Relationships in macroeconomic models : Many of the relationships in our macroeconomic models are linear; two variables are related by the equation for a straight line y = mx+b

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd