SQL statement now selects specific fields rather than *