Ver Mensaje Individual
  #6 (permalink)  
Antiguo 08/05/2007, 12:55
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Sentencia SQL en PHP

nicolaspar

a tu consulta le falta el operador AS, de lo contrario te marcara un error:
Código:
SELECT MAX(cod_cliente) AS cod_cliente FROM CLIENTES