I need to parse IPs from the 1st table i have (domain) and match it to a range of integer representation and match the IP from domain to the country in IP_location on BigQuery
SELECT domain.IP, IP_location.Country
FROM [webs.domain]
JOIN [webs.IP_location]
ON PARSE_IP(rdns.IP) >= IP_location.integer_start
AND PARSE_IP(rdns.IP) <= IP_location.integer_end;
When i used this query, i got an error
Error: ON clause must be AND of = comparisons of one field name from each table, with all field names prefixed with table name.