Select all the counties that are around a particular state:
select county, c.state_abrv
from counties c, states s
where s.state = 'FLORIDA'
and mdsys.sdo_filter (c.geom, s.geom, 'querytype=JOIN') = 'TRUE';
No comments:
Post a Comment