SELECT a.id, a.nome, a.idade, m.curso, m.data_matricula FROM aluno a LEFT JOIN matricula m ON a.id = m.aluno_id ORDER BY a.id