Код: Выделить всё
SELECT
suppliers.*,
category.strCategory,
category_1.strCategory AS strParent,
tblcitylist.city_name
FROM ((
suppliers
INNER JOIN
category ON suppliers.intCat=Category.intId)
INNER JOIN
tblcitylist ON suppliers.intCity=tblcitylist.city_id)
LEFT JOIN
category AS category_1 ON category.intParent=Category_1.in Id
WHERE
status='y';
Подробнее здесь: https://stackoverflow.com/questions/145 ... ord-syntax
Мобильная версия