Question

5. construct a query to "show students who have a gpa between 3.25 and 4.0" results...

5. construct a query to "show students who have a gpa between 3.25 and 4.0" results should be sorted by gpa in descending order

6. construct a query to "show students majoring in accounting or finance"

7. construct a query to "calculate the average gpa" for students
show fields: GPA
total row: Avg function
0 0
Add a comment Improve this question Transcribed image text
Answer #1

5.

Select * from Student where GPA between 3.25 and 4.0 order by GPA desc;

6.

Select * from Student where Major = 'Accounting' or Major = 'Finance';

7.

Select Avg(GPA) from Student;

Do ask if any doubt. Please upvote.

Add a comment
Know the answer?
Add Answer to:
5. construct a query to "show students who have a gpa between 3.25 and 4.0" results...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT