Database project 1- Create the following table in PL/SQL language and show the table; | ID | NAME | AGE | ADDRESS | SALARY | 1| Ramesh | 2 | Khilan | 32 | Ahmedabad | 2000.00 | | 1500.00 | 2000.00 | 6500.00 || 8500.00 | 4500.00 | | 25 | Delhi 3 | kaushik | 23 | Kota | 4 | Chaitali| 25 | Mumbai 5 | Hardik 6 | Komal | 27 | Bhopal | | | 22 | MP | 2- Make an exception to print the message "Age is not allowed " when inserting a new record and the entered age is less than 21 years old 3- Create a function that prints a message to the user "Do you want to add a new record?" is permitted for the user, just enter 'y' to denote yes or 'n' to denote no. 4- If the user chose Yes in the previous question, write a code that allows inputs from the user and save them in the previous table 5- Update the salary of the employee "Komal" in the table to become 5000, and show the table
Database project 1- Create the following table in PL/SQL language and show the table; | ID | NAME | AGE | ADDRESS | SALARY | 1| Ramesh | 2 | Khilan | 32 | Ahmedabad | 2000.00 | | 1500.00 | 2000.00 | 6500.00 || 8500.00 | 4500.00 | | 25 | Delhi 3 | kaushik | 23 | Kota | 4 | Chaitali| 25 | Mumbai 5 | Hardik 6 | Komal | 27 | Bhopal | | | 22 | MP | 2- Make an exception to print the message "Age is not allowed " when inserting a new record and the entered age is less than 21 years old 3- Create a function that prints a message to the user "Do you want to add a new record?" is permitted for the user, just enter 'y' to denote yes or 'n' to denote no. 4- If the user chose Yes in the previous question, write a code that allows inputs from the user and save them in the previous table 5- Update the salary of the employee "Komal" in the table to become 5000, and show the table
Chapter8: Sql Functions And Procedures
Section: Chapter Questions
Problem 9SCG: SQL includes many numerical functions. Two of these functions are FLOOR and CEIL. Use the Internet...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Knowledge Booster
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.Recommended textbooks for you
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning