add auto code-to-desc mapping to simplify sql