Actually, you are only doing one query in this case so ignore that statement. But you can limit it to one result already.