SELECT bpoint.sName as name, bpoint.sAddr as adr ,bimages.iURL as url FROM bpoint, bimages WHERE bpoint.pointID = bimages.pointID AND bpoint.pointID IN ($input)
VS separate
SELECT iURL FROM bimages WHERE pointID IN($input)
SELECT sName, sAddr FROM bpoint WHERE pointID IN($input)