Good afternoon
Maybe it's too late, but I have no idea where to start for
a simple(?) filter in a n:m relation:
I have an article-table.
To each article-record I can assign 0..n states.
The question: how can I get all Articles which have
State 1 AND State 2 assigned to it?
To see some Tables, assume the following data:
Table State : ID State
-------------------------
1 Open
2 Followup
3 Done
Table Article: ID Text
-----------------------
1 Text 1
2 Text 2
3 Text 3
Join-Table: ArticleID StateID
----------------------------------
1 1 (Open)
1 2 (Followup)
2 3 (Done)
Now, I need a Query to get all Articles, which have
State 1 (Open) AND State 2 (Followup) assigned.
Thanks in advance for and help!,
kind regards,
Thomas
Maybe it's too late, but I have no idea where to start for
a simple(?) filter in a n:m relation:
I have an article-table.
To each article-record I can assign 0..n states.
The question: how can I get all Articles which have
State 1 AND State 2 assigned to it?
To see some Tables, assume the following data:
Table State : ID State
-------------------------
1 Open
2 Followup
3 Done
Table Article: ID Text
-----------------------
1 Text 1
2 Text 2
3 Text 3
Join-Table: ArticleID StateID
----------------------------------
1 1 (Open)
1 2 (Followup)
2 3 (Done)
Now, I need a Query to get all Articles, which have
State 1 (Open) AND State 2 (Followup) assigned.
Thanks in advance for and help!,
kind regards,
Thomas