shows how to normalize sql statement