Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/01/2015, 09:34
felipe12357
 
Fecha de Ingreso: junio-2010
Mensajes: 168
Antigüedad: 13 años, 10 meses
Puntos: 3
Respuesta: join con una vista no muestra los campos null

gnzsoloyo, muchas gracias por tu pronta respuesta, agregué la linea de codigo q me indicaste, pero el resultado es el mismo.

este el codigo de la vista rojo: (tal vez pueda ser de ayuda)

Código MySQL:
Ver original
  1. SELECT nit,1 as total
  2.  FROM entidades
  3.  where nit not in (select DISTINCT nit from tablax)
  4.             and nit not in (select DISTINCT nit from tablay)
  5. and nit!='' and nit!=0

gracias!