title: No database selected Select the default DB to be used by double-clicking
body: <p>I am writing a SQL query and I have an array in one table and in that array I stores IDs and want to compare that array of IDs with another table to show data against that ids. when I run it gives me following error.</p>
  <p>No database selected Select the default DB to be used by double-clicking.</p>
  <p>Here is my query</p>
  <pre><code>select TagId
       , Name 
    from ctrData2.Tag
    Left 
    outer join ctrData2.CallDetail 
      On Tag.TagId = array(CallDetail.Tag)
   where CallDetail.ContactId = 'f9d4787a-f1ac-41af-97d8-ea324daad018'
  </code></pre>
  <p>this is how I store IDs in array in Tag Column</p>
  <p><a href="https://i.stack.imgur.com/fA3GO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fA3GO.png" alt="enter image description here" /></a></p>
  <p>here is the other table from where I want to show data against these ids</p>
  <p><a href="https://i.stack.imgur.com/i8oQT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i8oQT.png" alt="enter image description here" /></a></p>