I have a table with 3 columns as follows:
lower upper id
12 20 100
100 150 200
I want to select range of numbers based on lower and upper column.
For example I want to display numbers between 12 to 20 or from 100 to 150.
How to do it. thanks in advance.