I have a table which looks like this
IDNUM | Name | LowRange | HighRange | Notes
123 | TESTS | 100 | 201 | Hello
124 | TEST2 | 200 | 210 |
125 | TESTS | 100 | 201 | Hello
I was wondering if there was a query that would return the following results
IDNUM | Name | Number | Notes
123 | TESTS | 100 | Hello
123 | TESTS | 101 | Hello
123 | TESTS | 102 | Hello
123 | TESTS | 103 | Hello
......til 201
124 | TEST2 | 200 |
124 | TEST2 | 201 |
124 | TEST2 | 202 |
......til 210
I'm looking for a way to do this in both SQL server 2016 and Oracle 11g, but any help on either one will be appreciated