sql - Find parent based on child table keywords -
I'm trying to get parents based on the matching keyword using a child's table:
AssetKeyword ============ AssetID (int) KeywordID (int)
I find the property with the entries in the table I'm trying to, for example keyword 3 and 4 and 5. I have tried subqueries and aggregates but my head can not get around it. Thanks for any help they have Friday ...
This is not very dynamic, I think .. Choose AssetID, separate from AssetID, select KeywordID from AssetKeyword, where AssetID contains (*) = 3
Comments
Post a Comment