Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am trying to find the average BMI by race from patients over 20. I keep getting 0 rows affected. I have done another problem

I am trying to find the average BMI by race from patients over 20. I keep getting "0 rows affected." I have done another problem where did the same thing except it was patients over 40. I copied the existing code from that example that runs and thought it would be easy. Any help is appreciated.

Reference for column names etc:

image text in transcribedMy Code:

image text in transcribedExample that I solved where the question is 99% similar:

image text in transcribed

way to help address this question. There are other ways though) + SELECT race , avg (average bmi) as average_bmil from \#bmi table where bmi category is not nu11 group by race order by average_bmi desc (0 rows affected) Total execution time: 00:00:00.006 null" is one way to help address this question. There are other ways though) ( 2 rows affected) Total execution time: 00:00:00.116

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago