Skip to main content
Question

Direct SQL Queries—what primary keys to use?

  • December 6, 2012
  • 1 reply
  • 1 view

Forum|alt.badge.img+14

Disappointed with the built in reporting (specifically the inability to query installed applications against a single group), I thought the way around this would be some direct SQL queries joining the tables relating to computer group memberships, computers, and applications. However, there does not seem to be a primary key I can use to link the computers with the Applications.

Am I missing something?

1 reply

Forum|alt.badge.img+14
  • Author
  • Contributor
  • December 7, 2012

Well, I was looking at the wrong table. It appears I can get what I need through application_usage, not applications. The downfall of this is I think an entry is not recorded unless the user has launched the application.