Database Homework
For the following relational model:
Student(sid, fname, lname, gpa)
Course ( cid, code, name, credithours)
Enrolled (sid, cid,grade)
Write SQL queries for the following:
- Print all the students by the name order desc by the gpa.
- Print all the computer sciences courses, these courses with code start with ‘CS’
sorted alphabetically. - Print all the students with a gpa less than 3.0
- Print all the students with a gpa of a least 3.0
- Find all students that have enrolled in database course
- Find all students that have enrolled in database and network courses
- Find all the students that have (A or more) at least once
5 years ago
10
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

NOT RATED
- SQLQuery1.sql
other Questions(10)
- computer science
- PROFESSOR GEEK ONLY!!!!! ONLY PROFESSOR GEEK!!!!!!!!!!!!
- For Prof. MGK Only
- english
- Benefits of Nongoverning Volunteer Orientation and Training
- Consequences and Actions
- Research on Employee turnover
- Social studies
- Retirement
- Work out the height of a triangle with a base 10m and area 20m2 (squared)