SELECT
c.id_gastos,
cg.nombre AS 'Concepto',
CONCAT(c.fecha, ' ', c.hora) AS 'Fecha y hora',
u.nombre AS 'Usuario',
c.monto AS Monto
FROM ec_gastos c
JOIN sys_users u ON c.id_usuario = u.id_usuario
JOIN ec_conceptos_gastos cg ON c.id_concepto = cg.id_concepto
