Question: Write an SQL script that performs the following. Prompts the user for Employee Number (use the SQL Plus PROMPT (Links to an external site.) command)
Write an SQL script that performs the following.
- Prompts the user for Employee Number (use the SQL Plus PROMPT (Links to an external site.) command)
- Accepts a value of 7900 (use the SQL Plus ACCEPT (Links to an external site.) command; the value will be stored in a substitution variable)
- Generates a query to display , Employee Number (Emp ), Department Number (Emp ), Department Name (Dept ), Salary (Emp), and HireDate (Emp)
Step by Step Solution
3.46 Rating (146 Votes )
There are 3 Steps involved in it
Solution Here is a possible SQL script that performs the tasks we nedd... View full answer
Get step-by-step solutions from verified subject matter experts
