Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8912449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:12:00+00:00 2026-06-15T04:12:00+00:00

I am working on analyzing Add/Remove Program data from our SCCM server and need

  • 0

I am working on analyzing Add/Remove Program data from our SCCM server and need some assistance with a query.

The data has been retrieved from SCCM and scrubbed so that I’m only left with a list of actual applications I’m interested in. Common apps/security updates/runtimes, etc have been filtered out.

I need to define an SQL query which will give me a list of computers and their applications only if they have one or more applications defined by a list.

e.g.

Computer    | Application
--------------------------------------
WKS001      | Microsoft Office
WKS001      | WebEx
WKS001      | Java Runtime 1.6_33
--------------------------------------
WKS002      | Microsoft Office
WKS002      | WebEx
WKS002      | Java Runtime 1.6_33
WKS002      | Photoshop
--------------------------------------
WKS003      | WebEx
WKS003      | Java Runtime 1.6_33
--------------------------------------
WKS004      | WebEx
WKS004      | Photoshop

I need to retrieve all computers which have any or all of the following applications:

Microsoft Office
WebEx
Java Runtime 1.6_33

That should give me WKS001 and WKS003

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T04:12:02+00:00Added an answer on June 15, 2026 at 4:12 am

    If you need to exclude computers that have an application not in that list:

    SELECT DISTINCT t1.Computer
    FROM Table AS t1
    LEFT OUTER JOIN Table AS t2 ON t1.Computer = t2.Computer
        AND t2.Application NOT IN ('Microsoft Office','WebEx','Java Runtime 1.6_33')
    WHERE t1.Application IN ('Microsoft Office','WebEx','Java Runtime 1.6_33')
      AND t2.Computer IS NULL;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a community detection algorithm for analyzing social network data from
I am working with some XML data that I need to convert to a
I am currently doing some research which involves analyzing data coming from different sensors.
Working on game where plates will be falling from top to bottom. Some plates
I'm a beginner java programmer. I'm working on an application that decrypts some data.
I'm analyzing data based on x consecutive working days, M-F (and later skipping selected
I'm working on a visual studio 2008 add-in that will generate data-access code by
I'm working on a script which involves continuously analyzing data and outputting results in
Some time ago I started working on OpenGL(3.3) renderer for MFC program.Everything was fine
I just started learning Python and need help analyzing data in an excel spreadsheet.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.