title: How to know if geography point is within polygon
body: <p>I have these two fields lat-long
  I made them to one field like this</p>
  <pre><code>alter table addresses add column geo_point geography;
  
  UPDATE addresses SET geo_point = ST_POINT(latitude, longitude);
  </code></pre>
  <p>so now I want to get * from addresses if this point is in within polygon.</p>
  <p>I tried this</p>
  <pre><code>select geo_point from addresses a 
  WHERE ST_Contains(ST_GEOMFROMTEXT(('POLYGON( (-104.95768433837907 
  39.71956203404201,-104.95768433837907 
  39.75883237170433,-105.02291566162134 
  39.75883237170433,-105.02291566162134 
  39.71956203404201,-104.95768433837907 39.71956203404201))') ), 
  a.geo_point);
  </code></pre>
  <p>some data</p>
  <p><a href="https://i.stack.imgur.com/DkYBm.png" rel="nofollow noreferrer">enter image description here</a></p>