English horse Tack. Horse Blankets. Unique horse gifts for horse lovers. Beautiful horse jewelry.
You are here: Home > Tack > Lunging Equipmenet

Lunging Equipmenet

3065 - Expression #1 of ORDER BY clause is not in SELECT list, references column 'neteq_netequestrian.categories.sort_order' which is not in SELECT list; this is incompatible with DISTINCT

SELECT DISTINCT categories.categories_id, categories_name, images_location, seo_keyword_01, IF(seo_keyword_01<>"",seo_keyword_01,categories_name) seok FROM categories LEFT JOIN categories_description USING(categories_id) LEFT JOIN images ON images.external_id = categories.categories_id AND images_type_key = "categories" WHERE categories_id IN("") ORDER BY categories.sort_order, categories_name