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

Objectives of data management, The traffic data mgmt. systems infrastructur...

The traffic data mgmt. systems infrastructure plan describes the software, hardware, data network, and other elements that will support the TDMS. The infrastructure plan is based o

What is predictive modelling, Question : (a) Data mining is one of the...

Question : (a) Data mining is one of the best ways to analyse data and using software method, hidden and unexpected patterns and relationships in sets of data can be extracte

Central database schema, Consider an information system designed for an onl...

Consider an information system designed for an online company which provides IT products and services. These include desktops, laptops, networking products, IT books, parts, and te

Explain the disadvantages of using dbms, Explain the disadvantages of using...

Explain the disadvantages of using DBMS There could be a few disadvantages of using DBMS. As DBMS requires computers, we have to invest a good amount in acquiring the hardwa

Example of equijoin, Example: Consider the following relations: ...

Example: Consider the following relations: ROLLNO NAME ADDRESS COURSE_ID 100 Ka

Entity relationship diagram, Ask questApollo Hospitals (AH) is a popular me...

Ask questApollo Hospitals (AH) is a popular medical service provider in Oman. AH wants to automate its business functions into an information system. The proposed information syst

Need senior oracle database administrator, Project Description: Oracle C...

Project Description: Oracle Certified Professional with 20 years of practice, Oracle version 6.0.34, 7.3, 8.0, 8i, 9i, 10G, 11G, 12C. Crossplatform migration, Informix, MSSql

Example of primary key, Suppose that in an organisation, an employee may do...

Suppose that in an organisation, an employee may do different roles in dissimilar projects. Say, RAM is doing coding in one project and doing designing in another. Suppose that the

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