Implement LocationEntry SQL statement