fixed dictionary select query