I am getting difficulty understanding the following two queries
select QuestionSetQuestionAnswer.*
from QuestionSetQuestionAnswer
inner join QuestionAnswer
on QuestionAnswer.ID = QuestionSetQuestionAnswer.SelectedAnswerID
and QuestionAnswer.IsCorrect = 'true'
where QuestionSetQuestionAnswer.QuestionID = (
select QuestionID
from QuestionSetQuestion
where SetID = '45e20157-0030-c58b-55c4-08d11c725bd7'
)
select QuestionSetQuestionAnswer.*
from QuestionSetQuestionAnswer
inner join QuestionSetQuestion
on QuestionSetQuestion.QuestionID = QuestionSetQuestionAnswer.QuestionID
and QuestionSetQuestion.SetID = '45e20157-0030-c58b-55c4-08d11c725bd7'
inner join QuestionAnswer
on QuestionAnswer.ID = QuestionSetQuestionAnswer.SelectedAnswerID
and QuestionAnswer.IsCorrect = 'true'
What is the difference between the two queries? Are they identical?