subject

What statement needs to be included below to retrieve all rows from the invoices table with invoicetotal greater than 100?
string sql = "select invoicedate, invoicetotal "
+ "from invoices where invoicetotal > ? ";
preparedstatement ps = connection. preparestatement(sql);
//what goes here
resultset invoices = ps. executequery();

a. ps. setvalue(0, 100);
b. ps. setvalue(1, 100);
c. ps. setdouble(0, 100);
d. ps. setdouble(1, 100);

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:30
Who can provide you with a new password when you have forgotten your old one? your provide you with a new password in case you forget your old one.
Answers: 3
question
Computers and Technology, 24.06.2019 07:00
You are most likely to automatically encode information about
Answers: 1
question
Computers and Technology, 25.06.2019 06:00
Me on this app how do you take a picture of your work
Answers: 1
question
Computers and Technology, 25.06.2019 09:30
Is it possible to build a portal in real life?
Answers: 2
You know the right answer?
What statement needs to be included below to retrieve all rows from the invoices table with invoicet...
Questions
question
Mathematics, 05.05.2020 18:14
question
Mathematics, 05.05.2020 18:14
question
Mathematics, 05.05.2020 18:14
question
Mathematics, 05.05.2020 18:14
Questions on the website: 13722360