Ver Mensaje Individual
  #3 (permalink)  
Antiguo 04/01/2006, 07:23
Avatar de jhoncacru
jhoncacru
 
Fecha de Ingreso: mayo-2004
Ubicación: cochabamba-Bolivia
Mensajes: 107
Antigüedad: 20 años
Puntos: 1
La Consulta Es La Siguiente

EN REALIDAD LA CONSULTA ES LA SIGUIENTE, DEBO ACTUALIZAR UNA FOTOGRAFIA VISTA N+1 VECES

update fotos set
f_visto=(select f.f_visto+1 from fotos f where f.f_id_foto=2 AND f.f_id_album=165)
where f_id_foto=2 AND f_id_album=165
__________________
Gracias de antemano.