title: Requiring certain columns in SELECT SQL query for it to go through?
body: <p>I am looking for a way to require users of a SQL query system to include certain columns in the SELECT query for example require select to have <code>transaction_id</code> column else return error. This is to insure compatibility with other functions.</p>
  
  <p>I'm using <code>EXPLAIN (FORMAT JSON)</code> to parse query plan as a dictionary but it doesn't provide information about the column names.</p>