Suppose that the scores are stored in the Scores table. The table was created as follows: create

Question:

Suppose that the scores are stored in the Scores table. The table was created as follows:

create table Scores (name varchar(20),
score number, permission boolean);
insert into Scores values (‘John’, 90.5, 1);
insert into Scores values (’Michael’, 100, 1);
insert into Scores values (’Michelle’, 100, 0);

Revise the findScore method in Listing 41.1, ScoreService.java, to obtain a score for the specified name. Note that your program does not need the permission column; ignore it. The next exercise will need the permission column.

Data from Listing 41.1,



Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: