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.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter12: Exception Handling
Section: Chapter Questions
Problem 13RQ
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning