Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/04/2015, 18:11
Avatar de Pabluster2
Pabluster2
 
Fecha de Ingreso: abril-2015
Mensajes: 3
Antigüedad: 9 años
Puntos: 0
Respuesta: Consulta con reemplazo de valor

Gracias Libras....

Pero con el sentido de aclarar... por que me hace un cambio tan sustantivo el echo de definir el t1.* a solo *???


Nuevamente gracias por la ayuda


Cita:
Iniciado por Libras Ver Mensaje
en lugar del

Código SQL:
Ver original
  1. SELECT
  2. t1.*
  3. FROM
  4. tbl_camioneta AS t1
  5. INNER JOIN tbl_gerencia AS t2 ON t1.gerencia=t2.id_gerencia
  6. INNER JOIN tbl_sup_int AS t3 ON t1.superintendencia=t3.id_supint;

Prueba con algo como esto:

Código SQL:
Ver original
  1. SELECT
  2. *
  3. FROM
  4. tbl_camioneta AS t1
  5. INNER JOIN tbl_gerencia AS t2 ON t1.gerencia=t2.id_gerencia
  6. INNER JOIN tbl_sup_int AS t3 ON t1.superintendencia=t3.id_supint;

ahi veras todos los datos que ocupas es nada mas que pongas los que necesitas :)