syntax correct for sqlalchemy raw sql query