Mysql error: Column 'CountryOriginID' in field list is ambiguous
Error code: 1052
Query: SELECT DISTINCT CountryOriginID FROM catalog_models INNER JOIN catalog_models_to_groups ON catalog_models.ID=catalog_models_to_groups.ModelID LEFT JOIN catalog_cats ON catalog_cats.ID = catalog_models.CatID LEFT JOIN catalog_brands ON catalog_brands.ID = catalog_models.BrandID WHERE `GroupID` = ? AND (catalog_brands.Domains = '' OR FIND_IN_SET('16', catalog_brands.Domains) OR catalog_brands.Domains IS NULL) AND (catalog_cats.Domains = '' OR FIND_IN_SET('16', catalog_cats.Domains) OR catalog_cats.Domains IS NULL) AND (catalog_models.Domains = '' OR FIND_IN_SET('16', catalog_models.Domains)) AND catalog_models.HideIndex = ?
Params:
Array
(
    [0] => 49
    [1] => 
)

Подбор по параметрам
  • Цена
Каталог

Спецпредложения

Подбор по параметрам