Skip to content

Instantly share code, notes, and snippets.

@iamsardorbek
Created July 19, 2022 05:49
Show Gist options
  • Save iamsardorbek/cebb3d50be1a32819ddecd8e6a99e0d8 to your computer and use it in GitHub Desktop.
Save iamsardorbek/cebb3d50be1a32819ddecd8e6a99e0d8 to your computer and use it in GitHub Desktop.
Unique products participated in mfg (CRG)
select count(*)
from (select distinct Product_Id
from Mfg_Manufacture_Outputs
union
select distinct Product_Id
from Mfg_Manufacture_Inputs);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment