Add SQL limitation to select attribute.