I have made an SQL with 5 boolean fiels (yes or no value). The result with AND or OR is NOK. To many or to few records.
page boolean1 boolean2 boolean3 boolean4 boolean5
page1 yes no no no no
page2 no yes no no no
page3 no no no yes yes
I see a possible solution.
I make 5 SQLs, each SQL select one boolean (on yes)
Afterwards I like to make one SQL or one result out of the SQLs where there is yes.
How to contatenate SQL1 + SQL2, only the first field is valuable.
pat.
page boolean1 boolean2 boolean3 boolean4 boolean5
page1 yes no no no no
page2 no yes no no no
page3 no no no yes yes
I see a possible solution.
I make 5 SQLs, each SQL select one boolean (on yes)
Afterwards I like to make one SQL or one result out of the SQLs where there is yes.
How to contatenate SQL1 + SQL2, only the first field is valuable.
pat.