I have the ff schema:
Faculty
FacultyID
Name
Tags
TagID
TagValue
tags_faculty
TagID
FacultyID
The question is how to find out the faculty that have the any TagValue
that provided in the List<tags>
. (please note that due the design of some DBA, the tagvalue
was not unique, user has the same tagvalue
, but the tagid
is different)
I am using SQL Server and Linq in C#. But I am open to queries, procedure, linq expression as long as the result is correct.