selectmin(`SalePrice_1`) as aggregate from `db_articles` where `FamilyId` ='F4AAFE7851666DF7CD8B90A994BEAD32'and `SubFamilyId` ='6F9F07D2F5FB7D4FDB686092DC5D88E6'and `AvailableOnline` =1
selectmax(`SalePrice_1`) as aggregate from `db_articles` where `FamilyId` ='F4AAFE7851666DF7CD8B90A994BEAD32'and `SubFamilyId` ='6F9F07D2F5FB7D4FDB686092DC5D88E6'and `AvailableOnline` =1
select `ArticleId` from `db_related_articles` where `ArticleId` in ('BC32C08B9D306B8E99807E296D9BD589', 'E17935265B5E5BF719B36BC3F567F14C', '2045D289DAF56868E8BF58F9E6DCDAC2', 'E75C238B1628E0DE6ADB7CE4AE146EB1') and `MainArticle` =1
selectcount(*) as aggregate from `db_articles` where `ArticleId` in ('E17935265B5E5BF719B36BC3F567F14C', 'E75C238B1628E0DE6ADB7CE4AE146EB1', 'BC32C08B9D306B8E99807E296D9BD589', '2045D289DAF56868E8BF58F9E6DCDAC2')