擅长:python、mysql、java
<p>如果您试图在<code>.execute</code>调用之外编写这个<code>JOIN</code>/<code>UNION</code>,那么您将花费大量时间与djangoormapi进行斗争。如果这将是非常常见的,考虑使用<a href="http://www.postgresql.org/docs/current/static/sql-createview.html" rel="nofollow">^{<cd4>}</a>,然后从新创建的<code>VIEW</code>中执行一个简单的<code>SELECT</code>。在</p>