My problem is that I have two table input and output is related to another table inventory , I want it to show the products of the entries in my table inventory and output in my inventory table this is my query
select idinventario,i.identrada,(select nombre from entrada
where identrada=i.identrada)as nombre,
i.idsalida, (select nombre from salida where idsalida=i.idsalida)as nombre1,
i.idusuario,(select login from usuario where idpersona=i.idusuario)as
usuarios, fecha_inventario,fecha_ingreso,fecha_salida,observacion from
inventario i inner join entrada e on i.identrada=e.identrada,inner join
salida s on i.idsalida=s.idsalida;