selectmin(`SalePrice_1`) as aggregate from `db_articles` where `FamilyId` ='1ED2B4775E65F59EA9063093AC3167B8'and `SubFamilyId` ='C2EC9EF641BD47D8A5C695FF7BA437F0'and `AvailableOnline` =1
selectmax(`SalePrice_1`) as aggregate from `db_articles` where `FamilyId` ='1ED2B4775E65F59EA9063093AC3167B8'and `SubFamilyId` ='C2EC9EF641BD47D8A5C695FF7BA437F0'and `AvailableOnline` =1
select `ArticleId` from `db_related_articles` where `ArticleId` in ('23CC5B4094D6731A7CB05DF9960FBF2A', 'E99757316F56FC3807281460AC3DD87E', 'A80A766FE3884F1BC8AD5B37DBBDEEB6', 'CBD906D1D9C8FDF7D2BCFFA7880C1517', 'E2EC7E8E053FC364B373B6415BFA0576') and `MainArticle` =1
selectcount(*) as aggregate from `db_articles` where `ArticleId` in ('A80A766FE3884F1BC8AD5B37DBBDEEB6', 'CBD906D1D9C8FDF7D2BCFFA7880C1517', '23CC5B4094D6731A7CB05DF9960FBF2A', 'E2EC7E8E053FC364B373B6415BFA0576')