title: Querying a JSON in a column in SQL and create a view
body: <p>I have a table with JSON in one of the columns:</p>
  
  <p><a href="https://i.stack.imgur.com/B2mi1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B2mi1.jpg" alt="enter image description here"></a></p>
  
  <p>I need to create a view with columns as the Keys of the JSON. Since, the JSONs might have different keys, the selection of column has to be dynamic. </p>