title: select a set of values as a column without CREATE
body: <p>I'm trying to write a query that will return all QUERY_ID values alongside all matching TABLE_ID values, where QUERY_ID is not specified in any table, and I can't create tables, so have to specify it in the query itself:</p>
  
  <pre><code>QUERY_ID    TABLE_ID
  1           1
  2           NULL
  3           3
  4           4
  5           NULL
  </code></pre>
  
  <p>I feel like there ought to be a simple way to do this, but I can't think of it for the life of me.  Any help would be wonderful.  Thanks!</p>