Created
January 30, 2015 17:25
-
-
Save ilopez/cf34e10c23b785bf29d7 to your computer and use it in GitHub Desktop.
Quick Quieries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
part.num, | |
part.description, | |
SUM(tag.qty) as qoh, | |
SUM(tag.qtycommitted) as qtycmtd | |
from part | |
join tag on tag.partid = part.id | |
where part.activeflag = 0 | |
and part.id > 0 | |
group by 1,2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment