Instructions:

Write a JDBC program to connect to the database and retrieve the Employee Name, Salary and Job columns from the employee table with the following structure.

Column Name Data Type

Employee_Id Number(5)

Employee Name Varachar2(20)

Salary Number(9,2)

Job Varchar2(20)

Manager_Id Number(5)

Upload in Assignments as Last Name JDBC.doc (e.g. Smith JDBC)

Ensure that the program compiles and executes.

Sample Solution

This question has been answered.

Get Answer