Ver originalSELECT t.expediente, s.numero, s.fecha FROM turno t INNER JOIN servicio s ON t.expediente = CONCAT(s.numero,date_format(s.fecha,'/%y'))