A couple of things are causing problems here:
First, you need single quotes around all %s formatters. I'm not familiar with python, but usually you have to use an escape sequence like \' to add quotes.
Second, you seem to have a misplaced close-parenthesis at the end of your statement. Good luck!