jcarlosriverae

cola de salida

Sep 14th, 2021
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.69 KB | None | 0 0
  1. select
  2.     toi.id,
  3.     toi.id_transaccion_ahorro_cliente,
  4.     toi.id_transaccion_spei,
  5.     toi.folio_orden,
  6.     toi.datos,
  7.     toi.detalle_error,
  8.     ts.json_respuesta, --
  9.     toi.estatus,
  10.     toi.fecha_alta, toi.fecha_autorizacion , toi.fecha_instruccion, toi.fecha_actualizacion,
  11.     toi.usuario_autorizador,
  12.     toi.usuario_instructor
  13. from
  14.     temp_ordenes_importador toi
  15.     JOIN transacciones_spei ts on toi.id_transaccion_spei = ts.id
  16. where
  17.     -- toi.datos like "{""cuenta_origen"":1502%"  and
  18.     -- toi.folio_orden in (select folio from ordenes_importacion oi where oi.id_cuenta_ahorro   = 1484) and
  19.     toi.fecha_alta >= "2021-09-14" -- and toi.fecha_alta <= "2021-08-14"
  20.     and estatus <> 1
  21.  
  22.    
  23. order by toi.id asc
Advertisement
Add Comment
Please, Sign In to add comment