Write Code in The PL/SQL Block Structure(S)
Lab SIX:
tables are already created.
Create an Anonymous block that tests each student entry in the student table to see if the student is an instate student.
Print out, (using the DBMS Output Putline) a line stating that each student is or is not an instate student and a count of the students in and out of state at the end of the program. Print out the code, the proof that it successfully compiled and show test results. No error processing required.
Student Table
Stu_ID Lname Fname Mi Sex Major Home_State
10011 Smith Peter M M Math Tx
10012 Jones Sam A M English Tx
10013 Peters Amy A F English Me
10014 Johnson John J M CompSci Ca
10015 Penders Alton P F Math Ga
10016 Allen Diana J F Geography Minn
10017 Gill Jennifer F CompSci Tx
10018 Johns Robert M CompSci Tx
10019 Wier Paul M Math Ala
10020 Evans Richard M English Tx
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more