selected fields raw sql