By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
JSON_EXTRACT(JSON_EXTRACT('{"id": {"penalty_percent": 3, "free_day": 5, "free_hours": 24}, "2": {"penalty_percent": 2, "free_day": 5, "free_hours": 12}, "3": {"penalty_percent": 2, "free_day": 2, "free_hours": 36}, "4": {"penalty_percent": 3, "free_day": |
---|
5 |