Select records based on the postal code and it's radius in MySQL
问题 Below is my postal table with a few records. In fact this table contains all cities and all postal codes. id city postalcode latitude longitude 1 Drogteropslagen 7705 PA 52.61666700 6.50000000 2 Coevorden 7740 AA 52.66666700 6.75000000 3 Emmen 7812 TN 52.78333300 6.90000000 4 Emmer-Compascuum 7881 PZ 52.81666700 7.05000000 5 Nieuw-Dordrecht 7885 AA 52.75000000 6.96666700 Below is my company table with it's postal code and the radius in kilometers where each company is able to provide his