Hi,
Find here single query for your requirement
INSERT INTO Contentsentence(ContentId, SentenceId)
SELECT ContentID,SenetenceId from
Contects, Sentence
WHERE contenttext='Your Text'
AND Sentencetext='Your Text'
Check your requirement and table structure properly.
Hope this will help you.
Cheers