Ver Mensaje Individual
  #8 (permalink)  
Antiguo 11/06/2012, 11:23
Avatar de iislas
iislas
Colaborador
 
Fecha de Ingreso: julio-2007
Ubicación: Mexico, D.F.
Mensajes: 6.482
Antigüedad: 16 años, 9 meses
Puntos: 180
Respuesta: Ejemplos para un update

DELETE FROM tabla1 t1 WHERE usuario = 'user2' and exists (select cliente from tabla1 t2 where t2.usuario = 'user1' and t2.id = t1.id)

¿Como lo estas haciendo?
__________________
MCTS Isaias Islas