I think similar question is been asked but its not very clear. I have 2 tables-point table and line table. For each point in the point table i need to find the nearest line and