You are on page 1of 1

Home assignment-1:

1) Create a table called "customers" with the following columns: custId, custName,contactName and
country. Then create a JDBC application to do the following operations on Database.

a) insert more than one record into CUSTOMERS table using PreparedStatement

b) update contact number for specific customer id using Statement Object

c) delete specific record based on customer ID using Statement object

d) retreive all records and print on console using ResultSet

You might also like