while select mytable were ... { if (mytable.myfield ....) continue; if (mytable.myfield ....) continue; ... }