Example on relational database schema, Database Management System

Assignment Help:

Question:

The following relational database schema corresponds to a part of a database used by the Registry Department of a university.

DEPARTMENT (d#, d-name, head-of-dept)
MODULE (m#, m-name, m-level, d#)
CANDIDATE (c#, c-name, c-address)
RESULT (c#, m#, cw-grade, exam-grade, final-grade)

The following explanations are given for this schema:

(i) d# represents department number, m# represents module number, and c# represents candidate number;

(ii) d-name represents department name, m-name represents module name, and c-name represents candidate name;

(iii) each module is run by a particular department;

(iv) each module has a particular level associated with it, indicated by its m-level (level 1, level 2, or level 3);

(v) results achieved by a candidate for a particular module are recorded as coursework grade (cw-grade), exam grade (exam-grade) and overall grade (final-grade). The highest grade is 16.

Express the following queries firstly in Relational algebra and secondly in Relational Calculus:

(i) Find the names and numbers of those candidates who have achieved one or more final grade between 11 and 16.

(ii) Find the candidate number, module number and final grade for those candidates attending modules run by the departments named ‘Business' or ‘Computing'.

(iii) Find the numbers of those candidates who are not attending any level 3 module run by the department named ‘Computing'.

(iv) Find the numbers of those candidates who are attending all level 3 modules run by the department named ‘computing'.


Related Discussions:- Example on relational database schema

Aggregation, Design a database for an airline.The database must keep track ...

Design a database for an airline.The database must keep track of customers and their reservations,flights and their status, seat assignment on individual flights and, the schedule

design the logic using looping structure, 1. Design the logic, using a loo...

1. Design the logic, using a looping structure, for a program that outputs every even number from 1 through 25 along with its square and cube. 2. Mr. Sanchez owns 12 apartme

Prepare a gantt chart for the stock control project, Prepare a gantt chart ...

Prepare a gantt chart for the stock control project: Scenario Lucas-TVS is the Leader in Auto Electricals in India today with 50 years experience in desig

BI, (a) Why did SAP introduce the extended star schema?

(a) Why did SAP introduce the extended star schema?

DISTIBUTED DATABASE, Define physical image of a global relation at a site

Define physical image of a global relation at a site

Explain briefly concurrent task by taking an example, Explain briefly concu...

Explain briefly concurrent task by taking an example. Concurrent Task- The concurrent occurrence of more than one event is called concurrent task. Operating systems can handl

What is vertical fragmentation, What is vertical fragmentation? Vertica...

What is vertical fragmentation? Vertical fragmentation divides the relation by decomposing the scheme R of relation r.

What is data storage, What is Data Storage? The storage structures and ...

What is Data Storage? The storage structures and access methods used by database system are specified by a set of explanation in a special type of DDL called data storage-defin

What is data independence, What is data independence? Data Independenc...

What is data independence? Data Independence: Techniques which permit data to be changed without affecting the applications in which procedure it. There are two types of data

MYSQL, write an SQL statement to create the database in MYSQL server

write an SQL statement to create the database in MYSQL server

Write Your Message!

Captcha
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