Display the details of the total rent paid by given student

Assignment Help Database Management System
Reference no: EM131075524

Database Question

Case Study

The Director of the University Accommodation Office requires you to design a database to assist with the administration of the office. The requirements collection and analysis phase of the database design process based on the Director's view has provided the following requirements specification for the Accommodation Office database.

The data stored on each full-time student includes the matriculation number, name (first and last name), home address (street, city/town, postcode), date of birth, sex, category of student (for example, first year undergraduate, postgraduate, etc), nationality, smoker (yes or no), special needs, any additional comments, current status (placed/waiting), and what course the student is studying on.

The student information stored relates to those currently renting a room and those on the waiting list. Students may rent a room in a university owned hall of residence or student flat.

When a student joins the University he or she is assigned to a member of staff who acts as his or her Advisor of Studies. The Advisor of Studies is responsible for monitoring the student's welfare and academic progress. The data held on a student's Advisor includes their full name, position, name of department, internal telephone number, and room number.

Each hall of residence has a name, address, telephone number, and a hall manager who supervises the operation of the hall. The halls provide only single rooms, which have a room number, place number, and monthly rent rate. The place number uniquely identifies each room in all the halls controlled by the Accommodation Office and is used when renting a room to a student.

The Accommodation Office also offers student flats. These flats are fully furnished and provide single-room accommodation for groups of three, four, or five students. The information held on student flats includes a flat number, address, and the number of single bedrooms available in each flat. The flat number uniquely identifies each flat.

Each bedroom in a flat has a monthly rent rate, room number, and a place number. The place number uniquely identifies each room available in all student flats and is used when renting a room to a student.

A student may rent a room in a hall or student flat for various periods of time. New lease agreements are negotiated at the start of each academic year with a minimum rental period of one semester (15 weeks) and a maximum rental period of one year, which includes Semesters 1, 2, and the Summer Semester. Each individual lease agreement between a student and the Accommodation Office is uniquely identified using a lease number.

The data stored on each lease includes the lease number, duration of the lease (given as semesters), name and matriculation number of the student, place number, room number, address details of the hall or student flat, the date the student wishes to enter the room, and the date the student wishes to leave the room (if known).

At the start of each semester each student is sent an invoice for the following rental period. Each invoice has a unique invoice number.

The data stored on each invoice includes the invoice number, lease number, semester, payment due, student's full name and matriculation number, place number, room number, and the address of the hall or flat. Additional data is also held on the payment of the invoice and includes the date the invoice was paid, the method of payment (check, cash, Visa, etc), the date the first and second reminder is sent (if necessary).

Student flats are inspected by staff on a regular basis to ensure that the accommodation is well maintained. The information recorded for each inspection is the name of the member of staff who carried out the inspection, the date of inspection, an indication of whether the property was found to be in a satisfactory condition (yes or no), and any additional comments.

Some information is also held on members of staff of the Accommodation Office and includes the staff number, name (first and last name), home address (street, city/town, postcode), date of birth, sex, position (for example, Hall Manager, Administrative Assistant, Cleaner), and location (for example, Accommodation Office or Hall).

The Accommodation Office also stores a limited amount of information on the courses run by the University including the course number, course title (including year), course leader's name, internal telephone number, and room number, and department name. Each student is associated with a single course.

Next-of-kin

Whenever possible, information on a student's next-of-kin is stored which includes the name, relationship, address (street, city/town, postcode), and contact telephone number.

Data Queries

1. List the manager's name and telephone number for each hall of residence.

2. List the names and matriculation numbers of students with the details of their lease agreements.

3. Display the details of lease agreements that include the Summer Semester.

4. Display the details of the total rent paid by a given student.

5. List students that have not paid their invoices by a given date.

6. Display the details of flat inspections where the property was found to be in an unsatisfactory condition.

7. List the names and matriculation numbers of students with their room number and place number in a particular hall of residence.

8. List the details of all students currently on the waiting list for accommodation, that is, not placed.

9. Display the total number of students in each student category.

10. List the names and matriculation numbers for all students who have not supplied details of their next-of-kin.

11. Display the name and internal telephone number of the Advisor of Studies for a particular student.

12. Display the minimum, maximum, and average monthly rent for rooms in halls of residence.

13. Display the total number of places in each hall of residence.

14. Display the staff number, name, age, and current location of all members of the accomodation staff who are over 60 years old today.

Project Deliverables

Phase I

You will be responsible for submitting the Entity-Relationship (ER) diagram. The ER diagram must show all of your entities, relationships and cardinality of your relationships. You should follow the UML notations.•

Create an entity relationship model

Create a conceptual schema for the Acme General using the concepts of the ER model. To simplify each diagram, only show entities and relationships. Specify the cardinality ratio and participation constraint of each relationship type. State any assumptions you make when creating the ER model (if necessary).

Phase II

The logical model (relational schema) for your ER. The relational schema should list each entity with all of its attributes as well as all of your primary and foreign keys. You should follow the RM format that we used during week 3. No other format will be accepted.

• Map your high-level conceptual schema to a logical model. In this step you will create the relational schema and identify all attributes as well as your primary and foreign keys.

• Make sure your RM is in the 3NF

Phase III

• Once your ER models and relational schema are complete, you will begin working on Phase III. Using and DBMS you like, you will actually build (implement) the database that you designed in Phase II. Your project will need to include the following:

Tables

Create all of the tables specified in your logical model. Following are some additional specifications for table creation:

• Make sure that your primary keys are assigned in each table.

• Verify that all of your fields are assigned an appropriate data type.

• Verify that all of your fields are assigned an appropriate field length.

• Use default values where appropriate (i.e. default for "OrderDate" as today's date).

• Insert 2-3 rows of data in each table. You make up the data.

Reference no: EM131075524

Questions Cloud

Potential difference between the center and rim of the disk : A copper disk of 10 cm radius is rotating at 20 rev/s about its axis and with its plane perpendicular to a uniform field with B = 0,60 T . What is the potential difference between the center and rim of the disk?
Define a cpp function that has two integer inputs : Define a C++ function that has two 2 integer inputs (N) and returns a double output y, where y=∑sqrt(n+0.5)/(2n+1) n=1 the value of n s'd be positive.
Show that if the final demand changes from d to d + ?d : Show that if the final demand changes from d to d + ?d, then the new production level must be x + ?x. Thus ?x gives the amounts by which production must change in order to accommodate the change ?d in demand.
Stopped or moving at constant velocity : You are riding in a spaceship that has no windows, radios, or other means for you to observe or measure what is outside. You wish to determine if the ship is stopped or moving at constant velocity. What should you do?
Display the details of the total rent paid by given student : Display the details of the total rent paid by a given student. List students that have not paid their invoices by a given date. Display details of flat inspections where the property was found to be in an unsatisfactory condition.
Copy and paste the register window at the second iteration : IV. 1.A. Copy and paste the source code. IV. 1. B. Copy and paste the register window at the second iteration where the carry becomes set. Highlight the carry flag to show that it is set.
What is the largest possible dimension of row : MATH 54 QUIZ 7. If A is a 3 × 5 matrix, what is the largest possible dimension of Row(A)? What is the largest possible dimension of Nul(A)
Compare concepts of classical and operant conditioning : Compare and contrast the concepts of classical conditioning and operant conditioning. Start by defining each type of conditioning and include the distinct elements of each (i.e. unconditioned stimulus, reinforcement, etc) Then, describe how each c..
How high was the cliff : A driver running 1.9 m/s dives out horizontally from the edge of a vertical cliff and 2.4 s later reaches the water below. Part A) How high was the cliff?

Reviews

Write a Review

Database Management System Questions & Answers

  Basic component of a database system

Which of the following is not a basic component of a database system? Which of the following terms is synonymous with "tuple"

  Task 1 create 3 rows of data for each table ensuring that

task 1 create 3 rows of data for each table ensuring that the referential integrity is valid.task 2 add the 30 rows of

  Calculate confidence and support of rule

Assume that 30% of science students are majoring in biology. Would you consider to be novel with respect to rule? Describe. Calculate confidence and support of rule.

  Translate the conceptual e-r data model for the application

Translate the conceptual E-R data model for the application, developed without explicit consideration of specific user interfaces, into normalized data requirements.

  Product in traditional costing system - bullie manufacturing

Determine the manufacturing overhead cost per unit of each of the company's two products under the traditional costing system.

  Creating database

Question 1: Start Access. Open the downloaded Access file named exploring_acap_grader_h1_College. Question 2: Import the exploring_acap_grader_h1_Transfer.xlsx Excel workbook into a table named Transfer Schools. While importing the data, choose St..

  What classes are necessary to obtain a specific degree

What degree is the student working towards. A student can only work on one degree at a time. What classes are necessary to obtain a specific degree

  Revise table that is to be used as data source in mail merge

In the following project, you will revise a table that is to be used as a data source in a mail merge. As the business manager for Sports Medicine Clinic, you will send letters of welcome to three newly hired physical therapists

  Project on data management

Premiere Products is a distributor of appliances, house wares, and sporting goods. Since its inception, the company has used spreadsheet software to maintain customer, order, inventory, and sales representative data. Redundancy and difficulty in..

  How much supervisory wages and factory supplies

How much supervisory wages and factory supplies cost would NOT be assigned to products using the activity-based costing system - How much supervisory wages and factory supplies cost would be assigned to the Batch Processing activity cost pool?

  Explaining content of document in natural language

Explain the content of this document in natural language;Design the graph representation of document;

  Determine if you should reject or accept the dataset

Determine if you should reject or accept the following dataset if the true value is 6.272 at both 95% and 99% confidence scenarios: [3.991, 1.207, 3.972, 4.038, 3.836, 3.492]. Show work.

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