Ошибка при работе с базой данных Unknown column 'gs_tovar_nal.kolvo' in 'where clause'/// SELECT SQL_CALC_FOUND_ROWS `gs_tovar`.`link1`,`gs_tovar`.`link2`,`gs_tovar`.`name`,`gs_tovar`.`group`, `com_tovar_nal`.`kolvo` AS `nalichie`,`gs_tovar`.`code`,`gs_tovar`.`cenamin`,`gs_tovar`.`cenaold`,`gs_tovar`.`krozn`,`gs_tovar`.`nalichie` AS `minkolvo`, `gs_tovar`.`cena`, `gs_tovar`.`video`, REPLACE(`com_tovar_nal`.`art`,'R-','') AS `art` FROM `gs_tovar`, `com_tovar_nal` WHERE `gs_tovar`.`code`=`com_tovar_nal`.`code` AND `show` IN (1,5) AND `gs_tovar_nal`.`kolvo` >0 AND `group` LIKE '%Светильники%25Лофт%25Новинки%' GROUP BY `gs_tovar`.`code` ORDER BY `com_tovar_nal`.`nal` DESC, `gs_tovar`.`pop` DESC LIMIT 0 , 24
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /sites/diasha.com.ua/req/funcShopCat.req on line 86
cat