{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT \n            g.user_id, \n            l.grading_category_id, \n            AVG(g.score)::float4 as avg_score\n        FROM user_grades g\n        JOIN lessons l ON g.lesson_id = l.id\n        WHERE g.course_id = $1\n        GROUP BY g.user_id, l.grading_category_id\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "user_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "grading_category_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "avg_score",
        "type_info": "Float4"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid"
      ]
    },
    "nullable": [
      false,
      true,
      null
    ]
  },
  "hash": "c1778b5abe6d4e799993ac6145d1c00bd5d73086e80b9e068010f29202b1f5a8"
}
