... FROM thread AS t ORDER BY (SELECT MAX(posted_at) FROM post WHERE thread_id = t.id) DESC 如何在SQLAlchemy中執行此類操作?我試過這樣的事情: scalar.
確定! 回上一頁