Hi all,

Could someone help me to define in sqlalchemy the following query:

sql="""SELECT count(*)  FROM
            (SELECT cod_sticker AS bruciato FROM scadenziario
       UNION SELECT cod_sticker AS bruciato FROM sopralluogo
       UNION SELECT sticker_checklist AS bruciato FROM sopralluogo
       UNION SELECT protocollo AS bruciato FROM prestazione) AS foo
       WHERE bruciato='E1212';"""

thank for any help.
j

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to