Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Lion 21 5 points Save Answ Let us suppose that we have the following Students table: Students Student ID StudentName GPA Phone 1234 Abdullah 4.55
Lion 21 5 points Save Answ Let us suppose that we have the following Students table: Students Student ID StudentName 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. getNextStudentId function which return the next available studentID which are maximum StudentID+1 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. insrStudent procedure called by user to receive user input which are (name, GPA, phone, the procedure get the next student id using the getNextStudentId function then the procedure will insert new record to the table if the studentname doesn't exists before by using validate StudentName or display a message to enter another name if exists before. Paragraph Arial v 3 (12pt) T T' T. 's T Mashups CG - HTML CSS 0 12 Lion 21 5 points Save Answ Let us suppose that we have the following Students table: Students Student ID StudentName 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. getNextStudentId function which return the next available studentID which are maximum StudentID+1 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. insrStudent procedure called by user to receive user input which are (name, GPA, phone, the procedure get the next student id using the getNextStudentId function then the procedure will insert new record to the table if the studentname doesn't exists before by using validate StudentName or display a message to enter another name if exists before. Paragraph Arial v 3 (12pt) T T' T. 's T Mashups CG - HTML CSS 0 12
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started