Unknown column 'category_url' in 'field list' SQL query : select categoryID, category_url from SS_categories where category_url='bespruzhinnye-matrasy-v-skrutke/matras-ergoroll-10' and length(category_url)>0 limit 1