why do you pull the entire table if you're only looking for one record? why not just select the one record in the first place?