Skip to content

Instantly share code, notes, and snippets.

@mikerodionov
Created May 4, 2020 10:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mikerodionov/166e21cac96c04b3b593329e96a8fe3a to your computer and use it in GitHub Desktop.
SELECT dq.*,dqu.[User] FROM [Server].[DestQueue] dq LEFT JOIN [Server].[DestQueueUser] dqu ON dqu.QueueID = dq.ID
WHERE dqu.[user] IS NULL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment