<html><body><div><p dir="ltr">Hello,</p>
<p dir="ltr">I think using order by desc + limit close with st_distance could do what toi need. </p>
<p dir="ltr">Hug</p>
<div class="gmail_quote">Le 22 juin 2015 9:30 PM, Gerry Creager - NOAA Affiliate <gerry.creager@noaa.gov> a écrit :<br type='attribution'></div><br><div><div dir="ltr">I've two tables, one with a set of city centroids, and one with radar locations. I need to select the 4 (or maybe 5) closes radars to a given city point. <div><br></div><div>I know I've done something similar, but that was 2 or 3 major releases ago, and the syntax is now foreign to me!</div><div><br></div><div>Thanks in advance,<br clear="all"><div>gerry</div>-- <br><div class="gmail_signature"><div dir="ltr">Gerry Creager<div>NSSL/CIMMS</div><div>405.325.6371</div><div>++++++++++++++++++++++</div><div><div>“Big whorls have little whorls,</div><div>That feed on their velocity; </div><div>And little whorls have lesser whorls, </div><div>And so on to viscosity.” </div><div>Lewis Fry Richardson (1881-1953)</div></div></div></div>
</div></div>
</div></body></html>