Another SQL where insert functions were used.