I have a table called students
with 1000 students in. I have a query which tells me which of those students has free tuition. In the stduents
table I have a field called FreeTuition
and I want to populate/update that field with the results of the query. Do I need to use some kind of loop?
The students
table has StuCode which is unique, the query returns StuCode of all the students with free tuition. This is how I want it to look:
| StuCode | FreeTuition |
-------------------------
| S12345 | Yes |
| S12346 | No |
-------------------------