This is my Select
SELECT id, name, price, category, url, image1 FROM `Products_items` WHERE active='y' and stockCount >= 1 ORDER BY views DESC
But I need to know column category_url from table Product_categories.
I tried this one but doesnt work
SELECT id, name, price, category, url, image1 FROM `Products_items` WHERE active='y' and stockCount >= 1 ORDER BY views DESC
SELECT url FROM Product_categories WHERE id=Products_items.category