Question: MYSQL STUDENT Gender M : 5 Studentin Name A 2 B 3 4 D 5 6 F 7 G 8 H 9 I 10 j

MYSQL

MYSQL STUDENT Gender M : 5 Studentin Name A 2 B 3

STUDENT Gender M : 5 Studentin Name A 2 B 3 4 D 5 6 F 7 G 8 H 9 I 10 j M F F M F GPA 3.80 4.00 3.50 3.70 3.30 3.90 2.50 2.20 3.80 3.20 13 TT3 Write queries to answer the following questions based on the student table above. 1. List the average GPA. (2) 2. List the students(names) who have GPA higher than the average GPA. (2) 3. List the average GPA for Male students. (2) 4. List the female students who have more than the average GPA. (2) 5. Count the female students who have more than the average GPA. (2) 6. List the maximum GPA by gender (2) 7. List minimum GPA by gender (2) 8. List the students (Name) who have a GPA greater than or equal to the minimum GPA (2) 9. List the students (Name) who have a GPA greater than or equal to the maximum GPA (2) 10. Count the number of students who have a GPA greater than or equal to the average GPA (2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!