Warning: mysqli_query(): (HY000/1021): Disk full (/tmp/#sql_6148_24.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") in /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php on line 2056

Warning: mysqli_query(): (HY000/1021): Disk full (/tmp/#sql_6148_24.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") in /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php on line 2056

Warning: mysqli_query(): (HY000/1021): Disk full (/tmp/#sql_6148_24.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") in /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php on line 2056

Warning: Cannot modify header information - headers already sent by (output started at /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php:2056) in /home/bestrega/nursingwritershelp.com/wp-includes/rest-api/class-wp-rest-server.php on line 1667

Warning: Cannot modify header information - headers already sent by (output started at /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php:2056) in /home/bestrega/nursingwritershelp.com/wp-includes/rest-api/class-wp-rest-server.php on line 1667

Warning: Cannot modify header information - headers already sent by (output started at /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php:2056) in /home/bestrega/nursingwritershelp.com/wp-includes/rest-api/class-wp-rest-server.php on line 1667

Warning: Cannot modify header information - headers already sent by (output started at /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php:2056) in /home/bestrega/nursingwritershelp.com/wp-includes/rest-api/class-wp-rest-server.php on line 1667

Warning: Cannot modify header information - headers already sent by (output started at /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php:2056) in /home/bestrega/nursingwritershelp.com/wp-includes/rest-api/class-wp-rest-server.php on line 1667

Warning: Cannot modify header information - headers already sent by (output started at /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php:2056) in /home/bestrega/nursingwritershelp.com/wp-includes/rest-api/class-wp-rest-server.php on line 1667

Warning: mysqli_query(): (HY000/1021): Disk full (/tmp/#sql_6148_24.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") in /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php on line 2056

Warning: mysqli_query(): (HY000/1021): Disk full (/tmp/#sql_6148_24.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") in /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php on line 2056

Warning: mysqli_query(): (HY000/1021): Disk full (/tmp/#sql_6148_24.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") in /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php on line 2056

Warning: Cannot modify header information - headers already sent by (output started at /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php:2056) in /home/bestrega/nursingwritershelp.com/wp-includes/rest-api/class-wp-rest-server.php on line 1667

Warning: Cannot modify header information - headers already sent by (output started at /home/bestrega/nursingwritershelp.com/wp-includes/wp-db.php:2056) in /home/bestrega/nursingwritershelp.com/wp-includes/rest-api/class-wp-rest-server.php on line 1667
{"id":164722,"date":"2021-09-29T20:02:55","date_gmt":"2021-09-29T20:02:55","guid":{"rendered":"https:\/\/nursingwritershelp.com\/?p=164722"},"modified":"2021-09-26T15:58:24","modified_gmt":"2021-09-26T15:58:24","slug":"database-homework","status":"publish","type":"post","link":"https:\/\/nursingwritershelp.com\/database-homework\/","title":{"rendered":"Database Homework"},"content":{"rendered":"
\n

The Patient Assistance Network (PAN) is a non\u2010profit organization that providessupport and care for<\/p>\n

patients. PANneeds a database systemto keep track ofthe personnelthatsupportthe organization.<\/p>\n

There are many categories of people that need to be tracked in the PAN database. Each person may<\/p>\n

fall into more than one of the following categories: clients, volunteers, employees, and donors.<\/p>\n

There will be some people who do not fall in any of those categories. PAN tracksthe name (first and<\/p>\n

last), date of birth, ethnicity, gender, and profession of each person. In addition, PAN assigns a<\/p>\n

unique ID number to each person. PAN also stores the contact information for each person<\/p>\n

consisting of a mailing address (street, city, state, zip), email address, and contact numbers. Each<\/p>\n

contact numbershould be stored with itstype (such as home, work, cell, etc.). Finally, PANmaintains<\/p>\n

a mailing list for its monthly newsletter, so the system should track whether each person in the<\/p>\n

database is on thatlist.<\/p>\n

PAN tracksitslist of clientsin the database. For each client, PAN tracksthe names(first and last) and<\/p>\n

phone numbers of his or her doctor and attorney. PAN also tracksthe date the client first joined the<\/p>\n

organization. Each client has a list of needs such as housekeeping, transportation, yard work, etc.<\/p>\n

Each ofthese needsis also associated with a value indicating itsimportance to the client(1\u201010).<\/p>\n

PAN provides care and support for each client using teamsthat contain many volunteers. Each team<\/p>\n

caresforseveral clients, and more than one team may support a client. Each team isidentified by its<\/p>\n

name, and each team has a type and date it wasformed. A volunteer may serve on multiple teams.<\/p>\n

For each volunteer, the database should store the date he orshe first joined PAN. In addition, PAN<\/p>\n

should record the number of hours a volunteer worked each month for a particularteam. Note that<\/p>\n

the volunteers do not work the same number of hours eachmonth. One ofthe volunteers on a team<\/p>\n

serves asthe teamleader, and thisinformation should be tracked in the database as well.<\/p>\n

Every team must report to a PAN employee, and more than one team may report to the same<\/p>\n

employee. Each team meets periodically with its employee to discuss its current status. The<\/p>\n

database should record the date of each meeting as well as a brief description of its content. For<\/p>\n

each employee, the database should store the employee\u2019s monthly salary, maritalstatus, date hired,<\/p>\n

and whether employee isfull\u2010 or half\u2010time. An employee may charge several expenses each month.<\/p>\n

The database should track the date ofthe expense, along with the amount and its description.<\/p>\n

PAN depends on support from its donors. The database should track these people as well asrecord<\/p>\n

each oftheir donations. Thisinformation should include the date, amount, and paymenttype of each<\/p>\n

donation. In addition,the database should track whether each donor wishesto remain anonymous.<\/p>\n

Each person in the databasemay be affiliated with one or more external organizations. The database<\/p>\n

should track thisinformation as well. The database should note which person in the database isthe<\/p>\n

official contact person for the organization. Each organization should have a unique name, type,<\/p>\n

mailing address, phone number, and Web site. In addition, each organization may sponsor one or<\/p>\n

more PAN teams, and a team may have more than one sponsor. Each organization may also make<\/p>\n

several donationsto PAN, and the database should track the same donation information asit doesfor<\/p>\n

individual donors. Thisincludesthe ability forthe organization to donate anonymously.<\/p>\n

 <\/p>\n

II.QUERIES<\/p>\n

1. Enter a new employee into the database and associate him or herto one or more expenses. Use<\/p>\n

7 examples.<\/p>\n

2. Enter a new teaminto the database and associate itto an employee. Use 5 examples.<\/p>\n

3. Enter a new client into the database and associate him or her with one or more teams. Include<\/p>\n

one ormore needsfor each client. Use 7 examples.<\/p>\n

4. Enter a new volunteer into the database and associate him or her with one or more teams.<\/p>\n

Include the number of hoursthe volunteer worked this month on each team and if the volunteer<\/p>\n

isthe leaderforthatteam. Use 7 examples.<\/p>\n

5. Enter a new organization and associate itto one ormore PANteams. Use 5 examples.<\/p>\n

6. Enter a new donor and associate himor her with one ormore donations. Use 7 examples.<\/p>\n

7. Enter a new donation and associate it with an organization. Use 7 examples.<\/p>\n

8. List the name and phone number ofthe doctor of each client (along with the client\u2019s name). Sort<\/p>\n

the list by client\u2019slast name,then by first name.<\/p>\n

9. List the names of anonymous donorsin the database who are not on the mailing list. Include the<\/p>\n

total amount donated from each donor. Sort the list by total donation amount in descending<\/p>\n

order.<\/p>\n

10. Retrieve the list of volunteersthat are members ofteamsthatsupport a given client. The client\u2019s<\/p>\n

IDnumbershould be prompted by the database. Sortthe list by the volunteersjoining date.<\/p>\n

11. Retrieve the names and addresses of clients that are supported by the teams that report to the<\/p>\n

employee with the highestsalary. Sortthe list by the client\u2019slast name.<\/p>\n

12. Retrieve the name, address, and total amount donated by donors that are also clients. The list<\/p>\n

should be sorted by the total amount of the donations, and indicate if each donor wishes to<\/p>\n

remain anonymous.<\/p>\n

13. List the occurrences when a volunteer supports a client that is a different gender. For each<\/p>\n

occurrence, listthe volunteer\u2019s name, joining date,teamname, and client\u2019s name. Sortthe list by<\/p>\n

client\u2019s name (last,first),then by teamname,then by volunteer\u2019s name (last,first).<\/p>\n

14. Retrieve the list of needs that are considered to be important by multiple clients. An important<\/p>\n

need has a rank of 7 or higher.<\/p>\n

15. Retrieve the effective amount donated by each organization. The effective amount isthe sum of<\/p>\n

the organization\u2019s donations and the total amount of donations made by all of the individuals<\/p>\n

affiliated with the organization.<\/p>\n

16. Retrieve the names, total expenses, and salaries of the employees with annual salaries that<\/p>\n

exceed the total amount of his or her expenses. Sortthe list by salary in descending order.<\/p>\n

17. Increase the salary by 10% of all half\u2010time employees who havemultiple teamsreportto them.<\/p>\n

18. Reduce by 1 the importance ofthemost commonly requested need for each client.<\/p>\n

19. Delete the employee that hasmet with the fewesttotal number oftimes with his or herteams.<\/p>\n

20. Delete the volunteer that has worked the least total number of hours. The volunteer should be<\/p>\n

removed fromallteams as well.<\/p>\n

21. (Optional for Bonus Points) Generate a report that lists all of the donations made by donors and<\/p>\n

organizations. Each row should list the donor name, amount, and date of donation along with a<\/p>\n

field indicating if the donation was anonymous. The list should be sorted by donation date in<\/p>\n

decreasing order. There should be a row after eachmonth giving a total ofthe donationsmade in<\/p>\n

that month (in the same column as the donation date). The donor name in this row should be<\/p>\n

\u201cMonthly Total\u201d. Similarsubtotalrowsshould exist after each year with the name \u201cYearly Total\u201d.<\/p>\n

The lastrow in the reportshould be a grand total with the name \u201cGrand Total\u201d.<\/p>\n

 <\/p>\n

III. TASKS TOBE PERFORMED<\/p>\n

Task 1. (15 points)Design an E\u2010R diagramto representthe systemdescribed in PartI.<\/p>\n

Task 2. (15 points) Reduce your E\u2010R diagram to a relational database. Provide a Data Dictionary that<\/p>\n

liststhe names,types, definitions, and constraints of all attributesin each table.<\/p>\n

Task 3. (10 points) Construct SQL statements to create the tables and any necessary views, and<\/p>\n

implement them in Oracle. Implement SQL statements in Oracle that will remove the tables and<\/p>\n

views as well.<\/p>\n

Task 4. (80 points) Write example SQL statements for all of the queries defined in part II, and<\/p>\n

implementtheminOracle. Note thatsome ofthe queriesmay requiremultiple SQL statements.<\/p>\n

 <\/p>\n

 <\/p>\n<\/div>\n \n

\"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code \"Newclient\"<\/h5>\n\"\"<\/a>\n\n","protected":false},"excerpt":{"rendered":"

The Patient Assistance Network (PAN) is a non\u2010profit organization that providessupport and care for patients. PANneeds a database systemto keep track ofthe personnelthatsupportthe organization. There are [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"yoast_head":"\nDatabase Homework - Nursing Writers help<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nursingwritershelp.com\/database-homework\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Database Homework - Nursing Writers help\" \/>\n<meta property=\"og:description\" content=\"The Patient Assistance Network (PAN) is a non\u2010profit organization that providessupport and care for patients. PANneeds a database systemto keep track ofthe personnelthatsupportthe organization. There are [\u2026]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nursingwritershelp.com\/database-homework\/\" \/>\n<meta property=\"og:site_name\" content=\"Nursing Writers help\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-29T20:02:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-26T15:58:24+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/nursingwritershelp.com\/#website\",\"url\":\"https:\/\/nursingwritershelp.com\/\",\"name\":\"Nursing Writers help\",\"description\":\"The best nursing assignment help service\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/nursingwritershelp.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/nursingwritershelp.com\/database-homework\/#webpage\",\"url\":\"https:\/\/nursingwritershelp.com\/database-homework\/\",\"name\":\"Database Homework - Nursing Writers help\",\"isPartOf\":{\"@id\":\"https:\/\/nursingwritershelp.com\/#website\"},\"datePublished\":\"2021-09-29T20:02:55+00:00\",\"dateModified\":\"2021-09-26T15:58:24+00:00\",\"author\":{\"@id\":\"https:\/\/nursingwritershelp.com\/#\/schema\/person\/91e74681911212daac519ccb8ccad67a\"},\"breadcrumb\":{\"@id\":\"https:\/\/nursingwritershelp.com\/database-homework\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/nursingwritershelp.com\/database-homework\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/nursingwritershelp.com\/database-homework\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/nursingwritershelp.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Database Homework\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/nursingwritershelp.com\/#\/schema\/person\/91e74681911212daac519ccb8ccad67a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/nursingwritershelp.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/47fb78878fb295db9b77aa523dfa215f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/47fb78878fb295db9b77aa523dfa215f?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/nursingwritershelp.com\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Database Homework - Nursing Writers help","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/nursingwritershelp.com\/database-homework\/","og_locale":"en_US","og_type":"article","og_title":"Database Homework - Nursing Writers help","og_description":"The Patient Assistance Network (PAN) is a non\u2010profit organization that providessupport and care for patients. PANneeds a database systemto keep track ofthe personnelthatsupportthe organization. There are [\u2026]","og_url":"https:\/\/nursingwritershelp.com\/database-homework\/","og_site_name":"Nursing Writers help","article_published_time":"2021-09-29T20:02:55+00:00","article_modified_time":"2021-09-26T15:58:24+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/nursingwritershelp.com\/#website","url":"https:\/\/nursingwritershelp.com\/","name":"Nursing Writers help","description":"The best nursing assignment help service","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nursingwritershelp.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/nursingwritershelp.com\/database-homework\/#webpage","url":"https:\/\/nursingwritershelp.com\/database-homework\/","name":"Database Homework - Nursing Writers help","isPartOf":{"@id":"https:\/\/nursingwritershelp.com\/#website"},"datePublished":"2021-09-29T20:02:55+00:00","dateModified":"2021-09-26T15:58:24+00:00","author":{"@id":"https:\/\/nursingwritershelp.com\/#\/schema\/person\/91e74681911212daac519ccb8ccad67a"},"breadcrumb":{"@id":"https:\/\/nursingwritershelp.com\/database-homework\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nursingwritershelp.com\/database-homework\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/nursingwritershelp.com\/database-homework\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/nursingwritershelp.com\/"},{"@type":"ListItem","position":2,"name":"Database Homework"}]},{"@type":"Person","@id":"https:\/\/nursingwritershelp.com\/#\/schema\/person\/91e74681911212daac519ccb8ccad67a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nursingwritershelp.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/47fb78878fb295db9b77aa523dfa215f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/47fb78878fb295db9b77aa523dfa215f?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/nursingwritershelp.com\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/nursingwritershelp.com\/wp-json\/wp\/v2\/posts\/164722"}],"collection":[{"href":"https:\/\/nursingwritershelp.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nursingwritershelp.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nursingwritershelp.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nursingwritershelp.com\/wp-json\/wp\/v2\/comments?post=164722"}],"version-history":[{"count":0,"href":"https:\/\/nursingwritershelp.com\/wp-json\/wp\/v2\/posts\/164722\/revisions"}],"wp:attachment":[{"href":"https:\/\/nursingwritershelp.com\/wp-json\/wp\/v2\/media?parent=164722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nursingwritershelp.com\/wp-json\/wp\/v2\/categories?post=164722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nursingwritershelp.com\/wp-json\/wp\/v2\/tags?post=164722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}