Help for this page

Select Code to Download


  1. or download this
    
    select a.* from table_name a 
    ...
        ) b 
      on (a.distance = min_dist and a.service_id = min_id);
    
  2. or download this
    /is not a guru
    //tried it and it worked for me