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

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
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...
icon
Related questions
Question
Database project
1- Create the following table in PL/SQL language and show the table;
| ID | NAME
| AGE | ADDRESS
| SALARY
|
+---
32 | Ahmedabad |
25 | Delhi
23 | Kota
25 | Mumbai
27 | Bhopal
| 22 | MP
1 | Ramesh
2000.00 |
|
1500.00 |
|
|
2 | Khilan
3 | kaushik |
4 | Chaitali||
5 | Hardik
|
8500.00|
2000.00 |
6500.00|
|
| 6 | Komal
4500.00 |
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
Transcribed Image Text:Database project 1- Create the following table in PL/SQL language and show the table; | ID | NAME | AGE | ADDRESS | SALARY | +--- 32 | Ahmedabad | 25 | Delhi 23 | Kota 25 | Mumbai 27 | Bhopal | 22 | MP 1 | Ramesh 2000.00 | | 1500.00 | | | 2 | Khilan 3 | kaushik | 4 | Chaitali|| 5 | Hardik | 8500.00| 2000.00 | 6500.00| | | 6 | Komal 4500.00 | 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
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
SQL Query
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
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