-use-lateral-joins-in-postgresql#data-set">https://popsql.com/learn-sql/postgresql/how-to-use-lateral-joins-in-postgresql#data-set</a>
</p>
<div class="org-src-container">
<pre class="src src-lisp">(query
 <span class="org-string">"select</span>
<span class="org-string">    pledged_usd,</span>
<span class="org-string">    avg_pledge_usd,</span>
<span class="org-string">    amt_from_goal,</span>
<span class="org-string">    duration,</span>
<span class="org-string">    (usd_from_goal / duration) as usd_neede