Loading files
442335385This file is pinned to the selected release. Download the original to open it in your design tool.
Files from this revision, including CAD and LFS contents. Git history is not included.
Or in GitHub Desktop, choose File → Clone repository → URL and paste this address.
Public repositories can be cloned without signing in. For pushing, use your ThingAtlas username and a Git access token as the password.
git lfs install git clone https://thingatlas.com/git/-unclaimed/openharness-1322671404.git
Includes Git history, branches, and Git LFS files. Clones the repository’s default branch, regardless of the version shown here.
SELECT t._record AS transactions_record, p._record AS products_record,
t.line_id, t.sold_on, p.product, p.category, t.region, t.quantity,
t.quantity*t.unit_price_cents-t.discount_cents-t.refund_cents AS net_sales
FROM transactions t JOIN products p ON t.product_id=p.product_id
WHERE t.status='completed' AND (:region='' OR t.region=:region)
AND (:category='' OR p.category=:category)
AND substr(t.sold_on,1,7) IN (substr(:baseline,1,7),substr(:comparison,1,7))
ORDER BY t.sold_on,t.line_id;
442335385This file is pinned to the selected release. Download the original to open it in your design tool.