Takes(studentid, courseCode, mark) Course(courseCode, title, credits,deptno) Student(studentld, name, deptno, cgpa, numberOfcourses) Write a procedure that accepts a deptno as parameter, prints name of all students sorted by their cgpa and retums the name of the student with the highest cgpa. Handle all exceptions by retuming the oracle error message.

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter3: Performing Calculations With Formulas And Functions
Section: Chapter Questions
Problem 3.15CP
icon
Related questions
Question

Database Programming

Question 5
Takes(studentid, courseCode, mark)
Course(courseCode, title, credits,deptno)
Student(studentld, name, deptno, cgpa, numberOfCourses)
Write a procedure that accepts a deptno as parameter, prints name of all students sorted by their cgpa and returns the name of the student with the highest cgpa.
Handle all exceptions by retuming the oracle error message.
Transcribed Image Text:Question 5 Takes(studentid, courseCode, mark) Course(courseCode, title, credits,deptno) Student(studentld, name, deptno, cgpa, numberOfCourses) Write a procedure that accepts a deptno as parameter, prints name of all students sorted by their cgpa and returns the name of the student with the highest cgpa. Handle all exceptions by retuming the oracle error message.
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Database Environment
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage