IP to GEO function enables city level geolocation from IP addresses.
Note: This uses GeoLite2 data created by MaxMind.
Example:
select ip_to_geo(IP), Some Field
This:
- Queries the MaxMind database to determine location fields.
- The fields are added as separate columns to the result.