+1 212-352-9535
1055 - Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'soltime_newsite.pd.products_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

select distinct p2sc.sub_categories_id, sc.sub_categories_name, pd.products_id, p.products_price_retail, pd.products_name, pd.products_description, p.products_date_added, p.products_image, p.products_price, p.products_tax_class_id, p.products_date_available from products_description pd, products p LEFT JOIN products_to_sub_categories p2sc on (p.products_id = p2sc.products_id) LEFT JOIN sub_categories sc on (sc.sub_categories_id = p2sc.sub_categories_id) where p.products_status = '1' and p.products_image != '' and p.products_id = pd.products_id and pd.language_id = '1' GROUP BY p2sc.sub_categories_id order by p.products_date_added DESC, pd.products_name

[TEP STOP]