What I have:
- A
mysql
table, saytable1
table1
contains two columns viz.id
anddata
id
isint
but the twist isdata
isJSON
type and its keys are comparable- the
table1
contains only one row (for the sake of this question)
table1
id | data |
---|---|
1 | {'1': 'content1', '2': 'content2', '3':'content3',.......,'10000':'content10000' } |
What I want to have:
I want a query such that it returns me key-value pairs within a range of keys, say, 100 to 200.
What I'm getting on searching on internet:
Everywhere I got only the answers where one can get rows which have the values within a range, but here the case is I want values of keys within a range.