Question: pl sql code Students Student ID Student Name GPA Phone 1234 Abdullah 4.55 0504567811 1235 Mustafa 3.97 0546342131 1236 Mohammed 4.10 0541423543 1237 Ahmed 4.80
Students Student ID Student Name GPA Phone 1234 Abdullah 4.55 0504567811 1235 Mustafa 3.97 0546342131 1236 Mohammed 4.10 0541423543 1237 Ahmed 4.80 0532415642 Create a database package specification and body called students which contains a getNextStudentia function which return the next available studentID wluch are maximum Student ID b. ValidateStudent Name function which receive user input to return exists' if the student exists before or not exists' if the student not inserted before(you can use cursor). c. InstStudent procedure called by user to receive user input which are name GPA phone) the procedure per the next student id using the stetNextStudenild function then the procedure will insert new record to the table if the studentrame doesn't exists before by using validate StudentName or display a message to enter another name if exists before
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
