Question: Create a table named Salary as follows: Obtain the data for salary from?http://cs.armstrong.edu/liang/data/Salary.txt?and populate it into the?Salary?table in the database. create table Salary( firstName varchar(100),
Create a table named Salary as follows:
Obtain the data for salary from?http://cs.armstrong.edu/liang/data/Salary.txt?and populate it into the?Salary?table in the database.
create table Salary( firstName varchar(100), lastName varchar(100), rank varchar(15), salary float);
Step by Step Solution
3.40 Rating (169 Votes )
There are 3 Steps involved in it
Program Plan Create a new class CreatingSalaryTable Create a method initDataBase which creates a new Connection with the JDBC and creates a Statement with the Connection Create a method populateTable ... View full answer
Get step-by-step solutions from verified subject matter experts
