WARNING: The TrackAbout MetaWiki has been deprecated and is no longer being updated.
Please visit our new TrackAbout Knowledge Base at https://supportkb.trackabout.com for the most-up-to-date documentation on TrackAbout and TrackAbout Mobile.
OpenData Base Queries
Jump to navigation
Jump to search
The queries listed here are designed to help you get basic information out of OpenData and to help you understand the data structure better. You can use these as base queries and modify them to suit your specific needs.
Asset Based Queries
Lost Assets
Purpose
To find a list of all assets that are currently marked as Lost.
Other Uses
Change the WHERE clause to 'Active' to find all currently active assets.
SELECT
'Category' = assetcatname,
'Group' = assetgroupname,
'Type' = assettypename,
'ProductCode' = productcodename,
'Barcode' = tracknum,
'SerialNumber' = crossref,
'Ownership' = ownershipname
FROM opendata.assets
WHERE status = 'Lost'
ORDER BY assetcatname,assetgroupname,assettypename,productcodename,tracknum