I created an additional field in TextTbl called 'KeywordID' to store the priority of the keyword. Then I initialized that field to max(Keyword.ID) +1. The following query ensures that the TextTbl.Keyword field is populated with the keyword of highest priority (lowest KeywordID).
Code:
UPDATE
Leave a comment: