Let's say that I have a row in the table with the following data:

Row1:

Field1: 123
Field2: 555
Field3: 789
Field4: 369
Answer: 123
Chosen: 123

How do I code an ASP script so that the fifth field and the sixth field will be compared and if there are the same, I will print a certain message and if not, I will print another message?

I want to use a loop so that it goes through every single row in the database.

Any ideas? TIA!