Take data for search

0

Good afternoon, I need your wisdom, I need to create a search for values (patent, year, type) of a vehicle, but also need to search for user data. How can this situation be done? Thank you in advance

  TABLE 'clientes' (  
  'id_cliente' int(10)   
  'asegurado' varchar(80) NOT NULL     
  'rut' int(10) NOT NULL  
  'dv_rut' int(1) NOT NULL
  'direccion_comercial' varchar(100) NOT NULL  
  'telefono_uno' int(10) NOT NULL  
  'telefono_dos' int(10) NOT NULL  
  'email_cliente' varchar(70) NOT NULL  
  'persona_contacto' varchar(50) NOT NULL  
  'inspector' varchar(50) NOT NULL  
  'corredor' varchar(50) NOT NULL  
  'giro_actividad' varchar(30) NOT NULL  
  'jornada_laboral' int(1) NOT NULL,  
  'tiempo_negocio' int(4) NOT NULL,  
  'tiempo_ubicacion' int(4) NOT NULL,  
  'num_empleados' int(8) NOT NULL,  
  'relacion_laboral' varchar(25) NOT NULL  
  'otras_ubicaciones' varchar(80) NOT NULL  
  'id_cia' int(11) NOT NULL  
) 

     TABLE 'inspeccion' (  
  'id_inspeccion' int(10) NOT NULL,  
  'num_solicitud' varchar(20) NOT NULL,  
  'num_propuesta' int(5) NOT NULL,  
  'direccion_riesgo' varchar(100)   
  'cod_region' int(2) NOT NULL,  
  'cod_provincia' int(3) NOT NULL,  
  'cod_comuna' int(4) NOT NULL,  
  'cod_localidad' int(5) NOT NULL,  
  'id_cliente' int(10) NOT NULL,  
  'tipo_siniestros' int(1) NOT NULL,  
  'tipo_moneda' int(1) NOT NULL,  
  'pardi_pxp' int(3) NOT NULL,  
  'perdi_pxp_porcentaje' int(3) NOT NULL,  
  'perdi_pxp_moneda' int(1) NOT NULL,  
  'fecha_solicitud' date NOT NULL,  
  'fecha_visita' date NOT NULL,  
  'fecha_coordinada' date NOT NULL,  
  'fecha_reinspeccion' date NOT NULL,  
  'num_personas' int(4) NOT NULL,  
  'tipo_prog_mantencion' int(1) NOT NULL,  
  'asesora_externa' varchar(80)   
  'stock_repuesto' varchar(100)  
  'estado_conservacion' int(1) NOT NULL,  
  'planes_contingencia' varchar(80) NOT NULL,  
  'instalacion_electronica' int(1) NOT NULL,  
  'protodo_trabajador' varchar(200) NOT NULL,  
  'id_cia' int(11) NOT NULL,  
  'estado' varchar(15)  NOT NULL  
) 
    
asked by Francisco Javier Inzunza Cid 13.09.2017 в 21:17
source

0 answers