Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/01/2005, 10:30
Teri
 
Fecha de Ingreso: abril-2003
Ubicación: Madrid
Mensajes: 707
Antigüedad: 21 años, 11 meses
Puntos: 0
SELECT numero FROM facturas WHERE ide = (SELECT max(ide) FROM facturas);

prueba con algo así...