This topic contains a solution. Click here to go to the answer

Author Question: To execute a SELECT statement "select * from Address" on a Statement object stmt, use ________. (Read 199 times)

ishan

  • Hero Member
  • *****
  • Posts: 546

Question 1

To create a statement on a Connection object conn, use ________.
◦ Statement statement = conn.statement();
◦ Statement statement = Connection.createStatement();
◦ Statement statement = connection.create();
◦ Statement statement = conn.createStatement();

Question 2

To execute a SELECT statement "select * from Address" on a Statement object stmt, use ________.
◦ stmt.query("select * from Address");
◦ stmt.executeQuery("select * from Address");
◦ stmt.executeUpdate("select * from Address");
◦ stmt.execute("select * from Address");


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by ishan on May 6, 2020

Li Jun

  • Sr. Member
  • ****
  • Posts: 335
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 29% of students answer this correctly




ishan

  • Member
  • Posts: 546
Reply 2 on: May 6, 2020
:D TYSM


sultana.d

  • Member
  • Posts: 320
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

For high blood pressure (hypertension), a new class of drug, called a vasopeptidase blocker (inhibitor), has been developed. It decreases blood pressure by simultaneously dilating the peripheral arteries and increasing the body's loss of salt.

Did you know?

Pope Sylvester II tried to introduce Arabic numbers into Europe between the years 999 and 1003, but their use did not catch on for a few more centuries, and Roman numerals continued to be the primary number system.

Did you know?

All adults should have their cholesterol levels checked once every 5 years. During 2009–2010, 69.4% of Americans age 20 and older reported having their cholesterol checked within the last five years.

Did you know?

Asthma is the most common chronic childhood disease in the world. Most children who develop asthma have symptoms before they are 5 years old.

Did you know?

Green tea is able to stop the scent of garlic or onion from causing bad breath.

For a complete list of videos, visit our video library