OUTPUT:
Ans: SELECT avg(age) FROM course where grade = 'A';
Note : if A is from grade column because you don't mention
that what is field name of 'A'
SQL Paiticiralion tind average age of Students enrolled in couises in which they got an A.
Write SQL queries to answer the following question: A. Which students are enrolled in Database and Networking? (Hint: use SectionNo for each class, so that you can determine the answer from the Registration table by itself.) I have attempted the code below, but am receiving an error under the first SELECT, showing error code 1064, (syntax error) SELECT StudentName, StudentID FROM Student WHERE StudentID =(select StudentID FROM Registration WHERE (SectionNo=2714 OR SectionNo=2715) GROUP BY StudentID HAVING COUNT (*)>1;
A college admissions director wishes to estimate the mean age of all students currently enrolled. In a random sample of 16 students, the mean age is found to be 21.8 years. From past studies, the ages of enrolled students are normally distributed with a standard deviation of 10.1 years. Construct a 90% confidence interval for the mean age of all students currently enrolled. 1. The critical value: 2. The standard deviation of the sample mean: 3. The margin of error
A college admissions director wishes to estimate the mean age of all students currently enrolled. In a random sample of 16 students, the mean age is found to be 21.8 years. From past studies, the ages of enrolled students are normally distributed with a standard deviation of 10.1 years. Construct a 90% confidence interval for the mean age of all students currently enrolled. 1. The critical value: 2. The standard deviation of the sample mean: 3. The margin of error:...
A college admissions director wishes to estimate the mean age of all students currently enrolled. In a random sample of 24 students, the mean age is found to be 23.1 years. From past studies, the ages of enrolled students are normally distributed with a standard deviation of 10.6 years. Construct a 90% confidence interval for the mean age of all students currently enrolled. 1. The critical value: 2. The standard deviation of the sample mean: 3. The margin of error:...
8 points Updating views Given two tables Students(sid, name, age) and Enrolled(studid, cid, grade) consider the vi ew V defined as follows: (n, s,c) ← Students(s.n.aJA Enrolled(s.c.9JA g = "B" The view result consists of tuples of the form (name, sid, cid) and suppose (Joe, 8250. 145) is an example tuple in the result. For each of the following update operations on V, describe how they can be translated into operations on Students and/or Enrolled, and any complications involved (a)...
An admissions director wants to estimate the mean age of all students enrolled at a college. The estimate must be within 1.7 years of the population mean. Assume the population of ages is normally distributed. (a) Determine the minimum sample size required to construct a 90% confidence interval for the population mean. Assume the population standard deviation is 1.8 years. (b) The sample mean is 20 years of age. Using the minimum sample size with a 90% level of confidence,...
Suppose that on the average, 7 students enrolled in a small liberal arts college have their automobiles stolen during the semester. What is the probability that less than 3 students will have their automobiles stolen during the current semester? Round your answer to four decimal places.
Suppose that on the average, 5 students enrolled in a small liberal arts college have their automobiles stolen during the semester. What is the probability that less than 4 students will have their automobiles stolen during the current semester? Round your answer to four decimal places.
Suppose that on the average, 7 students enrolled in a small liberal arts college have their automobiles stolen during the semester. What is the probability that more than 1 student will have his automobile stolen during the current semester?
How are your grades? In a recent semester at a local university, 700 students enrolled in both Statistics I and Psychology I. Of these students, 84 got an A in statistics, 64 got an A in psychology, and 32 got an A in both statistics and psychology. Round the answers to four decimal places, as needed. Part 1 out of 2 Find the probability that a randomly chosen student got an A in statistics or psychology or both. The probability...