Question: I am trying to insert some rows to a PRODUCT table and I get an ORA\_00913: too many values
at first and third line, column 13

insert into PRODUCT (prod\_id, group\_id, prod\_name, price)
values ('000004', '0000045666', 'lampaan', 95,15);
insert into PRODUCT (prod\_id, group\_id, prod\_name, price)
values ('000005', '0000045667', 'golvlampaan', 111,55);

Could anyone help me? 

Thanks!!

Answer: 
You want to place the last condition at the top. 

```
   //CHECK EACH ONE AND ADD IT TO THE APPROPRIATE BUCKET
    while (scoreFile >> score)
    {
        if (score < 0 || score > 200)
            bucket[8]++;

        else if (score <= 24)
            bucket[0]++;

        else if (score <= 49)
            bucket[1]++;

        else if (score <= 74)
            bucket[2]++;

        else if (score <= 99)
            bucket[3]++;

        else if (score <= 124)
            bucket[4]++;

        else if (score <= 149)
            bucket[5]++;

        else if (score <= 174)
            bucket[6]++;

        else if (score <= 200)
            bucket[7]++;

        scoreRow++;
    } 

```
Each score here can only go into one bucket. If score < 0, it will be evaluated by the first if statement and placed in that bucket. 

So your last else if() will only catch values over 200, and if you have have any negative scores, they'll all land in the first bucket.