Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions