$ 0 0 Hi Ashok, join using between: select day_of_calendar as AGE, AGE_CLASS_ID, AGE_CLASS_DESC from tab where AGE between fromval and tovalDieter