add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
VERSION()
8.0.20
id ProductID color size
1 abc red L
2 abc green M
3 abc yellow S
4 def purple L
5 def brown M
6 def pink S
json_response
{
  "status": true,
  "message": "All Product Logs has been fetched Successfully",
  "products": [
    {
      "sizes": [
        "L",
        "M",
        "S"
      ],
      "colors": [
        "red",
        "green",
        "yellow"
      ],
      "ProductID": "abc"
    },
    {
      "sizes": [
        "L",
        "M",
        "S"
      ],
      "colors": [
        "purple",
        "brown",
        "pink"
      ],
      "ProductID": "def"
    }
  ]
}