Implement queries for LOCATION and LOCATION_ID