MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') MINIMO FROM wtf_consumo_viviendas WHERE ID_TIPO_VIVIENDA =' at line 1