Valid County not set for id 19797

SELECT a.*,b.Lat,b.Lon,b.Country FROM dt_company a, dt_county b WHERE a.id=19797 AND a.County=b.Name