Summarize and visualize the data from your sql query

Assignment Help Management Theories
Reference no: EM133501764

Question: Summarize and visualize the data from your SQL query for question five above in whatever manner you think does the best job of presenting the data.

Submit a statement using the ADMISSIONS table that will provide some demographic information on the patient admitted to the hospital. Your statement could include things like their religion, there marital status, the type of admission etc. The choice is up to you, but try to select things that you think could be potentially beneficial to better understanding the hospital population.

SELECT religion, marital_status, admission_type, admission_location, discharge_location FROM ADMISSIONS; This statement will provide demographic information on patients admitted to the hospital, including their religion, marital status, type of admission, admission location, and discharge location.

Submit a statement using the CHARTEVENTS table that will provide the charttime, itemid, values and valueuom for patient ID=10045 for any chartevents involving itemid = 211

SELECT charttime, itemid, value, valueuom FROM CHARTEVENTS WHERE subject_id = 10045 AND itemid = 211

Submit a statement using the D_LABITEMS table that will summarize the fluids and the counts of each type of fluid, grouped by category. Do you notice anything unusual about this output? If so, comment on what you think might be going on. BONUS: If you feel like you know what could be wrong, try to Google for how you might fix it.
SELECT CATEGORY, FLUID, COUNT(*) AS COUNT FROM D_LABITEMS WHERE CATEGORY LIKE '%FLUIDS%' GROUP BY CATEGORY, FLUID; The output of this query may vary depending on the data in the D_LABITEMS table, but if there are any null values in the FLUID column, they may be grouped together as a single category. This could result in an unusually high count for the null category. To fix this, you could add a condition to the WHERE clause to exclude null values, such as "WHERE CATEGORY LIKE '%FLUIDS%' AND FLUID IS NOT NULL".

Submit a statement using the PRESCRIPTIONS table that will provide what you believe is a useful summary of all the prescriptions ever prescribed to the patient with ID =10032
SELECT * FROM PRESCRIPTIONS WHERE PATIENT_ID = 10032; This will provide all the prescriptions ever prescribed to the patient with ID =10032. However, if you want a more useful summary, you can modify the SELECT statement to include only the relevant columns such as prescription ID, medication name, dosage, start date, end date, and prescribing doctor. For example: SELECT PRESCRIPTION_ID, MEDICATION_NAME, DOSAGE, START_DATE, END_DATE, PRESCRIBING_DOCTOR FROM PRESCRIPTIONS WHERE PATIENT_ID = 10032; This will provide a summary of all the prescriptions ever prescribed to the patient with ID =10032, including the prescription ID, medication name, dosage, start date, end date, and prescribing doctor.

Submit one select statement of your own and complete steps a,b and c for that statement.
SELECT name, age, city FROM users WHERE age > 25; a) This statement selects the columns "name", "age", and "city" from the table "users". b) It filters the results to only include rows where the "age" column is greater than 25. c) The output will show the names, ages, and cities of all users who are older than 25.

Reference no: EM133501764

Questions Cloud

Develop a one-day meal plan that follows the principles : Develop a one-day meal plan that follows the principles of the DASH diet. Include breakfast, lunch, dinner, a snack, and beverages below:
How can you increase your employability : How can you increase your employability based on these results? What specific strategies will you work on (for example, being more proactive)?
Developing a marketing management plan : Your Project entails developing a Proposal for a 4 to 6 page double spacing Marketing Management Plan on a Product Launch.
What measures should the federal government take : What measures, if any, should the Federal Government take to address mass shootings? Explain your answer.
Summarize and visualize the data from your sql query : Summarize and visualize the data from your SQL query for question five above in whatever manner you think does the best job of presenting the data
What principles of ethical research are involved : Describe two dilemmas that counselor might face in attempting to plan research with special populations (e.g., seriously mentally ill, children
Do you think people should be allowed to burn american flag : In 1984, in front of the Dallas City Hall, Gregory Lee Johnson burned. Do you think people should be allowed to burn American flag in protest? Why or why not?
Plan of the strategy to follow in the middle east : plan of the strategy to follow in the middle east also it has small countries like Bahrain and Qatar). Please tackle all of these parts
Elaborate on the reasons why classrooms are complex places : Elaborate on the reasons why classrooms are complex places. What are the factors that contribute to its complexities? What does the science of learning

Reviews

Write a Review

Management Theories Questions & Answers

  Learning in action

Learning contract proposal that will form the basis of your learning contract report.

  Change is the only constant

"Change is the only constant " Evaluate the different types of change that have occurred in Sony.

  How do advertisers try to use group influence

How do advertisers try to use group influence?  Will you find any specific examples and explain the relevant theory of group behavior and influence?

  Case study:saving sony

You have been appointed by Sony as a consultant on change management. Advise Sony on how they could implement the change by using the various theories of change you have learnt.

  How the stock market works

The purpose of this project is to help you to gain an understanding of how the stock market works and of the relationship between theory and practice.

  Find the optimal production quantities

Find not only the optimal production quantities, but also the optimal total cost.

  Describe the management process

Describe the management process and identify the skills required to manage business organizations.

  Case study : bert''s bonsai and aquatic sport museum

Case Study : Bert's Bonsai and Aquatic Sport Museum Prepare a knowledge management system.

  Knowledge management techniques

Demonstrate understanding of the many-sided nature of knowledge management

  Theory of transtheoretical model

Demonstrate understanding of the many-sided nature of knowledge management

  Write a paper on historical trends of management

Write a paper on Historical Trends of Management.

  Theory of reasoned action

Theory of Planned Behavior and Integrated Behaviors Model

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