Skip to content
Advertisement

Tag: join

LINQ Room id where user exists

I have two tables: ChatRoom Id (int) ChatUser (where i insert the users to the chat room, 1 row per user) RoomId (int) // Id from table ChatRoom UserId (int) I want to loop out all rooms where im in i do like this. But how do get the room id where the second user with the variable userId2 exists?

Wildcard list of numbers after comma and join on single value [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 4 months ago. Improve this question I have TABLE A with one of the columns containing a single value and TABLE B with one of the columns containing list of possible

Advertisement