Question: 5. A database contains a customer table with fields: CID, CustName, City and Phone. A form with a textbox named txtCID is submitted to a

5. A database contains a customer table with fields: CID, CustName, City and Phone. A form with a textbox named txtCID is submitted to a jsp program that reads the customer ID and retrieve the record with that ID.

a. Create the SQL statement to retrieve the record.

b. Briefly explain how to run the SQL statement.

c. How to tell if the record with the entered ID exist or not?

Insert title here - Mozilla Firefox Ele Edit Yew Hgory Bookmarks - C X . Latest Headines IhJDBC ResultSet Example Too http Enter CID: Submit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!