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 166 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
YES! Correct, THANKS for helping me on my review


jordangronback

  • Member
  • Posts: 339
Reply 3 on: Yesterday
Excellent

 

Did you know?

There are more nerve cells in one human brain than there are stars in the Milky Way.

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?

Most fungi that pathogenically affect humans live in soil. If a person is not healthy, has an open wound, or is immunocompromised, a fungal infection can be very aggressive.

Did you know?

To maintain good kidney function, you should drink at least 3 quarts of water daily. Water dilutes urine and helps prevent concentrations of salts and minerals that can lead to kidney stone formation. Chronic dehydration is a major contributor to the development of kidney stones.

Did you know?

Addicts to opiates often avoid treatment because they are afraid of withdrawal. Though unpleasant, with proper management, withdrawal is rarely fatal and passes relatively quickly.

For a complete list of videos, visit our video library