Remove or Permanently Hide SQL Query String on Questions Written in SQL


Was wondering is there a way were I could remove / permanently hide the query string on top of questions written in sql? or are there any alternative not exposing keys that comes with the query?

The sql query itself has the key for an encrypted column that has the data that we needed visualized. Unfortunately, we want to prohibit specific users from seeing this key but allow them to see what are the results of the query.

Metabase v0.26.1
Postgresql 9.6 with Encryption on specific columns


I think the only option will be to use a view. Then you can use the security in the database to limit who can see the design of the view.