you would need to replace the single apostrophe with two of them in a row, as in ...
Code:
... where name = 'Gojita''Mu'
however, by doing a query inside a loop, you are severely crippling your application
what is this piece of code attempting to do?
it looks like you're just looping through the entire list table