SELECT DISTINCT state.state_id , county.county_id , city.city_id
WHERE state.state_name=datazip Missing .column name AND county.county_name=datazip.county_name Missing AND city.city_name=datazip.city_name
INTO state county city -- Not sure what you are trying to do here. Assign into variables??
There are two kinds of light -- the glow that illuminates, and the glare that obscures. -James Thurber