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 209 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
Thanks for the timely response, appreciate it


Alyson.hiatt@yahoo.com

  • Member
  • Posts: 354
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

The term bacteria was devised in the 19th century by German biologist Ferdinand Cohn. He based it on the Greek word "bakterion" meaning a small rod or staff. Cohn is considered to be the father of modern bacteriology.

Did you know?

Blood is approximately twice as thick as water because of the cells and other components found in it.

Did you know?

The National Institutes of Health have supported research into acupuncture. This has shown that acupuncture significantly reduced pain associated with osteoarthritis of the knee, when used as a complement to conventional therapies.

Did you know?

Medication errors are three times higher among children and infants than with adults.

Did you know?

To prove that stomach ulcers were caused by bacteria and not by stress, a researcher consumed an entire laboratory beaker full of bacterial culture. After this, he did indeed develop stomach ulcers, and won the Nobel Prize for his discovery.

For a complete list of videos, visit our video library