QuestionQ166
Optimize an Azure Cosmos DB solutionYou plan to create an Azure Cosmos DB for NoSQL container that contains items in the following format.

You need to define a query that returns the userid values of all users who purchased an item with a sku value of 11111.
How should you complete the query?
Select
SELECT c.userid FROM c WHERE EXISTS( SELECT VALUE n FROM WHERE = "11111" )
Community Discussion