2006 : MySQL server has gone away
SELECT AVG(price) from stavropol_komnaty_arenda WHERE price <> 0 and rent_type = 1
Error in sql