Type promotion on select