title: How to execute a query in VS Code for Cosmos DB?
body: <p>I have installed an extension for having access to a Microsoft Azure Cosmos DB in VS Code, and I'm able to see the documents inside as expected.</p>
  <p><a href="https://i.stack.imgur.com/6Tt2A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Tt2A.png" alt="enter image description here" /></a></p>
  <p>However, I wasn't able to figure out how to run a query that allow me to filter results based on different conditions e.g: <code>SELECT * FROM c WHERE c.DocumentId = 123</code></p>
  <p>Is there a way to run SQL queries in VS Code on a Cosmos DB? I couldn't find any helpful tutorial and by installing &quot;mssql&quot; extension seems that is mainly focused on ADO.NET connections.</p>