I have two tables, Tags(tagid, postid, tagname) and posts(postid, name, ...)
now i want to make a query that returns me all posts that have a generic amount of tags.
like: i want all posts that have the tag asp.net AND jquery
as i said, the amount of tags to look for is generic
how can i do something like that?
thx
update 17.11.2009: there is one problem: the relation betwenn the tables does not exist, because my primary key is on 2 fields (for versioning) how can i make it without a relation? Im using Linq To Entities
also, the query should have good performance, and should not make thousands of server requests.