Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create ZipCode table based on attributes in zipcode.csv file (zip, city, state, latitude, longitude, timezone, dst) Then download the CHIzipcode.csv file provided on D2L. Write

Create ZipCode table based on attributes in zipcode.csv file (zip, city, state, latitude, longitude, timezone, dst)

Then download the CHIzipcode.csv file provided on D2L.

  1. Write a Java program (similar to the one showed in class to connect to your Oracle database using JDBC driver) to convert the zipcode.csv file into a series of SQL insert statements for ZipCode table.

c. Use the program to join zipcodes table with restaurant_locations table and obtain latitude and longitude of all restaurants in the Restaurants table.

Print out the name, zipcode, latitude, longitude using your program.

Output should look like this:

Shanghai Inn, 60625, "41.971614","-87.70256"

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Java Concepts Late Objects

Authors: Cay S. Horstmann

3rd Edition

1119186714, 978-1119186717

More Books

Students also viewed these Databases questions

Question

What made you decide on this subfield of psychology?

Answered: 1 week ago

Question

Qu significa HTM, TS, AFS?

Answered: 1 week ago

Question

Identify the physical and cognitive changes of adulthood.

Answered: 1 week ago