You are asked to design a database that could be used by a relationship counselling service...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You are asked to design a database that could be used by a relationship counselling service to manage data on their clients, their staff, and their sessions. Client information includes data on individuals (adults and children) and the relationships between them. Session includes the time and room that a counselling session took place in or is going to take place in. Here is what the service offers: Our services include relationship counselling for individuals and couples, family counselling, counselling for children and young people, and divorce mediation. We can help you if you're single or in a relationship, straight or gay, young or old. Whatever your circumstances we're dedicated to helping you get the most out of your relationships, no matter how big or small the issue. 1. Data model Create a data model for the counselling service. You will probably work through several design iterations. You do not need to include early designs in your documentation. Use the approach and notation we learned in class. Fully document your design process in a manner you would use if you were a professional database administrator - you may lose marks for the inclusion of extraneous information and unclear designs. Note that you have not been given any attribute lists, nor have you been given a full list of entities. You should therefore feel free to include anything that you think will be useful, but check what data you will need to fulfil the queries that you are being asked to create in Part 3. 2. Implementation 2a. Write SQL statements to implement your design. 2b. Implement your design using a suitable technology. Input enough data into your tables (however much you decide although you will need a minimum of 30 adult women in the dataset for Part 4) so that you can fully test your design and the queries you will write for Part 3. 3. Queries Managers might ask for the following information. Write an SQL statement to answer each using your test data to demonstrate that they work. a. Which couple has been our client the longest? b. Of the people who have had more than three sessions with us, what is the average number of sessions they've had? (Three is the minimum that people get when they first attend the service, so everyone gets three - here we are interested in those who stayed longer.) c. Is workload spread about the counsellors evenly? Activate d. Can we see a time table for tomorrow? What clients are coming to see us, what rooms are they booked into and at what times? You are asked to design a database that could be used by a relationship counselling service to manage data on their clients, their staff, and their sessions. Client information includes data on individuals (adults and children) and the relationships between them. Session includes the time and room that a counselling session took place in or is going to take place in. Here is what the service offers: Our services include relationship counselling for individuals and couples, family counselling, counselling for children and young people, and divorce mediation. We can help you if you're single or in a relationship, straight or gay, young or old. Whatever your circumstances we're dedicated to helping you get the most out of your relationships, no matter how big or small the issue. 1. Data model Create a data model for the counselling service. You will probably work through several design iterations. You do not need to include early designs in your documentation. Use the approach and notation we learned in class. Fully document your design process in a manner you would use if you were a professional database administrator - you may lose marks for the inclusion of extraneous information and unclear designs. Note that you have not been given any attribute lists, nor have you been given a full list of entities. You should therefore feel free to include anything that you think will be useful, but check what data you will need to fulfil the queries that you are being asked to create in Part 3. 2. Implementation 2a. Write SQL statements to implement your design. 2b. Implement your design using a suitable technology. Input enough data into your tables (however much you decide although you will need a minimum of 30 adult women in the dataset for Part 4) so that you can fully test your design and the queries you will write for Part 3. 3. Queries Managers might ask for the following information. Write an SQL statement to answer each using your test data to demonstrate that they work. a. Which couple has been our client the longest? b. Of the people who have had more than three sessions with us, what is the average number of sessions they've had? (Three is the minimum that people get when they first attend the service, so everyone gets three - here we are interested in those who stayed longer.) c. Is workload spread about the counsellors evenly? Activate d. Can we see a time table for tomorrow? What clients are coming to see us, what rooms are they booked into and at what times?
Expert Answer:
Answer rating: 100% (QA)
Designing a database for a relationship counseling service involves identifying the entities their attributes and their relationships Below is a stepbystep approach to creating a data model for the co... View the full answer
Related Book For
Modern Database Management
ISBN: 978-0133544619
12th edition
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi
Posted Date:
Students also viewed these databases questions
-
60-kg person walks from the ground to the roof of a 74.8m tall building. How much gravitational potential energy does she have at the top of the building?
-
Discuss Networking technologies. Research Software Defined Networking (SDN). Write 300 + words explaining the technology.
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Find the indefinite integrals (a) sin 3x cos 5x (b) cos 7x cos 5x (c) sin 2 x (d) cos 2 x (e) cosh 2 x (f) sinh(5x + 1)
-
Knowing that P = 0 and Q = 1096 N, determine for the frame and loading shown (a) The reaction at D, (b) The force in member BF. -320 mm- 240 mm 240 mm 450 mm
-
Define the following parts of speech: noun, pronoun, verb, adjective, adverb, preposition and conjunction.
-
Residential Demand for Electricity. Belotti, Hughes and Piano Mortari (2017) estimated residential demand for electricity covering the 48 states in the continental United States plus the district of...
-
As she headed toward her boss's office, Emily Hamilton, chief operating officer for the Aerocomp Corporation-a computer services firm that specialized in airborne support-wished she could remember...
-
Jennifer considers a hypothetical question, and asks the group, "What if I launch the boat from the island's left end with the river current 1.5 m/s, and row at 3.0 m/s all the way to the right end,...
-
Locate the most recent committee reports associated with each of the following code sections (if any) using a tax service such as Checkpoint. Give the citation to the committee report, the Public Law...
-
Print the suppliers IDs and suppliers Names of suppliers who do not supply Tofu (i.e., if a supplier supplies Tofu, his id and name should not be in the result set). Question 2: Print all the...
-
discuss the evolutionary adaptations of the respiratory system across taxa, highlighting the diversification of respiratory structures and mechanisms in response to ecological niches and selective...
-
How do environmental factors, such as altitude, temperature, and atmospheric composition, influence respiratory physiology, necessitating adaptive responses at both the cellular and systemic levels...
-
How do the mechanisms of ventilation and gas exchange operate synergistically in facilitating the diffusion of oxygen and carbon dioxide across the respiratory membrane, ensuring optimal...
-
Can you elucidate the intricacies of cellular respiration, delineating the metabolic pathways involved and their respective roles in energy production within eukaryotic organisms ?
-
John Porter is an hourly employee of Motter Company located in New York City. This week, Porter had to travel to the company's regional office in Albany. He left Sunday at noon and arrived in Albany...
-
Suppose that Y = KN, s=10%, and 8 = 5%. Compute the steady-state investment per worker. Be careful about the unit. For example, & being 5% implies that & is 0.05 rather than 5. a. 0.05 b. 0.1 c. 0.2...
-
Find the equations of the ellipses satisfying the given conditions. The center of each is at the origin. Passes through (2, 2) and (1, 4)
-
Are associative entities also weak entities? Why or why not? If yes, is there anything special about their "weakness"?
-
Visit www.kimballgroup.comand locate Kimball University Design Tip 37. Study this design tip and draw the dimensional model for the recommended design for a "pipeline" application for university...
-
Add minimum and maximum cardinality notation to each of the following figures, as appropriate: a. Figure 2-5 b. Figure 2-10a c. Figure 2-llb d. Figure 2-12 (all parts) e. Figure 2-13c f. Figure 2-14
-
What uses of the word reserve might be found in practice in various parts of the world?
-
In most countries, interest expense is: A. Taxable. B. Not tax-deductible. C. Tax-deductible. D. Not relevant for tax.
-
Under which countrys national accounting system is there the closest link between accounting and tax? A. Norway. B. Denmark. C. Germany. D. The UK.
Study smarter with the SolutionInn App