Advertisement
nhorquender

Untitled

Jan 18th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. SELECT distinct(cuenta), vencida ,enCurso as val, IFNULL(tbl_linea_credito.razon_social, 'S/I') as cliente
  2. FROM tbl_resumen_informe_gestion LEFT JOIN tbl_linea_credito
  3. ON tbl_resumen_informe_gestion.cuenta = tbl_linea_credito.deudor
  4. WHERE (vencida <> 0 or enCurso<>0) AND mes=9 AND año=2018
  5. and clave=1207 and ejecutivo='Milva Ortiz' AND (area='C101' or area='C103') order by cuenta
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement