Reference no: EM13910435
Part I: Database Design
Fitchburg ABA Clinic wants to create a database with the following entities:
• Employee
o EmpID
o Name
o Position
o Salary
o DateofHire o DateofBirth o Age
o Skills
o Degrees (i.e. M.S., Ph.D)
o Certifications (i.e. BCBA, SLP)
• Client
o ClientID
o FirstName o LastName o DateofBirth o Age
o Allergies
• Diagnosis
o DiagnosisCode
o Description
• Parent
o ParentID o FirstName o LastName o Address
- Street
- City
- State
- ZipCode
o Telephone
• InsuranceCompany
o InsCoID
o Name
o Address
- Street
- City
- State
- ZipCode
o Telephone
• Therapy
o TherapyID
o Name
o RecommendedUnits
o CostperUnit
• TimeSlot
o TimeslotID o DayofWeek o StartTime o EndTime
• Room
o RoomID
o Capacity
o MaxOccupants
There are also some additional business rules:
1. A parent can have many children (clients.) Also, information can be kept on multiple parents for one child
2. A parent can have more than one insurance policy used for billing. We also want to store the policy number and effective date
3. A client is scheduled for a particular therapy in a particular room during a given timeslot
4. A client can have 1 or more diagnosis codes
5. Keeping track of billing is not included in this application. This is merely a scheduling application.
6. We want to keep track of the date of service for a scheduled therapy as well as the duration
From the ERD shown below design the following:
1. a set of normalized relations
2. the scripts to create the tables defined by step 1
Part II
SQL -
Use the Richard's Catering Case Study for the following queries:
1. For each staff member, list the number of events that he or she has worked. Your output should include the last name, first name and the number of events.
2. For each staff member, list the number of each type of event that he or she has worked. Your output should include the last name, first name, event_type and the number of events.
3. Find all maincourses that have not been served at wedding receptions. List out the description.
4. List all dishes that have only been served at night (i.e. start hour >= 6) This the dish description.
5. Calculate the total cost for each event.
Attachment:- richards.pdf
What would earning share under each financing alternative
: If the corporation's earnings before interest and taxes increase to $10,000,000 and the applicable tax rate is 34%, what would the earnings per share be under each financing alternative?
|
Use the data provided to determine firm''s operating margin
: Use the data provided to determine the firm's operating margin, asset turnover, interest burden, financial leverage, income tax rate, and ROE.
|
Target corporation tgt
: Target corporation(TGT) WACC (weighted average cost of capital) computation for 2010 to 2014
|
Describe concept related nonqualified deferred compensation
: George has been selected as the new Chief Financial Officer of Infrastructure Unlimited and has been issued 10,000 shares of its stock at no cost to him. The stock will vest in increments of 2,000 shares per year over the next five years. Which of..
|
Calculate the total cost for each event
: Find all maincourses that have not been served at wedding receptions. List out the description - Calculate the total cost for each event - Find all maincourses that have not been served at wedding receptions. List out the description.
|
Calculate a table of interest rates
: Calculate a table of interest rates based on the following information: The pure interest rate is 2.5% Inflation expectations for year 1= 2%, year 2 = 4%, years 3-5 = 5%
|
What is solubility rule
: What is solubility rule for 1A group and ammonium? What is solubility rule for acetate and nitrate?
|
Standard cost is a predetermined amount
: standard cost is a predetermined amount that-Should be incurred under relatively efficient operating conditions-Will be incurred for an operation or a specific objective-Must occur for an operation or a specific objective
|
It architecture or enterprise architecture on information
: Ascertain the importance of information management for the company or industry that you have chosen.Analyze the fundamental impact of IT architecture or enterprise architecture on information management for your chosen company or industry. Determine ..
|