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

Datawarehouse, How to define a job scheduling strategy that will meet busin...

How to define a job scheduling strategy that will meet business requirement of reporting availability by 6am CST for the following cubes? Show the job scheduling dependencies in a

Explain naivebayessimple algorithem, Use the IRIS dataset that comes with W...

Use the IRIS dataset that comes with Weka to compare the classification performance of the following algorithms. 1. NaiveBayesSimple 2. MultiLayerPerceptron J48 (

Define the division operation of relational algebra, Define the Division Op...

Define the Division Operation of Relational Algebra Let R be a relation comprising attributes (A1,...Ap,Ap+1,...An) and S comprising attributes (Ap+1,...An)  DEF: Division

Can a domain, Can a domain, assigned to a data element be changed? Yes....

Can a domain, assigned to a data element be changed? Yes.  We can do so by just overwriting the entry in the field domain.

I need automated trading engine for crypto currencies, Project Description:...

Project Description: Looking to prepare automated trading engine for alternate cyprto currencies starting with Cryptsy, finally integrating into other exchanges. Need to work wi

Create student db and execute insert query, Create Student DB and execute I...

Create Student DB and execute Insert query? STUDENT (name, student#, class, major) COURSE (course name, course#, credit hours, department) SECTION (section identifier, course

Develop a java application, 1 - Serial RS232 comm port comunication 2 - ...

1 - Serial RS232 comm port comunication 2 - NanoHTTPD serving a few processed pages 3 - System tray application to indicate status and access configuration forms 4 - SQLit

ERD, A student entity type has the following attributes,name..

A student entity type has the following attributes,name..

Referential integrity constraint - relational constraints, It defines that ...

It defines that the tuple in one relation that refers to another relation must refer to an existing tuple in that relation. This constraint is states on two relations (not essentia

ER model, coventions for displaying an ER schema as ER diagram

coventions for displaying an ER schema as ER diagram

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