0

After applying function GET_JSON_OBJECT(features, '$.field') I get the values:

{10:3,300:286}
{300:86}
{300:3,50:1}

How to get the value after 300 then?

Needed result is

286
86
3
2
  • Every DBMS has a completely different toolkit of regex functions. What DBMS are you using? Commented May 19, 2023 at 11:54
  • DataWorks (Alibaba) Commented May 19, 2023 at 11:55

1 Answer 1

0

You can try this :

GET_JSON_OBJECT(features, '$.field.300') 

Or

 GET_JSON_OBJECT(features, '$.field."300"') 
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.