query problem - select concat(fname, ' ', lname), mid from rndimg left join members on id=mid where iid=