Please see the screenshot below. I am trying to update tid
with sid
where teacher's emailaddress equals student's email address. I've tried different methods and it's either I get an empty result or multipart identifier error. Kindly help.
For instance, the kind of answer I expect would be, tid on row 1 would be 3, row 2 would be 2, row3 would be 2, and row 4, 1