Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions