I have this query that brings me the people who marked that they want to do a course called "courtship" but what I would like to add are also those that marked other courses, for example "Finance", "Youth". this is related to answers.preguntaid that brings the response id. In the case of this query the id respuestas.preguntaid = 1734 corresponds to the course of "courtship". I'd like to add this response ID also "1735", "1736" along with the one that is 1734 . that of 1735 corresponds to "finances", 1736 corresponds to "young people" Thanks!
select distinct
Participantes.nombre,Participantes.apellido,Participantes.Cedula,
Participantes.Celular,Preguntas.Descripcion,Respuestas.Contenido,
cursoes.nombre curso
from respuestas, CursoPlaneadoParticipantes, CursoPlaneadoes,
Participantes,Cursoes, Preguntas
where respuestas.preguntaid = 1734 and FechaInicio
BETWEEN '20180317 00:00:00' And '20180317 23:59:59'
AND Preguntas.Descripcion = 'Noviazgo'
and CursoPlaneadoParticipantes.Id = respuestas.CursoPlaneadoParticipanteId
and CursoPlaneadoes.Id = CursoPlaneadoParticipantes.CursoPlaneadoId
and Participantes.Id = CursoPlaneadoParticipantes.ParticipanteId
and Cursoes.Id = CursoPlaneadoes.CursoId
and Respuestas.Contenido = 'SI'