select statement for python-mysql
roslyn jose <[email protected]> Mon, 7 Oct 2002 02:41:13 -0700 (PDT)
| Newsgroups | gmane.comp.python.meta |
|---|---|
| Message-ID | <[email protected]> |
hi,
im facing a problem with the syntax in python-mysql. this is my code:
c.execute("""select vid from verses where book,chapter,number=%s,%s,%s""",(bk,chap,i))
and i get the error as :"u have an error in your SQL syntax near chapter,number=1,21)
someone pls help me here. thanks alot
regards,
roslyn
---------------------------------
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com