PRG 421 PRG421 PRG/421 Week 5 Individual Assignment Coding a Program Containing JDBC – Phoenix

Page 1

PRG 421 PRG421 PRG/421 Week 5 Individual Assignment Coding a Program Containing JDBC – University of Phoenix

DOWNLOAD SOLUTION https://www.solvedcollegepapers.com/product/prg-421-prg421-prg-421-nix/

Resource: 

“Starter Code to Access Tables via JDBC” text file

For this assignment, you will create Java™ code that accesses a relational database, requests data, and then analyzes and displays a portion of that data. Imagine a MySQL relational database schema named COMPANY_DB containing two tables, employee_table and payroll_table, such that the records in each of the tables is as follows: 

employee_table:

Category: Assignments Help Experts Tags: prg 421, PRG 421 Entire Course, prg 421 learning team, PRG 421 PRG421 PRG/421 Java Programming II - University of Phoenix, PRG 421 Week 1 Individual Assignment Hello World Program, PRG 421 Week 1 Individual Assignment Singleton Pattern Program, PRG 421 Week 2 Individual Assignment ArrayList Program, PRG 421 Week 2 Individual Assignment GUI Components Program, PRG 421 Week 3 Individual Assignment Contact Information Program, PRG 421 Week 3 Individual Assignment Iterator Program, PRG 421 Week 3 Learning Team Fundraiser Initial program,

PRG 421 Week 4 Individual Assignment Java Data Base Connectivity, PRG 421 Week 4 Individual Assignment Pie Chart Applet, PRG 421 Week 4 Learning Team Fundraiser Program Instructions Add a Data


File, prg 421 week 5, prg 421 week 5 individual assignment, PRG 421 Week 5 Individual Assignment Concurrent Programming, prg 421 week 5 learning team, PRG 421 Week 5 Learning Team Fundraiser Program Connect to a Database, PRG 421java, prg421 

Description

Description

PRG 421 Week 5 Individual Assignment Coding a Program Containing JDBC – University of Phoenix Resource: 

“Starter Code to Access Tables via JDBC” text file

For this assignment, you will create Java™ code that accesses a relational database, requests data, and then analyzes and displays a portion of that data. Imagine a MySQL relational database schema named COMPANY_DB containing two tables, employee_table and payroll_table, such that the records in each of the tables is as follows: 

employee_table:

Emp id FName 100 Jack 101 Joe 111 Nancy 121 Tom 122 Jim 123 Tommy 125 John 

Emp id 100 101 111 121 122

LNname Smith Apple Good Whatever Thompson Boyson Jones

Addr 123 North 4 Street 45 SW 89 NE 789 W 95 154 Bolt 47 West

City Topeka Denver Hartford Dover Albany Boston Lincoln

payroll_table: Paysch BiWk BiWk Monthly Wkly Wkly

401k yes yes no pending yes

Spouse yes yes no yes no

State KS CO CT DE NY MA NE

Zip 66603 80202 06103 19901 12207 02201 68502


123 125

Monthly Monthly

pending no

no yes

The credentials you will need to access the database which holds both of the tables are as follows:   

Host string = localhost:3306 Username = student Password = prg421

Copy and paste the linked Java™ “starter” code into the NetBeans editor and save as a JAVA file. Add Java™ statements to the file to accomplish the following:   

Establish a connection to the database Query the database, joining the two tables on the Emp_id field Display your name and today’s date on the console along with the following returned database results: o employee identification number o first and last name o state o payroll schedule o 401k plan Close the database connection

Identify and correct any compile-time errors that exist in the starter code. Note: Because you will not be connecting to an actual database, some compiler errors will remain. After you finish, rename your JAVA file with a .txt extension using the following naming convention: 

PRG421_Week5CodingAssignment_LastnameFirstname.txt.

Submit your TXT file to the Assignment Files tab. Download Full Course Solution: [Solved] ENGL-315-40A: Writing in the Workplace – Fall 2016 (2016F7A) https://www.solvedcollegepapers.com/product/solved-engl-315-40a-writing-in-theworkplace-fall-2016-2016f7a/


Week 2 Closure: Reflect on Strengths, Weaknesses, Opportunities, and Challenges Week 1 Sharing: Effective email Download Full Course Solution: MGMT566_01FA20AssignmentsM1: Discussion – Interview https://www.solvedcollegepapers.com/product/mgmt-566/ You are going to conduct a Mock Negotiation Exercise with your team partner using the Canvas conference next week. For this week, I want you to test on using Canvas Conference. In order to access your group conference, please follow the instructions below to test with your team partner by recording a short video (around one minute to introduce yourself with your team partner). Communicate with your team partner to schedule a time to start the testing. 1. Go to your group by clicking on the “People” tab on the left navigation. 2. Click on the “Groups“ 3. Find your group by clicking on “Visit“. Download Full Course Solution: ENTIRE ONLINE CLASS HELP EACH-CHAMPLAIN COLLEGE https://www.solvedcollegepapers.com/product/entire-online-class-help/ Computer related course Help: Health Related Courses book @125 per Week. All Done from Scratch Maths and Business Related Courses Help Leadership Related Courses Help

Download Full Course Solution: [Solved] CHE 106L G001 Assignments Quiz 1 Density and Safety https://www.solvedcollegepapers.com/product/solved-che-106l-g001-assignments-quiz1-density-and-safety/ Question 1 0 / 3.5 pts One of the fundamental properties of any sample of matter is its mass per unit of volume. This describes its… volume.


density. atomic mass. Question 2 3.5 / 3.5 pts A student should _____ ingest chemicals from the lab. never always Question 3 3 / 3 pts 3. There are no hazards to wearing contacts in a chemistry laboratory. True False Question 4


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.