The documentation I\'ve run across researching this indicates that the way to do it for other databases is to use multiple statements in your query, a la:
&g
cur.executemany("SELECT * FROM bar WHERE thing = 'bar'; SELECT * FROM bar") print cur.fetchall()
use cur.executemany to run multiple sql statements with ; separated.
cur.executemany